It's strange ... on coming home, I see that my machine here can display
all the usual filetypes and has *no* use flags:
media-gfx/imagemagick-7.0.8.11
I'm still curious what that "USE flags" section in the package document
represents.
On 12/16/19 18:33, Jack wrote:
On 2019.12.16 12:10, n952162 wrote:
I tried using imagemagick's display, and it gave me:
display: delegate library support not built-in '' (X11)
There's no X on the media-gfx/imagemagick web page.
On a guess, I created a use file for imagemagick with X and now I get:
display: no decode delegate for this image format `JPG'
Am I going to have to rebuild imagemagick for every file type I
encounter?
Probably yes. As far as I can tell, the only safe way to see what USE
flags apply to a package is to either look in the ebuild, or do "eix
package." (Mick beat me to it on finding that.)
It looks like the list of local use flags mentioned on
packages.gentoo.org come from the metadata.xml file in the package
directory, and at least for this package, that does not actually
include all the available flags. (X bzip2 corefonts cxx djvu fftw
fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma
opencl openexr openmp pango perl png postscript q32 q8 raw static-libs
svg test tiff truetype webp wmf xml zlib) I haven't figured out where
it gets the list of global flags it uses, unless it is somewhere under
/usr/portage/metadata. It also looks like euse uses the info in the
metadata file, so, for example, "euse -i jpeg" does NOT mention
imagemagick.
Jack