summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7a9238310a..6c64c8795c 100644
--- a/THANKS
+++ b/THANKS
@@ -12,6 +12,7 @@ infrastructure help:
Alexandru Cojocaru <xojoc@gmx.com>
Aleix Conchillo Flaqué <aconchillo@gmail.com>
Rafael Ferreira <rafael.f.f1@gmail.com>
+ Christian Grothoff <christian@grothoff.org>
Matthew Lien <bluet@bluet.org>
Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
Jason Self <jself@gnu.org>
diff --git a/gnu-system.am b/gnu-system.am
index 551ecfa604..9ee2963e19 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -69,6 +69,7 @@ GNU_SYSTEM_MODULES = \
gnu/packages/gkrellm.scm \
gnu/packages/glib.scm \
gnu/packages/global.scm \
+ gnu/packages/gnunet.scm \
gnu/packages/gnupg.scm \
gnu/packages/gnutls.scm \
gnu/packages/gperf.scm \
diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
new file mode 100644
index 0000000000..5507b7cc9a
--- /dev/null
+++ b/gnu/packages/gnunet.scm
@@ -0,0 +1,95 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages gnunet)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages compression)
+ #:use-module ((gnu packages gettext)
+ #:renamer (symbol-prefix-proc 'gnu:))
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages libjpeg)
+ #:use-module (gnu packages libtiff)
+ #:use-module (gnu packages oggvorbis)
+ #:use-module (gnu packages pkg-config)
+ #:use-module ((guix licenses)
+ #:renamer (symbol-prefix-proc 'license:))
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu))
+
+(define-public libextractor
+ (package
+ (name "libextractor")
+ (version "1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/libextractor/libextractor-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1zvj64ig456c9ya3r8ib48ms42cnli9y7ig5p04xqm16z7vw5dyb"))))
+ (build-system gnu-build-system)
+ ;; WARNING: Checks require /dev/shm to be in the build chroot, especially
+ ;; not to be a symbolic link to /run/shm.
+ ;; FIXME:
+ ;; The following dependencies are all optional, but should be
+ ;; available for maximum coverage:
+ ;; * libarchive
+ ;; * libavutil / libavformat / libavcodec / libswscale (ffmpeg)
+ ;; * libexiv2
+ ;; * libgif (giflib)
+ ;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of
+ ;; gtk)
+ ;; * libgsf
+ ;; * libgstreamer
+ ;; * libmagic (file)
+ ;; * libmpeg2
+ ;; * libmp4v2
+ ;; * librpm
+ ;; * libsmf
+ ;; * libtidy
+ (inputs
+ `(("gettext" ,gnu:gettext)
+ ("flac" ,flac)
+ ("glib" ,glib)
+ ("libjpeg" ,libjpeg)
+ ("libogg" ,libogg)
+ ("libtiff" ,libtiff)
+ ("libtool" ,libtool)
+ ("libvorbis" ,libvorbis)
+ ("pkg-config" ,pkg-config)
+ ("zlib" ,zlib)))
+ (synopsis "Library to extract meta-data from media files")
+ (description
+ "GNU Libextractor is a library used to extract meta data from files.
+The goal is to provide developers of file-sharing networks, browsers or
+WWW-indexing bots with a universal library to obtain simple keywords and
+meta data to match against queries and to show to users instead of only
+relying on filenames. libextractor contains the shell command extract that,
+similar to the well-known file command, can extract meta data from a file
+and print the results to stdout.
+
+Currently, libextractor supports the following formats: HTML, MAN, PS, DVI,
+OLE2 (DOC, XLS, PPT), OpenOffice (sxw), StarOffice (sdw), FLAC,
+MP3 (ID3v1 and ID3v2), OGG, WAV, S3M (Scream Tracker 3), XM (eXtended Module),
+IT (Impulse Tracker), NSF(E) (NES music), SID (C64 music), EXIV2, JPEG, GIF,
+PNG, TIFF, DEB, RPM, TAR(.GZ), LZH, LHA, RAR, ZIP, CAB, 7-ZIP, AR, MTREE,
+PAX, CPIO, ISO9660, SHAR, RAW, XAR FLV, REAL, RIFF (AVI), MPEG, QT and ASF.
+Also, various additional MIME types are detected.")
+ (license license:gpl3+)
+ (home-page "http://www.gnu.org/software/libextractor/")))