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

Bug 180835

Summary: x11-libs/qt:4 : png, jpeg and zlib useflags switch internal/external libraries
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-04 10:49:41 UTC
At least the 4.3.0 ebuild (didn't check anything older) uses those three useflags to switch between internal and external copies of libraries. Unless there is a specific upstream request to use internal libraries, the external copy should always be used (and for what I can see in ./configure --help output, the system copy is also the default).

Also, the mng useflag doesn't seem to actually disable mng support as far as I can see.

HTH,
Diego
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-06-04 11:29:44 UTC
if you want to make the proper fixes, please do so. :)  I suppose this means dropping png and jpeg and possibly zlib use flags (which isn't a problem in my opinion).
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-04 13:25:27 UTC
Well, we could disable the three features with the useflags disabled, although I'm not sure if it makes really sense.

Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-04 15:09:07 UTC
I've decided to actually leaving the flags and fix them properly, after all one *might* want to reduce its size for minimal X11 use, albeit not a common use of it.

I also cleaned up qt_use to behave a bit more like use_enable/use_with, accepting three arguments, this should make possible to rewrite the 'use' checks in the ebuild through that function alone.