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

Bug 194053

Summary: app-office/openoffice-2.3.0: odk useflag fails to install SDK
Product: Gentoo Linux Reporter: Daniel Seix <dseix>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Seix 2007-09-28 05:50:24 UTC
The OpenOffice SDK includes documentation, examples and some other needed files, such as java classes, that don't get installed as expected using the odk useflag.

Reproducible: Always

Steps to Reproduce:
1. env USE="odk" emerge openoffice
2. equery files openoffice | grep DevelopersGuide
3.

Actual Results:  
No files containing the DevelopersGuide token in their path.

Expected Results:  
Should have found a directory containing documentation and examples belonging to the SDK.

Actually, the SDK gets compiled but not installed. As a workaround, to get the files installed under /usr/lib/openoffice/sdk  I executed:

ebuild /usr/portage/app-office/openoffice/openoffice-2.3.0.ebuild compile
cp -r /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/odk/unxlngi6.pro/bin/odkcommon /usr/lib/openoffice/sdk
cd /usr/lib/openoffice/sdk/
unzip /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/odk/unxlngi6.pro/bin/odkexamples.zip
unzip /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/sdk_oo/unxlngi6.pro/bin/sdk_oo.zip

That gets the SDK properly installed, though some directories as /usr/lib/openoffice/sdk/{docs, examples} rather belong to /usr/share/doc
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 07:05:07 UTC

*** This bug has been marked as a duplicate of bug 151798 ***