The USE flag naming feels a bit to be desired by me.
That's because I don't believe in USE flags having to be named by the
external dep they introduce, but by functionality. USE=magic sounds
like a USE flag that adds some wizards into your application, automagic
behavior or who knows (until you read the description).
Not that I have a much better suggestion. USE=auto-mimetypes?

Mart


Ühel kenal päeval, P, 11.08.2019 kell 13:21, kirjutas Michał Górny:
> USE=magic is currently used consistently by 12 packages:
> 
> app-arch/engrampa[magic] Enable filetype auto-detection via
>   sys-apps/file
> app-editors/nano[magic] Add magic file support (sys-apps/file) to
>   automatically detect appropriate syntax highlighting
> app-misc/vifm[magic] Use libmagic to determine mimetypes
> app-misc/worker[magic] Add magic file support from sys-apps/file to
>   automatically detect file types
> app-text/zathura[magic] Use libmagic to determine mimetypes
> media-gfx/qiv[magic] Use libmagic to determine mimetypes
> media-libs/libextractor[magic] Enable magic support using sys-
> apps/file
> media-sound/moc[magic] Use libmagic to determine mimetypes
> net-misc/gerbera[magic] Use libmagic to determine file types
> net-p2p/mldonkey[magic] enable use of libmagic
> sci-geosciences/viking[magic] Use libmagic to determine mimetypes
> www-servers/pshs[magic] Enable automatic detection of Content-Type
> using
>   libmagic (sys-apps/file)
> 
> Signed-off-by: Michał Górny <mgo...@gentoo.org>
> ---
>  profiles/use.desc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/profiles/use.desc b/profiles/use.desc
> index 13baef969315..09940dd81822 100644
> --- a/profiles/use.desc
> +++ b/profiles/use.desc
> @@ -181,6 +181,7 @@ lzma - Support for LZMA (de)compression algorithm
>  lzo - Enable support for lzo compression
>  m17n-lib - Enable m17n-lib support
>  mad - Add support for mad (high-quality mp3 decoder library and cli
> frontend)
> +magic - Add support for file type detection via magic bytes (usually
> via libmagic from sys-apps/file)
>  maildir - Add support for maildir (~/.maildir) style mail spools
>  matroska - Add support for the matroska container format (extensions
> .mkv, .mka and .mks)
>  mbox - Add support for mbox (/var/spool/mail) style mail spools

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to