Commit | Line | Data |
---|---|---|
eb4b2ab6 AE |
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) | |
88065ec2 | 22 | #:use-module (gnu packages curl) |
eb4b2ab6 AE |
23 | #:use-module ((gnu packages gettext) |
24 | #:renamer (symbol-prefix-proc 'gnu:)) | |
25 | #:use-module (gnu packages glib) | |
88065ec2 AE |
26 | #:use-module (gnu packages gnupg) |
27 | #:use-module (gnu packages gnutls) | |
eb4b2ab6 AE |
28 | #:use-module (gnu packages libjpeg) |
29 | #:use-module (gnu packages libtiff) | |
30 | #:use-module (gnu packages oggvorbis) | |
88065ec2 | 31 | #:use-module (gnu packages openssl) |
eb4b2ab6 AE |
32 | #:use-module (gnu packages pkg-config) |
33 | #:use-module ((guix licenses) | |
34 | #:renamer (symbol-prefix-proc 'license:)) | |
35 | #:use-module (guix packages) | |
36 | #:use-module (guix download) | |
37 | #:use-module (guix build-system gnu)) | |
38 | ||
39 | (define-public libextractor | |
40 | (package | |
41 | (name "libextractor") | |
42 | (version "1.1") | |
43 | (source (origin | |
44 | (method url-fetch) | |
45 | (uri (string-append "mirror://gnu/libextractor/libextractor-" | |
46 | version ".tar.gz")) | |
47 | (sha256 | |
48 | (base32 | |
49 | "1zvj64ig456c9ya3r8ib48ms42cnli9y7ig5p04xqm16z7vw5dyb")))) | |
50 | (build-system gnu-build-system) | |
51 | ;; WARNING: Checks require /dev/shm to be in the build chroot, especially | |
52 | ;; not to be a symbolic link to /run/shm. | |
53 | ;; FIXME: | |
54 | ;; The following dependencies are all optional, but should be | |
55 | ;; available for maximum coverage: | |
56 | ;; * libarchive | |
57 | ;; * libavutil / libavformat / libavcodec / libswscale (ffmpeg) | |
58 | ;; * libexiv2 | |
59 | ;; * libgif (giflib) | |
60 | ;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of | |
61 | ;; gtk) | |
62 | ;; * libgsf | |
63 | ;; * libgstreamer | |
64 | ;; * libmagic (file) | |
65 | ;; * libmpeg2 | |
66 | ;; * libmp4v2 | |
67 | ;; * librpm | |
68 | ;; * libsmf | |
69 | ;; * libtidy | |
70 | (inputs | |
71 | `(("gettext" ,gnu:gettext) | |
72 | ("flac" ,flac) | |
73 | ("glib" ,glib) | |
74 | ("libjpeg" ,libjpeg) | |
75 | ("libogg" ,libogg) | |
76 | ("libtiff" ,libtiff) | |
77 | ("libtool" ,libtool) | |
78 | ("libvorbis" ,libvorbis) | |
79 | ("pkg-config" ,pkg-config) | |
80 | ("zlib" ,zlib))) | |
81 | (synopsis "Library to extract meta-data from media files") | |
82 | (description | |
83 | "GNU Libextractor is a library used to extract meta data from files. | |
84 | The goal is to provide developers of file-sharing networks, browsers or | |
85 | WWW-indexing bots with a universal library to obtain simple keywords and | |
86 | meta data to match against queries and to show to users instead of only | |
87 | relying on filenames. libextractor contains the shell command extract that, | |
88 | similar to the well-known file command, can extract meta data from a file | |
89 | and print the results to stdout. | |
90 | ||
91 | Currently, libextractor supports the following formats: HTML, MAN, PS, DVI, | |
92 | OLE2 (DOC, XLS, PPT), OpenOffice (sxw), StarOffice (sdw), FLAC, | |
93 | MP3 (ID3v1 and ID3v2), OGG, WAV, S3M (Scream Tracker 3), XM (eXtended Module), | |
94 | IT (Impulse Tracker), NSF(E) (NES music), SID (C64 music), EXIV2, JPEG, GIF, | |
95 | PNG, TIFF, DEB, RPM, TAR(.GZ), LZH, LHA, RAR, ZIP, CAB, 7-ZIP, AR, MTREE, | |
96 | PAX, CPIO, ISO9660, SHAR, RAW, XAR FLV, REAL, RIFF (AVI), MPEG, QT and ASF. | |
97 | Also, various additional MIME types are detected.") | |
98 | (license license:gpl3+) | |
99 | (home-page "http://www.gnu.org/software/libextractor/"))) | |
88065ec2 AE |
100 | |
101 | (define-public libmicrohttpd | |
102 | (package | |
103 | (name "libmicrohttpd") | |
7dac2f2e | 104 | (version "0.9.30") |
88065ec2 AE |
105 | (source (origin |
106 | (method url-fetch) | |
107 | (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-" | |
108 | version ".tar.gz")) | |
109 | (sha256 | |
110 | (base32 | |
7dac2f2e | 111 | "0v30w90qx8wpg5ksy97f5r4acpwd4q7q2v508mcss00vzj18rx40")))) |
88065ec2 AE |
112 | (build-system gnu-build-system) |
113 | (inputs | |
114 | `(("curl" ,curl) | |
115 | ("gnutls" ,gnutls) | |
116 | ("libgcrypt" ,libgcrypt) | |
117 | ("openssl" ,openssl) | |
118 | ("zlib" ,zlib))) | |
119 | (synopsis "C library implementing an HTTP 1.1 server") | |
120 | (description | |
121 | "GNU libmicrohttpd is a small C library that is supposed to make it | |
122 | easy to run an HTTP server as part of another application. Key features | |
123 | that distinguish GNU Libmicrohttpd from other projects are: | |
124 | C library is fast and small; | |
125 | API is simple, expressive and fully reentrant; | |
126 | implementation is HTTP 1.1 compliant; | |
127 | HTTP server can listen on multiple ports; | |
128 | four different threading models (select, poll, pthread, thread pool); | |
129 | supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, Android, | |
130 | OS X, W32, Symbian and z/OS; | |
131 | support for IPv6; | |
132 | support for SHOUTcast; | |
133 | support for incremental processing of POST data (optional); | |
134 | support for basic and digest authentication (optional); | |
135 | support for SSL3 and TLS (requires libgcrypt and libgnutls, optional); | |
136 | binary is only about 32k (without TLS/SSL support and other optional features).") | |
137 | (license license:lgpl2.1+) | |
138 | (home-page "http://www.gnu.org/software/libmicrohttpd/"))) |