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.
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.
Why add a new flag, surely "X" would be sufficient?
because not X (xorg-x11) is the dependency but media-gfx/scrot for which no useflag exists, afaik.
X generally doesnt point directly at xorg/xfree. Many ebuilds use it for general "X11 environment" support.
I would definitely opt for: X?(media-gfx/scrot) Just my 2 cents.
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
X?(screenshot?(media-gfx/scrot)) So headless display systems will not have to figure out what that new flag is.
in cvs