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

Bug 326583

Summary: www-client/opera-10.60: unneeded deps for libpng
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal CC: galtgendo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix

Description Samuli Suominen (RETIRED) gentoo-dev 2010-07-02 09:07:41 UTC
The ebuild has:

-- snip --

RDEPEND="
        gtk? (
                =x11-libs/gtk+-2*
                dev-libs/atk
                dev-libs/glib
                media-libs/glitz
                gtk? ( =media-libs/libpng-1.4* )
                kde? ( =media-libs/libpng-1.2* )

-- snip --

That's same as:

gtk? ( gtk? ( =media-libs/libpng-1.4* ) )

And with USE="-gtk" it doesn't pull in any libpng (except maybe indirectly/implicitly from kdelibs -> qt-gui -> libpng)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-02 09:11:26 UTC
In fact, if you grep/objdump/scanelf opera, there's no reference to libpng at all. 
So Opera is simply using gtk+ or kdelibs/qt-gui and whatever libpng they are using.

So the deps for libpng should be simply dropped from opera's ebuild.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-02 09:12:36 UTC
Created attachment 237233 [details, diff]
fix
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-02 15:53:41 UTC
Thanks. Fixed.