Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399445

Summary: app-office/libreoffice ebuild should allow component selection via USE flags
Product: Gentoo Linux Reporter: Michael Mol <mikemol>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Mol 2012-01-20 01:43:01 UTC
If I'm going to compile LibreOffice, I'd very much like to select which components get built. For example, I only need Text, Spreadsheet and Presentation. I don't need Drawing, Formula or Database.

It would be very good to have the LO ebuild provide USE flags to enable/disable its various macro components.

Reproducible: Always
Comment 1 jospezial 2012-01-20 09:33:32 UTC
I like that idea. Compiling the whole LO takes hours on my machine. If this speeds up the compiling, it would be fine. But it could be, that one component needs files for some features from the other component.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-01-20 11:43:14 UTC
Well feel free to get in touch with us at upstream and write decoupling patches.

Current build system does not allow this feature at all, so you need to:
1) introduce configure switches (--with-base;--with-writer;...)
2) adjust the deps within the components so each component pull each other correctly
3) ensure some testing machine so this won't break with future releases

Uless this is met it won't be included by ustream...

Fell free to start any discussion upstream at mailinglist:
libreoffice@lists.freedesktop.org