cyrpaut / wps-2019-snap

Packaging WPS Office 2019 for SNAP with all Languages & Dicts + Internet plug disabled
GNU General Public License v3.0
16 stars 4 forks source link

About wps-2019-snap

Packaging WPS Office 2019 for SNAP with all languages translations available and Internet plug disabled.

WPS Office is a light-weight office for Linux developped by the Kingsoft corporation. This software is free to use, but under commercial licence.

This repository share the sources for SNAP packaging of an unofficial WPS 2019 release. It includes available languages interface translation and spell-check dictionnary.

To prevent leakeages of private data, the plug for internet is disabled, which prevents WPS to call home in China. Enjoy WPS securely !

PS: I revert back to 9125 version of WPS office, because of annoying bug of copy/paste in the latest 9505 version which makes it impossible to use in production.

Availability

This package is available from SnapStore.

Get it from the Snap Store

Post install configuration

For security reasons, printing from SNAP is disabled by default. (see: https://ubuntu.com/blog/a-guide-to-snap-permissions-and-interfaces)

In order to have printing, audio and removable-media from WPS working you need to either give the permission from the Snap-Store permission panel or execute the following commands:

sudo snap connect wps-2019-snap:cups-control :cups-control
sudo snap connect wps-2019-snap:alsa :alsa
sudo snap connect wps-2019-snap:pulseaudio :pulseaudio
sudo snap connect wps-2019-snap:removable-media :removable-media

How to rebuild this Snap package

For credit reasons, I do not share the complete binaries of WPS here. Yet you can download the official package from http://linux.wps.com/ .

To reproduce this Snap, you should

  1. Unzip the package in a folder and then unzip the data.tar.xz. Copy all the content of the data.tar.xz into the binaries/ folder of this repository.
  2. Then, copy the content of the extra_binaries_custom/ folder into the binaries/ folder and over-write the files that are in common in both folder.
  3. Then launch the snap building process snapcraft. Wait a bit. It is a big snap!

Credits

Thanks to wachin for mui & translation : https://github.com/wachin/wps-office-all-mui-win-language

Thanks to andreaspreuss for German mui translation: https://github.com/andreaspreuss/firejail

Thanks to galgalesh for his clear tutorial on GTK-2 integration for Snap : https://snapcraft.io/docs/gtk2-applications

Issues & Known bugs

Issues still to be fixed

Issues I would like to fix bu It can't

Intentional Behaviour