BTW, I need this to use with chaotic-aur project.
A automatic build system for aur repository hosted as a common arch repository.
Git Clone URL: | https://aur.archlinux.org/wps-office.git (read-only, click to copy) |
---|---|
Package Base: | wps-office |
Description: | Mime files provided by Kingsoft Office (WPS Office) |
Upstream URL: | http://wps-community.org |
Licenses: | LicenseRef-WPS-EULA |
Submitter: | felixonmars |
Maintainer: | Universebenzene |
Last Packager: | Universebenzene |
Votes: | 492 |
Popularity: | 1.40 |
First Submitted: | 2014-08-17 11:57 (UTC) |
Last Updated: | 2024-07-29 18:49 (UTC) |
« First ‹ Previous 1 .. 25 26 27 28 29 30 31 32 33 34 35 .. 70 Next › Last »
BTW, I need this to use with chaotic-aur project.
A automatic build system for aur repository hosted as a common arch repository.
Not exactly, I maybe update this, but not necessarily. If a new update it's stable I'm pretty ok to update this. I don't want to get always the last change without considering if will works or not.
Would the standard way to do this not simply be to use your package manager to ignore future updates to wps-office?
This package was created to fix a version stable to get not any troubles because random updates. DO NOT FLAG AS OUTDATED. This is intentional.
@lampus, No. Everything works fine.
I don't know what those things are that you listed. Have you tried completely uninstalling WPS Office and doing a fresh install?
WPS Office crashes after latest updates with segmentation fault.
Backtrace: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Thread 2 "wps" received signal SIGABRT, Aborted. [Switching to Thread 0x7fffea9a4700 (LWP 1354)] 0x00007fffef227d7f in raise () from /usr/lib/libc.so.6 (gdb) bt
Does anybody have same issue? Is workaround exist (custom LD_LIBRARY_PATH settings with old libs or something like that)?
@attenuation: I just created my own PKGBUILD for this package so I noticed somethings I thought it's no good, can you update the PKGBUILD if it's suitable?
I think it should remove zh_CN in office6/mui because it failed on someone don't have zn_CN locale like me
rm -rf ${pkgname}${pkgver}${CARCH}/office6/mui/zh_CN
For depends I check with namcap are: openssl-1.0 glu qt4 libpng12 sdl2 libjpeg-turbo (make curl optional because it show in WPS, but I don't know why WPS need curl?)
For License file, EULA_linux may be more suitable than EULA?
For package location, I think it's better to install in /opt/kingsoft/wps-office, because gInstallPath will fallback to /opt/kingsoft/wps-office by default in wps-office bash script (et wpp wps)
For people are using dark theme like me, maybe you like put this into prepare() function in PKBUILD
sed -i -e 's/%f/-style Cleanlook %f/' ${pkgname}${pkgver}${CARCH}/resource/applications/wps*
my pkgbuild (my install script is only printf function): https://pastebin.com/djCtDRxZ
Here's a quick fix for the theme issue
sudo sed -i 's|${gInstallPath}/office6/${gApp} |${gInstallPath}/office6/${gApp} -style gtk+ |g' /bin/et /bin/wpp /bin/wps
@Universebenzene maybe you include this pach to the PKGBUILD. Somethink like this:
echo $XDG_CURRENT_DESKTOP | grep GNOME > /dev/null 2>&1 && sed -i 's|${gInstallPath}/office6/${gApp} |${gInstallPath}/office6/${gApp} -style gtk+ |' et wpp wps
Also I whould include a ms-fonts patch, like this:
cd /tmp
git clone https://github.com/iamdh4/ttf-wps-fonts.git
cd ttf-wps-fonts
sudo bash install.sh
rm -rf /tmp/ttf-wps-fonts
@simgunz, thanks for this information. After remove wps related mime files, everything go back to normal now!!
The three files: /usr/share/mime/packages/wps-office-*
breaks the MIME file associations of docx, xlsx, pptx files in manjaro. Indeed these files are seen as zip/archive. If we set a default application for docx, this app will be used to open pptx, xslx, and zip by default.
By removing those three files and updating the mime database with
sudo update-mime-database /usr/share/mime
everything works correctly again.
Maybe the package should be modified to not include them?
(I have libreoffice installed, not sure if removing the files and not having libreoffice breaks something else)
Pinned Comments
Universebenzene commented on 2023-01-20 10:34 (UTC)
Anyone who meet the problem of launching wpspdf, please install the optional dependency libtiff5
Universebenzene commented on 2020-10-22 02:25 (UTC)
If you have the "ERROR: One or more files failed the validity check!" problem, try cleaning your AUR cache first, and try again.
Universebenzene commented on 2020-01-10 04:48 (UTC) (edited on 2020-06-09 15:38 (UTC) by Universebenzene)
[ATTENTION] The new international version (11.1.0.9080) removed zh_CN support, login, and some other functions. If you still want full functions, or you want aarch64 support, you may need the Chinese version from https://linux.wps.cn here: https://aur.archlinux.org/pkgbase/wps-office-cn
Universebenzene commented on 2019-10-26 05:46 (UTC) (edited on 2019-10-26 07:10 (UTC) by Universebenzene)
I split the
/usr/share/mime/packages/wps-office-*.xml
files to thewps-office-mime
package to avoid mime issues. If you still want the mime files provided by wps-office itself, you can install the new mime package.Universebenzene commented on 2019-07-05 17:08 (UTC)
There is no official 32-bit package for version 11.1.0.8722, so I drop the support for i686 arch. For archlinux32 users you can create another wps-office package for 32-bit system yourself.
Universebenzene commented on 2019-04-16 13:34 (UTC)
When you shut down wps-office, the wpsoffice process may still exist. You can do
sudo chmod -x /usr/lib/office6/wpsoffice
to fix it. But this might bring you problem with signing in.oowl commented on 2017-11-29 14:16 (UTC)