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

Bug 496348

Summary: x11-libs/gtk+:3 - make x11-libs/gtk+:2 optional
Product: Gentoo Linux Reporter: hertz642
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: enhancement Keywords: PATCH
Priority: Normal    
Version: autobuilds   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to add the 'gtk2' USE flag (enabled by default) to gtk+-3.10.6.ebuild

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 ***