summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-08-24 10:41:07 +0200
committerAndreas Enge <andreas@enge.fr>2013-08-24 10:41:07 +0200
commiteb4b2ab6a87b2d63b6845848d760e594f62939c6 (patch)
treeaedfd6ba8756adc4eeb64ad79ca3a38b5f0fea96
parent212525967e7ce30569ef9feb9df801c13317c9d2 (diff)
gnu: Add libextractor.
* gnu/packages/gnunet.scm: New module. * gnu-system.am (GNU_SYSTEM_MODULES): Add module. * THANKS: Thank Christian Grothoff for help with debugging.
-rw-r--r--THANKS1
-rw-r--r--gnu-system.am1
-rw-r--r--gnu/packages/gnunet.scm95
3 files changed, 97 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index 7a9238310a1..6c64c8795c9 100644
--- a/THANKS
+++ b/THANKS
@@ -12,6 +12,7 @@ infrastructure help:
12 Alexandru Cojocaru <xojoc@gmx.com> 12 Alexandru Cojocaru <xojoc@gmx.com>
13 Aleix Conchillo Flaqué <aconchillo@gmail.com> 13 Aleix Conchillo Flaqué <aconchillo@gmail.com>
14 Rafael Ferreira <rafael.f.f1@gmail.com> 14 Rafael Ferreira <rafael.f.f1@gmail.com>
15 Christian Grothoff <christian@grothoff.org>
15 Matthew Lien <bluet@bluet.org> 16 Matthew Lien <bluet@bluet.org>
16 Alex Sassmannshausen <alex.sassmannshausen@gmail.com> 17 Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
17 Jason Self <jself@gnu.org> 18 Jason Self <jself@gnu.org>
diff --git a/gnu-system.am b/gnu-system.am
index 551ecfa604e..9ee2963e19e 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -69,6 +69,7 @@ GNU_SYSTEM_MODULES = \
69 gnu/packages/gkrellm.scm \ 69 gnu/packages/gkrellm.scm \
70 gnu/packages/glib.scm \ 70 gnu/packages/glib.scm \
71 gnu/packages/global.scm \ 71 gnu/packages/global.scm \
72 gnu/packages/gnunet.scm \
72 gnu/packages/gnupg.scm \ 73 gnu/packages/gnupg.scm \
73 gnu/packages/gnutls.scm \ 74 gnu/packages/gnutls.scm \
74 gnu/packages/gperf.scm \ 75 gnu/packages/gperf.scm \
diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
new file mode 100644
index 00000000000..5507b7cc9ac
--- /dev/null
+++ b/gnu/packages/gnunet.scm
@@ -0,0 +1,95 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages gnunet)
20 #:use-module (gnu packages autotools)
21 #:use-module (gnu packages compression)
22 #:use-module ((gnu packages gettext)
23 #:renamer (symbol-prefix-proc 'gnu:))
24 #:use-module (gnu packages glib)
25 #:use-module (gnu packages libjpeg)
26 #:use-module (gnu packages libtiff)
27 #:use-module (gnu packages oggvorbis)
28 #:use-module (gnu packages pkg-config)
29 #:use-module ((guix licenses)
30 #:renamer (symbol-prefix-proc 'license:))
31 #:use-module (guix packages)
32 #:use-module (guix download)
33 #:use-module (guix build-system gnu))
34
35(define-public libextractor
36 (package
37 (name "libextractor")
38 (version "1.1")
39 (source (origin
40 (method url-fetch)
41 (uri (string-append "mirror://gnu/libextractor/libextractor-"
42 version ".tar.gz"))
43 (sha256
44 (base32
45 "1zvj64ig456c9ya3r8ib48ms42cnli9y7ig5p04xqm16z7vw5dyb"))))
46 (build-system gnu-build-system)
47 ;; WARNING: Checks require /dev/shm to be in the build chroot, especially
48 ;; not to be a symbolic link to /run/shm.
49 ;; FIXME:
50 ;; The following dependencies are all optional, but should be
51 ;; available for maximum coverage:
52 ;; * libarchive
53 ;; * libavutil / libavformat / libavcodec / libswscale (ffmpeg)
54 ;; * libexiv2
55 ;; * libgif (giflib)
56 ;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of
57 ;; gtk)
58 ;; * libgsf
59 ;; * libgstreamer
60 ;; * libmagic (file)
61 ;; * libmpeg2
62 ;; * libmp4v2
63 ;; * librpm
64 ;; * libsmf
65 ;; * libtidy
66 (inputs
67 `(("gettext" ,gnu:gettext)
68 ("flac" ,flac)
69 ("glib" ,glib)
70 ("libjpeg" ,libjpeg)
71 ("libogg" ,libogg)
72 ("libtiff" ,libtiff)
73 ("libtool" ,libtool)
74 ("libvorbis" ,libvorbis)
75 ("pkg-config" ,pkg-config)
76 ("zlib" ,zlib)))
77 (synopsis "Library to extract meta-data from media files")
78 (description
79 "GNU Libextractor is a library used to extract meta data from files.
80The goal is to provide developers of file-sharing networks, browsers or
81WWW-indexing bots with a universal library to obtain simple keywords and
82meta data to match against queries and to show to users instead of only
83relying on filenames. libextractor contains the shell command extract that,
84similar to the well-known file command, can extract meta data from a file
85and print the results to stdout.
86
87Currently, libextractor supports the following formats: HTML, MAN, PS, DVI,
88OLE2 (DOC, XLS, PPT), OpenOffice (sxw), StarOffice (sdw), FLAC,
89MP3 (ID3v1 and ID3v2), OGG, WAV, S3M (Scream Tracker 3), XM (eXtended Module),
90IT (Impulse Tracker), NSF(E) (NES music), SID (C64 music), EXIV2, JPEG, GIF,
91PNG, TIFF, DEB, RPM, TAR(.GZ), LZH, LHA, RAR, ZIP, CAB, 7-ZIP, AR, MTREE,
92PAX, CPIO, ISO9660, SHAR, RAW, XAR FLV, REAL, RIFF (AVI), MPEG, QT and ASF.
93Also, various additional MIME types are detected.")
94 (license license:gpl3+)
95 (home-page "http://www.gnu.org/software/libextractor/")))