Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210964 - x11-misc/xscreensaver should not require gtk
Summary: x11-misc/xscreensaver should not require gtk
Status: VERIFIED DUPLICATE of bug 100362
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-21 12:29 UTC by Daniel Burr
Modified: 2008-02-21 14:30 UTC (History)
0 users

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


Attachments
ebuild with optional gtk support (xscreensaver-5.04-r1.ebuild,2.58 KB, text/plain)
2008-02-21 12:31 UTC, Daniel Burr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Burr 2008-02-21 12:29:41 UTC
It may be desirable to install xscreensaver on systems which do not have gtk installed.  The ebuild currently has >=x11-libs/gtk+-2 and >=gnome-base/libglade-1.99 hardcoded as dependencies.  It should be changed so that these are only required if the gtk USE flag is defined.


Reproducible: Always

Steps to Reproduce:
1. Have a system which doesn't have GTK installed and has the gtk USE flag unset
2. emerge -p xscreensaver
3.

Actual Results:  
gtk will be installed as a dependency and xscreensaver will be compiled using --with-gtk

Expected Results:  
gtk should not be installed and xscreensaver should be compiled using --without-gtk
Comment 1 Daniel Burr 2008-02-21 12:31:16 UTC
Created attachment 144204 [details]
ebuild with optional gtk support

This ebuild changes >=x11-libs/gtk+-2 and >=gnome-base/libglade-1.99 to be dependencies only if the gtk USE flag is set.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 12:40:18 UTC

*** This bug has been marked as a duplicate of bug 100362 ***
Comment 3 Daniel Burr 2008-02-21 13:20:58 UTC
How is this a duplicate?  bug 100362 reports that building without gtk support does not work whereas this new ebuild works fine without gtk support
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 13:31:07 UTC
Yeah, the new ebuild works great without gtk+ support except that you don't get xscreensaver-demo unless you use motif instead, rendering the thing pretty much unless for vast majority of users. When you use motif instead, you get to bug 100362 once again since noone maintains that stuff and all the motif code is totally broken.

So - gtk+ is not optional, sorry.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-02-21 13:41:03 UTC
Yeah, I'm not going to add USE gtk there because upstream doesn't want it.. he made it very clear he doesn't want his software shipped "crippled"
Comment 6 Daniel Burr 2008-02-21 13:48:19 UTC
Why not add a local USE flag then (say, brokenmotif)?  That way people why really, really want to use it without gtk (and don't care about xscreensaver-demo) have a way to accomplish that but the "default shipping configuration" uses gtk.  If upstream *really* doesn't want people using it without gtk then he should remove the --without-gtk option.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 13:51:53 UTC
(In reply to comment #6)
> If upstream *really* doesn't want people using it
> without gtk then he should remove the --without-gtk option.

Sounds like plan, just a wrong place to suggest similar things. Also all the motif cruft incompatible with anything but <=openmotif-2.1 could be nuked altogether, take this upstream please.
Comment 8 Daniel Burr 2008-02-21 14:16:15 UTC
Okay, I have sent an e-mail upstream.  In the meantime can we add a local USE flag that disables GTK & motif support for those of us why don't need GTK and/or xscreensaver-demo?
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 14:30:50 UTC
(In reply to comment #8)
> Okay, I have sent an e-mail upstream.  In the meantime can we add a local USE
> flag that disables GTK & motif support for those of us why don't need GTK
> and/or xscreensaver-demo?

Already answered in Comment #5.