Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332557 - gtk-gnutella build should require the gtk USE flag
Summary: gtk-gnutella build should require the gtk USE flag
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
: 332561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-13 03:44 UTC by Tom Collins
Modified: 2010-08-15 02:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Collins 2010-08-13 03:44:25 UTC
gtk-gnutella-0.96.8.ebuild.

I have the "-gtk" USE flag in my make.conf file because I generally don't use GTK applications and don't want to drag them into my system by default.  I recently emerged gtk-gnutella and it compiled fine but "didn't work."  After some poking around, I found that it was working but wasn't displaying a GUI.  It turns out that the app will build without a GUI, but it's of no use to anyone in that state.  As such, I think the "gtk" USE flag should be forced on when building this app.

Reproducible: Always

Steps to Reproduce:
bash# USE="-gtk" emerge gtk-gnutella
Actual Results:  
Start gtk-gnutella, no GUI appears.

Expected Results:  
GUI pops up.
Comment 1 Hans de Graaff gentoo-dev Security 2010-08-13 07:30:01 UTC
*** Bug 332561 has been marked as a duplicate of this bug. ***
Comment 2 Hans de Graaff gentoo-dev Security 2010-08-13 07:35:29 UTC
This way of running is called 'headless'. See e.g. http://gtk-gnutella.sourceforge.net/manual/headless.html
Comment 3 Hans de Graaff gentoo-dev Security 2010-08-13 07:37:05 UTC
Oops, should assign to myself to get further comments, if any.
Comment 4 Tom Collins 2010-08-14 02:23:35 UTC
Ok - I see now that this is a valid build configuration of gtk-gnutella, but I still say that almost no one will want this by default (especially since "-gtk" doesn't really correlate with "headless mode").  How about a warning in the ebuild that if the user is building without GTK support, the app will run headless without a GUI?
Comment 5 Hans de Graaff gentoo-dev Security 2010-08-14 07:31:56 UTC
The gtk USE flag already has a + indicating that this is what upstream thinks is the default implementation, but maybe it is better to have a 'headless' USE flag instead and built with gtk by default. I'll consider that for the next version bump.
Comment 6 Tom Collins 2010-08-15 02:19:00 UTC
I like the sound of that.  Thanks.