Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77198 - basc-1.5.5 requires X even on boxes without X, despite being a command line and cron-run program.
Summary: basc-1.5.5 requires X even on boxes without X, despite being a command line a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 23:37 UTC by Peter Ferriola
Modified: 2005-01-12 09:04 UTC (History)
2 users (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 Peter Ferriola 2005-01-08 23:37:42 UTC
Boxes running without X must install X to install basc-1.5.5.  A USE flag option for -X would be a very good idea for this program, since the features enabled by the screenshot utilities it wishes to install are not valid on a headless or no-X computer.

Reproducible: Always
Steps to Reproduce:
1. have a computer without X, using the -X USE flag.
2. try to install basc (emerge basc, with whatever emerge options you please.)

Actual Results:  
emerge fails on giblib, saying:

"!!! ERROR: media-libs/giblib-1.2.4 failed.
!!! Function src_compile, Line 21, Exitcode 1
!!! You need to re-emerge Imlib2 with USE=X
!!! If you need support, post the topmost build error, NOT this status message."

Expected Results:  
giblib, imlib compiled with the X USE flag, and scrot should not be considered 
dependencies on computers with USE=-X.
Comment 1 Alexander Mieland 2005-01-09 01:53:48 UTC
Take the modified ebuild for basc-1.5.5 from here: http://bugs.gentoo.org/show_bug.cgi?id=77030

There the useflag "screenshot" is used to determine wheter to install scrot and dependencies or not.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-01-09 14:50:55 UTC
Why add a new flag, surely "X" would be sufficient?
Comment 3 Alexander Mieland 2005-01-09 15:08:58 UTC
because not X (xorg-x11) is the dependency but media-gfx/scrot for which no useflag exists, afaik.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-01-09 17:04:13 UTC
X generally doesnt point directly at xorg/xfree. Many ebuilds use it for general "X11 environment" support.
Comment 5 Tobias Sager 2005-01-11 06:20:53 UTC
I would definitely opt for:
X?(media-gfx/scrot)
Just my 2 cents.
Comment 6 Alexander Mieland 2005-01-11 07:49:05 UTC
some people have +X, but they don't want scrot or the dependencies (giblib, imlib) to be installed, so what to do?

screenshot?(media-gfx/scrot)

... is absolutley fine and will be used in 1.5.6.

-> http://bugs.gentoo.org/show_bug.cgi?id=77401

Comment 7 Gustavo Felisberto (RETIRED) gentoo-dev 2005-01-12 07:52:30 UTC
X?(screenshot?(media-gfx/scrot))

So headless display systems will not have to figure out what that new flag is.
Comment 8 Pieter Van den Abeele (RETIRED) gentoo-dev 2005-01-12 09:04:20 UTC
in cvs