Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion play.d/wpsoffice-cn.sh → play.d/wps-office-cn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ md5hash=$(printf '%s%s%s' "$secrityKey" "$uri" "$timestamp10" | md5sum | cut -d'
PKGURL="$CHN_DEB_URL?t=${timestamp10}&k=${md5hash}"

export EPM_REPACK_SCRIPT="$PKGNAME"
install_pkgurl
# repack always, even for deb system (remove bundled/broken libraries and fix desktop integration)
install_pkgurl --repack
5 changes: 3 additions & 2 deletions play.d/wpsoffice.sh → play.d/wps-office.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VERSION="$2"
RELEASE="$3"
DESCRIPTION="WPS Office for Linux from the official site"
URL="https://www.wps.cn/product/wpslinux"
TIPS="Run epm play wpsoffice=<version> to install some specific version"
TIPS="Run epm play wps-office=<version> to install some specific version"

. $(dirname $0)/common.sh

Expand All @@ -28,4 +28,5 @@ case $pkgtype in
;;
esac

install_pkgurl
# repack always, even for deb system (remove bundled/broken libraries and fix desktop integration)
install_pkgurl --repack
9 changes: 8 additions & 1 deletion repack.d/wps-office.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ remove_file $PRODUCTDIR/office6/librpcetapi.so
ignore_lib_requires "libuof.so"

# Optional distribution-specific libraries
# libtiff.so.5 - required only by the bundled Qt TIFF imageformats plugin;
# Fedora 43 no longer provides this SONAME and WPS works without TIFF plugin support.
case $(epm print info -d) in
Fedora)
ignore_lib_requires 'libtiff.so.5*'
;;
esac

# libmysqlclient.so.18 - required by libFontWatermark.so for database connectivity in font watermarking features
# libpeony.so.3 - required by libpeony-wpsprint-menu-plugin.so for Peony file manager print menu integration
ignore_lib_requires "libmysqlclient.so.18"
Expand Down Expand Up @@ -116,4 +124,3 @@ for f in wps et wpp wpspdf; do
[ -f "$bin_file" ] || fatal "Missing $bin_file"
sed -i '2i . /opt/kingsoft/wps-office/office6/init-wps-config.sh' "$bin_file"
done