Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH] use.desc: Introduce global USE=magic
Date: Sun, 11 Aug 2019 11:22:05
Message-Id: 20190811112153.63979-1-mgorny@gentoo.org
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 <mgorny@g.o>
---
 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
-- 
2.23.0.rc1

Replies