Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326583 - www-client/opera-10.60: unneeded deps for libpng
Summary: www-client/opera-10.60: unneeded deps for libpng
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 09:07 UTC by Samuli Suominen (RETIRED)
Modified: 2010-07-02 15:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (opera-10.60.ebuild.patch,321 bytes, patch)
2010-07-02 09:12 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.