Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496348 - x11-libs/gtk+:3 - make x11-libs/gtk+:2 optional
Summary: x11-libs/gtk+:3 - make x11-libs/gtk+:2 optional
Status: RESOLVED DUPLICATE of bug 528810
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-29 04:47 UTC by hertz642
Modified: 2015-01-02 11:40 UTC (History)
0 users

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


Attachments
Patch to add the 'gtk2' USE flag (enabled by default) to gtk+-3.10.6.ebuild (gtk+-3.10.6-disable-gtk2.patch,1.24 KB, patch)
2013-12-29 04:52 UTC, hertz642
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hertz642 2013-12-29 04:47:37 UTC
Currently the GTK+3 ebuild has a GTK+2 dependency, but it does not appear to require it. I have been building =x11-libs/gtk+-3.10.6 from the Gnome overlay with a patched ebuilt to remove the dependency and applications built with it compile and run fine (under Wayland at least).

Reproducible: Always

Steps to Reproduce:
1. Patch x11-libs/gtk+-3.10.6.ebuild
2. ebuild x11-libs/gtk+-3.10.6.ebuild manifest
3. emerge =x11-libs/gtk+-3.10.6
4. Emerge some random GTK+3 applications and run them.
Comment 1 hertz642 2013-12-29 04:52:12 UTC
Created attachment 366408 [details, diff]
Patch to add the 'gtk2' USE flag (enabled by default) to gtk+-3.10.6.ebuild
Comment 2 Pacho Ramos gentoo-dev 2013-12-30 10:43:24 UTC
Reading the patch, I wonder if enabling that USE flag wouldn't also block gtk+2 as this configure switch will control if gtk-update-icon-cache is provided by gtk2 or 3 

@gnome, what do you think about this? I doubt if, at this time, many people will be able to drop gtk2 dep from their systems
Comment 3 Pacho Ramos gentoo-dev 2015-01-02 11:40:05 UTC
Explained more deeply in bug 528810

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