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

Bug 378321

Summary: media-libs/openjpeg : add USE=static-libs support
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=634144
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2011-08-08 12:29:42 UTC
This package installs also static libs ".a" please provide do add relative
USE. TIA

/usr/lib/libopenjpeg.a
/usr/lib/libopenjpeg.so.2.1.3.0
/usr/lib/libopenjpeg.so.2
/usr/lib/libopenjpeg.so
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-21 19:37:15 UTC
The cmake build system from openjpeg-1.5.0 doesn't create static libraries at all. 

I'm bouncing back and forth between:

a) Close this bug because the intention was to get rid of the static archive
b) Patch the build system to have optional switch -DBUILD_STATIC for this
c) Leave the bug open and wait for someone to request b) before wasting time on it

Bah.
Comment 2 Agostino Sarubbo gentoo-dev 2012-03-21 19:42:12 UTC
for me, the goal of this, is to not install not useful file(s), so, is good for me: use static-libs || rm $file.a
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-06-13 20:00:20 UTC
fixed for >1.5.0, bug 440086