2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-01-07 22:44:10 +01:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
|
2013-10-26 00:24:44 +02:00
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2015-03-02 01:42:15 +01:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2015-02-20 15:13:34 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2016-04-02 08:48:30 +02:00
|
|
|
|
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
2016-06-17 16:43:09 +02:00
|
|
|
|
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
2015-09-09 23:04:12 +02:00
|
|
|
|
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
|
2015-09-28 23:55:56 +02:00
|
|
|
|
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
|
2017-02-03 18:17:47 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2016-01-24 23:31:14 +01:00
|
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2016-04-17 19:30:37 +02:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
|
2016-08-18 17:06:10 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-08-15 01:17:18 +02:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2016-08-27 12:33:26 +02:00
|
|
|
|
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
2016-08-12 03:29:51 +02:00
|
|
|
|
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
|
2017-02-03 17:56:24 +01:00
|
|
|
|
;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
|
2012-11-04 23:16:58 +01:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-04 23:16:58 +01:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-04 23:16:58 +01:00
|
|
|
|
;;; 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.
|
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-04 23:16:58 +01:00
|
|
|
|
;;; 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
|
2013-01-06 00:47:50 +01:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-04 23:16:58 +01:00
|
|
|
|
|
2013-01-18 01:06:24 +01:00
|
|
|
|
(define-module (gnu packages compression)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 22:44:22 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-10-22 19:17:12 +02:00
|
|
|
|
#:use-module (guix utils)
|
2012-11-04 23:16:58 +01:00
|
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-13 00:22:44 +01:00
|
|
|
|
#:use-module (guix download)
|
2015-06-23 21:25:19 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2013-10-26 00:24:44 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-04-06 21:46:38 +02:00
|
|
|
|
#:use-module (guix build-system perl)
|
2017-02-03 17:56:24 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
2016-05-30 05:04:46 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2016-07-14 00:22:16 +02:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2016-04-02 08:48:30 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2016-01-24 23:31:14 +01:00
|
|
|
|
#:use-module (gnu packages backup)
|
2015-04-06 21:46:38 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-06-23 21:25:19 +02:00
|
|
|
|
#:use-module (gnu packages perl)
|
2016-01-24 23:31:14 +01:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-02-03 17:56:24 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2015-09-09 23:04:12 +02:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2016-08-18 17:06:10 +02:00
|
|
|
|
#:use-module (ice-9 match)
|
2015-06-23 21:25:19 +02:00
|
|
|
|
#:use-module ((srfi srfi-1) #:select (last)))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
|
2012-11-04 23:40:26 +01:00
|
|
|
|
(define-public zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "zlib")
|
2016-01-08 05:39:12 +01:00
|
|
|
|
(version "1.2.8")
|
2012-11-04 23:40:26 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-13 00:22:44 +01:00
|
|
|
|
(method url-fetch)
|
2013-05-25 22:27:59 +02:00
|
|
|
|
(uri (list (string-append "http://zlib.net/zlib-"
|
|
|
|
|
version ".tar.gz")
|
2017-01-07 22:44:10 +01:00
|
|
|
|
(string-append "mirror://sourceforge/libpng/zlib/"
|
|
|
|
|
version "/zlib-" version ".tar.gz")))
|
2012-11-04 23:40:26 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-01-08 05:39:12 +01:00
|
|
|
|
"039agw5rqvqny92cpkrfn243x2gd4xn13hs3xi6isk55d2vqqr9n"))))
|
2012-11-04 23:40:26 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2013-12-09 22:57:15 +01:00
|
|
|
|
;; Zlib's home-made `configure' fails when passed
|
2012-11-04 23:40:26 +01:00
|
|
|
|
;; extra flags like `--enable-fast-install', so we need to
|
|
|
|
|
;; invoke it with just what it understand.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2013-12-09 22:57:15 +01:00
|
|
|
|
;; 'configure' doesn't understand '--host'.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`((setenv "CHOST" ,(%current-target-system)))
|
|
|
|
|
'())
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)))))
|
2012-11-04 23:40:26 +01:00
|
|
|
|
%standard-phases)))
|
|
|
|
|
(home-page "http://zlib.net/")
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "Compression library")
|
2012-11-04 23:40:26 +01:00
|
|
|
|
(description
|
|
|
|
|
"zlib is designed to be a free, general-purpose, legally unencumbered --
|
|
|
|
|
that is, not covered by any patents -- lossless data-compression library for
|
|
|
|
|
use on virtually any computer hardware and operating system. The zlib data
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
format is itself portable across platforms. Unlike the LZW compression method
|
2012-11-04 23:40:26 +01:00
|
|
|
|
used in Unix compress(1) and in the GIF image format, the compression method
|
|
|
|
|
currently used in zlib essentially never expands the data. (LZW can double or
|
|
|
|
|
triple the file size in extreme cases.) zlib's memory footprint is also
|
|
|
|
|
independent of the input data and can be reduced, if necessary, at some cost
|
|
|
|
|
in compression.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 16:14:04 +01:00
|
|
|
|
(license license:zlib)))
|
2012-11-04 23:40:26 +01:00
|
|
|
|
|
2014-12-22 18:03:02 +01:00
|
|
|
|
(define-public fastjar
|
|
|
|
|
(package
|
|
|
|
|
(name "fastjar")
|
|
|
|
|
(version "0.98")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/fastjar/fastjar-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://savannah.nongnu.org/projects/fastjar")
|
|
|
|
|
(synopsis "Replacement for Sun's 'jar' utility")
|
|
|
|
|
(description
|
|
|
|
|
"FastJar is an attempt to create a much faster replacement for Sun's 'jar'
|
|
|
|
|
utility. Instead of being written in Java, FastJar is written in C.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-06-27 11:45:01 +02:00
|
|
|
|
(define-public libtar
|
|
|
|
|
(package
|
|
|
|
|
(name "libtar")
|
2016-05-29 21:46:29 +02:00
|
|
|
|
(version "1.2.20")
|
2015-06-27 11:45:01 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-29 21:46:29 +02:00
|
|
|
|
(uri (list
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.feep.net/pub/software/libtar/libtar-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://debian/pool/main/libt/libtar/libtar_"
|
|
|
|
|
version ".orig.tar.gz")))
|
2015-06-27 11:45:01 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-30 05:04:46 +02:00
|
|
|
|
"02cihzl77ia0dcz7z2cga2412vyhhs5pa2355q4wpwbyga2lrwjh"))
|
|
|
|
|
(patches (search-patches "libtar-CVE-2013-4420.patch"))))
|
2015-06-27 11:45:01 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-05-29 21:46:29 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autoconf
|
|
|
|
|
(lambda _ (zero? (system* "sh" "autoreconf" "-vfi")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
2015-06-27 11:45:01 +02:00
|
|
|
|
(synopsis "C library for manipulating POSIX tar files")
|
|
|
|
|
(description
|
|
|
|
|
"libtar is a C library for manipulating POSIX tar files. It handles
|
|
|
|
|
adding and extracting files to/from a tar archive.")
|
2016-05-29 21:46:29 +02:00
|
|
|
|
(home-page "https://repo.or.cz/libtar.git")
|
2015-06-27 11:45:01 +02:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(define-public gzip
|
|
|
|
|
(package
|
|
|
|
|
(name "gzip")
|
2016-04-28 17:14:18 +02:00
|
|
|
|
(version "1.8")
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-13 00:22:44 +01:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 23:34:03 +01:00
|
|
|
|
(uri (string-append "mirror://gnu/gzip/gzip-"
|
2016-04-08 08:19:22 +02:00
|
|
|
|
version ".tar.xz"))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-04-28 17:14:18 +02:00
|
|
|
|
"1lxv3p4iyx7833mlihkn5wfwmz4cys5nybwpz3dfawag8kn6f5zz"))))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 18:04:25 +02:00
|
|
|
|
(synopsis "General file (de)compression (using lzw)")
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(arguments
|
|
|
|
|
;; FIXME: The test suite wants `less', and optionally Perl.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(description
|
2013-12-01 22:33:23 +01:00
|
|
|
|
"GNU Gzip provides data compression and decompression utilities; the
|
|
|
|
|
typical extension is \".gz\". Unlike the \"zip\" format, it compresses a single
|
|
|
|
|
file; as a result, it is often used in conjunction with \"tar\", resulting in
|
|
|
|
|
\".tar.gz\" or \".tgz\", etc.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 16:14:04 +01:00
|
|
|
|
(license license:gpl3+)
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(home-page "http://www.gnu.org/software/gzip/")))
|
|
|
|
|
|
|
|
|
|
(define-public bzip2
|
2015-01-04 22:23:48 +01:00
|
|
|
|
(let ((build-shared-lib
|
2012-11-04 23:16:58 +01:00
|
|
|
|
;; Build a shared library.
|
|
|
|
|
'(lambda* (#:key inputs #:allow-other-keys)
|
2012-12-31 01:13:04 +01:00
|
|
|
|
(patch-makefile-SHELL "Makefile-libbz2_so")
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(zero? (system* "make" "-f" "Makefile-libbz2_so"))))
|
|
|
|
|
(install-shared-lib
|
|
|
|
|
'(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(libdir (string-append out "/lib")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((base (basename file)))
|
|
|
|
|
(format #t "installing `~a' to `~a'~%"
|
|
|
|
|
base libdir)
|
|
|
|
|
(copy-file file
|
|
|
|
|
(string-append libdir "/" base))))
|
2013-09-29 17:22:08 +02:00
|
|
|
|
(find-files "." "^libbz2\\.so")))))
|
|
|
|
|
(set-cross-environment
|
|
|
|
|
'(lambda* (#:key target #:allow-other-keys)
|
|
|
|
|
(substitute* (find-files "." "Makefile")
|
|
|
|
|
(("CC=.*$")
|
|
|
|
|
(string-append "CC = " target "-gcc\n"))
|
|
|
|
|
(("AR=.*$")
|
|
|
|
|
(string-append "AR = " target "-ar\n"))
|
|
|
|
|
(("RANLIB=.*$")
|
|
|
|
|
(string-append "RANLIB = " target "-ranlib\n"))
|
|
|
|
|
(("^all:(.*)test" _ prerequisites)
|
|
|
|
|
;; Remove 'all' -> 'test' dependency.
|
|
|
|
|
(string-append "all:" prerequisites "\n"))))))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "bzip2")
|
|
|
|
|
(version "1.0.6")
|
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-13 00:22:44 +01:00
|
|
|
|
(method url-fetch)
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(uri (string-append "http://www.bzip.org/" version "/bzip2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1kfrc7f0ja9fdn6j1y6yir6li818npy6217hvr3wzmnmzhs8z152"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
2013-09-29 17:22:08 +02:00
|
|
|
|
,(if (%current-target-system)
|
|
|
|
|
|
|
|
|
|
;; Cross-compilation: use the cross tools.
|
|
|
|
|
`(alist-cons-before
|
|
|
|
|
'build 'build-shared-lib ,build-shared-lib
|
|
|
|
|
(alist-cons-after
|
2015-01-04 22:23:48 +01:00
|
|
|
|
'install 'install-shared-lib ,install-shared-lib
|
|
|
|
|
(alist-replace 'configure ,set-cross-environment
|
|
|
|
|
%standard-phases)))
|
2013-09-29 17:22:08 +02:00
|
|
|
|
|
|
|
|
|
;; Native compilation: build the shared library.
|
|
|
|
|
`(alist-cons-before
|
|
|
|
|
'build 'build-shared-lib ,build-shared-lib
|
|
|
|
|
(alist-cons-after
|
2015-01-04 22:23:48 +01:00
|
|
|
|
'install 'install-shared-lib ,install-shared-lib
|
|
|
|
|
(alist-delete 'configure %standard-phases))))
|
2013-09-29 17:22:08 +02:00
|
|
|
|
|
2012-11-04 23:16:58 +01:00
|
|
|
|
#:make-flags (list (string-append "PREFIX="
|
2013-09-29 17:22:08 +02:00
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
|
|
|
|
|
;; Don't attempt to run the tests when cross-compiling.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'(#:tests? #f)
|
|
|
|
|
'())))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "High-quality data compression program")
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(description
|
|
|
|
|
"bzip2 is a freely available, patent free (see below), high-quality data
|
|
|
|
|
compressor. It typically compresses files to within 10% to 15% of the best
|
|
|
|
|
available techniques (the PPM family of statistical compressors), whilst
|
|
|
|
|
being around twice as fast at compression and six times faster at
|
|
|
|
|
decompression.")
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 19:26:34 +01:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 16:14:04 +01:00
|
|
|
|
"See LICENSE in the distribution."))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(home-page "http://www.bzip.org/"))))
|
|
|
|
|
|
2016-06-17 16:43:09 +02:00
|
|
|
|
(define-public lbzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "lbzip2")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://archive.lbzip2.org/lbzip2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1sahaqc5bw4i0iyri05syfza4ncf5cml89an033fspn97klmxis6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Parallel bzip2 compression utility")
|
|
|
|
|
(description
|
|
|
|
|
"lbzip2 is a multi-threaded compression utility with support for the
|
|
|
|
|
bzip2 compressed file format. lbzip2 can process standard bz2 files in
|
|
|
|
|
parallel. It uses POSIX threading model (pthreads), which allows it to take
|
|
|
|
|
full advantage of symmetric multiprocessing (SMP) systems. It has been proven
|
|
|
|
|
to scale linearly, even to over one hundred processor cores. lbzip2 is fully
|
|
|
|
|
compatible with bzip2 – both at file format and command line level.")
|
|
|
|
|
(home-page "http://www.lbzip2.org/")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-10-22 12:12:07 +02:00
|
|
|
|
(define-public pbzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "pbzip2")
|
|
|
|
|
(version "1.1.12")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-10-22 19:17:12 +02:00
|
|
|
|
(uri (string-append "https://launchpad.net/pbzip2/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/+download/" name "-" version ".tar.gz"))
|
2015-10-22 12:12:07 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vk6065dv3a47p86vmp8hv3n1ygd9hraz0gq89gvzlx7lmcb6fsp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
`(("bzip2" ,bzip2)))
|
2015-10-22 12:12:07 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2015-10-22 19:17:12 +02:00
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:make-flags (list (string-append "PREFIX=" %output))))
|
2015-10-22 12:12:07 +02:00
|
|
|
|
(home-page "http://compression.ca/pbzip2/")
|
|
|
|
|
(synopsis "Parallel bzip2 implementation")
|
|
|
|
|
(description
|
|
|
|
|
"Pbzip2 is a parallel implementation of the bzip2 block-sorting file
|
|
|
|
|
compressor that uses pthreads and achieves near-linear speedup on SMP machines.
|
2015-10-22 19:17:12 +02:00
|
|
|
|
The output of this version is fully compatible with bzip2 v1.0.2 (i.e. anything
|
2015-10-22 12:12:07 +02:00
|
|
|
|
compressed with pbzip2 can be decompressed with bzip2).")
|
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
2015-10-22 19:17:12 +02:00
|
|
|
|
"See COPYING in the distribution."))))
|
2015-10-22 12:12:07 +02:00
|
|
|
|
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(define-public xz
|
|
|
|
|
(package
|
|
|
|
|
(name "xz")
|
2015-11-07 22:02:04 +01:00
|
|
|
|
(version "5.2.2")
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-13 00:22:44 +01:00
|
|
|
|
(method url-fetch)
|
2015-11-01 21:49:51 +01:00
|
|
|
|
(uri (list (string-append "http://tukaani.org/xz/xz-" version
|
|
|
|
|
".tar.gz")
|
|
|
|
|
(string-append "http://multiprecision.org/guix/xz-"
|
|
|
|
|
version ".tar.gz")))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-11-07 22:02:04 +01:00
|
|
|
|
"18h2k4jndhzjs8ln3a54qdnfv59y6spxiwh9gpaqniph6iflvpvk"))))
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "General-purpose data compression")
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(description
|
|
|
|
|
"XZ Utils is free general-purpose data compression software with high
|
|
|
|
|
compression ratio. XZ Utils were written for POSIX-like systems, but also
|
|
|
|
|
work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.
|
|
|
|
|
|
|
|
|
|
The core of the XZ Utils compression code is based on LZMA SDK, but it has
|
|
|
|
|
been modified quite a lot to be suitable for XZ Utils. The primary
|
|
|
|
|
compression algorithm is currently LZMA2, which is used inside the .xz
|
|
|
|
|
container format. With typical files, XZ Utils create 30 % smaller output
|
|
|
|
|
than gzip and 15 % smaller output than bzip2.")
|
2013-02-01 12:57:06 +01:00
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
|
2012-11-04 23:16:58 +01:00
|
|
|
|
(home-page "http://tukaani.org/xz/")))
|
2012-11-13 21:42:12 +01:00
|
|
|
|
|
|
|
|
|
(define-public lzo
|
|
|
|
|
(package
|
|
|
|
|
(name "lzo")
|
2015-09-12 08:18:09 +02:00
|
|
|
|
(version "2.09")
|
2012-11-13 21:42:12 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.oberhumer.com/opensource/lzo/download/lzo-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-09-12 08:18:09 +02:00
|
|
|
|
"0k5kpj3jnsjfxqqkblpfpx0mqcy86zs5fhjhgh2kq1hksg7ag57j"))))
|
2012-11-13 21:42:12 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2013-09-02 22:27:23 +02:00
|
|
|
|
(arguments '(#:configure-flags '("--enable-shared")))
|
2012-11-13 21:42:12 +01:00
|
|
|
|
(home-page "http://www.oberhumer.com/opensource/lzo")
|
|
|
|
|
(synopsis
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
"Data compression library suitable for real-time data de-/compression")
|
2012-11-13 21:42:12 +01:00
|
|
|
|
(description
|
|
|
|
|
"LZO is a data compression library which is suitable for data
|
|
|
|
|
de-/compression in real-time. This means it favours speed over
|
|
|
|
|
compression ratio.
|
|
|
|
|
|
|
|
|
|
LZO is written in ANSI C. Both the source code and the compressed data
|
|
|
|
|
format are designed to be portable across platforms.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 16:14:04 +01:00
|
|
|
|
(license license:gpl2+)))
|
2013-07-20 00:24:17 +02:00
|
|
|
|
|
2017-02-03 17:56:25 +01:00
|
|
|
|
(define-public python-lzo
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lzo")
|
|
|
|
|
(version "1.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-lzo" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"11p3ifg14p086byhhin6azx5svlkg8dzw2b5abixik97xd6fm81q"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "check"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-setuppy
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("include_dirs.append\\(.*\\)")
|
|
|
|
|
(string-append "include_dirs.append('"
|
|
|
|
|
(assoc-ref %build-inputs "lzo")
|
|
|
|
|
"/include/lzo"
|
|
|
|
|
"')")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lzo" ,lzo)))
|
|
|
|
|
(home-page "https://github.com/jd-boyd/python-lzo")
|
|
|
|
|
(synopsis "Python bindings for the LZO data compression library")
|
|
|
|
|
(description
|
|
|
|
|
"Python-LZO provides Python bindings for LZO, i.e. you can access
|
|
|
|
|
the LZO library from your Python scripts thereby compressing ordinary
|
|
|
|
|
Python strings.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-lzo
|
|
|
|
|
(package-with-python2 python-lzo))
|
|
|
|
|
|
2014-05-22 20:28:34 +02:00
|
|
|
|
(define-public lzop
|
|
|
|
|
(package
|
|
|
|
|
(name "lzop")
|
|
|
|
|
(version "1.03")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.lzop.org/download/lzop-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jdjvc4yjndf7ihmlcsyln2rbnbaxa86q4jskmkmm7ylfy65nhn1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("lzo" ,lzo)))
|
|
|
|
|
(home-page "http://www.lzop.org/")
|
|
|
|
|
(synopsis "Compress or expand files")
|
|
|
|
|
(description
|
|
|
|
|
"Lzop is a file compressor which is very similar to gzip. Lzop uses the
|
|
|
|
|
LZO data compression library for compression services, and its main advantages
|
|
|
|
|
over gzip are much higher compression and decompression speed (at the cost of
|
|
|
|
|
some compression ratio).")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2013-07-20 00:24:17 +02:00
|
|
|
|
(define-public lzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lzip")
|
2014-09-11 09:51:39 +02:00
|
|
|
|
(version "1.16")
|
2013-07-20 00:24:17 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/lzip/lzip-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-09-11 09:51:39 +02:00
|
|
|
|
"0l9724rw1l3hg2ldr3n7ihqich4m9nc6y7l302bvdj4jmxdw530j"))))
|
2013-07-20 00:24:17 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.nongnu.org/lzip/lzip.html")
|
|
|
|
|
(synopsis "Lossless data compressor based on the LZMA algorithm")
|
|
|
|
|
(description
|
|
|
|
|
"Lzip is a lossless data compressor with a user interface similar to the
|
|
|
|
|
one of gzip or bzip2. Lzip decompresses almost as fast as gzip and compresses
|
|
|
|
|
more than bzip2, which makes it well suited for software distribution and data
|
|
|
|
|
archiving. Lzip is a clean implementation of the LZMA algorithm.")
|
|
|
|
|
(license license:gpl3+)))
|
2013-10-26 00:24:44 +02:00
|
|
|
|
|
|
|
|
|
(define-public sharutils
|
|
|
|
|
(package
|
|
|
|
|
(name "sharutils")
|
2015-06-02 21:36:41 +02:00
|
|
|
|
(version "4.15.2")
|
2013-10-26 00:24:44 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/sharutils/sharutils-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-06-02 21:36:41 +02:00
|
|
|
|
"16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"))))
|
2013-10-26 00:24:44 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("which" ,which)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'patch-source-shebangs 'unpatch-source-shebang
|
|
|
|
|
;; revert the patch-shebang phase on a script which is
|
|
|
|
|
;; in fact test data
|
2014-03-31 01:09:10 +02:00
|
|
|
|
(lambda _
|
2013-10-26 00:24:44 +02:00
|
|
|
|
(substitute* "tests/shar-1.ok"
|
|
|
|
|
(((which "sh")) "/bin/sh")))
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
(home-page "http://www.gnu.org/software/sharutils/")
|
|
|
|
|
(synopsis "Archives in shell scripts, uuencode/uudecode")
|
|
|
|
|
(description
|
2013-12-01 22:33:23 +01:00
|
|
|
|
"GNU sharutils is a package for creating and manipulating shell
|
|
|
|
|
archives that can be readily emailed. A shell archive is a file that can be
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
processed by a Bourne-type shell to unpack the original collection of files.
|
2013-12-01 22:33:23 +01:00
|
|
|
|
This package is mostly for compatibility and historical interest.")
|
2013-10-26 00:24:44 +02:00
|
|
|
|
(license license:gpl3+)))
|
2014-05-29 23:35:45 +02:00
|
|
|
|
|
2015-06-23 21:25:19 +02:00
|
|
|
|
(define-public sfarklib
|
|
|
|
|
(package
|
|
|
|
|
(name "sfarklib")
|
2015-09-16 22:41:10 +02:00
|
|
|
|
(version "2.24")
|
2015-06-23 21:25:19 +02:00
|
|
|
|
(source (origin
|
2015-09-16 22:41:10 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/raboof/sfArkLib/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-06-23 21:25:19 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-09-16 22:41:10 +02:00
|
|
|
|
"0bzs2d98rk1xw9qwpnc7gmlbxwmwc3dg1rpn310afy9pq1k9clzi"))))
|
2015-06-23 21:25:19 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://github.com/raboof/sfArkLib")
|
|
|
|
|
(synopsis "Library for SoundFont decompression")
|
|
|
|
|
(description
|
|
|
|
|
"SfArkLib is a C++ library for decompressing SoundFont files compressed
|
|
|
|
|
with the sfArk algorithm.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-06-23 21:25:57 +02:00
|
|
|
|
(define-public sfarkxtc
|
2016-06-02 13:29:52 +02:00
|
|
|
|
(let ((commit "b5e0a2ba3921f019d74d4b92bd31c36dd19d2cf1"))
|
2015-06-23 21:25:57 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "sfarkxtc")
|
2016-06-02 13:29:52 +02:00
|
|
|
|
(version (string-take commit 10))
|
2015-06-23 21:25:57 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
;; There are no release tarballs, so we just fetch the latest
|
|
|
|
|
;; commit at this time.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/raboof/sfarkxtc.git")
|
2016-06-02 13:29:52 +02:00
|
|
|
|
(commit commit)))
|
2015-06-23 21:25:57 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f5x6i46qfl6ry21s7g2p4sd4b2r1g4fb03yqi2vv4kq3saryhvj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("sfarklib" ,sfarklib)))
|
|
|
|
|
(home-page "https://github.com/raboof/sfarkxtc")
|
|
|
|
|
(synopsis "Basic sfArk decompressor")
|
|
|
|
|
(description "SfArk extractor converts SoundFonts in the compressed legacy
|
|
|
|
|
sfArk file format to the uncompressed sf2 format.")
|
2016-06-02 13:29:52 +02:00
|
|
|
|
(license license:gpl3+))))
|
2015-06-23 21:25:57 +02:00
|
|
|
|
|
2015-02-20 15:13:34 +01:00
|
|
|
|
(define-public libmspack
|
|
|
|
|
(package
|
|
|
|
|
(name "libmspack")
|
|
|
|
|
(version "0.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.cabextract.org.uk/libmspack/libmspack-"
|
|
|
|
|
version "alpha.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04413hynb7zizxnkgy9riik3612dwirkpr6fcjrnfl2za9sz4rw9"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.cabextract.org.uk/libmspack/")
|
|
|
|
|
(synopsis "Compression tools for some formats used by Microsoft")
|
|
|
|
|
(description
|
|
|
|
|
"The purpose of libmspack is to provide both compression and
|
|
|
|
|
decompression of some loosely related file formats used by Microsoft.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-04-06 21:46:38 +02:00
|
|
|
|
|
|
|
|
|
(define-public perl-compress-raw-bzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-compress-raw-bzip2")
|
|
|
|
|
(version "2.068")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
|
|
|
"Compress-Raw-Bzip2-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16hl58xppckldz05zdyid1l5gpaykzwvkq682h3rc3nilbhgjqqg"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
;; TODO: Use our bzip2 package.
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Compress-Raw-Bzip2")
|
|
|
|
|
(synopsis "Low-level interface to bzip2 compression library")
|
|
|
|
|
(description "This module provides a Perl interface to the bzip2
|
|
|
|
|
compression library.")
|
|
|
|
|
(license (package-license perl))))
|
2015-04-06 21:50:44 +02:00
|
|
|
|
|
|
|
|
|
(define-public perl-compress-raw-zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-compress-raw-zlib")
|
|
|
|
|
(version "2.068")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
|
|
|
"Compress-Raw-Zlib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"06q7n87g26nn5gv4z2p31ca32f6zk124hqxc25rfgkjd3qi5798i"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before
|
2015-04-20 04:37:28 +02:00
|
|
|
|
'configure 'configure-zlib
|
2015-04-06 21:50:44 +02:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(call-with-output-file "config.in"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "
|
|
|
|
|
BUILD_ZLIB = False
|
|
|
|
|
INCLUDE = ~a/include
|
|
|
|
|
LIB = ~:*~a/lib
|
|
|
|
|
OLD_ZLIB = False
|
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT"
|
|
|
|
|
(assoc-ref inputs "zlib")))))))))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Compress-Raw-Zlib")
|
|
|
|
|
(synopsis "Low-level interface to zlib compression library")
|
|
|
|
|
(description "This module provides a Perl interface to the zlib
|
|
|
|
|
compression library.")
|
|
|
|
|
(license (package-license perl))))
|
2015-04-06 21:52:01 +02:00
|
|
|
|
|
|
|
|
|
(define-public perl-io-compress
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-io-compress")
|
|
|
|
|
(version "2.068")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
|
|
|
"IO-Compress-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dy0apjp7j9dfkzfjspjd3z9gh26srx5vac72g59bkkz1jf8s1gs"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-compress-raw-zlib" ,perl-compress-raw-zlib) ; >=2.068
|
|
|
|
|
("perl-compress-raw-bzip2" ,perl-compress-raw-bzip2))) ; >=2.068
|
|
|
|
|
(home-page "http://search.cpan.org/dist/IO-Compress")
|
|
|
|
|
(synopsis "IO Interface to compressed files/buffers")
|
|
|
|
|
(description "IO-Compress provides a Perl interface to allow reading and
|
|
|
|
|
writing of compressed data created with the zlib and bzip2 libraries.")
|
|
|
|
|
(license (package-license perl))))
|
2015-09-09 23:04:12 +02:00
|
|
|
|
|
|
|
|
|
(define-public lz4
|
|
|
|
|
(package
|
|
|
|
|
(name "lz4")
|
2016-11-24 20:22:25 +01:00
|
|
|
|
(version "1.7.4.2")
|
2015-09-09 23:04:12 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/Cyan4973/lz4/archive/"
|
2016-11-24 20:22:25 +01:00
|
|
|
|
"v" version ".tar.gz"))
|
2015-09-09 23:04:12 +02:00
|
|
|
|
(sha256
|
2016-11-24 20:22:25 +01:00
|
|
|
|
(base32 "0l39bymif15rmmfz7h6wvrr853rix4wj8wbqq8z8fm49xa7gx9fb"))
|
2015-09-09 23:04:12 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2016-11-24 20:22:25 +01:00
|
|
|
|
(native-inputs `(("valgrind" ,valgrind))) ; for tests
|
2015-09-09 23:04:12 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:parallel-tests? #f ; tests fail if run in parallel
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2016-11-24 20:22:25 +01:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2015-09-09 23:04:12 +02:00
|
|
|
|
(home-page "https://github.com/Cyan4973/lz4")
|
|
|
|
|
(synopsis "Compression algorithm focused on speed")
|
|
|
|
|
(description "LZ4 is a lossless compression algorithm, providing
|
|
|
|
|
compression speed at 400 MB/s per core (0.16 Bytes/cycle). It also features an
|
|
|
|
|
extremely fast decoder, with speed in multiple GB/s per core (0.71 Bytes/cycle).
|
|
|
|
|
A high compression derivative, called LZ4_HC, is also provided. It trades CPU
|
|
|
|
|
time for compression ratio.")
|
|
|
|
|
;; The libraries (lz4, lz4hc, and xxhash are BSD licenced. The command
|
|
|
|
|
;; line interface programs (lz4, fullbench, fuzzer, datagen) are GPL2+.
|
|
|
|
|
(license (list license:bsd-2 license:gpl2+))))
|
2015-09-26 04:31:07 +02:00
|
|
|
|
|
2017-02-03 17:56:24 +01:00
|
|
|
|
(define-public python-lz4
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lz4")
|
|
|
|
|
(version "0.8.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "lz4" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1irad4sq4hdr30fr53smvv3zzk4rddcf9b4jx19w8s9xsxhr1x3b"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-nose" ,python-nose)))
|
|
|
|
|
(home-page "https://github.com/python-lz4/python-lz4")
|
|
|
|
|
(synopsis "LZ4 Bindings for Python")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides python bindings for the lz4 compression library
|
|
|
|
|
by Yann Collet. The project contains bindings for the LZ4 block format and
|
|
|
|
|
the LZ4 frame format.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-lz4
|
|
|
|
|
(package-with-python2 python-lz4))
|
|
|
|
|
|
2015-09-26 04:31:07 +02:00
|
|
|
|
(define-public squashfs-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "squashfs-tools")
|
|
|
|
|
(version "4.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/squashfs/squashfs/"
|
|
|
|
|
"squashfs" version "/"
|
2015-09-26 04:31:07 +02:00
|
|
|
|
"squashfs" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xpklm0y43nd9i6jw43y2xh5zvlmj9ar2rvknh0bh7kv8c95aq0d"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"XZ_SUPPORT=1"
|
|
|
|
|
"LZO_SUPPORT=1"
|
|
|
|
|
"LZ4_SUPPORT=1"
|
|
|
|
|
(string-append "INSTALL_DIR=" %output "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "squashfs-tools"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lz4" ,lz4)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://squashfs.sourceforge.net/")
|
2016-09-16 08:08:48 +02:00
|
|
|
|
(synopsis "Tools to create and extract squashfs file systems")
|
2015-09-26 04:31:07 +02:00
|
|
|
|
(description
|
2016-09-16 08:08:48 +02:00
|
|
|
|
"Squashfs is a highly compressed read-only file system for Linux. It uses
|
2015-09-26 04:31:07 +02:00
|
|
|
|
zlib to compress files, inodes, and directories. All blocks are packed to
|
|
|
|
|
minimize the data overhead, and block sizes of between 4K and 1M are supported.
|
|
|
|
|
It is intended to be used for archival use, for live CDs, and for embedded
|
|
|
|
|
systems where low overhead is needed. This package allows you to create and
|
2016-09-16 08:08:48 +02:00
|
|
|
|
extract such file systems.")
|
2015-09-26 04:31:07 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-09-28 23:55:56 +02:00
|
|
|
|
|
|
|
|
|
(define-public pigz
|
|
|
|
|
(package
|
|
|
|
|
(name "pigz")
|
|
|
|
|
(version "2.3.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://zlib.net/pigz/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"172hdf26k4zmm7z8md7nl0dph2a7mhf3x7slb9bhfyff6as6g2sf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
|
(install-file "pigz" bin)
|
|
|
|
|
(symlink "pigz" (string-append bin "/unpigz"))
|
|
|
|
|
(install-file "pigz.1" man)
|
|
|
|
|
#t))))
|
|
|
|
|
#:make-flags (list "CC=gcc")
|
|
|
|
|
#:test-target "tests"))
|
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://zlib.net/pigz/")
|
|
|
|
|
(synopsis "Parallel implementation of gzip")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a parallel implementation of gzip that exploits
|
|
|
|
|
multiple processors and multiple cores when compressing data.")
|
|
|
|
|
|
|
|
|
|
;; Things under zopfli/ are under ASL2.0, but 4 files at the top-level,
|
|
|
|
|
;; written by Mark Adler, are under another non-copyleft license.
|
|
|
|
|
(license license:asl2.0)))
|
2016-01-24 23:31:14 +01:00
|
|
|
|
|
|
|
|
|
(define-public pixz
|
|
|
|
|
(package
|
|
|
|
|
(name "pixz")
|
|
|
|
|
(version "1.0.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/vasi/pixz/releases/download/v" version
|
|
|
|
|
"/pixz-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1s3j7zw6j5zi3fhdxg287ndr3wf6swac7z21mqd1pyiln530gi82"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("libarchive" ,libarchive)))
|
|
|
|
|
(home-page "https://github.com/vasi/pixz")
|
|
|
|
|
(synopsis "Parallel indexing implementation of LZMA")
|
|
|
|
|
(description
|
|
|
|
|
"The existing XZ Utils provide great compression in the .xz file format,
|
|
|
|
|
but they produce just one big block of compressed data. Pixz instead produces
|
|
|
|
|
a collection of smaller blocks which makes random access to the original data
|
|
|
|
|
possible and can compress in parallel. This is especially useful for large
|
|
|
|
|
tarballs.")
|
|
|
|
|
(license license:bsd-2)))
|
2016-04-02 08:48:30 +02:00
|
|
|
|
|
|
|
|
|
(define-public brotli
|
|
|
|
|
(let ((commit "e992cce7a174d6e2b3486616499d26bb0bad6448")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "brotli")
|
|
|
|
|
(version (string-append "0.1-" revision "."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bagder/libbrotli.git")
|
|
|
|
|
(commit commit)
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qxxsasvwbbbh6dl3138y9h3fg0q2v7xdk5jjc690bdg7g1wrj6n"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; This is a recursive submodule that is unnecessary for this
|
|
|
|
|
;; package, so delete it.
|
|
|
|
|
'(delete-file-recursively "brotli/terryfy"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir "m4")
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
|
|
|
|
(home-page "https://github.com/bagder/libbrotli/")
|
|
|
|
|
(synopsis "Implementation of the Brotli compression algorithm")
|
|
|
|
|
(description
|
|
|
|
|
"Brotli is a general-purpose lossless compression algorithm. It is
|
|
|
|
|
similar in speed to deflate but offers denser compression. This package
|
|
|
|
|
provides encoder and a decoder libraries: libbrotlienc and libbrotlidec,
|
|
|
|
|
respectively, based on the reference implementation from Google.")
|
|
|
|
|
(license license:expat))))
|
2016-04-17 19:30:37 +02:00
|
|
|
|
|
|
|
|
|
(define-public cabextract
|
|
|
|
|
(package
|
|
|
|
|
(name "cabextract")
|
|
|
|
|
(version "1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://cabextract.org.uk/cabextract-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ysmmz25fjghq7mxb2anyyvr1ljxqxzi4piwjhk0sdamcnsn3rnf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:configure-flags '("--with-external-libmspack")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmspack" ,libmspack)))
|
|
|
|
|
(home-page "http://www.cabextract.org.uk/")
|
|
|
|
|
(synopsis "Tool to unpack Cabinet archives")
|
|
|
|
|
(description "Extracts files out of Microsoft Cabinet (.cab) archives")
|
|
|
|
|
;; Some source files specify gpl2+, lgpl2+, however COPYING is gpl3.
|
|
|
|
|
(license license:gpl3+)))
|
2016-07-17 02:48:42 +02:00
|
|
|
|
|
|
|
|
|
(define-public xdelta
|
|
|
|
|
(package
|
|
|
|
|
(name "xdelta")
|
|
|
|
|
(version "3.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jmacd/xdelta/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17g2pbbqy6h20qgdjq7ykib7kg5ajh8fwbsfgyjqg8pwg19wy5bm"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(snippet
|
|
|
|
|
;; This file isn't freely distributable and has no effect on building.
|
|
|
|
|
'(delete-file "xdelta3/draft-korn-vcdiff.txt"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-build-directory
|
|
|
|
|
(lambda _ (chdir "xdelta3")))
|
|
|
|
|
(add-before 'configure 'autoconf
|
|
|
|
|
(lambda _ (zero? (system* "autoreconf" "-vfi")))))))
|
|
|
|
|
(home-page "http://xdelta.com")
|
|
|
|
|
(synopsis "Delta encoder for binary files")
|
|
|
|
|
(description "xdelta encodes only the differences between two binary files
|
|
|
|
|
using the VCDIFF algorithm and patch file format described in RFC 3284. It can
|
|
|
|
|
also be used to apply such patches. xdelta is similar to @command{diff} and
|
|
|
|
|
@command{patch}, but is not limited to plain text and does not generate
|
|
|
|
|
human-readable output.")
|
|
|
|
|
(license license:asl2.0)))
|
2016-07-14 00:22:16 +02:00
|
|
|
|
|
|
|
|
|
(define-public lrzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lrzip")
|
2016-10-21 05:14:01 +02:00
|
|
|
|
(version "0.631")
|
2016-07-14 00:22:16 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://ck.kolivas.org/apps/lrzip/lrzip-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-21 05:14:01 +02:00
|
|
|
|
"0mb449vmmwpkalq732jdyginvql57nxyd31sszb108yps1lf448d"))))
|
2016-07-14 00:22:16 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(;; nasm is only required when building for 32-bit x86 platforms
|
|
|
|
|
,@(if (string-prefix? "i686" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
`(("nasm" ,nasm))
|
|
|
|
|
'())
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://ck.kolivas.org/apps/lrzip/")
|
|
|
|
|
(synopsis "Large file compressor with a very high compression ratio")
|
|
|
|
|
(description "lrzip is a compression utility that uses long-range
|
|
|
|
|
redundancy reduction to improve the subsequent compression ratio of
|
|
|
|
|
larger files. It can then further compress the result with the ZPAQ or
|
|
|
|
|
LZMA algorithms for maximum compression, or LZO for maximum speed. This
|
|
|
|
|
choice between size or speed allows for either better compression than
|
|
|
|
|
even LZMA can provide, or a higher speed than gzip while compressing as
|
|
|
|
|
well as bzip2.")
|
|
|
|
|
(license (list license:gpl3+
|
|
|
|
|
license:public-domain)))) ; most files in lzma/
|
2016-08-15 01:17:18 +02:00
|
|
|
|
|
|
|
|
|
(define-public snappy
|
|
|
|
|
(package
|
|
|
|
|
(name "snappy")
|
|
|
|
|
(version "1.1.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/google/snappy/releases/download/"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wzf8yif5ym2gj52db6v5m1pxnmn258i38x7llk9x346y2nq47ig"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://github.com/google/snappy")
|
|
|
|
|
(synopsis "Fast compressor/decompressor")
|
|
|
|
|
(description "Snappy is a compression/decompression library. It does not
|
|
|
|
|
aim for maximum compression, or compatibility with any other compression library;
|
|
|
|
|
instead, it aims for very high speeds and reasonable compression. For instance,
|
|
|
|
|
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
|
|
|
|
|
for most inputs, but the resulting compressed files are anywhere from 20% to
|
|
|
|
|
100% bigger.")
|
|
|
|
|
(license license:asl2.0)))
|
2016-08-27 12:33:26 +02:00
|
|
|
|
|
|
|
|
|
(define-public p7zip
|
|
|
|
|
(package
|
|
|
|
|
(name "p7zip")
|
|
|
|
|
(version "16.02")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" name "/"
|
|
|
|
|
version "/" name "_" version
|
|
|
|
|
"_src_all.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07rlwbbgszq8i7m8jh3x6j2w2hc9a72dc7fmqawnqkwlwb00mcjy"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove non-free source files
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(append
|
|
|
|
|
(find-files "CPP/7zip/Compress" "Rar.*")
|
|
|
|
|
(find-files "CPP/7zip/Crypto" "Rar.*")
|
|
|
|
|
(find-files "DOC/unRarLicense.txt")
|
|
|
|
|
(find-files "Utils/file_Codecs_Rar_so.py")))
|
|
|
|
|
(delete-file-recursively "CPP/7zip/Archive/Rar")
|
|
|
|
|
(delete-file-recursively "CPP/7zip/Compress/Rar")
|
|
|
|
|
#t))
|
2017-02-03 21:17:41 +01:00
|
|
|
|
(patches (search-patches "p7zip-CVE-2016-9296.patch"
|
|
|
|
|
"p7zip-remove-unused-code.patch"))))
|
2016-08-27 12:33:26 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "DEST_HOME=" (assoc-ref %outputs "out")) "all3")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key system outputs #:allow-other-keys)
|
|
|
|
|
(zero? (system* "cp"
|
|
|
|
|
(let ((system ,(or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(cond
|
|
|
|
|
((string-prefix? "x86_64" system)
|
|
|
|
|
"makefile.linux_amd64_asm")
|
|
|
|
|
((string-prefix? "i686" system)
|
|
|
|
|
"makefile.linux_x86_asm_gcc_4.X")
|
|
|
|
|
(else
|
|
|
|
|
"makefile.linux_any_cpu_gcc_4.X")))
|
|
|
|
|
"makefile.machine"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(and (zero? (system* "make" "test"))
|
|
|
|
|
(zero? (system* "make" "test_7z"))
|
|
|
|
|
(zero? (system* "make" "test_7zr"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(let ((system (or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
`(,@(cond ((string-prefix? "x86_64" system)
|
|
|
|
|
`(("yasm" ,yasm)))
|
|
|
|
|
((string-prefix? "i686" system)
|
|
|
|
|
`(("nasm" ,nasm)))
|
|
|
|
|
(else '())))))
|
|
|
|
|
(home-page "http://p7zip.sourceforge.net/")
|
|
|
|
|
(synopsis "Command-line file archiver with high compression ratio")
|
|
|
|
|
(description "p7zip is a command-line port of 7-Zip, a file archiver that
|
|
|
|
|
handles the 7z format which features very high compression ratios.")
|
|
|
|
|
(license (list license:lgpl2.1+
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:public-domain))))
|
2016-08-12 03:29:51 +02:00
|
|
|
|
|
|
|
|
|
(define-public gzstream
|
|
|
|
|
(package
|
|
|
|
|
(name "gzstream")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
;; No versioned URL, but last release was in 2003.
|
|
|
|
|
"http://www.cs.unc.edu/Research/compgeom/gzstream/gzstream.tgz")
|
|
|
|
|
(file-name (string-append name "-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00y19pqjsdj5zcrx4p9j56pl73vayfwnb7y2hvp423nx0cwv5b4r"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove pre-compiled object.
|
|
|
|
|
'(delete-file "gzstream.o"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(install-file "libgzstream.a" lib)
|
|
|
|
|
(install-file "gzstream.h" include)
|
|
|
|
|
#t))))))
|
|
|
|
|
(propagated-inputs `(("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://www.cs.unc.edu/Research/compgeom/gzstream/")
|
|
|
|
|
(synopsis "Compressed C++ iostream")
|
|
|
|
|
(description "gzstream is a small library for providing zlib
|
|
|
|
|
functionality in a C++ iostream.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2016-08-18 17:06:10 +02:00
|
|
|
|
|
|
|
|
|
(define-public zpaq
|
|
|
|
|
(package
|
|
|
|
|
(name "zpaq")
|
|
|
|
|
(version "7.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch/zipbomb)
|
|
|
|
|
(uri (string-append "http://mattmahoney.net/dc/zpaq"
|
|
|
|
|
(string-delete #\. version) ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"066l94yyladlfzri877nh2dhkvspagjn3m5bmv725fmhkr9c4pp8"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete irrelevant pre-compiled binaries.
|
|
|
|
|
'(for-each delete-file (find-files "." "\\.exe$")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no ‘configure’ script
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "CPPFLAGS=-Dunix"
|
|
|
|
|
,(match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
|
|
|
|
("x86_64-linux" "")
|
|
|
|
|
("i686-linux" "")
|
|
|
|
|
(_ " -DNOJIT")))
|
|
|
|
|
;; These should be safe, lowest-common-denominator instruction sets,
|
|
|
|
|
;; allowing for some optimisation while remaining reproducible.
|
2017-02-03 18:17:47 +01:00
|
|
|
|
(string-append "CXXFLAGS=-O3 -DNDEBUG"
|
2016-08-18 17:06:10 +02:00
|
|
|
|
,(match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
2017-02-03 18:17:47 +01:00
|
|
|
|
("x86_64-linux" " -march=nocona -mtune=generic")
|
|
|
|
|
("i686-linux" " -march=i686 -mtune=generic")
|
|
|
|
|
("armhf-linux" " -mtune=generic-armv7-a")
|
2016-08-18 17:06:10 +02:00
|
|
|
|
(_ "")))
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl))) ; for pod2man
|
|
|
|
|
(home-page "http://mattmahoney.net/dc/zpaq.html")
|
|
|
|
|
(synopsis "Incremental journaling archiver")
|
|
|
|
|
(description "ZPAQ is a command-line archiver for realistic situations with
|
|
|
|
|
many duplicate and already compressed files. It backs up only those files
|
|
|
|
|
modified since the last update. All previous versions remain untouched and can
|
|
|
|
|
be independently recovered. Identical files are only stored once (known as
|
|
|
|
|
@dfn{de-duplication}). Archives can also be encrypted.
|
|
|
|
|
|
|
|
|
|
ZPAQ is intended to back up user data, not entire operating systems. It ignores
|
|
|
|
|
owner and group IDs, ACLs, extended attributes, or special file types like
|
|
|
|
|
devices, sockets, or named pipes. It does not follow or restore symbolic links
|
|
|
|
|
or junctions, and always follows hard links.")
|
|
|
|
|
(license (list license:public-domain
|
|
|
|
|
;; libzpaq.cpp contains a mix of public-domain and
|
|
|
|
|
;; expat-licenced (or ‘MIT’) code.
|
|
|
|
|
license:expat))))
|