Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369261 - sci-geosciences/gpsd needs X use flag
Summary: sci-geosciences/gpsd needs X use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-30 08:12 UTC by Patrick
Modified: 2011-11-20 06:58 UTC (History)
1 user (show)

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 Patrick 2011-05-30 08:12:01 UTC
gpsd needs an X use flag to conditionally install its gui applications.

Currently gpsd depends on dev-python/pygtk which pulls in a lot of unwanted deps when used on a system without X. All that pygtk is required for is 2 utilities (xgps and xgpsspeed) which are completely optional.

When the X use flag is not provided, the package should drop the pygtk dependency and not install these 2 utilities.


I modified the ebuild to remove the pygtk dep, and the package runs perfectly fine without pygtk or any X related packages installed (minus the 2 X utils of course).

Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-06-17 09:40:39 UTC
Feel free to write some patch to manage it. But i don't see configure options to turn them off, so the configure.ac needs to be patched.
Which takes quite time I wont probably have in near future.
Comment 2 Patrick 2011-06-17 15:04:26 UTC
There's no configure option because they dont get compiled. Theyre python, so pre-built. The only thing that needs to be changed is to install them or not.
Comment 3 SpanKY gentoo-dev 2011-11-20 06:58:36 UTC
gpsd-3.3 now in the tree and should address things