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

Bug 130312

Summary: quilt ebuild requires grapviz -> requires X
Product: Gentoo Linux Reporter: Dustin J. Mitchell <dustin>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to ebuild

Description Dustin J. Mitchell 2006-04-17 17:06:12 UTC
I'd like to use quilt on a development server, which doesn't have X installed.  It would be great if I could use
 USE="-graphviz" emerge quilt
to compile without the graphviz dependencies!  I don't think there's any difference in the actual install, although I suppose it would be nice to not include the 'quilt graph' command if graphviz isn't found.

Sorry, I'm a complete newb to ebuilds or I'd post a patch.
Comment 1 Dustin J. Mitchell 2006-04-17 17:41:38 UTC
Created attachment 84870 [details, diff]
patch to ebuild

OK, that wasn't so hard.  This was against 0.42, but should work against 0.44 too.
Comment 2 Dustin J. Mitchell 2006-04-17 17:42:44 UTC
ah, it looks like I don't know how to add a new USE flag to the system so that equery gives a decent description of it.  This installs correctly now, but equery describes the graphv flag as "<unknown>".
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 06:43:58 UTC
graphviz does not require X unless you have USE=tcltk set. The patch is not correct, quilt won't work fully, as you've also noted in your first comment. Anyway, there's no need for this.