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
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
|
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
Friday, 24 December 2010, 18:01 GMT
Reason for closing: Implemented
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.
Assaf
"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
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.
Assaf
Closing here as extensions are split now. Building remaining architecture now and then some huge upload. Merry Xmas to everybody.