FS#22018 - [libreoffice] split extensions from package

Attached to Project: Arch Linux
Opened by Assaf Sapir (meijin) - Wednesday, 08 December 2010, 08:26 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 24 December 2010, 18:01 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
For some reason, the Libreoffice package coming with some extensions (such as Diagrem, Hungarian Stuff etc.) which most of people not use, and is not Vanila at all.

in the other hand, Language packages (such as libreoffice-he) maybe should include spelling checkers for the specific Language.

Additional info:
* package version(s)
testing/libreoffice 3.3.0.1-1
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 24 December 2010, 18:01 GMT
Reason for closing:  Implemented
Comment by Andreas Radke (AndyRTR) - Wednesday, 08 December 2010, 12:48 GMT
Look at the PKGBUILD. Our package is exactly the vanilla LibreOffice. They ship all these extensions for good reasons. And we ship also the upstream language packs without any changes. They don't offer anything else. There's right now nothing to change.
Comment by Balló György (City-busz) - Thursday, 09 December 2010, 13:02 GMT
  • Field changed: Percent Complete (100% → 0%)
I think that the extensions should be packaged in separated packages for the following reasons:
1. Many of them only interesting for few people.
2. The user can't disable it.
3. The extensions updated and packaged separately from the main LibreOffice package.
4. They can be easily split out to separated packages.
Please consider it.
Comment by Andreas Radke (AndyRTR) - Thursday, 09 December 2010, 20:09 GMT
The extensions can be manages via unopkg by root. We have the rule to ship what is upstream. The extensions are of small size. Anyways, patches welcome if you know a simple solution but take care about the unopkg management! I'm personally not interested in making the PKGBUILD more complex.
Comment by Assaf Sapir (meijin) - Friday, 10 December 2010, 06:28 GMT
@AndyRTR - you are wrong. I just tried and its impossible to remove them, even as root.

Assaf
Comment by Balló György (City-busz) - Friday, 10 December 2010, 12:44 GMT
Is unopkg still required? I've read about that something changed in version 3.3:
"The most important simplification is, that during installation no longer the tool unopkg is called. Instead every extension is handled like a zip file with flag ARCHIVE and is repackaged during the packaging process into a native package (Solaris pkg, Linux rpm, Windows msi database), that is installed or uninstalled like every other package. The registration of the extension into the database of OpenOffice.org happens during the start of the application, no longer during installation."
Source: http://wiki.services.openoffice.org/wiki/Extensions_Integration_into_Installation_Set#Global_rules_for_extensions
Comment by Balló György (City-busz) - Sunday, 12 December 2010, 20:38 GMT
I've made some improvements on LibreOffice package. The changes are:
1. Use system-wide spelling dictionaries.
2. Split out all extensions from the main package. (reduces 39.6 MB)
3. Split out SDK from the main package. (reduces 77.4 MB)

The modified and new PKGBUILDs can be found in my attachment. Detailed descriptions of packages:

- libreoffice-dictionaries: this package contains spelling dictionaries, hyphenation patterns, and thesaurus for all languages from the upstream LibreOffice source. The dictionaries installed at system-wide places, so other applications (like Firefox, Thunderbird, Enchant) are also can use this. I modified the main LibreOffice PKGBUILD in order to use these locations. The hyphen-en dropped, because libreoffice-dict-en package contains a newer version of English hyphenation patterns. The package splitted by languages.

- libreoffice-extension-*: splitted out from main package. Unopkg no longer required. When the user start LibreOffice, then it's check for changes automatically. The users can be easily install or remove system-wide extensions via pacman. For those extensions that used by .oxt format during the build, I make separated PKGBUILDs, and disabled in the main package. Some other extensions kept in main PKGBUILD, but splitted out when packaging.

- libreoffice-sdk: this package only interesting for developers, so it's splitted out from the main package.

- ttf-linux-libertine-g: Graphite font, required for typography toolbar.

Please test these packages, mainly the system-wide language support, because I have not a powerful PC to rebuild LibreOffice package. Other packages are tested, and work for me.
Comment by Assaf Sapir (meijin) - Tuesday, 14 December 2010, 15:47 GMT
the above pkg works fine for me...

Assaf
Comment by Andreas Radke (AndyRTR) - Friday, 24 December 2010, 18:01 GMT
Thanks György. It was a good base to start the splitting. Note: your sdk paths are wrong. For now I've split out all extensions and split out all dictionaries into one dictionaries pkg. This could be impoved though. I hope you all are happy now. If something is broken or could be improved please start a new issue. One task could be to build a more generic myspell/hunspell dictionaries pkg usable by LibO and Firefox.

Closing here as extensions are split now. Building remaining architecture now and then some huge upload. Merry Xmas to everybody.

Loading...