Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
Date: Mon, 16 Dec 2019 17:33:30
Message-Id: YOM244OS.LYKNMFTH.RNTTYW5J@BP4KMVIC.BH62F2XY.B3ZYAVXU
In Reply to: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean? by n952162
1 On 2019.12.16 12:10, n952162 wrote:
2 > I tried using imagemagick's display, and it gave me:
3 >
4 > display: delegate library support not built-in '' (X11)
5 >
6 > There's no X on the media-gfx/imagemagick web page.
7 >
8 > On a guess, I created a use file for imagemagick with X and now I get:
9 >
10 > display: no decode delegate for this image format `JPG'
11 >
12 > Am I going to have to rebuild imagemagick for every file type I
13 > encounter?
14 Probably yes. As far as I can tell, the only safe way to see what USE
15 flags apply to a package is to either look in the ebuild, or do "eix
16 package." (Mick beat me to it on finding that.)
17
18 It looks like the list of local use flags mentioned on
19 packages.gentoo.org come from the metadata.xml file in the package
20 directory, and at least for this package, that does not actually
21 include all the available flags. (X bzip2 corefonts cxx djvu fftw
22 fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl
23 openexr openmp pango perl png postscript q32 q8 raw static-libs svg
24 test tiff truetype webp wmf xml zlib) I haven't figured out where it
25 gets the list of global flags it uses, unless it is somewhere under
26 /usr/portage/metadata. It also looks like euse uses the info in the
27 metadata file, so, for example, "euse -i jpeg" does NOT mention
28 imagemagick.
29
30 Jack

Replies