Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
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 21:58:05
Message-Id: a1f7754f-ece1-df38-7200-85f1064e9f57@web.de
In Reply to: Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean? by Rich Freeman
1 On 12/16/19 20:52, Rich Freeman wrote:
2 > On Mon, Dec 16, 2019 at 2:25 PM n952162 <n952162@×××.de> wrote:
3 >> It's strange ... on coming home, I see that my machine here can display
4 >> all the usual filetypes and has *no* use flags:
5 >>
6 >> media-gfx/imagemagick-7.0.8.11
7 >>
8 >> I'm still curious what that "USE flags" section in the package document
9 >> represents.
10 >>
11 > Without fetching an out-of-date repo I have no idea what 7.0.8.11
12 > supported as it is no longer in the repo. However, 7.0.9.8 supports:
13 >
14 > equery uses '=media-gfx/imagemagick-7.0.9.8'
15 > [ Legend : U - final flag setting for installation]
16 > [ : I - package is installed with flag ]
17 > [ Colors : set, unset ]
18 > * Found these USE flags for media-gfx/imagemagick-7.0.9.8:
19 > U I
20 > + + X : Add support for X11
21 > + + bzip2 : Use the bzlib compression library
22 > + + corefonts : Use media-fonts/corefonts which is required by some commands
23 > + + cxx : Build support for C++ (bindings, extra libraries,
24 > code generation, ...)
25 > - - djvu : Support DjVu, a PDF-like document format esp.
26 > suited for scanned documents
27 > - - fftw : Use FFTW library for computing Fourier transforms
28 > - - fontconfig : Support for configuring and customizing font access
29 > via media-libs/fontconfig
30 > - - fpx : Enable media-libs/libfpx support
31 > - - graphviz : Add support for the Graphviz library
32 > - - hdri : Enable High Dynamic Range Images formats
33 > - - heif : Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC
34 > image format using media-libs/libheif
35 > - - jbig : Enable jbig-kit support for tiff, Hylafax, ImageMagick, etc
36 > + + jpeg : Add JPEG image support
37 > + + jpeg2k : Support for JPEG 2000, a wavelet-based image
38 > compression format
39 > + + lcms : Add lcms support (color management engine)
40 > - - lqr : Enable experimental liquid rescale support using
41 > media-libs/liblqr
42 > + + lzma : Support for LZMA (de)compression algorithm
43 > - - openexr : Support for the OpenEXR graphics file format
44 > + + openmp : Build support for the OpenMP (support parallel
45 > computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
46 > + + pango : Enable Pango support using x11-libs/pango
47 > - - perl : Add optional support/bindings for the Perl language
48 > + + png : Add support for libpng (PNG images)
49 > - - postscript : Enable support for the PostScript language (often
50 > with ghostscript-gpl or libspectre)
51 > - - q32 : Set quantum depth value to 32
52 > - - q8 : Set quantum depth value to 8
53 > - - raw : Add support for raw image formats
54 > - - static-libs : Build static versions of dynamic libraries as well
55 > + + svg : Add support for SVG (Scalable Vector Graphics)
56 > - - test : Enable dependencies and/or preparations necessary
57 > to run tests (usually controlled by FEATURES=test but can be toggled
58 > independently)
59 > + + tiff : Add support for the TIFF image format
60 > + + truetype : Add support for FreeType and/or FreeType2 fonts
61 > - - webp : Add support for the WebP image format
62 > - - wmf : Add support for the Windows Metafile vector image format
63 > + + xml : Add support for XML files
64 > + + zlib : Add support for zlib (de)compression
65 >
66 >
67 > I'm pretty skeptical that the older version supported no USE flags.
68 > How are you coming to this conclusion?
69 >
70
71 $ cat /etc/portage/package.use/*
72 >=dev-lang/python-3.6.5 sqlite
73 >=sys-apps/util-linux-2.32-r4 static-libs
74 app-misc/jq oniguruma
75 >=net-analyzer/rrdtool-1.6.0-r1 graph perl
76 mail-client/mutt imap
77 =dev-libs/openssl-1.1.1 ~x86
78 >=dev-lang/python-2.7.15:2.7 sqlite
79 >=sys-libs/zlib-1.2.11-r2 minizip
80
81 $ ls  /etc/portage/package.use/*
82 /etc/portage/package.use/firefox    /etc/portage/package.use/mutt
83 /etc/portage/package.use/genkernel  /etc/portage/package.use/nfs
84 /etc/portage/package.use/hwinfo /etc/portage/package.use/thunderbird
85 /etc/portage/package.use/jq         /etc/portage/package.use/vlc
86 /etc/portage/package.use/munin
87
88 That's good, the equery example.