app-office/wps-office365
WPS Office (WPS 365 edition), the Chinese office productivity suite
ChangeLog
commit 34bbc3629b3f016ba126febe7afcacb694131884
Author: Zakk <zakk@gentoozh.org>
Date: Thu Jul 16 02:45:53 2026 +1000
app-office/wps-office365: new package, WPS 365 edition (multi-arch)
Add the WPS 365 edition (the ".365" upstream build) as a separate package.
It ships the full cloud / AI / collaboration add-on set and is the only
edition upstream builds for arm64 and loong, so it carries KEYWORDS for all
three. app-office/wps-office keeps the leaner amd64-only Personal edition;
the two install the same /opt/kingsoft/wps-office tree and /usr/bin wrappers,
so wps-office365 hard-blocks app-office/wps-office.
The runtime deps, the #7907 fusion-mode launcher fix and the unresolved-soname
RPATH rewrite are shared with wps-office (the #6574 / #7907 fixes; those bugs
are closed by the wps-office PR). The 365 tree needs a few extras over the
Personal edition:
- drop librpc{et,wpp,wps}api_sysqt5.so: the system-Qt5 build of the RPC API
plugins, which NEED libQt5Core.so.5. Nothing loads them at runtime -- the
default and _wpsqt bundled-Qt variants provide the same API -- so they are
dropped rather than pulling dev-qt/qtcore:5 in for every user;
- extend the RPATH reach to the cross-addon library directories the 365
add-ons reference (ksoftbuscore, knewshare, kwpscloudmodule, wpsbox,
kpdf2wordv3/ofd2pdf);
- add media-libs/libpulse (the bundled Qt5 multimedia libraries link it);
- remove xiezuo.desktop, a dead menu entry: it launches /opt/xiezuo/xiezuo
(WPS Collaboration), a separate Electron app this .deb does not ship.
Set QT_IM_MODULE from XMODIFIERS in the et/wpp/wps/wpspdf launchers so the input
method works in the document area (WPS's bundled Qt is X11-only), and add the
Office freedesktop main category to the .desktop files so the menu entries file
under Office rather than Uncategorized.
SRC_URI uses the official WPS CDN direct links, which are tokenless for the
365 build. pkg_postinst notes that the sign-in dialog can be dismissed with Esc.
Verified with a real amd64 emerge (rc=0, no QA elog, pkgcheck clean, 496
bundled .so resolve with 0 "not found", launchers patched, sysqt5 removed).
arm64 and loong were verified statically: the same removals + reach leave 0
real unresolved sonames on every ELF (only the arch loader is "external").
Author: Zakk <zakk@gentoozh.org>
Date: Thu Jul 16 02:45:53 2026 +1000
app-office/wps-office365: new package, WPS 365 edition (multi-arch)
Add the WPS 365 edition (the ".365" upstream build) as a separate package.
It ships the full cloud / AI / collaboration add-on set and is the only
edition upstream builds for arm64 and loong, so it carries KEYWORDS for all
three. app-office/wps-office keeps the leaner amd64-only Personal edition;
the two install the same /opt/kingsoft/wps-office tree and /usr/bin wrappers,
so wps-office365 hard-blocks app-office/wps-office.
The runtime deps, the #7907 fusion-mode launcher fix and the unresolved-soname
RPATH rewrite are shared with wps-office (the #6574 / #7907 fixes; those bugs
are closed by the wps-office PR). The 365 tree needs a few extras over the
Personal edition:
- drop librpc{et,wpp,wps}api_sysqt5.so: the system-Qt5 build of the RPC API
plugins, which NEED libQt5Core.so.5. Nothing loads them at runtime -- the
default and _wpsqt bundled-Qt variants provide the same API -- so they are
dropped rather than pulling dev-qt/qtcore:5 in for every user;
- extend the RPATH reach to the cross-addon library directories the 365
add-ons reference (ksoftbuscore, knewshare, kwpscloudmodule, wpsbox,
kpdf2wordv3/ofd2pdf);
- add media-libs/libpulse (the bundled Qt5 multimedia libraries link it);
- remove xiezuo.desktop, a dead menu entry: it launches /opt/xiezuo/xiezuo
(WPS Collaboration), a separate Electron app this .deb does not ship.
Set QT_IM_MODULE from XMODIFIERS in the et/wpp/wps/wpspdf launchers so the input
method works in the document area (WPS's bundled Qt is X11-only), and add the
Office freedesktop main category to the .desktop files so the menu entries file
under Office rather than Uncategorized.
SRC_URI uses the official WPS CDN direct links, which are tokenless for the
365 build. pkg_postinst notes that the sign-in dialog can be dismissed with Esc.
Verified with a real amd64 emerge (rc=0, no QA elog, pkgcheck clean, 496
bundled .so resolve with 0 "not found", launchers patched, sysqt5 removed).
arm64 and loong were verified statically: the same removals + reach leave 0
real unresolved sonames on every ELF (only the arch loader is "external").


View
Download
Browse