Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] use.desc: Introduce global USE=magic
Date: Sun, 11 Aug 2019 11:46:26
Message-Id: 2043becb73be7200ae9cee163762d4371b551aef.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] use.desc: Introduce global USE=magic by "Michał Górny"
1 The USE flag naming feels a bit to be desired by me.
2 That's because I don't believe in USE flags having to be named by the
3 external dep they introduce, but by functionality. USE=magic sounds
4 like a USE flag that adds some wizards into your application, automagic
5 behavior or who knows (until you read the description).
6 Not that I have a much better suggestion. USE=auto-mimetypes?
7
8 Mart
9
10
11 Ühel kenal päeval, P, 11.08.2019 kell 13:21, kirjutas Michał Górny:
12 > USE=magic is currently used consistently by 12 packages:
13 >
14 > app-arch/engrampa[magic] Enable filetype auto-detection via
15 > sys-apps/file
16 > app-editors/nano[magic] Add magic file support (sys-apps/file) to
17 > automatically detect appropriate syntax highlighting
18 > app-misc/vifm[magic] Use libmagic to determine mimetypes
19 > app-misc/worker[magic] Add magic file support from sys-apps/file to
20 > automatically detect file types
21 > app-text/zathura[magic] Use libmagic to determine mimetypes
22 > media-gfx/qiv[magic] Use libmagic to determine mimetypes
23 > media-libs/libextractor[magic] Enable magic support using sys-
24 > apps/file
25 > media-sound/moc[magic] Use libmagic to determine mimetypes
26 > net-misc/gerbera[magic] Use libmagic to determine file types
27 > net-p2p/mldonkey[magic] enable use of libmagic
28 > sci-geosciences/viking[magic] Use libmagic to determine mimetypes
29 > www-servers/pshs[magic] Enable automatic detection of Content-Type
30 > using
31 > libmagic (sys-apps/file)
32 >
33 > Signed-off-by: Michał Górny <mgorny@g.o>
34 > ---
35 > profiles/use.desc | 1 +
36 > 1 file changed, 1 insertion(+)
37 >
38 > diff --git a/profiles/use.desc b/profiles/use.desc
39 > index 13baef969315..09940dd81822 100644
40 > --- a/profiles/use.desc
41 > +++ b/profiles/use.desc
42 > @@ -181,6 +181,7 @@ lzma - Support for LZMA (de)compression algorithm
43 > lzo - Enable support for lzo compression
44 > m17n-lib - Enable m17n-lib support
45 > mad - Add support for mad (high-quality mp3 decoder library and cli
46 > frontend)
47 > +magic - Add support for file type detection via magic bytes (usually
48 > via libmagic from sys-apps/file)
49 > maildir - Add support for maildir (~/.maildir) style mail spools
50 > matroska - Add support for the matroska container format (extensions
51 > .mkv, .mka and .mks)
52 > mbox - Add support for mbox (/var/spool/mail) style mail spools

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [PATCH] use.desc: Introduce global USE=magic "Michał Górny" <mgorny@g.o>