2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2021-01-15 12:50:57 +00:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2017, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
2013-10-25 22:24:44 +00:00
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2018-03-16 06:24:11 +00:00
|
|
|
|
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
|
2015-02-20 14:13:34 +00:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2016-04-02 06:48:30 +00:00
|
|
|
|
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
2022-01-04 23:21:10 +00:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
|
2018-02-12 18:49:49 +00:00
|
|
|
|
;;; Copyright © 2015, 2017, 2018 Leo Famulari <leo@famulari.name>
|
2015-09-28 21:55:56 +00:00
|
|
|
|
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
|
2022-02-16 13:11:47 +00:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2016-01-24 22:31:14 +00:00
|
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2016-04-17 17:30:37 +00:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
|
2022-05-01 00:00:03 +00:00
|
|
|
|
;;; Copyright © 2016–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-08-14 23:17:18 +00:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2020-05-05 16:31:18 +00:00
|
|
|
|
;;; Copyright © 2016, 2019, 2020 Kei Kebreau <kkebreau@posteo.net>
|
2021-05-18 22:27:10 +00:00
|
|
|
|
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2017 Nikita <nikita@n0.is>
|
2017-04-23 17:23:45 +00:00
|
|
|
|
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2017-09-29 10:36:20 +00:00
|
|
|
|
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
|
2017-10-18 21:07:25 +00:00
|
|
|
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
2017-10-24 16:22:12 +00:00
|
|
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
2017-11-03 16:31:27 +00:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2018-01-31 10:57:33 +00:00
|
|
|
|
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
|
2018-02-21 17:18:31 +00:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2019-09-19 10:35:18 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
2019-06-28 07:28:33 +00:00
|
|
|
|
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2019-09-15 18:36:12 +00:00
|
|
|
|
;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
2020-03-05 08:43:44 +00:00
|
|
|
|
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2020-03-31 09:39:01 +00:00
|
|
|
|
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
|
2021-03-15 09:05:24 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Lars-Dominik Braun <lars@6xq.net>
|
2020-09-24 12:48:38 +00:00
|
|
|
|
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2021-01-27 19:15:32 +00:00
|
|
|
|
;;; Copyright © 2020 Léo Le Bouter <lle-bout@zaclys.net>
|
2021-02-03 22:50:17 +00:00
|
|
|
|
;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
|
2021-02-19 17:46:46 +00:00
|
|
|
|
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
|
2021-03-29 22:54:09 +00:00
|
|
|
|
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
2021-07-29 19:00:13 +00:00
|
|
|
|
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-11-05 16:42:05 +00:00
|
|
|
|
;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
|
2022-11-03 03:13:09 +00:00
|
|
|
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
2012-11-04 22:16:58 +00:00
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-04 22:16:58 +00:00
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-04 22:16:58 +00: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-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-04 22:16:58 +00: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-05 23:47:50 +00:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-04 22:16:58 +00:00
|
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
|
(define-module (gnu packages compression)
|
2022-05-15 00:00:05 +00:00
|
|
|
|
#:use-module (guix gexp)
|
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 20:44:22 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-10-22 17:17:12 +00:00
|
|
|
|
#:use-module (guix utils)
|
2012-11-04 22:16:58 +00: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-12 23:22:44 +00:00
|
|
|
|
#:use-module (guix download)
|
2015-06-23 19:25:19 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2022-10-15 18:23:34 +00:00
|
|
|
|
#:use-module (guix build-system ant)
|
2017-04-23 17:23:45 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2020-04-26 09:50:47 +00:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2013-10-25 22:24:44 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2020-04-26 15:54:54 +00:00
|
|
|
|
#:use-module (guix build-system go)
|
2021-01-27 19:15:32 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2020-03-31 09:39:01 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2019-09-19 10:35:18 +00:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2016-05-30 03:04:46 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2016-07-13 22:22:16 +00:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2016-04-02 06:48:30 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2016-01-24 22:31:14 +00:00
|
|
|
|
#:use-module (gnu packages backup)
|
2015-04-06 19:46:38 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2022-10-28 12:14:04 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2021-05-12 20:06:12 +00:00
|
|
|
|
#:use-module (gnu packages benchmark)
|
2018-01-31 10:57:33 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-02-20 21:31:35 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2017-04-23 17:23:45 +00:00
|
|
|
|
#:use-module (gnu packages curl)
|
2019-06-28 07:28:33 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2017-10-18 21:07:25 +00:00
|
|
|
|
#:use-module (gnu packages file)
|
2020-04-26 09:50:47 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2021-01-27 19:15:32 +00:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2020-04-26 09:50:47 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2022-10-15 18:23:34 +00:00
|
|
|
|
#:use-module (gnu packages java)
|
2021-04-23 14:31:57 +00:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2021-01-27 19:15:32 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2017-11-03 16:31:27 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
2015-06-23 19:25:19 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
2016-01-24 22:31:14 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-02-03 16:56:24 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2019-06-28 07:28:33 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2021-07-01 02:15:27 +00:00
|
|
|
|
#:use-module (gnu packages selinux)
|
2017-04-23 17:23:45 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2015-09-09 21:04:12 +00:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2021-01-27 19:15:32 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2020-04-26 09:50:47 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
2016-08-18 15:06:10 +00:00
|
|
|
|
#:use-module (ice-9 match)
|
2021-03-10 09:55:04 +00:00
|
|
|
|
#:use-module (srfi srfi-1))
|
2012-11-04 22:16:58 +00:00
|
|
|
|
|
2012-11-04 22:40:26 +00:00
|
|
|
|
(define-public zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "zlib")
|
2017-01-16 07:52:54 +00:00
|
|
|
|
(version "1.2.11")
|
2012-11-04 22:40:26 +00: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-12 23:22:44 +00:00
|
|
|
|
(method url-fetch)
|
2013-05-25 20:27:59 +00:00
|
|
|
|
(uri (list (string-append "http://zlib.net/zlib-"
|
|
|
|
|
version ".tar.gz")
|
2017-01-07 21:44:10 +00:00
|
|
|
|
(string-append "mirror://sourceforge/libpng/zlib/"
|
|
|
|
|
version "/zlib-" version ".tar.gz")))
|
2012-11-04 22:40:26 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-16 07:52:54 +00:00
|
|
|
|
"18dighcs333gsvajvvgqp8l4cx7h1x7yx9gd5xacnk80spyykrf3"))))
|
2012-11-04 22:40:26 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-07-30 15:09:07 +00:00
|
|
|
|
(outputs '("out" "static"))
|
2012-11-04 22:40:26 +00:00
|
|
|
|
(arguments
|
2022-06-25 14:33:44 +00:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
,(if (target-mingw?)
|
|
|
|
|
`(list ,(string-append "PREFIX=" (%current-target-system) "-")
|
|
|
|
|
"BINARY_PATH = $(prefix)/bin"
|
|
|
|
|
"INCLUDE_PATH = $(prefix)/include"
|
|
|
|
|
"LIBRARY_PATH = $(prefix)/lib"
|
|
|
|
|
"SHARED_MODE = 1"
|
|
|
|
|
(string-append "prefix = " (assoc-ref %outputs "out")))
|
|
|
|
|
''())
|
|
|
|
|
#:phases
|
2017-01-16 07:54:47 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Zlib's home-made `configure' fails when passed
|
|
|
|
|
;; extra flags like `--enable-fast-install', so we need to
|
|
|
|
|
;; invoke it with just what it understand.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; 'configure' doesn't understand '--host'.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`((setenv "CHOST" ,(%current-target-system)))
|
|
|
|
|
'())
|
2022-06-25 14:33:44 +00:00
|
|
|
|
,@(if (target-mingw?)
|
|
|
|
|
`((rename-file "win32/Makefile.gcc" "Makefile"))
|
|
|
|
|
`((invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out)))))))
|
2018-07-30 15:09:07 +00:00
|
|
|
|
(add-after 'install 'move-static-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(static (assoc-ref outputs "static")))
|
|
|
|
|
(with-directory-excursion (string-append out "/lib")
|
|
|
|
|
(install-file "libz.a" (string-append static "/lib"))
|
|
|
|
|
(delete-file "libz.a")
|
|
|
|
|
#t)))))))
|
2018-03-07 01:31:05 +00:00
|
|
|
|
(home-page "https://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 04:46:59 +00:00
|
|
|
|
(synopsis "Compression library")
|
2012-11-04 22:40:26 +00: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 04:46:59 +00:00
|
|
|
|
format is itself portable across platforms. Unlike the LZW compression method
|
2012-11-04 22:40:26 +00: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 15:14:04 +00:00
|
|
|
|
(license license:zlib)))
|
2012-11-04 22:40:26 +00:00
|
|
|
|
|
2016-10-13 11:35:30 +00:00
|
|
|
|
(define-public minizip
|
|
|
|
|
(package
|
|
|
|
|
(name "minizip")
|
|
|
|
|
(version (package-version zlib))
|
|
|
|
|
(source (package-source zlib))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
2019-06-05 17:14:52 +00:00
|
|
|
|
(lambda _ (chdir "contrib/minizip") #t))
|
|
|
|
|
(add-after 'install 'remove-crypt-h
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Remove <minizip/crypt.h> because it interferes with libc's
|
|
|
|
|
;; <crypt.h> given that 'minizip.pc' says "-I…/include/minizip".
|
|
|
|
|
;; Fedora does the same:
|
|
|
|
|
;; <https://src.fedoraproject.org/rpms/zlib/c/4d2785ec3116947872f6f32dc4104e6d36d8a7a4?branch=master>.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(delete-file (string-append out "/include/minizip/crypt.h"))
|
|
|
|
|
#t))))))
|
2016-10-13 11:35:30 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake libtool))
|
|
|
|
|
(propagated-inputs (list zlib))
|
2016-10-13 11:35:30 +00:00
|
|
|
|
(home-page (package-home-page zlib))
|
|
|
|
|
(synopsis "Zip Compression library")
|
|
|
|
|
(description
|
|
|
|
|
"Minizip is a minimalistic library that supports compressing,
|
|
|
|
|
extracting and viewing ZIP archives. This version is extracted from
|
|
|
|
|
the @code{zlib} source.")
|
|
|
|
|
(license (package-license zlib))))
|
|
|
|
|
|
2014-12-22 17:03:02 +00: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)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list zlib))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://savannah.nongnu.org/projects/fastjar")
|
2014-12-22 17:03:02 +00:00
|
|
|
|
(synopsis "Replacement for Sun's 'jar' utility")
|
|
|
|
|
(description
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 13:39:43 +00:00
|
|
|
|
"FastJar is an attempt to create a much faster replacement for Sun's
|
|
|
|
|
@code{jar} utility. Instead of being written in Java, FastJar is written in C.")
|
2014-12-22 17:03:02 +00:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-06-27 09:45:01 +00:00
|
|
|
|
(define-public libtar
|
|
|
|
|
(package
|
|
|
|
|
(name "libtar")
|
2016-05-29 19:46:29 +00:00
|
|
|
|
(version "1.2.20")
|
2015-06-27 09:45:01 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-29 19:46:29 +00: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 09:45:01 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-30 03:04:46 +00:00
|
|
|
|
"02cihzl77ia0dcz7z2cga2412vyhhs5pa2355q4wpwbyga2lrwjh"))
|
|
|
|
|
(patches (search-patches "libtar-CVE-2013-4420.patch"))))
|
2015-06-27 09:45:01 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-11-11 11:47:51 +00:00
|
|
|
|
(arguments `(#:tests? #f)) ; no "check" target
|
2016-05-29 19:46:29 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake libtool))
|
2016-05-29 19:46:29 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2015-06-27 09:45:01 +00: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 19:46:29 +00:00
|
|
|
|
(home-page "https://repo.or.cz/libtar.git")
|
2015-06-27 09:45:01 +00:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2012-11-04 22:16:58 +00:00
|
|
|
|
(define-public gzip
|
|
|
|
|
(package
|
|
|
|
|
(name "gzip")
|
2019-01-06 17:45:18 +00:00
|
|
|
|
(version "1.10")
|
2012-11-04 22:16:58 +00: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-12 23:22:44 +00: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 22:34:03 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/gzip/gzip-"
|
2016-04-08 06:19:22 +00:00
|
|
|
|
version ".tar.xz"))
|
2012-11-04 22:16:58 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-01-06 17:45:18 +00:00
|
|
|
|
"1h6p374d3j8d4cdfydzls021xa2yby8myc0h8d6m8bc7k6ncq9c4"))))
|
2012-11-04 22:16:58 +00: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 16:04:25 +00:00
|
|
|
|
(synopsis "General file (de)compression (using lzw)")
|
2012-11-04 22:16:58 +00:00
|
|
|
|
(arguments
|
|
|
|
|
;; FIXME: The test suite wants `less', and optionally Perl.
|
2017-08-31 17:15:21 +00:00
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-08-02 11:54:44 +00:00
|
|
|
|
(add-after 'unpack 'patch-for-glibc-2.28
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Adjust the bundled gnulib to work with glibc 2.28. See e.g.
|
|
|
|
|
;; "m4-gnulib-libio.patch". This is a phase rather than patch
|
|
|
|
|
;; or snippet to work around <https://bugs.gnu.org/32347>.
|
|
|
|
|
(substitute* (find-files "lib" "\\.c$")
|
|
|
|
|
(("#if defined _IO_ftrylockfile")
|
|
|
|
|
"#if defined _IO_EOF_SEEN"))
|
|
|
|
|
(substitute* "lib/stdio-impl.h"
|
|
|
|
|
(("^/\\* BSD stdio derived implementations")
|
|
|
|
|
(string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n"
|
|
|
|
|
"# define _IO_IN_BACKUP 0x100\n"
|
|
|
|
|
"#endif\n\n"
|
|
|
|
|
"/* BSD stdio derived implementations")))
|
|
|
|
|
#t))
|
2017-08-31 17:15:21 +00:00
|
|
|
|
(add-after 'unpack 'use-absolute-name-of-gzip
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "gunzip.in"
|
|
|
|
|
(("exec gzip")
|
|
|
|
|
(string-append "exec " (assoc-ref outputs "out")
|
|
|
|
|
"/bin/gzip")))
|
|
|
|
|
#t)))))
|
2022-10-28 12:14:04 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("bash" ,bash-minimal))
|
|
|
|
|
'())))
|
2012-11-04 22:16:58 +00:00
|
|
|
|
(description
|
2013-12-01 21:33:23 +00: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 15:14:04 +00:00
|
|
|
|
(license license:gpl3+)
|
2017-03-29 22:48:16 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/gzip/")))
|
2012-11-04 22:16:58 +00:00
|
|
|
|
|
|
|
|
|
(define-public bzip2
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "bzip2")
|
2020-01-31 12:36:30 +00:00
|
|
|
|
(version "1.0.8")
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-01-31 12:36:30 +00:00
|
|
|
|
(uri (string-append "https://sourceware.org/pub/bzip2/bzip2-"
|
|
|
|
|
version ".tar.gz"))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-31 12:36:30 +00:00
|
|
|
|
"0s92986cv0p692icqlw1j42y9nld8zd83qwhzbqd61p1dqbh6nmb"))))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
2018-07-14 20:11:45 +00:00
|
|
|
|
(ice-9 ftw)
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-03-05 17:08:50 +00:00
|
|
|
|
(add-after 'set-paths 'hide-input-bzip2
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((bzip2 (assoc-ref inputs "bzip2")))
|
|
|
|
|
(if bzip2
|
|
|
|
|
;; Prevent the build system from retaining a reference to
|
|
|
|
|
;; BZIP2 from INPUTS.
|
|
|
|
|
(begin
|
|
|
|
|
(setenv "LIBRARY_PATH"
|
|
|
|
|
(string-join (delete (string-append bzip2 "/lib")
|
|
|
|
|
(string-split (getenv "LIBRARY_PATH")
|
|
|
|
|
#\:))
|
|
|
|
|
":"))
|
|
|
|
|
(format #t "environment variable `LIBRARY_PATH' set to `~a'~%"
|
|
|
|
|
(getenv "LIBRARY_PATH")))
|
|
|
|
|
(format #t "no bzip2 found, nothing done~%"))
|
|
|
|
|
#t)))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key target #:allow-other-keys)
|
2018-03-16 06:28:27 +00:00
|
|
|
|
(when ,(%current-target-system)
|
|
|
|
|
;; Cross-compilation: use the cross tools.
|
|
|
|
|
(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"))))
|
|
|
|
|
#t))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(add-before 'build 'build-shared-lib
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(patch-makefile-SHELL "Makefile-libbz2_so")
|
2018-03-16 06:28:27 +00:00
|
|
|
|
(invoke "make" "-f" "Makefile-libbz2_so")))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(add-after 'install 'install-shared-lib
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-03-27 13:37:08 +00:00
|
|
|
|
;; The Makefile above does not have an 'install' target, nor does
|
|
|
|
|
;; it create all the (un)versioned symlinks, so we handle it here.
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2018-03-27 13:37:08 +00:00
|
|
|
|
(libdir (string-append out "/lib"))
|
2018-07-14 20:11:45 +00:00
|
|
|
|
(soname "libbz2.so")
|
|
|
|
|
;; Locate the built library (e.g. "libbz2.so.1.0.6").
|
|
|
|
|
(lib (car (scandir "."
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(and (string-prefix? soname file)
|
|
|
|
|
(eq? 'regular
|
|
|
|
|
(stat:type (lstat file))))))))
|
|
|
|
|
(soversion (string-drop lib (+ 1 (string-length soname)))))
|
2018-03-27 13:37:08 +00:00
|
|
|
|
(install-file lib libdir)
|
|
|
|
|
(with-directory-excursion libdir
|
|
|
|
|
;; Create symlinks libbz2.so.1 -> libbz2.so.1.0, etc.
|
2018-07-14 20:11:45 +00:00
|
|
|
|
(let loop ((base soname)
|
2018-03-27 13:37:08 +00:00
|
|
|
|
(numbers (string-split soversion #\.)))
|
|
|
|
|
(unless (null? numbers)
|
|
|
|
|
(let ((so-file (string-append base "." (car numbers))))
|
|
|
|
|
(symlink so-file base)
|
|
|
|
|
(loop so-file (cdr numbers))))))
|
|
|
|
|
#t)))
|
2018-07-14 20:39:01 +00:00
|
|
|
|
(add-after 'install-shared-lib 'move-static-lib
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(static (assoc-ref outputs "static")))
|
|
|
|
|
(with-directory-excursion (string-append out "/lib")
|
|
|
|
|
(install-file "libbz2.a" (string-append static "/lib"))
|
|
|
|
|
(delete-file "libbz2.a")
|
|
|
|
|
#t))))
|
2017-05-16 20:36:33 +00:00
|
|
|
|
(add-after 'install-shared-lib 'patch-scripts
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* (string-append out "/bin/bzdiff")
|
|
|
|
|
(("/bin/rm") "rm")))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
#t)))
|
2013-09-29 15:22:08 +00:00
|
|
|
|
|
2017-05-16 20:36:31 +00:00
|
|
|
|
#:make-flags (list (string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
2013-09-29 15:22:08 +00:00
|
|
|
|
|
2017-05-16 20:36:31 +00:00
|
|
|
|
;; Don't attempt to run the tests when cross-compiling.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'(#:tests? #f)
|
|
|
|
|
'())))
|
2022-10-28 12:17:38 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("bash" ,bash-minimal))
|
|
|
|
|
'())))
|
2018-07-14 20:39:01 +00:00
|
|
|
|
(outputs '("out" "static"))
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(synopsis "High-quality data compression program")
|
|
|
|
|
(description
|
|
|
|
|
"bzip2 is a freely available, patent free (see below), high-quality data
|
2012-11-04 22:16:58 +00:00
|
|
|
|
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.")
|
2017-05-16 20:36:31 +00:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))
|
2018-08-10 18:51:14 +00:00
|
|
|
|
(home-page "https://web.archive.org/web/20180801004107/http://www.bzip.org/")))
|
2012-11-04 22:16:58 +00:00
|
|
|
|
|
2016-06-17 14:43:09 +00:00
|
|
|
|
(define-public lbzip2
|
2020-07-16 22:06:20 +00:00
|
|
|
|
;; The last 2.5 release is 4 years behind the newest commit (from 2018) and
|
|
|
|
|
;; may create files that can't even be decompressed by newer bzip2 versions.
|
|
|
|
|
(let ((commit "b6dc48a7b9bfe6b340ed1f6d72133608ad57144b")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "lbzip2")
|
|
|
|
|
(version (git-version "2.5" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/kjn/lbzip2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "140xp00dmjsr6c3dwb4dwf0pzlgf159igri321inbinsjiclkngy"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-gnulib
|
2022-03-30 01:45:55 +00:00
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(let ((gnulib
|
|
|
|
|
(dirname (search-input-file (or native-inputs inputs)
|
|
|
|
|
"gnulib-tool.py"))))
|
2020-07-16 22:06:20 +00:00
|
|
|
|
(copy-recursively gnulib "lib")
|
|
|
|
|
(setenv "PATH" (string-append "lib:" (getenv "PATH")))
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'bootstrap) ; gnulib still has unpatched shebangs
|
|
|
|
|
(add-after 'patch-source-shebangs 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "build-aux/autogen.sh")
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("gnulib"
|
|
|
|
|
,(let ((commit "2d431ac35c4943a3655c07ba91870d2323321b43"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://git.savannah.gnu.org/gnulib.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1f0xr4w89bqvhzsfcflcagdixidrk41k00k7kpr91w9lazfis4kf"))
|
|
|
|
|
(file-name (git-file-name "gnulib" commit)))))
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(synopsis "Parallel bzip2 compression utility")
|
|
|
|
|
(description
|
|
|
|
|
"lbzip2 is a multi-threaded compression utility with support for the
|
2016-06-17 14:43:09 +00:00
|
|
|
|
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.")
|
2020-07-16 22:06:20 +00:00
|
|
|
|
;; lbzip2.org now looks fishy. There is no source code to be found.
|
|
|
|
|
;; Reported upstream: <https://github.com/kjn/lbzip2/issues/26>.
|
|
|
|
|
(home-page "https://github.com/kjn/lbzip2")
|
|
|
|
|
(license license:gpl3+))))
|
2016-06-17 14:43:09 +00:00
|
|
|
|
|
2015-10-22 10:12:07 +00:00
|
|
|
|
(define-public pbzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "pbzip2")
|
2018-02-16 02:35:46 +00:00
|
|
|
|
(version "1.1.13")
|
2015-10-22 10:12:07 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-10-22 17:17:12 +00:00
|
|
|
|
(uri (string-append "https://launchpad.net/pbzip2/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/+download/" name "-" version ".tar.gz"))
|
2015-10-22 10:12:07 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-16 02:35:46 +00:00
|
|
|
|
"1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg"))))
|
2015-10-22 10:12:07 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bzip2))
|
2015-10-22 10:12:07 +00:00
|
|
|
|
(arguments
|
2018-02-16 02:35:46 +00:00
|
|
|
|
`(#:tests? #f ; no tests
|
2015-10-22 10:12:07 +00:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2018-02-16 02:35:46 +00:00
|
|
|
|
(delete 'configure)) ; no configure script
|
2015-10-22 17:17:12 +00:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" %output))))
|
2020-03-05 08:43:44 +00:00
|
|
|
|
(home-page (string-append "https://web.archive.org/web/20180412020219/"
|
|
|
|
|
"http://compression.ca/pbzip2/"))
|
2015-10-22 10:12:07 +00:00
|
|
|
|
(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 17:17:12 +00:00
|
|
|
|
The output of this version is fully compatible with bzip2 v1.0.2 (i.e. anything
|
2015-10-22 10:12:07 +00:00
|
|
|
|
compressed with pbzip2 can be decompressed with bzip2).")
|
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
2015-10-22 17:17:12 +00:00
|
|
|
|
"See COPYING in the distribution."))))
|
2015-10-22 10:12:07 +00:00
|
|
|
|
|
2012-11-04 22:16:58 +00:00
|
|
|
|
(define-public xz
|
|
|
|
|
(package
|
|
|
|
|
(name "xz")
|
2020-05-16 20:08:31 +00:00
|
|
|
|
(version "5.2.5")
|
2012-11-04 22:16:58 +00: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-12 23:22:44 +00:00
|
|
|
|
(method url-fetch)
|
2015-11-01 20:49:51 +00: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 22:16:58 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-16 20:08:31 +00:00
|
|
|
|
"045s9agl3bpv3swlwydhgsqh7791957vmgw2plw8f1rks07r3x7n"))))
|
2012-11-04 22:16:58 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-12-12 19:08:28 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-static-lib
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(static (assoc-ref outputs "static")))
|
|
|
|
|
(mkdir-p (string-append static "/lib"))
|
|
|
|
|
(rename-file (string-append out "/lib/liblzma.a")
|
|
|
|
|
(string-append static "/lib/liblzma.a"))
|
|
|
|
|
;; Remove reference to the static library from the .la file
|
|
|
|
|
;; so Libtool does the right thing when both the shared and
|
|
|
|
|
;; static library is available.
|
|
|
|
|
(substitute* (string-append out "/lib/liblzma.la")
|
|
|
|
|
(("^old_library='liblzma.a'") "old_library=''"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(outputs '("out" "static"))
|
2022-10-28 12:16:07 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("bash" ,bash-minimal))
|
|
|
|
|
'())))
|
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 04:46:59 +00:00
|
|
|
|
(synopsis "General-purpose data compression")
|
2012-11-04 22:16:58 +00: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 11:57:06 +00:00
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
|
2017-12-13 16:57:17 +00:00
|
|
|
|
(home-page "https://tukaani.org/xz/")))
|
2012-11-13 20:42:12 +00:00
|
|
|
|
|
2019-01-26 16:12:07 +00:00
|
|
|
|
(define-public lhasa
|
|
|
|
|
(package
|
|
|
|
|
(name "lhasa")
|
|
|
|
|
(version "0.3.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/fragglet/lhasa/releases/download/v"
|
|
|
|
|
version "/lhasa-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"092zi9av18ma20c6h9448k0bapvx2plnp292741dvfd9hmgqxc1z"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'set-up-test-environment
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2021-07-16 13:25:42 +00:00
|
|
|
|
(setenv "TZDIR"
|
|
|
|
|
(search-input-directory inputs
|
|
|
|
|
"share/zoneinfo")))))))
|
2019-01-26 16:12:07 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list tzdata-for-tests))
|
2019-01-26 16:12:07 +00:00
|
|
|
|
(home-page "https://fragglet.github.com/lhasa/")
|
|
|
|
|
(synopsis "LHA archive decompressor")
|
|
|
|
|
(description "Lhasa is a replacement for the Unix LHA tool, for
|
|
|
|
|
decompressing .lzh (LHA / LHarc) and .lzs (LArc) archives. The backend for the
|
|
|
|
|
tool is a library, so that it can be reused for other purposes. Lhasa aims to
|
|
|
|
|
be compatible with as many types of lzh/lzs archives as possible. It also aims
|
|
|
|
|
to generate the same output as the (non-free) Unix LHA tool, so that it will
|
|
|
|
|
act as a free drop-in replacement.")
|
|
|
|
|
(license license:isc)))
|
|
|
|
|
|
2012-11-13 20:42:12 +00:00
|
|
|
|
(define-public lzo
|
|
|
|
|
(package
|
|
|
|
|
(name "lzo")
|
2017-10-24 19:58:35 +00:00
|
|
|
|
(version "2.10")
|
2012-11-13 20:42:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.oberhumer.com/opensource/lzo/download/lzo-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-24 19:58:35 +00:00
|
|
|
|
"0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60"))))
|
2012-11-13 20:42:12 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2013-09-02 20:27:23 +00:00
|
|
|
|
(arguments '(#:configure-flags '("--enable-shared")))
|
2012-11-13 20:42:12 +00: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 12:16:07 +00:00
|
|
|
|
"Data compression library suitable for real-time data de-/compression")
|
2012-11-13 20:42:12 +00: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 15:14:04 +00:00
|
|
|
|
(license license:gpl2+)))
|
2013-07-19 22:24:17 +00:00
|
|
|
|
|
2014-05-22 18:28:34 +00:00
|
|
|
|
(define-public lzop
|
|
|
|
|
(package
|
|
|
|
|
(name "lzop")
|
2018-02-16 02:34:38 +00:00
|
|
|
|
(version "1.04")
|
2014-05-22 18:28:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.lzop.org/download/lzop-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-16 02:34:38 +00:00
|
|
|
|
"0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky"))))
|
2014-05-22 18:28:34 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list lzo))
|
2018-02-16 02:35:01 +00:00
|
|
|
|
(home-page "https://www.lzop.org/")
|
2014-05-22 18:28:34 +00:00
|
|
|
|
(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-19 22:24:17 +00:00
|
|
|
|
(define-public lzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lzip")
|
2021-02-04 13:44:37 +00:00
|
|
|
|
(version "1.22")
|
2013-07-19 22:24:17 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/lzip/lzip-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-04 13:44:37 +00:00
|
|
|
|
"0j59hx72258334rmkwn57ahr6s69nlrx0a5ip1jw2fbiwr12sd63"))))
|
2013-07-19 22:24:17 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2022-10-13 12:37:46 +00:00
|
|
|
|
(arguments
|
|
|
|
|
;; The configure script doesn't recognise the --build or --host
|
|
|
|
|
;; arguments, so set CXX here
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(#:make-flags (list ,(string-append "CXX=" (cxx-for-target))))
|
|
|
|
|
'())))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lzip.html")
|
2013-07-19 22:24:17 +00:00
|
|
|
|
(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
|
2017-07-23 17:05:45 +00:00
|
|
|
|
more than bzip2, which makes it well-suited for software distribution and data
|
2013-07-19 22:24:17 +00:00
|
|
|
|
archiving. Lzip is a clean implementation of the LZMA algorithm.")
|
|
|
|
|
(license license:gpl3+)))
|
2013-10-25 22:24:44 +00:00
|
|
|
|
|
2017-07-25 02:51:35 +00:00
|
|
|
|
(define-public lziprecover
|
|
|
|
|
(package
|
|
|
|
|
(name "lziprecover")
|
2022-05-01 00:00:03 +00:00
|
|
|
|
(version "1.23")
|
2017-07-25 02:51:35 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-02-12 12:58:44 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/lziprecover/"
|
|
|
|
|
"lziprecover-" version ".tar.gz"))
|
2017-07-25 02:51:35 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-01 00:00:03 +00:00
|
|
|
|
"0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j"))))
|
2017-07-25 02:51:35 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2022-10-13 12:44:51 +00:00
|
|
|
|
(arguments
|
|
|
|
|
;; The configure script doesn't recognise the --build or --host
|
|
|
|
|
;; arguments, so set CXX here
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(#:make-flags (list ,(string-append "CXX=" (cxx-for-target))))
|
|
|
|
|
'())))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lziprecover.html")
|
2017-07-25 02:51:35 +00:00
|
|
|
|
(synopsis "Recover and decompress data from damaged lzip files")
|
|
|
|
|
(description
|
|
|
|
|
"Lziprecover is a data recovery tool and decompressor for files in the lzip
|
|
|
|
|
compressed data format (.lz). It can test the integrity of lzip files, extract
|
|
|
|
|
data from damaged ones, and repair most files with small errors (up to one
|
|
|
|
|
single-byte error per member) entirely.
|
|
|
|
|
|
|
|
|
|
Lziprecover is not a replacement for regular backups, but a last line of defence
|
|
|
|
|
when even the backups are corrupt. It can recover files by merging the good
|
|
|
|
|
parts of two or more damaged copies, such as can be easily produced by running
|
|
|
|
|
@command{ddrescue} on a failing device.
|
|
|
|
|
|
|
|
|
|
This package also includes @command{unzcrash}, a tool to test the robustness of
|
|
|
|
|
decompressors when faced with corrupted input.")
|
|
|
|
|
(license (list license:bsd-2 ; arg_parser.{cc,h}
|
|
|
|
|
license:gpl2+)))) ; everything else
|
|
|
|
|
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(define-public sharutils
|
|
|
|
|
(package
|
|
|
|
|
(name "sharutils")
|
2015-06-02 19:36:41 +00:00
|
|
|
|
(version "4.15.2")
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/sharutils/sharutils-"
|
|
|
|
|
version ".tar.xz"))
|
2018-04-15 15:48:37 +00:00
|
|
|
|
(patches (search-patches "sharutils-CVE-2018-1000097.patch"))
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-18 18:46:09 +00:00
|
|
|
|
"16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"))
|
2018-11-10 18:14:36 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2021-05-18 22:27:10 +00:00
|
|
|
|
;; Adjust for newer libc versions.
|
2018-11-10 18:14:36 +00:00
|
|
|
|
(substitute* (find-files "lib" "\\.c$")
|
|
|
|
|
(("#if defined _IO_ftrylockfile")
|
|
|
|
|
"#if defined _IO_EOF_SEEN"))
|
|
|
|
|
(substitute* "lib/stdio-impl.h"
|
|
|
|
|
(("^/\\* BSD stdio derived implementations")
|
|
|
|
|
(string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n"
|
|
|
|
|
"# define _IO_IN_BACKUP 0x100\n"
|
|
|
|
|
"#endif\n\n"
|
|
|
|
|
"/* BSD stdio derived implementations")))
|
2021-05-18 22:27:10 +00:00
|
|
|
|
;; ... and for newer GCC with -fno-common.
|
|
|
|
|
(substitute* '("src/shar-opts.h"
|
|
|
|
|
"src/unshar-opts.h"
|
|
|
|
|
"src/uudecode-opts.h"
|
|
|
|
|
"src/uuencode-opts.h")
|
|
|
|
|
(("char const \\* const program_name" all)
|
|
|
|
|
(string-append "extern " all)))))))
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-05-18 22:28:17 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list which))
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'patch-source-shebangs 'unpatch-source-shebang
|
|
|
|
|
;; revert the patch-shebang phase on a script which is
|
|
|
|
|
;; in fact test data
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/shar-1.ok"
|
2021-05-18 22:27:10 +00:00
|
|
|
|
(((which "sh")) "/bin/sh")))))))
|
2017-03-29 22:48:16 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/sharutils/")
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(synopsis "Archives in shell scripts, uuencode/uudecode")
|
|
|
|
|
(description
|
2013-12-01 21:33:23 +00: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 12:16:07 +00:00
|
|
|
|
processed by a Bourne-type shell to unpack the original collection of files.
|
2013-12-01 21:33:23 +00:00
|
|
|
|
This package is mostly for compatibility and historical interest.")
|
2013-10-25 22:24:44 +00:00
|
|
|
|
(license license:gpl3+)))
|
2014-05-29 21:35:45 +00:00
|
|
|
|
|
2015-06-23 19:25:19 +00:00
|
|
|
|
(define-public sfarklib
|
|
|
|
|
(package
|
|
|
|
|
(name "sfarklib")
|
2015-09-16 20:41:10 +00:00
|
|
|
|
(version "2.24")
|
2015-06-23 19:25:19 +00:00
|
|
|
|
(source (origin
|
2019-11-24 17:23:56 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/raboof/sfArkLib")
|
2019-11-24 17:23:56 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-06-23 19:25:19 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-24 17:23:56 +00:00
|
|
|
|
"0jrxy24gak7q5ml06p5jjgzk9i5r2mkfjk4ycirkp4kg7k5a237w"))))
|
2015-06-23 19:25:19 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2015-06-23 19:25:19 +00:00
|
|
|
|
(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 19:25:57 +00:00
|
|
|
|
(define-public sfarkxtc
|
2018-06-22 11:23:06 +00:00
|
|
|
|
(let ((commit "13cd6f93725a90d91ec5ea75babf1dbd694ac463")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "sfarkxtc")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
;; There are no release tarballs, so we just fetch the latest
|
|
|
|
|
;; commit at this time.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/raboof/sfarkxtc")
|
2018-06-22 11:23:06 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mb1jyk1m11l1gppd9hmql9cyp55sdf7jk5rbc7acky1z4k4mv19"))))
|
|
|
|
|
(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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib sfarklib))
|
2018-06-22 11:23:06 +00:00
|
|
|
|
(home-page "https://github.com/raboof/sfarkxtc")
|
|
|
|
|
(synopsis "Basic sfArk decompressor")
|
|
|
|
|
(description "SfArk extractor converts SoundFonts in the compressed legacy
|
2015-06-23 19:25:57 +00:00
|
|
|
|
sfArk file format to the uncompressed sf2 format.")
|
2018-06-22 11:23:06 +00:00
|
|
|
|
(license license:gpl3+))))
|
2015-06-23 19:25:57 +00:00
|
|
|
|
|
2015-02-20 14:13:34 +00:00
|
|
|
|
(define-public libmspack
|
|
|
|
|
(package
|
|
|
|
|
(name "libmspack")
|
2018-07-25 16:23:45 +00:00
|
|
|
|
(home-page "https://cabextract.org.uk/libmspack/")
|
2019-03-10 15:22:02 +00:00
|
|
|
|
(version "0.10.1")
|
2015-02-20 14:13:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-07-25 16:23:45 +00:00
|
|
|
|
(uri (string-append home-page name "-" version "alpha.tar.gz"))
|
2015-02-20 14:13:34 +00:00
|
|
|
|
(sha256
|
2019-03-10 15:22:02 +00:00
|
|
|
|
(base32 "13janaqsvm7aqc4agjgd4819pbgqv50j88bh5kci1z70wvg65j5s"))))
|
2015-02-20 14:13:34 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-07-25 16:17:54 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-static")))
|
2015-02-20 14:13:34 +00:00
|
|
|
|
(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 19:46:38 +00:00
|
|
|
|
|
2015-09-09 21:04:12 +00:00
|
|
|
|
(define-public lz4
|
|
|
|
|
(package
|
|
|
|
|
(name "lz4")
|
2020-11-16 18:19:54 +00:00
|
|
|
|
(version "1.9.3")
|
2015-09-09 21:04:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-12-04 16:06:28 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url "https://github.com/lz4/lz4")
|
|
|
|
|
(commit (string-append "v" version))))
|
2015-09-09 21:04:12 +00:00
|
|
|
|
(sha256
|
2020-11-16 18:19:54 +00:00
|
|
|
|
(base32 "1w02kazh1fps3sji2sn89fz862j1199c5ajrqcgl1bnlxj09kcbz"))
|
2018-12-04 16:06:28 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
2015-09-09 21:04:12 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-11-05 12:31:53 +00:00
|
|
|
|
(outputs (list "out" "static"))
|
2019-10-08 18:33:54 +00:00
|
|
|
|
(native-inputs
|
2022-02-16 13:11:47 +00:00
|
|
|
|
(append
|
|
|
|
|
(list python) ;; For tests.
|
|
|
|
|
(if (member (%current-system) (package-supported-systems valgrind))
|
|
|
|
|
(list valgrind)
|
|
|
|
|
'())))
|
2015-09-09 21:04:12 +00:00
|
|
|
|
(arguments
|
2021-02-07 19:48:04 +00:00
|
|
|
|
`(;; Not designed for parallel testing.
|
|
|
|
|
;; See https://github.com/lz4/lz4/issues/957#issuecomment-737419821
|
|
|
|
|
#:parallel-tests? #f
|
|
|
|
|
#:test-target "test"
|
2020-10-12 13:06:12 +00:00
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
2018-01-13 11:23:57 +00:00
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
2020-11-05 12:31:53 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'disable-broken-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/Makefile"
|
|
|
|
|
;; This fails when $prefix is not a single top-level directory.
|
|
|
|
|
(("^test: (.*) test-install" _ targets)
|
|
|
|
|
(string-append "test: " targets)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'move-static-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(static (assoc-ref outputs "static")))
|
|
|
|
|
(mkdir-p (string-append static "/lib"))
|
|
|
|
|
(rename-file (string-append out "/lib/liblz4.a")
|
|
|
|
|
(string-append static "/lib/liblz4.a"))
|
|
|
|
|
#t))))))
|
2018-06-03 23:49:28 +00:00
|
|
|
|
(home-page "https://www.lz4.org")
|
2015-09-09 21:04:12 +00:00
|
|
|
|
(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.")
|
2017-08-18 22:09:31 +00:00
|
|
|
|
;; The libraries (lz4, lz4hc, and xxhash) are BSD licenced. The command
|
2015-09-09 21:04:12 +00:00
|
|
|
|
;; line interface programs (lz4, fullbench, fuzzer, datagen) are GPL2+.
|
|
|
|
|
(license (list license:bsd-2 license:gpl2+))))
|
2015-09-26 02:31:07 +00:00
|
|
|
|
|
|
|
|
|
(define-public squashfs-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "squashfs-tools")
|
2021-11-29 23:14:44 +00:00
|
|
|
|
(version "4.5")
|
2021-06-10 22:11:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/plougher/squashfs-tools")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-11-29 23:14:44 +00:00
|
|
|
|
(base32 "18d4nwa22vgb8j2badngjngw63f0lj501cvlh3920wqy2mqxwav6"))))
|
2015-09-26 02:31:07 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-11-16 12:39:41 +00:00
|
|
|
|
`(#:tests? #f ; no check target
|
2015-09-26 02:31:07 +00:00
|
|
|
|
#:make-flags
|
2020-11-16 12:39:41 +00:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
2015-09-26 02:31:07 +00:00
|
|
|
|
"XZ_SUPPORT=1"
|
|
|
|
|
"LZO_SUPPORT=1"
|
|
|
|
|
"LZ4_SUPPORT=1"
|
2021-06-10 22:24:09 +00:00
|
|
|
|
"ZSTD_SUPPORT=1"
|
2022-03-07 20:41:59 +00:00
|
|
|
|
(string-append "INSTALL_DIR=" (assoc-ref %outputs "out") "/bin"))
|
2015-09-26 02:31:07 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
2018-10-18 18:30:44 +00:00
|
|
|
|
(lambda _
|
2021-06-10 22:32:43 +00:00
|
|
|
|
(chdir "squashfs-tools")))
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
;; Install what very little usage documentation is provided.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name)))
|
|
|
|
|
(install-file "../USAGE" doc)))))))
|
2015-09-26 02:31:07 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("lz4" ,lz4)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("xz" ,xz)
|
2021-06-10 22:24:09 +00:00
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zstd:lib" ,zstd "lib")))
|
2020-03-05 08:54:30 +00:00
|
|
|
|
(home-page "https://github.com/plougher/squashfs-tools")
|
2016-09-16 06:08:48 +00:00
|
|
|
|
(synopsis "Tools to create and extract squashfs file systems")
|
2015-09-26 02:31:07 +00:00
|
|
|
|
(description
|
2021-07-01 02:19:19 +00:00
|
|
|
|
"Squashfs is a highly compressed read-only file system for Linux. It
|
|
|
|
|
compresses files, inodes, and directories with one of several compressors.
|
|
|
|
|
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 media, and for embedded systems where low overhead is needed.
|
|
|
|
|
This package allows you to create and extract such file systems.")
|
2015-09-26 02:31:07 +00:00
|
|
|
|
(license license:gpl2+)))
|
2015-09-28 21:55:56 +00:00
|
|
|
|
|
2021-07-01 02:15:27 +00:00
|
|
|
|
(define-public squashfs-tools-ng
|
|
|
|
|
(package
|
|
|
|
|
(name "squashfs-tools-ng")
|
2021-10-03 14:14:48 +00:00
|
|
|
|
(version "1.1.3")
|
2021-07-01 02:15:27 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/AgentD/squashfs-tools-ng")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-10-03 14:14:48 +00:00
|
|
|
|
(base32 "12ipqmjp10574sz64ls8qbgzkxz5dcbzk0l2fxyh2yrrhnjp34mi"))
|
2021-07-01 02:15:27 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete bundled third-party libraries.
|
|
|
|
|
(for-each (lambda (directory)
|
|
|
|
|
(substitute* "Makefile.am"
|
|
|
|
|
(((format #f "^include ~a.*" directory)) ""))
|
|
|
|
|
(delete-file-recursively directory))
|
|
|
|
|
(list "lib/lz4"
|
|
|
|
|
"lib/zlib"))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-static")))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2021-07-01 02:15:27 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libselinux" ,libselinux)
|
|
|
|
|
|
|
|
|
|
;; Compression algorithms.
|
|
|
|
|
("bzip2" ,bzip2)
|
|
|
|
|
("lz4" ,lz4)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zstd:lib" ,zstd "lib")))
|
|
|
|
|
(home-page "https://github.com/AgentD/squashfs-tools-ng")
|
|
|
|
|
(synopsis "Tools to create and extract squashfs file systems")
|
|
|
|
|
(description
|
|
|
|
|
"Squashfs is a highly compressed read-only file system for Linux. It
|
|
|
|
|
compresses files, inodes, and directories with one of several compressors.
|
|
|
|
|
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 media, and for embedded systems where low overhead is needed.
|
|
|
|
|
|
|
|
|
|
The squashfs-tools-ng package offers alternative tooling to create and extract
|
|
|
|
|
such file systems. It is not based on the older squashfs-tools package and
|
|
|
|
|
its tools have different names:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @command{gensquashfs} produces SquashFS images from a directory or
|
|
|
|
|
@command{gen_init_cpio}-like file listings and can generate SELinux labels.
|
|
|
|
|
@item @command{rdsquashfs} inspects and unpacks SquashFS images.
|
|
|
|
|
@item @command{sqfs2tar} and @command{tar2sqfs} convert between SquashFS and
|
|
|
|
|
tarballs.
|
|
|
|
|
@item @command{sqfsdiff} compares the contents of two SquashFS images.
|
|
|
|
|
@end enumerate
|
|
|
|
|
|
|
|
|
|
These commands are largely command-line wrappers around the included
|
|
|
|
|
@code{libsquashfs} library that intends to make SquashFS available to other
|
|
|
|
|
applications as an embeddable, extensible archive format.
|
|
|
|
|
|
|
|
|
|
Both the library and tools operate deterministically: same input will produce
|
|
|
|
|
byte-for-byte identical output.")
|
|
|
|
|
;; Upstream goes to some lengths to ensure that libsquashfs is LGPL3+.
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-09-28 21:55:56 +00:00
|
|
|
|
(define-public pigz
|
|
|
|
|
(package
|
|
|
|
|
(name "pigz")
|
2022-05-15 00:00:02 +00:00
|
|
|
|
(version "2.7")
|
2015-09-28 21:55:56 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://zlib.net/pigz/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-15 00:00:02 +00:00
|
|
|
|
"01y7n7lafp6maqnp4jrmasawnv67najh1bd7gjrmv3d08h1ydjdl"))))
|
2015-09-28 21:55:56 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-05-15 00:00:05 +00:00
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list (string-append "CC=" #$(cc-for-target)))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(let* ((bin (string-append #$output "/bin"))
|
|
|
|
|
(man (string-append #$output "/share/man/man1")))
|
|
|
|
|
(install-file "pigz" bin)
|
|
|
|
|
(symlink "pigz" (string-append bin "/unpigz"))
|
|
|
|
|
(install-file "pigz.1" man)))))))
|
2022-05-15 00:00:02 +00:00
|
|
|
|
(native-inputs (list which))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list zlib))
|
2018-03-07 01:31:05 +00:00
|
|
|
|
(home-page "https://zlib.net/pigz/")
|
2015-09-28 21:55:56 +00:00
|
|
|
|
(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 22:31:14 +00:00
|
|
|
|
|
|
|
|
|
(define-public pixz
|
|
|
|
|
(package
|
|
|
|
|
(name "pixz")
|
2020-07-28 18:36:30 +00:00
|
|
|
|
(version "1.0.7")
|
2016-01-24 22:31:14 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/vasi/pixz/releases/download/v" version
|
|
|
|
|
"/pixz-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-28 18:36:30 +00:00
|
|
|
|
"1ifxr18f2h75gkcrkx8033kwmwmrcgxshpaawyc2n4dzn1p2rqz5"))))
|
2016-01-24 22:31:14 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config libarchive))
|
2016-01-24 22:31:14 +00:00
|
|
|
|
(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 06:48:30 +00:00
|
|
|
|
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(define-public cabextract
|
|
|
|
|
(package
|
|
|
|
|
(name "cabextract")
|
2018-07-25 16:23:45 +00:00
|
|
|
|
(home-page "https://cabextract.org.uk/")
|
2019-03-06 15:47:39 +00:00
|
|
|
|
(version "1.9.1")
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-06 15:47:47 +00:00
|
|
|
|
(uri (string-append home-page "cabextract-" version ".tar.gz"))
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-06 15:47:39 +00:00
|
|
|
|
"19qwhl2r8ip95q4vxzxg2kp4p125hjmc9762sns1dwwf7ikm7hmg"))
|
2018-07-26 15:30:18 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete bundled libmspack.
|
|
|
|
|
(delete-file-recursively "mspack")
|
|
|
|
|
#t))))
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-11-20 18:52:00 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--with-external-libmspack")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; cabextract needs some of libmspack's header files.
|
|
|
|
|
;; These are located in the "mspack" directory of libmspack.
|
|
|
|
|
(add-before 'build 'unpack-libmspack
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((dir-name "libmspack-src"))
|
|
|
|
|
(mkdir dir-name)
|
|
|
|
|
(invoke "tar" "-xvf" (assoc-ref inputs "libmspack-source")
|
|
|
|
|
"-C" dir-name "--strip-components" "1")
|
|
|
|
|
(rename-file (string-append dir-name "/mspack")
|
|
|
|
|
"mspack")
|
|
|
|
|
(delete-file-recursively dir-name)
|
|
|
|
|
#t))))))
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(inputs
|
2018-11-20 18:52:00 +00:00
|
|
|
|
`(("libmspack" ,libmspack)
|
|
|
|
|
("libmspack-source" ,(package-source libmspack))))
|
2016-04-17 17:30:37 +00:00
|
|
|
|
(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 00:48:42 +00:00
|
|
|
|
|
2021-01-27 19:15:32 +00:00
|
|
|
|
(define-public libjcat
|
|
|
|
|
(package
|
|
|
|
|
(name "libjcat")
|
2022-05-15 00:00:06 +00:00
|
|
|
|
(version "0.1.11")
|
2021-01-27 19:15:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/hughsie/libjcat")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-05-15 00:00:06 +00:00
|
|
|
|
(base32 "08zywwhm9q8m8v17w2mp23w3w93p40ir1w4x18zrlbhs10xnhiys"))))
|
2021-01-27 19:15:32 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gobject-introspection help2man pkg-config))
|
2021-01-27 19:15:32 +00:00
|
|
|
|
(inputs
|
2022-05-15 00:00:05 +00:00
|
|
|
|
(list glib
|
2021-12-13 16:18:24 +00:00
|
|
|
|
gnupg
|
|
|
|
|
gnutls
|
|
|
|
|
gpgme
|
|
|
|
|
json-glib
|
|
|
|
|
vala))
|
2021-01-27 19:15:32 +00:00
|
|
|
|
(home-page "https://github.com/hughsie/libjcat")
|
|
|
|
|
(synopsis "Library for reading and writing Jcat files")
|
|
|
|
|
(description
|
|
|
|
|
"This library allows reading and writing gzip-compressed JSON catalog
|
|
|
|
|
files, which can be used to store GPG, PKCS-7 and SHA-256 checksums for each
|
|
|
|
|
file.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2016-07-17 00:48:42 +00:00
|
|
|
|
(define-public xdelta
|
|
|
|
|
(package
|
|
|
|
|
(name "xdelta")
|
|
|
|
|
(version "3.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-11 11:52:30 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/jmacd/xdelta")
|
2018-11-11 11:52:30 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-07-17 00:48:42 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-11 11:52:30 +00:00
|
|
|
|
"09mmsalc7dwlvgrda56s2k927rpl3a5dzfa88aslkqcjnr790wjy"))
|
2016-07-17 00:48:42 +00:00
|
|
|
|
(snippet
|
|
|
|
|
;; This file isn't freely distributable and has no effect on building.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file "xdelta3/draft-korn-vcdiff.txt")
|
|
|
|
|
#t))))
|
2016-07-17 00:48:42 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake))
|
2016-07-17 00:48:42 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-build-directory
|
2018-11-11 11:52:46 +00:00
|
|
|
|
(lambda _ (chdir "xdelta3") #t)))))
|
2017-12-13 17:01:00 +00:00
|
|
|
|
(home-page "http://xdelta.org")
|
2016-07-17 00:48:42 +00:00
|
|
|
|
(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-13 22:22:16 +00:00
|
|
|
|
|
|
|
|
|
(define-public lrzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lrzip")
|
2022-05-01 00:00:01 +00:00
|
|
|
|
(version "0.651")
|
2016-07-13 22:22:16 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2021-02-19 17:46:46 +00:00
|
|
|
|
"http://ck.kolivas.org/apps/lrzip/lrzip-" version ".tar.xz"))
|
2016-07-13 22:22:16 +00:00
|
|
|
|
(sha256
|
2022-05-01 00:00:01 +00:00
|
|
|
|
(base32 "1y822rpl7ak57s1a4xzd6ja82cp3sff9axrpkdn5khcpn3n8vga8"))))
|
2016-07-13 22:22:16 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bzip2 lz4 lzo zlib))
|
2016-07-13 22:22:16 +00:00
|
|
|
|
(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-14 23:17:18 +00:00
|
|
|
|
|
|
|
|
|
(define-public snappy
|
|
|
|
|
(package
|
|
|
|
|
(name "snappy")
|
2021-05-12 20:06:12 +00:00
|
|
|
|
(version "1.1.9")
|
2018-08-26 16:42:23 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-24 17:27:33 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/google/snappy")
|
2019-11-24 17:27:33 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-08-26 16:42:23 +00:00
|
|
|
|
(sha256
|
2021-05-12 20:06:12 +00:00
|
|
|
|
(base32 "03zz56h79z0sgvi5sangjqn9dahhzvf645v26n1y0gwmfbmsax95"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "snappy-add-O2-flag-in-CmakeLists.txt.patch"
|
|
|
|
|
"snappy-add-inline-for-GCC.patch"))))
|
2018-02-21 02:14:52 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2021-05-12 20:06:12 +00:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
;; These would be installed alongside Snappy otherwise.
|
|
|
|
|
"-DBENCHMARK_ENABLE_INSTALL=OFF"
|
|
|
|
|
"-DINSTALL_GTEST=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-third_party-subprojects
|
2021-11-05 15:51:15 +00:00
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
2021-05-12 20:06:12 +00:00
|
|
|
|
(with-directory-excursion "third_party"
|
|
|
|
|
(for-each (lambda (subproject)
|
|
|
|
|
(let* ((input (string-append subproject "-source"))
|
2021-11-05 15:51:15 +00:00
|
|
|
|
(source (assoc-ref (or native-inputs inputs)
|
|
|
|
|
input)))
|
2021-05-12 20:06:12 +00:00
|
|
|
|
(with-directory-excursion subproject
|
|
|
|
|
;; Take advantage of the coincidence that both
|
|
|
|
|
;; use GIT-FETCH, which creates a directory.
|
|
|
|
|
(copy-recursively source "."))))
|
|
|
|
|
(list "benchmark"
|
|
|
|
|
"googletest"))
|
|
|
|
|
#;punt))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("benchmark-source" ,(package-source benchmark))
|
|
|
|
|
("googletest-source" ,(package-source googletest))))
|
2016-08-14 23:17:18 +00:00
|
|
|
|
(home-page "https://github.com/google/snappy")
|
|
|
|
|
(synopsis "Fast compressor/decompressor")
|
2018-02-21 02:14:52 +00:00
|
|
|
|
(description "Snappy is a compression/decompression library. It does not
|
2016-08-14 23:17:18 +00:00
|
|
|
|
aim for maximum compression, or compatibility with any other compression library;
|
2018-02-21 02:14:52 +00:00
|
|
|
|
instead, it aims for very high speeds and reasonable compression. For instance,
|
2016-08-14 23:17:18 +00:00
|
|
|
|
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 10:33:26 +00:00
|
|
|
|
|
2021-04-23 14:31:57 +00:00
|
|
|
|
;; We need this for irods.
|
|
|
|
|
(define-public snappy-with-clang6
|
|
|
|
|
(package
|
|
|
|
|
(inherit snappy)
|
|
|
|
|
(name "snappy-with-clang")
|
|
|
|
|
;; XXX 1.1.9 fails to build with clang with
|
|
|
|
|
;; error: invalid output constraint '=@ccz' in asm
|
|
|
|
|
(version "1.1.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/snappy")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1j0kslq2dvxgkcxl1gakhvsa731yrcvcaipcp5k8k7ayicvkv9jv"))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DCMAKE_CXX_COMPILER=clang++"
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=-stdlib=libc++"
|
|
|
|
|
"-DCMAKE_EXE_LINKER_FLAGS=-lc++abi")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
|
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((gcc (assoc-ref (or native-inputs inputs) "gcc")))
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-join
|
2021-07-16 14:01:49 +00:00
|
|
|
|
(cons* (search-input-directory inputs
|
|
|
|
|
"/include/c++/v1")
|
2021-04-23 14:31:57 +00:00
|
|
|
|
;; Hide GCC's C++ headers so that they do not interfere with
|
|
|
|
|
;; the Clang headers.
|
|
|
|
|
(delete (string-append gcc "/include/c++")
|
|
|
|
|
(string-split (getenv "CPLUS_INCLUDE_PATH")
|
|
|
|
|
#\:)))
|
|
|
|
|
":"))
|
|
|
|
|
(format #true
|
|
|
|
|
"environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
|
|
|
|
|
(getenv "CPLUS_INCLUDE_PATH"))))))))
|
|
|
|
|
(properties `((hidden? . #true)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("clang" ,clang-toolchain-6)))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libcxx+libcxxabi-6 libcxxabi-6))))
|
2021-04-23 14:31:57 +00:00
|
|
|
|
|
2016-08-27 10:33:26 +00: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")
|
2021-08-08 07:44:00 +00:00
|
|
|
|
;; Fix FTBFS with gcc-10.
|
|
|
|
|
(substitute* "CPP/Windows/ErrorMsg.cpp"
|
|
|
|
|
(("switch\\(errorCode\\) \\{")
|
|
|
|
|
"switch(static_cast<HRESULT>(errorCode)) {"))))
|
2017-02-03 20:17:41 +00:00
|
|
|
|
(patches (search-patches "p7zip-CVE-2016-9296.patch"
|
2018-02-05 21:21:12 +00:00
|
|
|
|
"p7zip-CVE-2017-17969.patch"
|
2017-02-03 20:17:41 +00:00
|
|
|
|
"p7zip-remove-unused-code.patch"))))
|
2016-08-27 10:33:26 +00: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
|
2021-08-08 07:57:27 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(copy-file
|
|
|
|
|
,(cond ((target-x86-64?)
|
|
|
|
|
"makefile.linux_amd64_asm")
|
|
|
|
|
((target-x86-32?)
|
|
|
|
|
"makefile.linux_x86_asm_gcc_4.X")
|
|
|
|
|
(else
|
|
|
|
|
"makefile.linux_any_cpu_gcc_4.X"))
|
|
|
|
|
"makefile.machine")))
|
2016-08-27 10:33:26 +00:00
|
|
|
|
(replace 'check
|
2021-08-08 07:46:44 +00:00
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "make" "test")
|
|
|
|
|
(invoke "make" "test_7z")
|
|
|
|
|
(invoke "make" "test_7zr")))))))
|
2019-12-04 08:35:22 +00:00
|
|
|
|
(native-inputs
|
2021-08-08 07:58:47 +00:00
|
|
|
|
(cond ((target-x86-64?)
|
|
|
|
|
(list yasm))
|
|
|
|
|
((target-x86-32?)
|
|
|
|
|
(list nasm))
|
|
|
|
|
(else '())))
|
2016-08-27 10:33:26 +00:00
|
|
|
|
(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 01:29:51 +00: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.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file "gzstream.o")
|
|
|
|
|
#t))))
|
2016-08-12 01:29:51 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-03-15 09:05:24 +00:00
|
|
|
|
;; Enable PIC, so it can be used in shared libraries.
|
|
|
|
|
(add-after 'unpack 'use-pic
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("CPPFLAGS = " all) (string-append all "-fPIC ")))
|
|
|
|
|
#t))
|
2016-08-12 01:29:51 +00:00
|
|
|
|
(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))))))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(propagated-inputs (list zlib))
|
2016-08-12 01:29:51 +00:00
|
|
|
|
(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 15:06:10 +00:00
|
|
|
|
|
2021-12-21 04:43:44 +00:00
|
|
|
|
(define-public zopfli
|
|
|
|
|
(package
|
|
|
|
|
(name "zopfli")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/zopfli")
|
|
|
|
|
(commit (string-append name "-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dr8n4j5nj2h9n208jns56wglw59gg4qm3s7c6y3hs75d0nnkhm4"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test suite
|
|
|
|
|
#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
|
|
|
|
|
(home-page "https://github.com/google/zopfli")
|
|
|
|
|
(synopsis "Very good, but slow, deflate or zlib compression")
|
|
|
|
|
(description "Zopfli Compression Algorithm is a compression library
|
|
|
|
|
programmed in C to perform very good, but slow, deflate or zlib compression.
|
|
|
|
|
ZopfliCompress supports the deflate, gzip and zlib output formats. This
|
|
|
|
|
library can only compress, not decompress; existing zlib or deflate libraries
|
|
|
|
|
can decompress the data.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-08-18 15:06:10 +00: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.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (find-files "." "\\.exe$"))
|
|
|
|
|
#t))))
|
2016-08-18 15:06:10 +00:00
|
|
|
|
(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 17:17:47 +00:00
|
|
|
|
(string-append "CXXFLAGS=-O3 -DNDEBUG"
|
2016-08-18 15:06:10 +00:00
|
|
|
|
,(match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
2017-02-03 17:17:47 +00:00
|
|
|
|
("x86_64-linux" " -march=nocona -mtune=generic")
|
|
|
|
|
("i686-linux" " -march=i686 -mtune=generic")
|
|
|
|
|
("armhf-linux" " -mtune=generic-armv7-a")
|
2016-08-18 15:06:10 +00:00
|
|
|
|
(_ "")))
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl)) ; for pod2man
|
2016-08-18 15:06:10 +00:00
|
|
|
|
(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))))
|
2017-03-01 06:00:05 +00:00
|
|
|
|
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(define-public unshield
|
|
|
|
|
(package
|
|
|
|
|
(name "unshield")
|
2019-02-15 15:24:30 +00:00
|
|
|
|
(version "1.4.3")
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(source
|
2019-11-24 17:30:45 +00:00
|
|
|
|
(origin (method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 18:18:54 +00:00
|
|
|
|
(url "http://github.com/twogood/unshield")
|
2019-11-24 17:30:45 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-24 17:30:45 +00:00
|
|
|
|
"19wn22vszhci8dfcixx5rliz7phx3lv5ablvhjlclvj75k2vsdqd"))))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("openssl" ,openssl)
|
2019-02-15 15:24:30 +00:00
|
|
|
|
;; Test data that is otherwise downloaded with curl.
|
2017-04-23 17:23:45 +00:00
|
|
|
|
("unshield-avigomanager11b22.zip"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-15 15:24:30 +00:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.dropbox.com/s/8r4b6752swe3nhu/"
|
|
|
|
|
"unshield-avigomanager11b22.zip?dl=1"))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0fwq7lih04if68wpwpsk5wjqyvh32db76a41sq6gbx4dn1lc3ddn"))
|
|
|
|
|
(file-name "unshield-avigomanager11b22.zip")))
|
2019-02-15 15:24:30 +00:00
|
|
|
|
("unshield-baldurs_gate_patch_v1_1_4315_international.zip"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.dropbox.com/s/9ruil8oi6amjbbk/"
|
|
|
|
|
"unshield-baldurs_gate_patch_v1_1_4315_international.zip?dl=1"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0spaxf6dardlhqxz3ys09fzamj007q3nfyw4xng6gh3qp9780maj"))
|
|
|
|
|
(file-name "unshield-baldurs_gate_patch_v1_1_4315_international.zip")))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
("unshield-the-feeble-files-spanish.zip"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-15 15:24:30 +00:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.dropbox.com/s/1ng0z9kfxc7eb1e/"
|
|
|
|
|
"unshield-the-feeble-files-spanish.zip?dl=1"))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1k5cw6vnpja8yjlnhx5124xrw9i8s1l539hfdqqrqz3l5gn0bnyd"))
|
|
|
|
|
(file-name "unshield-the-feeble-files-spanish.zip")))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list unzip))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:out-of-source? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(for-each (lambda (i)
|
|
|
|
|
(copy-file (assoc-ref inputs i)
|
|
|
|
|
(string-append "test/v0/" i)))
|
|
|
|
|
'("unshield-avigomanager11b22.zip"
|
2019-02-15 15:24:30 +00:00
|
|
|
|
"unshield-baldurs_gate_patch_v1_1_4315_international.zip"
|
2017-04-23 17:23:45 +00:00
|
|
|
|
"unshield-the-feeble-files-spanish.zip"))
|
|
|
|
|
(substitute* (find-files "test/" "/*\\.sh")
|
|
|
|
|
;; Tests expect the unshield binary in a specific
|
|
|
|
|
;; location.
|
|
|
|
|
(("/var/tmp/unshield/bin/unshield")
|
|
|
|
|
(string-append (getcwd) "/src/unshield"))
|
|
|
|
|
;; We no longer need to download the data.
|
|
|
|
|
((".?URL=.*$") "")
|
|
|
|
|
(("curl -(|f)sSL -o test.zip .*") ""))
|
|
|
|
|
(substitute* "test/v0/avigomanager.sh"
|
|
|
|
|
(("test.zip")
|
|
|
|
|
(string-append (getcwd)
|
2019-02-15 15:24:30 +00:00
|
|
|
|
"/test/v0/unshield-avigomanager11b22.zip")))
|
|
|
|
|
(substitute* "test/v0/baldurs_gate_patch_v1_1_4315_international.sh"
|
|
|
|
|
(("test.zip")
|
|
|
|
|
(string-append
|
|
|
|
|
(getcwd)
|
|
|
|
|
"/test/v0/unshield-baldurs_gate_patch_v1_1_4315_international.zip")))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(substitute* "test/v0/the-feeble-files-spanish.sh"
|
|
|
|
|
(("test.zip")
|
|
|
|
|
(string-append (getcwd)
|
|
|
|
|
"/test/v0/unshield-the-feeble-files-spanish.zip")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2018-03-16 06:36:45 +00:00
|
|
|
|
(invoke "./run-tests.sh"))))))
|
2017-04-23 17:23:45 +00:00
|
|
|
|
(home-page "https://github.com/twogood/unshield")
|
|
|
|
|
(synopsis "Extract CAB files from InstallShield installers")
|
|
|
|
|
(description
|
|
|
|
|
"@command{unshield} is a tool and library for extracting @file{.cab}
|
|
|
|
|
archives from InstallShield installers.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-11-05 14:45:53 +00:00
|
|
|
|
(define-public zstd
|
|
|
|
|
(package
|
|
|
|
|
(name "zstd")
|
2021-05-16 07:39:25 +00:00
|
|
|
|
(version "1.5.0")
|
2018-10-09 03:46:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/facebook/zstd/releases/download/"
|
|
|
|
|
"v" version "/zstd-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-05-16 07:39:25 +00:00
|
|
|
|
(base32 "150y541303vnvfhd8wkbih00lfvvm98rd12yijwlbkqzg3xgp52i"))))
|
2016-11-05 14:45:53 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2019-11-29 22:50:54 +00:00
|
|
|
|
(outputs '("out" ;1.2MiB executables and documentation
|
|
|
|
|
"lib" ;1.2MiB shared library and headers
|
|
|
|
|
"static")) ;1.2MiB static library
|
2016-11-05 14:45:53 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-06-30 17:43:00 +00:00
|
|
|
|
(add-after 'unpack 'remove-bogus-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; lib/Makefile falsely claims that no .pc file can be created.
|
|
|
|
|
(substitute* "lib/Makefile"
|
|
|
|
|
(("error configured .*dir ")
|
|
|
|
|
"true "))
|
|
|
|
|
#t))
|
2021-03-27 12:11:00 +00:00
|
|
|
|
(add-after 'unpack 'patch-command-file-names
|
|
|
|
|
;; Don't require hard requirements to be in $PATH.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(our (lambda (name) (string-append out "/bin/" name))))
|
|
|
|
|
(substitute* "programs/zstdgrep"
|
|
|
|
|
(("(:-)(grep)" _ prefix command)
|
|
|
|
|
(string-append prefix (which command)))
|
|
|
|
|
(("(:-)(zstdcat)" _ prefix command)
|
|
|
|
|
(string-append prefix (our command))))
|
|
|
|
|
(substitute* "programs/zstdless"
|
|
|
|
|
(("zstdcat" command)
|
|
|
|
|
(our command))))))
|
2019-07-22 12:53:12 +00:00
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(add-after 'install 'adjust-library-locations
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (assoc-ref outputs "lib"))
|
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
|
(shared-libs (string-append lib "/lib"))
|
|
|
|
|
(static-libs (string-append static "/lib")))
|
|
|
|
|
;; Move the static library to its own output to save ~1MiB.
|
|
|
|
|
(mkdir-p static-libs)
|
|
|
|
|
(for-each (lambda (ar)
|
|
|
|
|
(link ar (string-append static-libs "/"
|
|
|
|
|
(basename ar)))
|
|
|
|
|
(delete-file ar))
|
|
|
|
|
(find-files shared-libs "\\.a$"))
|
|
|
|
|
|
2019-11-29 22:50:54 +00:00
|
|
|
|
;; Make sure the pkg-config file refers to the right output.
|
2019-07-22 12:53:12 +00:00
|
|
|
|
(substitute* (string-append shared-libs "/pkgconfig/libzstd.pc")
|
2019-11-29 22:50:54 +00:00
|
|
|
|
(("^prefix=.*")
|
2021-01-15 12:50:57 +00:00
|
|
|
|
;; Note: The .pc file expects a trailing slash for 'prefix'.
|
|
|
|
|
(string-append "prefix=" lib "/\n")))))))
|
2016-11-05 14:45:53 +00:00
|
|
|
|
#:make-flags
|
2020-11-29 14:19:55 +00:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2020-06-30 17:38:25 +00:00
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "libdir=" (assoc-ref %outputs "lib") "/lib")
|
|
|
|
|
(string-append "includedir=" (assoc-ref %outputs "lib") "/include")
|
2020-06-30 17:43:00 +00:00
|
|
|
|
;; Auto-detection is over-engineered and buggy.
|
|
|
|
|
"PCLIBDIR=lib"
|
|
|
|
|
"PCINCDIR=include"
|
2017-12-21 16:44:03 +00:00
|
|
|
|
;; Skip auto-detection of, and creating a dependency on, the build
|
|
|
|
|
;; environment's ‘xz’ for what amounts to a dubious feature anyway.
|
|
|
|
|
"HAVE_LZMA=0"
|
|
|
|
|
;; Not currently detected, but be explicit & avoid surprises later.
|
|
|
|
|
"HAVE_LZ4=0"
|
2017-12-21 23:14:07 +00:00
|
|
|
|
"HAVE_ZLIB=0")))
|
2019-01-02 18:24:23 +00:00
|
|
|
|
(home-page "https://facebook.github.io/zstd/")
|
2016-11-05 14:45:53 +00:00
|
|
|
|
(synopsis "Zstandard real-time compression algorithm")
|
|
|
|
|
(description "Zstandard (@command{zstd}) is a lossless compression algorithm
|
|
|
|
|
that combines very fast operation with a compression ratio comparable to that of
|
|
|
|
|
zlib. In most scenarios, both compression and decompression can be performed in
|
|
|
|
|
‘real time’. The compressor can be configured to provide the most suitable
|
|
|
|
|
trade-off between compression ratio and speed, without affecting decompression
|
|
|
|
|
speed.")
|
|
|
|
|
(license (list license:bsd-3 ; the main top-level LICENSE file
|
2017-10-10 10:13:30 +00:00
|
|
|
|
license:bsd-2 ; many files explicitly state 2-Clause
|
2017-10-10 12:19:08 +00:00
|
|
|
|
license:gpl2 ; the main top-level COPYING file
|
2017-10-10 10:13:30 +00:00
|
|
|
|
license:gpl3+ ; tests/gzip/*.sh
|
|
|
|
|
license:expat ; lib/dictBuilder/divsufsort.[ch]
|
2016-11-05 14:45:53 +00:00
|
|
|
|
license:public-domain ; zlibWrapper/examples/fitblk*
|
|
|
|
|
license:zlib)))) ; zlibWrapper/{gz*.c,gzguts.h}
|
2017-02-20 21:31:35 +00:00
|
|
|
|
|
|
|
|
|
(define-public pzstd
|
2021-03-17 09:58:29 +00:00
|
|
|
|
(package/inherit zstd
|
2017-02-20 21:31:35 +00:00
|
|
|
|
(name "pzstd")
|
2021-03-17 09:58:29 +00:00
|
|
|
|
(outputs '("out"))
|
2020-11-16 13:10:30 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("googletest" ,googletest))
|
|
|
|
|
'())))
|
2017-02-20 21:31:35 +00:00
|
|
|
|
(native-inputs
|
2020-11-16 13:10:30 +00:00
|
|
|
|
`(,@(if (%current-system)
|
|
|
|
|
`(("googletest" ,googletest))
|
|
|
|
|
'())))
|
2017-02-20 21:31:35 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-subdirectory
|
2018-06-28 02:14:34 +00:00
|
|
|
|
(lambda _ (chdir "contrib/pzstd") #t))
|
2017-02-20 21:31:35 +00:00
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'compile-tests
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
2018-03-16 06:39:29 +00:00
|
|
|
|
(apply invoke "make" "tests" make-flags)))
|
2017-02-20 21:31:35 +00:00
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name)))
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))
|
|
|
|
|
#:make-flags
|
2020-11-16 13:10:30 +00:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "CXX=" ,(cxx-for-target))
|
2017-02-20 21:31:35 +00:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
|
|
|
|
(home-page (package-home-page zstd))
|
|
|
|
|
(synopsis "Threaded implementation of the Zstandard compression algorithm")
|
|
|
|
|
(description "Parallel Zstandard (PZstandard or @command{pzstd}) is a
|
|
|
|
|
multi-threaded implementation of the @uref{http://zstd.net/, Zstandard
|
|
|
|
|
compression algorithm}. It is fully compatible with the original Zstandard file
|
|
|
|
|
format and command-line interface, and can be used as a drop-in replacement.
|
|
|
|
|
|
|
|
|
|
Compression is distributed over multiple processor cores to improve performance,
|
|
|
|
|
as is the decompression of data compressed in this manner. Data compressed by
|
|
|
|
|
other implementations will only be decompressed by two threads: one performing
|
|
|
|
|
the actual decompression, the other input and output.")
|
|
|
|
|
(license (package-license zstd))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
|
|
|
|
|
(define-public zip
|
|
|
|
|
(package
|
|
|
|
|
(name "zip")
|
|
|
|
|
(version "3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/infozip"
|
|
|
|
|
"/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list bzip2))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "-f" "unix/Makefile"
|
|
|
|
|
(string-append "prefix=" out)
|
|
|
|
|
(string-append "MANDIR=" out "/share/man/man1")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
2018-03-16 06:41:13 +00:00
|
|
|
|
(apply invoke "make" "generic_gcc" make-flags)))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "http://www.info-zip.org/Zip.html")
|
|
|
|
|
(synopsis "Compression and file packing utility")
|
|
|
|
|
(description
|
|
|
|
|
"Zip is a compression and file packaging/archive utility. Zip is useful
|
|
|
|
|
for packaging a set of files for distribution, for archiving files, and for
|
|
|
|
|
saving disk space by temporarily compressing unused files or directories.
|
|
|
|
|
Zip puts one or more compressed files into a single ZIP archive, along with
|
|
|
|
|
information about the files (name, path, date, time of last modification,
|
|
|
|
|
protection, and check information to verify file integrity). An entire
|
|
|
|
|
directory structure can be packed into a ZIP archive with a single command.
|
|
|
|
|
|
|
|
|
|
Zip has one compression method (deflation) and can also store files without
|
|
|
|
|
compression. Zip automatically chooses the better of the two for each file.
|
|
|
|
|
Compression ratios of 2:1 to 3:1 are common for text files.")
|
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))))
|
|
|
|
|
|
|
|
|
|
(define-public unzip
|
|
|
|
|
(package (inherit zip)
|
|
|
|
|
(name "unzip")
|
|
|
|
|
(version "6.0")
|
2022-08-08 16:13:07 +00:00
|
|
|
|
(replacement unzip/fixed)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/infozip"
|
|
|
|
|
"/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83"))
|
|
|
|
|
(patches (search-patches "unzip-CVE-2014-8139.patch"
|
|
|
|
|
"unzip-CVE-2014-8140.patch"
|
|
|
|
|
"unzip-CVE-2014-8141.patch"
|
|
|
|
|
"unzip-CVE-2014-9636.patch"
|
|
|
|
|
"unzip-CVE-2015-7696.patch"
|
|
|
|
|
"unzip-CVE-2015-7697.patch"
|
|
|
|
|
"unzip-allow-greater-hostver-values.patch"
|
|
|
|
|
"unzip-initialize-symlink-flag.patch"
|
|
|
|
|
"unzip-remove-build-date.patch"
|
|
|
|
|
"unzip-attribs-overflow.patch"
|
|
|
|
|
"unzip-overflow-on-invalid-input.patch"
|
|
|
|
|
"unzip-format-secure.patch"
|
2021-05-09 20:49:27 +00:00
|
|
|
|
"unzip-overflow-long-fsize.patch"
|
|
|
|
|
|
|
|
|
|
;; From Fedora
|
|
|
|
|
"unzip-alt-iconv-utf8.patch"
|
|
|
|
|
"unzip-alt-iconv-utf8-print.patch"
|
|
|
|
|
"unzip-fix-recmatch.patch"
|
|
|
|
|
"unzip-case-insensitive.patch"
|
|
|
|
|
"unzip-close.patch"
|
|
|
|
|
"unzip-COVSCAN-fix-unterminated-string.patch"
|
|
|
|
|
"unzip-CVE-2016-9844.patch"
|
|
|
|
|
"unzip-CVE-2018-1000035.patch"
|
|
|
|
|
"unzip-CVE-2018-18384.patch"
|
|
|
|
|
"unzip-exec-shield.patch"
|
|
|
|
|
"unzip-manpage-fix.patch"
|
|
|
|
|
"unzip-overflow.patch"
|
|
|
|
|
"unzip-timestamp.patch"
|
|
|
|
|
"unzip-valgrind.patch"
|
|
|
|
|
"unzip-x-option.patch"
|
|
|
|
|
;; CVE-2019-13232
|
|
|
|
|
"unzip-zipbomb-manpage.patch"
|
|
|
|
|
"unzip-zipbomb-part1.patch"
|
|
|
|
|
"unzip-zipbomb-part2.patch"
|
|
|
|
|
"unzip-zipbomb-part3.patch"
|
|
|
|
|
|
|
|
|
|
;; https://github.com/madler/unzip/issues/2
|
|
|
|
|
"unzip-32bit-zipbomb-fix.patch"))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO
|
|
|
|
|
(arguments
|
2022-08-07 00:00:00 +00:00
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'fortify
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Mitigate CVE-2018-1000035, an exploitable buffer overflow.
|
|
|
|
|
;; This environment variable is recommended in 'unix/Makefile'
|
|
|
|
|
;; for passing flags to the C compiler.
|
|
|
|
|
(setenv "LOCAL_UNZIP" "-D_FORTIFY_SOURCE=1")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "make"
|
|
|
|
|
`("-j" ,(number->string
|
|
|
|
|
(parallel-job-count))
|
|
|
|
|
,@make-flags
|
|
|
|
|
"generic_gcc")))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
;; Fix cross-compilation without affecting native builds, as doing so
|
|
|
|
|
;; would trigger too many rebuilds: https://issues.guix.gnu.org/57127
|
2022-08-07 00:00:00 +00:00
|
|
|
|
(if (%current-target-system)
|
|
|
|
|
#~(list "-f" "unix/Makefile"
|
|
|
|
|
(string-append "prefix=" #$output)
|
|
|
|
|
(string-append "MANDIR=" #$output "/share/man/man1"))
|
|
|
|
|
#~(list "-f" "unix/Makefile"
|
|
|
|
|
(string-append "prefix=" %output)
|
|
|
|
|
(string-append "MANDIR=" %output "/share/man/man1")))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(home-page "http://www.info-zip.org/UnZip.html")
|
|
|
|
|
(synopsis "Decompression and file extraction utility")
|
|
|
|
|
(description
|
|
|
|
|
"UnZip is an extraction utility for archives compressed in .zip format,
|
|
|
|
|
also called \"zipfiles\".
|
|
|
|
|
|
|
|
|
|
UnZip lists, tests, or extracts files from a .zip archive. The default
|
|
|
|
|
behaviour (with no options) is to extract into the current directory, and
|
|
|
|
|
subdirectories below it, all files from the specified zipfile. UnZip
|
|
|
|
|
recreates the stored directory structure by default.")
|
2022-08-08 15:47:20 +00:00
|
|
|
|
(properties `((lint-hidden-cve . ("CVE-2019-13232"))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))))
|
|
|
|
|
|
2022-08-08 16:13:07 +00:00
|
|
|
|
(define unzip/fixed
|
|
|
|
|
(package (inherit unzip)
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(inherit (package-source unzip))
|
|
|
|
|
(patches (append
|
|
|
|
|
(origin-patches (package-source unzip))
|
|
|
|
|
(search-patches "unzip-CVE-2022-0529+CVE-2022-0530.patch")))))))
|
|
|
|
|
|
2020-11-30 19:01:09 +00:00
|
|
|
|
(define-public ziptime
|
|
|
|
|
(let ((commit "2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "ziptime")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://android.googlesource.com/platform/build")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0hrn61b3a97dlc4iqc28rwx8k8zf7ycbwzqqp93vj34zy5a541kn"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'change-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "tools/ziptime")))
|
|
|
|
|
(delete 'configure) ; nothing to configure
|
|
|
|
|
(replace 'build
|
|
|
|
|
;; There is no Makefile, only an ‘Android.bp’ file. Ignore it.
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((c++ ,(cxx-for-target)))
|
|
|
|
|
(apply invoke c++ "-O2" "-o" "ziptime"
|
|
|
|
|
(find-files "." "\\.cpp$")))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(install-file "ziptime" bin)
|
|
|
|
|
(install-file "README.txt" doc)))))))
|
|
|
|
|
;; There is no separate home page for this tiny bundled build tool.
|
|
|
|
|
(home-page (string-append "https://android.googlesource.com/platform/build/"
|
|
|
|
|
"+/master/tools/ziptime/README.txt"))
|
|
|
|
|
(synopsis "Normalize @file{.zip} archive header timestamps")
|
|
|
|
|
(description
|
|
|
|
|
"Ziptime helps make @file{.zip} archives reproducible by replacing
|
|
|
|
|
timestamps in the file header with a fixed time (1 January 2008).
|
|
|
|
|
|
|
|
|
|
``Extra fields'' are not changed, so you'll need to use the @code{-X} option to
|
|
|
|
|
@command{zip} to prevent it from storing the ``universal time'' field.")
|
|
|
|
|
(license license:asl2.0))))
|
|
|
|
|
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(define-public zziplib
|
|
|
|
|
(package
|
|
|
|
|
(name "zziplib")
|
2021-01-21 18:40:30 +00:00
|
|
|
|
(version "0.13.72")
|
2018-03-19 23:56:04 +00:00
|
|
|
|
(home-page "https://github.com/gdraheim/zziplib")
|
2019-07-07 15:26:38 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-21 18:40:30 +00:00
|
|
|
|
"0i6bpa2b13z19alm6ig80364dnin1w28cvif18k6wkkb0w3dzp8y"))))
|
|
|
|
|
(build-system cmake-build-system)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
|
|
|
|
(native-inputs (list perl ; for the documentation
|
|
|
|
|
pkg-config python zip)) ; to create test files
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
(synopsis "Library for accessing zip files")
|
|
|
|
|
(description
|
|
|
|
|
"ZZipLib is a library based on zlib for accessing zip files.")
|
2018-03-20 00:02:13 +00:00
|
|
|
|
;; zziplib is dual licensed under LGPL2.0+ and MPL1.1. Some example source
|
|
|
|
|
;; files carry the Zlib license; see "docs/copying.html" for details.
|
|
|
|
|
(license (list license:lgpl2.0+ license:mpl1.1))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
|
2017-06-23 21:05:11 +00:00
|
|
|
|
(define-public libzip
|
|
|
|
|
(package
|
|
|
|
|
(name "libzip")
|
2022-07-05 18:20:47 +00:00
|
|
|
|
(version "1.9.2")
|
2017-06-23 21:05:11 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-03-14 13:16:52 +00:00
|
|
|
|
"https://libzip.org/download/libzip-" version ".tar.xz"))
|
2017-06-23 21:05:11 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-07-05 18:20:47 +00:00
|
|
|
|
"0dsrpb1faywhm0j8akx21gp7cn99wpz3h543jw8r7p5jnx99hgn9"))))
|
2017-06-23 21:05:11 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl pkg-config))
|
2017-06-23 21:05:11 +00:00
|
|
|
|
(inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list gnutls xz openssl zlib
|
|
|
|
|
`(,zstd "lib")))
|
2018-07-12 13:52:19 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2017-11-22 11:01:21 +00:00
|
|
|
|
(home-page "https://libzip.org")
|
2017-06-23 21:05:11 +00:00
|
|
|
|
(synopsis "C library for reading, creating, and modifying zip archives")
|
|
|
|
|
(description "Libzip is a C library for reading, creating, and modifying
|
|
|
|
|
zip archives. Files can be added from data buffers, files, or compressed data
|
|
|
|
|
copied directly from other zip archives. Changes made without closing the
|
|
|
|
|
archive can be reverted.")
|
|
|
|
|
(license license:bsd-3)))
|
2017-10-18 21:07:25 +00:00
|
|
|
|
|
|
|
|
|
(define-public atool
|
|
|
|
|
(package
|
|
|
|
|
(name "atool")
|
|
|
|
|
(version "0.39.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-11-08 21:27:02 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/atool/atool-"
|
2017-10-18 21:07:25 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fvhzip2v08jgnlfpyj6rapan39xlsl1ksgq4lp8gfsai2ah1xma"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'embed-absolute-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "atool"
|
|
|
|
|
(("(^\\$::cfg_path_file.*= )'file'" _ pre)
|
|
|
|
|
(string-append pre "'" (assoc-ref inputs "file")
|
|
|
|
|
"/bin/file'")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl file))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/atool/")
|
2017-10-18 21:07:25 +00:00
|
|
|
|
(synopsis "Universal tool to manage file archives of various types")
|
|
|
|
|
(description "The main command is @command{aunpack} which extracts files
|
|
|
|
|
from an archive. The other commands provided are @command{apack} (to create
|
|
|
|
|
archives), @command{als} (to list files in archives), and @command{acat} (to
|
|
|
|
|
extract files to standard out). As @command{atool} invokes external programs
|
|
|
|
|
to handle the archives, not all commands may be supported for a certain type
|
|
|
|
|
of archives.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-10-24 16:22:12 +00:00
|
|
|
|
|
2017-12-14 04:23:36 +00:00
|
|
|
|
(define-public lunzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lunzip")
|
2022-05-01 00:00:03 +00:00
|
|
|
|
(version "1.13")
|
2017-12-14 04:23:36 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-12 13:13:12 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/lunzip/"
|
|
|
|
|
"lunzip-" version ".tar.gz"))
|
2017-12-14 04:23:36 +00:00
|
|
|
|
(sha256
|
2022-05-01 00:00:03 +00:00
|
|
|
|
(base32 "153qa674rlbw812fb7h8rfzdw4hvr6vgkjl1c0yfplj7p4h86z9w"))))
|
2017-12-14 04:23:36 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-06-02 17:11:15 +00:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lunzip.html")
|
2017-12-14 04:23:36 +00:00
|
|
|
|
(synopsis "Small, stand-alone lzip decompressor")
|
|
|
|
|
(description
|
|
|
|
|
"Lunzip is a decompressor for files in the lzip compression format (.lz),
|
|
|
|
|
written as a single small C tool with no dependencies. This makes it
|
|
|
|
|
well-suited to embedded and other systems without a C++ compiler, or for use in
|
|
|
|
|
applications such as software installers that need only to decompress files,
|
|
|
|
|
not compress them.
|
|
|
|
|
Lunzip is intended to be fully compatible with the regular lzip package.")
|
|
|
|
|
(license (list license:bsd-2 ; carg_parser.[ch]
|
|
|
|
|
license:gpl2+)))) ; everything else
|
2017-12-14 04:44:26 +00:00
|
|
|
|
|
|
|
|
|
(define-public clzip
|
|
|
|
|
(package
|
|
|
|
|
(name "clzip")
|
2022-05-01 00:00:01 +00:00
|
|
|
|
(version "1.13")
|
2017-12-14 04:44:26 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-12 13:23:07 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/clzip/"
|
|
|
|
|
"clzip-" version ".tar.gz"))
|
2017-12-14 04:44:26 +00:00
|
|
|
|
(sha256
|
2022-05-01 00:00:01 +00:00
|
|
|
|
(base32 "0ypagygbnq4ppqyg7sj4816x5c1w579883m2nsq0zxbb0gszpjbs"))))
|
2017-12-14 04:44:26 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-06-02 17:11:44 +00:00
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/clzip.html")
|
2017-12-14 04:44:26 +00:00
|
|
|
|
(synopsis "Small, stand-alone lzip compressor and decompressor")
|
|
|
|
|
(description
|
|
|
|
|
"Clzip is a compressor and decompressor for files in the lzip compression
|
|
|
|
|
format (.lz), written as a single small C tool with no dependencies. This makes
|
|
|
|
|
it well-suited to embedded and other systems without a C++ compiler, or for use
|
|
|
|
|
in other applications like package managers.
|
|
|
|
|
Clzip is intended to be fully compatible with the regular lzip package.")
|
|
|
|
|
(license (list license:bsd-2 ; carg_parser.[ch], lzd in clzip.texi
|
|
|
|
|
license:gpl2+))))
|
2017-12-14 05:25:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public lzlib
|
|
|
|
|
(package
|
|
|
|
|
(name "lzlib")
|
2022-05-01 00:00:01 +00:00
|
|
|
|
(version "1.13")
|
2017-12-14 05:25:45 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-12 13:30:30 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/lzlib/"
|
|
|
|
|
"lzlib-" version ".tar.gz"))
|
2017-12-14 05:25:45 +00:00
|
|
|
|
(sha256
|
2022-05-01 00:00:01 +00:00
|
|
|
|
(base32 "107vkzfgvb21cqq4gmxyfn97l4s2c0b3i14k9rkv594b2krmiax1"))))
|
2017-12-14 05:25:45 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-09-26 10:04:04 +00:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
2020-09-26 10:06:28 +00:00
|
|
|
|
"--disable-static"
|
2017-12-14 05:25:45 +00:00
|
|
|
|
"--enable-shared"))) ; only static (.a) is built by default
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lzlib.html")
|
2017-12-14 05:25:45 +00:00
|
|
|
|
(synopsis "Lzip data compression C library")
|
|
|
|
|
(description
|
|
|
|
|
"Lzlib is a C library for in-memory LZMA compression and decompression in
|
|
|
|
|
the lzip format. It supports integrity checking of the decompressed data, and
|
|
|
|
|
all functions are thread-safe. The library should never crash, even in case of
|
|
|
|
|
corrupted input.")
|
|
|
|
|
(license (list license:bsd-2 ; the library itself
|
|
|
|
|
license:gpl2+)))) ; main.c (i.e. minilzip used by tests)
|
2017-12-14 18:36:04 +00:00
|
|
|
|
|
|
|
|
|
(define-public plzip
|
|
|
|
|
(package
|
|
|
|
|
(name "plzip")
|
2022-05-01 00:00:00 +00:00
|
|
|
|
(version "1.10")
|
2017-12-14 18:36:04 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-12 13:05:13 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/plzip/"
|
|
|
|
|
"plzip-" version ".tar.gz"))
|
2017-12-14 18:36:04 +00:00
|
|
|
|
(sha256
|
2022-05-01 00:00:00 +00:00
|
|
|
|
(base32 "16408n8z21hfxp0qnx3hh1d0c47g8z9i3vflbgbrmf6qcn1abyj3"))))
|
2017-12-14 18:36:04 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lzlib))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/plzip.html")
|
2017-12-14 18:36:04 +00:00
|
|
|
|
(synopsis "Parallel lossless data compressor for the lzip format")
|
|
|
|
|
(description
|
|
|
|
|
"Plzip is a massively parallel (multi-threaded) lossless data compressor
|
|
|
|
|
and decompressor that uses the lzip file format (.lz). Files produced by plzip
|
|
|
|
|
are fully compatible with lzip and can be rescued with lziprecover.
|
|
|
|
|
On multiprocessor machines, plzip can compress and decompress large files much
|
|
|
|
|
faster than lzip, at the cost of a slightly reduced compression ratio (0.4% to
|
|
|
|
|
2%). The number of usable threads is limited by file size: on files of only a
|
|
|
|
|
few MiB, plzip is no faster than lzip.
|
|
|
|
|
Files that were compressed with regular lzip will also not be decompressed
|
|
|
|
|
faster by plzip, unless the @code{-b} option was used: lzip usually produces
|
|
|
|
|
single-member files which can't be decompressed in parallel.")
|
|
|
|
|
(license (list license:bsd-2 ; arg_parser.{cc,h}
|
|
|
|
|
license:gpl2+)))) ; everything else
|
2018-01-31 10:57:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public innoextract
|
|
|
|
|
(package
|
|
|
|
|
(name "innoextract")
|
2020-08-11 13:53:39 +00:00
|
|
|
|
(version "1.9")
|
2018-01-31 10:57:33 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-08-11 13:53:39 +00:00
|
|
|
|
(uri (string-append "https://constexpr.org/innoextract/files/"
|
|
|
|
|
"innoextract-" version "/"
|
2019-11-24 17:36:21 +00:00
|
|
|
|
"/innoextract-" version ".tar.gz"))
|
2018-01-31 10:57:33 +00:00
|
|
|
|
(sha256
|
2020-08-11 13:53:39 +00:00
|
|
|
|
(base32 "09l1z1nbl6ijqqwszdwch9mqr54qb7df0wp2sd77v17dq6gsci33"))))
|
2018-01-31 10:57:33 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-08-11 13:53:39 +00:00
|
|
|
|
`(#:tests? #f))
|
2022-02-15 17:09:25 +00:00
|
|
|
|
(inputs (list boost xz))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list pkg-config))
|
2018-01-31 10:57:33 +00:00
|
|
|
|
(home-page "https://constexpr.org/innoextract/")
|
|
|
|
|
(synopsis "Tool for extracting Inno Setup installers")
|
|
|
|
|
(description "innoextract allows extracting Inno Setup installers under
|
|
|
|
|
non-Windows systems without running the actual installer using wine.")
|
|
|
|
|
(license license:zlib)))
|
2018-02-21 17:18:31 +00:00
|
|
|
|
|
2021-12-15 13:37:32 +00:00
|
|
|
|
(define-public isa-l
|
|
|
|
|
(package
|
|
|
|
|
(name "isa-l")
|
|
|
|
|
(version "2.30.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/intel/isa-l")
|
|
|
|
|
;; Corresponds to tag v2.30.0
|
|
|
|
|
(commit "2df39cf5f1b9ccaa2973f6ef273857e4dc46f0cf")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "06ymkrf3hkkd94i59ahm79545rk709y8rd0v2l86w38z6is942q0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs (list autoconf automake libtool nasm))
|
|
|
|
|
(home-page "https://github.com/intel/isa-l")
|
|
|
|
|
(synopsis "Intelligent storage acceleration library")
|
|
|
|
|
(description "ISA-L is a collection of optimized low-level functions
|
|
|
|
|
targeting storage applications. ISA-L includes:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Erasure codes: fast block Reed-Solomon type erasure codes for any
|
|
|
|
|
encode/decode matrix;
|
|
|
|
|
@item CRC: fast implementations of cyclic redundancy check. Six different
|
|
|
|
|
polynomials supported: iscsi32, ieee32, t10dif, ecma64, iso64, jones64;
|
|
|
|
|
@item Raid: calculate and operate on XOR and P+Q parity found in common RAID
|
|
|
|
|
implementations;
|
|
|
|
|
@item Compression: fast deflate-compatible data compression;
|
|
|
|
|
@item De-compression: fast inflate-compatible data compression;
|
|
|
|
|
@item igzip: command line application like gzip, accelerated with ISA-L.
|
|
|
|
|
@end itemize
|
|
|
|
|
")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2021-10-12 12:35:17 +00:00
|
|
|
|
(define-public brotli
|
2018-02-21 17:18:31 +00:00
|
|
|
|
(package
|
2021-10-12 12:35:17 +00:00
|
|
|
|
(name "brotli")
|
2020-12-02 19:46:49 +00:00
|
|
|
|
(version "1.0.9")
|
2019-03-19 15:22:14 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/google/brotli")
|
2019-03-19 15:22:14 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-12-02 19:46:49 +00:00
|
|
|
|
(base32 "1fikasxf7r2dwlk8mv8w7nmjkn0jw5ic31ky3mvpkdzwgd4xfndl"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Cherry-picked from upstream since the latest release
|
|
|
|
|
;; https://github.com/google/brotli/commit/09b0992b6acb7faa6fd3b23f9bc036ea117230fc
|
|
|
|
|
(substitute* (find-files "scripts" "^lib.*pc\\.in")
|
|
|
|
|
(("-R\\$\\{libdir\\} ") ""))
|
|
|
|
|
#t))))
|
2018-02-21 17:18:31 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'rename-static-libraries
|
|
|
|
|
;; The build tools put a 'static' suffix on the static libraries, but
|
|
|
|
|
;; other applications don't know how to find these.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((lib (string-append (assoc-ref %outputs "out") "/lib/")))
|
|
|
|
|
(rename-file (string-append lib "libbrotlicommon-static.a")
|
|
|
|
|
(string-append lib "libbrotlicommon.a"))
|
|
|
|
|
(rename-file (string-append lib "libbrotlidec-static.a")
|
|
|
|
|
(string-append lib "libbrotlidec.a"))
|
|
|
|
|
(rename-file (string-append lib "libbrotlienc-static.a")
|
|
|
|
|
(string-append lib "libbrotlienc.a"))
|
|
|
|
|
#t))))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list ;; Defaults to "lib64" on 64-bit archs.
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(home-page "https://github.com/google/brotli")
|
|
|
|
|
(synopsis "General-purpose lossless compression")
|
|
|
|
|
(description "This package provides the reference implementation of Brotli,
|
|
|
|
|
a generic-purpose lossless compression algorithm that compresses data using a
|
|
|
|
|
combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd
|
|
|
|
|
order context modeling, with a compression ratio comparable to the best
|
|
|
|
|
currently available general-purpose compression methods. It is similar in speed
|
|
|
|
|
with @code{deflate} but offers more dense compression.
|
|
|
|
|
|
|
|
|
|
The specification of the Brotli Compressed Data Format is defined in RFC 7932.")
|
|
|
|
|
(license license:expat)))
|
2018-05-17 22:51:09 +00:00
|
|
|
|
|
2021-10-12 12:35:17 +00:00
|
|
|
|
(define-public google-brotli
|
|
|
|
|
(deprecated-package "google-brotli" brotli))
|
2020-03-04 09:48:45 +00:00
|
|
|
|
|
2021-10-12 12:46:42 +00:00
|
|
|
|
(define-public python-brotli
|
2020-03-31 09:39:01 +00:00
|
|
|
|
(package
|
2021-10-12 12:35:17 +00:00
|
|
|
|
(inherit brotli)
|
2021-10-12 12:46:42 +00:00
|
|
|
|
(name "python-brotli")
|
2020-03-31 09:39:01 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments '())
|
2021-10-12 12:35:17 +00:00
|
|
|
|
(synopsis "Python interface to Brotli")
|
|
|
|
|
(description "This package provides a Python interface to the @code{brotli}
|
|
|
|
|
package, an implementation of the Brotli lossless compression algorithm.")))
|
|
|
|
|
|
2021-10-12 12:46:42 +00:00
|
|
|
|
(define-public python-google-brotli
|
|
|
|
|
(deprecated-package "python-google-brotli" python-brotli))
|
2020-03-31 09:39:01 +00:00
|
|
|
|
|
2022-10-15 18:23:34 +00:00
|
|
|
|
(define-public java-brotli
|
|
|
|
|
(package
|
|
|
|
|
(inherit brotli)
|
|
|
|
|
(name "java-brotli")
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "java-brotli.jar"
|
|
|
|
|
#:source-dir "java"
|
|
|
|
|
;; Tests are mixed in with java sources, the ant build system
|
|
|
|
|
;; doesn't allow that
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(native-inputs (list java-junit))))
|
|
|
|
|
|
2018-05-17 22:51:09 +00:00
|
|
|
|
(define-public ucl
|
|
|
|
|
(package
|
|
|
|
|
(name "ucl")
|
|
|
|
|
(version "1.03")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-10-18 12:29:01 +00:00
|
|
|
|
(uri (string-append "https://www.oberhumer.com/opensource/"
|
2018-05-17 22:51:09 +00:00
|
|
|
|
name "/download/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0j036lkwsxvm15gr29n8wn07cqq79dswjs9k54939ms5zngjjrdq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2019-10-18 12:28:11 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(;; UCL 1.03 fails to build with newer C standards.
|
2019-10-18 12:34:05 +00:00
|
|
|
|
#:configure-flags '("CFLAGS=-std=gnu90"
|
|
|
|
|
"--enable-shared" "--disable-static")))
|
2019-10-18 12:29:01 +00:00
|
|
|
|
(home-page "https://www.oberhumer.com/opensource/ucl/")
|
2018-05-17 22:51:09 +00:00
|
|
|
|
(synopsis "Portable lossless data compression library")
|
|
|
|
|
(description "UCL implements a number of compression algorithms that
|
|
|
|
|
achieve an excellent compression ratio while allowing fast decompression.
|
|
|
|
|
Decompression requires no additional memory.
|
|
|
|
|
|
|
|
|
|
Compared to LZO, the UCL algorithms achieve a better compression ratio but
|
|
|
|
|
decompression is a little bit slower.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-05-26 20:10:57 +00:00
|
|
|
|
|
|
|
|
|
(define-public upx
|
|
|
|
|
(package
|
|
|
|
|
(name "upx")
|
2022-11-03 03:13:09 +00:00
|
|
|
|
(version "4.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/upx/upx/releases/download/v"
|
|
|
|
|
version "/upx-" version "-src.tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1sinky0rq40q2qqzly99c5hdd6ilz2bxlbqla9lg0rafhbw3iyga"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2018-05-26 20:10:57 +00:00
|
|
|
|
(home-page "https://upx.github.io/")
|
|
|
|
|
(synopsis "Compression tool for executables")
|
|
|
|
|
(description
|
|
|
|
|
"The Ultimate Packer for eXecutables (UPX) is an executable file
|
|
|
|
|
compressor. UPX typically reduces the file size of programs and shared
|
|
|
|
|
libraries by around 50%--70%, thus reducing disk space, network load times,
|
|
|
|
|
download times, and other distribution and storage costs.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-06-28 07:28:33 +00:00
|
|
|
|
|
2021-10-05 22:50:48 +00:00
|
|
|
|
(define-public quazip-0
|
2019-06-28 07:28:33 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "quazip")
|
2020-05-25 18:05:35 +00:00
|
|
|
|
(version "0.9.1")
|
2019-06-28 07:28:33 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/stachenov/quazip")
|
2019-06-28 07:28:33 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-25 18:05:35 +00:00
|
|
|
|
"11icgwv2xyxhd1hm1add51xv54zwkcqkg85d1xqlgiigvbm196iq"))))
|
2019-06-28 07:28:33 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;no test
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list doxygen))
|
2019-06-28 07:28:33 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list qtbase-5 zlib))
|
2019-06-28 07:28:33 +00:00
|
|
|
|
(home-page "https://stachenov.github.io/quazip/index.html")
|
|
|
|
|
(synopsis "Qt/C++ wrapper for Minizip")
|
|
|
|
|
(description "QuaZIP is a simple C++ wrapper over Gilles Vollant's
|
|
|
|
|
ZIP/UNZIP package that can be used to access ZIP archives. It uses
|
|
|
|
|
Trolltech's Qt toolkit.
|
|
|
|
|
|
|
|
|
|
QuaZIP allows you to access files inside ZIP archives using QIODevice
|
|
|
|
|
API, and that means that you can also use QTextStream, QDataStream or
|
|
|
|
|
whatever you would like to use on your zipped files.
|
|
|
|
|
|
|
|
|
|
QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
|
2021-12-30 06:13:13 +00:00
|
|
|
|
reading from and writing to ZIP archives.")
|
2019-06-28 07:28:33 +00:00
|
|
|
|
;; Project is distributed under LGPL, but "quazip/z*" "quazip/unzip.*" are
|
|
|
|
|
;; distributed under zlib terms.
|
|
|
|
|
(license (list license:lgpl2.1+ license:zlib))))
|
2019-07-30 22:41:37 +00:00
|
|
|
|
|
2021-10-05 22:50:48 +00:00
|
|
|
|
(define-public quazip
|
|
|
|
|
(package
|
|
|
|
|
(inherit quazip-0)
|
|
|
|
|
(name "quazip")
|
2022-05-29 00:00:01 +00:00
|
|
|
|
(version "1.3")
|
2021-10-05 22:50:48 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/stachenov/quazip")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-05-29 00:00:01 +00:00
|
|
|
|
(base32 "0njgbdm3dm5p7xic5mhppbqsl36zn83zz0xfsfh624hlk0ff7n0a"))))))
|
2021-10-05 22:50:48 +00:00
|
|
|
|
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(define-public zchunk
|
|
|
|
|
(package
|
|
|
|
|
(name "zchunk")
|
2022-08-02 19:09:01 +00:00
|
|
|
|
(version "1.2.2")
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/zchunk/zchunk")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-08-02 19:09:01 +00:00
|
|
|
|
"0q0avb0397xkmidl8rxasfywp0r7w3awk6271pa2d9xl9p1n82zy"))))
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(build-system meson-build-system)
|
2021-08-03 18:28:24 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/zck_gen_zdict.c"
|
|
|
|
|
(("/usr/bin/zstd")
|
|
|
|
|
(string-append (assoc-ref inputs "zstd")
|
|
|
|
|
"/bin/zstd"))))))))
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list curl zstd))
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(propagated-inputs
|
2021-08-03 18:28:24 +00:00
|
|
|
|
`(("zstd:lib" ,zstd "lib"))) ;in Requires.private of zck.pc
|
2021-07-29 19:00:13 +00:00
|
|
|
|
(home-page "https://github.com/zchunk/zchunk")
|
|
|
|
|
(synopsis "Compressed file format for efficient deltas")
|
|
|
|
|
(description "The zchunk compressed file format allows splitting a file
|
|
|
|
|
into independent chunks. This makes it possible to retrieve only changed
|
|
|
|
|
chunks when downloading a new version of the file, and also makes zchunk files
|
|
|
|
|
efficient over rsync. Along with the library, this package provides the
|
|
|
|
|
following utilities:
|
|
|
|
|
@table @command
|
|
|
|
|
@item unzck
|
|
|
|
|
To decompress a zchunk file.
|
|
|
|
|
@item zck
|
|
|
|
|
To compress a new zchunk file, or re-compress an existing one.
|
|
|
|
|
@item zck_delta_size
|
|
|
|
|
To calculate the difference between two zchunk files.
|
|
|
|
|
@item zck_gen_zdict
|
|
|
|
|
To create a dictionary for a zchunk file.
|
|
|
|
|
@item zck_read_header
|
|
|
|
|
To read a zchunk header.
|
|
|
|
|
@item zckdl
|
|
|
|
|
To download a zchunk file.
|
|
|
|
|
@end table")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2019-07-30 22:41:37 +00:00
|
|
|
|
(define-public zutils
|
|
|
|
|
(package
|
|
|
|
|
(name "zutils")
|
2021-01-10 18:02:28 +00:00
|
|
|
|
(version "1.10")
|
2019-07-30 22:41:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/zutils/zutils-" version ".tar.lz"))
|
|
|
|
|
(sha256
|
2021-01-10 18:02:28 +00:00
|
|
|
|
(base32 "15dimqp8zlqaaa2l46r22srp1py38mlmn69ph1j5fmrd54w43m0d"))))
|
2019-07-30 22:41:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--sysconfdir=/etc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-07-09 17:48:00 +00:00
|
|
|
|
(add-before 'check 'disable-failing-tests
|
2020-07-09 17:48:39 +00:00
|
|
|
|
;; XXX https://lists.nongnu.org/archive/html/zutils-bug/2020-07/msg00005.html
|
2020-07-09 17:48:00 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "testsuite/check.sh"
|
|
|
|
|
(("\"\\$\\{ZGREP\\}\" -N -L \"GNU\"") "true")
|
|
|
|
|
(("\"\\$\\{ZGREP\\}\" -N -L \"nx_pattern\"") "false"))
|
|
|
|
|
#t))
|
2019-07-30 22:41:37 +00:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "install"
|
|
|
|
|
(string-append "sysconfdir=" (assoc-ref outputs "out")
|
|
|
|
|
"/etc")
|
|
|
|
|
make-flags))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
;; Needed to extract the source tarball and run the test suite.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lzip))
|
2019-07-30 22:41:37 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/zutils/zutils.html")
|
|
|
|
|
(synopsis "Utilities that transparently operate on compressed files")
|
|
|
|
|
(description
|
|
|
|
|
"Zutils is a collection of utilities able to process any combination of
|
|
|
|
|
compressed and uncompressed files transparently. If any given file, including
|
|
|
|
|
standard input, is compressed, its decompressed content is used instead.
|
|
|
|
|
|
|
|
|
|
@command{zcat}, @command{zcmp}, @command{zdiff}, and @command{zgrep} are
|
|
|
|
|
improved replacements for the shell scripts provided by GNU gzip.
|
|
|
|
|
@command{ztest} tests the integrity of supported compressed files.
|
|
|
|
|
@command{zupdate} recompresses files with lzip, similar to gzip's
|
|
|
|
|
@command{znew}.
|
|
|
|
|
|
|
|
|
|
Supported compression formats are bzip2, gzip, lzip, and xz. Zutils uses
|
|
|
|
|
external compressors: the compressor to be used for each format is configurable
|
|
|
|
|
at run time, and must be installed separately.")
|
|
|
|
|
(license (list license:bsd-2 ; arg_parser.{cc,h}
|
|
|
|
|
license:gpl2+)))) ; the rest
|
2019-09-19 10:35:18 +00:00
|
|
|
|
|
|
|
|
|
(define-public makeself-safeextract
|
|
|
|
|
(let ((commit "1a95e121fa8e3c02d307ae37b9b7834e616c3683"))
|
|
|
|
|
(package
|
|
|
|
|
(name "makeself-safeextract")
|
|
|
|
|
(version (git-version "0.0.0" "1" commit))
|
|
|
|
|
(home-page "https://github.com/ssokolow/makeself_safeextract")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1anlinaj9lvfi8bn00wp11vzqq0f9sig4fm9yrspisx31v0z4a2c"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2)
|
|
|
|
|
("p7zip" ,p7zip)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((name "makeself_safeextract")
|
|
|
|
|
(source (string-append (assoc-ref %build-inputs "source")
|
|
|
|
|
"/" name ".py"))
|
|
|
|
|
(bin (string-append (assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
(target (string-append bin "/" name))
|
|
|
|
|
(python (string-append (assoc-ref %build-inputs "python") "/bin"))
|
2021-10-23 20:53:12 +00:00
|
|
|
|
(7z (search-input-file %build-inputs "/bin/7z"))
|
|
|
|
|
(unzip (search-input-file %build-inputs "/bin/unzip")))
|
2019-09-19 10:35:18 +00:00
|
|
|
|
(setenv "PATH" (string-append (getenv "PATH") ":" python))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file source target)
|
|
|
|
|
(substitute* target
|
|
|
|
|
(("'7z'") (format #f "'~a'" 7z))
|
|
|
|
|
(("'unzip'") (format #f "'~a'" unzip)))
|
|
|
|
|
(patch-shebang target)))))
|
|
|
|
|
(synopsis "Extract makeself and mojo archives without running untrusted code")
|
|
|
|
|
(description "This package provides a script to unpack self-extracting
|
|
|
|
|
archives generated by @command{makeself} or @command{mojo} without running the
|
|
|
|
|
possibly untrusted extraction shell script.")
|
|
|
|
|
(license license:gpl3+))))
|
2019-09-15 18:36:12 +00:00
|
|
|
|
|
|
|
|
|
(define-public ncompress
|
|
|
|
|
(package
|
|
|
|
|
(name "ncompress")
|
2021-10-04 14:00:19 +00:00
|
|
|
|
(version "5.0")
|
2019-09-15 18:36:12 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/vapier/ncompress")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(patches (search-patches "ncompress-fix-softlinks.patch"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-04 14:00:19 +00:00
|
|
|
|
"090kksxrlqnsdc76fzz2j2ajc98mhmfwyn163ca2ia9niqmlpcm0"))))
|
2019-09-15 18:36:12 +00:00
|
|
|
|
(arguments
|
2021-10-04 14:00:25 +00:00
|
|
|
|
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
2019-09-15 18:36:12 +00:00
|
|
|
|
(string-append "BINDIR=" %output "/bin")
|
|
|
|
|
(string-append "MANDIR=" %output "/share/man/man1"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2021-10-04 14:00:19 +00:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2019-09-15 18:36:12 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://github.com/vapier/ncompress/")
|
|
|
|
|
(synopsis "Original Lempel-Ziv compress/uncompress programs")
|
|
|
|
|
(description "(N)compress provides the original compress and uncompress
|
|
|
|
|
programs that used to be the de facto UNIX standard for compressing and
|
|
|
|
|
uncompressing files. These programs implement a fast, simple Lempel-Ziv (LZW)
|
|
|
|
|
file compression algorithm.")
|
|
|
|
|
(license license:gpl2+)))
|
2020-04-26 09:50:47 +00:00
|
|
|
|
|
|
|
|
|
(define-public xarchiver
|
|
|
|
|
(package
|
|
|
|
|
(name "xarchiver")
|
2021-02-15 17:05:40 +00:00
|
|
|
|
(version "0.5.4.17")
|
2020-04-26 09:50:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/ib/xarchiver")
|
2020-04-26 09:50:47 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-02-15 17:05:40 +00:00
|
|
|
|
(base32 "00adrjpxqlaccrwjf65w3vhxfswdj0as8aj263c6f9b85llypc5v"))))
|
2020-04-26 09:50:47 +00:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list gettext-minimal intltool libxslt pkg-config))
|
2020-04-26 09:50:47 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list adwaita-icon-theme ; hard-coded theme
|
|
|
|
|
gtk+))
|
2020-04-26 09:50:47 +00:00
|
|
|
|
(home-page "https://github.com/ib/xarchiver")
|
|
|
|
|
(synopsis "Graphical front-end for archive operations")
|
|
|
|
|
(description "Xarchiver is a front-end to various command line archiving
|
|
|
|
|
tools. It uses GTK+ tool-kit and is designed to be desktop-environment
|
|
|
|
|
independent. Supported formats are 7z, ARJ, bzip2, gzip, LHA, lzma, lzop,
|
|
|
|
|
RAR, RPM, DEB, tar, and ZIP. It cannot perform functions for archives, whose
|
|
|
|
|
archiver is not installed.")
|
|
|
|
|
(license license:gpl2+)))
|
2020-04-26 15:54:54 +00:00
|
|
|
|
|
|
|
|
|
(define-public tarsplitter
|
|
|
|
|
(package
|
|
|
|
|
(name "tarsplitter")
|
|
|
|
|
(version "2.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/AQUAOSOTech/tarsplitter")
|
2020-04-26 15:54:54 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17qkg95r97kcrs17b0mcqswx99280ni47j5yx8xa7nl3bdhm6325"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/AQUAOSOTech/tarsplitter"
|
|
|
|
|
#:install-source? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key import-path outputs #:allow-other-keys)
|
|
|
|
|
(let* ((source (string-append "src/" import-path))
|
|
|
|
|
(out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(with-directory-excursion source
|
|
|
|
|
(install-file "README.md" doc))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://github.com/AQUAOSOTech/tarsplitter")
|
|
|
|
|
(synopsis "Multithreaded tar utility")
|
|
|
|
|
(description
|
2020-04-26 21:10:10 +00:00
|
|
|
|
"Archive huge numbers of files, or split massive tar archives into smaller
|
2020-04-26 15:54:54 +00:00
|
|
|
|
chunks.")
|
|
|
|
|
(license license:expat)))
|
2020-04-28 09:22:47 +00:00
|
|
|
|
|
|
|
|
|
(define-public c-blosc
|
|
|
|
|
(package
|
|
|
|
|
(name "c-blosc")
|
2022-06-05 00:00:04 +00:00
|
|
|
|
(version "1.21.1")
|
2022-06-05 00:00:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Blosc/c-blosc")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0gy9a7wp7x71x5l3rprx8wpb3c5cn7wqc77gdiffq35hr34q88p9"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; In a rare victory, we may delete all bundled libs to no ill effect.
|
|
|
|
|
'(delete-file-recursively "internal-complibs"))))
|
2020-04-28 09:22:47 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2021-11-17 16:12:28 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2022-06-05 00:00:00 +00:00
|
|
|
|
'("-DBUILD_STATIC=OFF"
|
|
|
|
|
"-DDEACTIVATE_AVX2=ON"
|
2021-11-17 16:12:28 +00:00
|
|
|
|
"-DPREFER_EXTERNAL_LZ4=ON"
|
|
|
|
|
"-DPREFER_EXTERNAL_ZLIB=ON"
|
|
|
|
|
"-DPREFER_EXTERNAL_ZSTD=ON")))
|
|
|
|
|
(inputs
|
2022-06-05 00:00:00 +00:00
|
|
|
|
(list lz4 snappy zlib `(,zstd "lib")))
|
2020-04-28 09:22:47 +00:00
|
|
|
|
(home-page "https://blosc.org")
|
|
|
|
|
(synopsis "Blocking, shuffling and lossless compression library")
|
|
|
|
|
(description
|
|
|
|
|
"Blosc is a high performance compressor optimized for binary data. It has
|
|
|
|
|
been designed to transmit data to the processor cache faster than the
|
|
|
|
|
traditional, non-compressed, direct memory fetch approach via a
|
|
|
|
|
@code{memcpy()} system call. Blosc is meant not only to reduce the size of
|
|
|
|
|
large datasets on-disk or in-memory, but also to accelerate memory-bound
|
|
|
|
|
computations.")
|
|
|
|
|
;; Blosc itself is released under BSD-3 but it incorporates code under
|
|
|
|
|
;; other non-copyleft licenses.
|
|
|
|
|
(license license:bsd-3)))
|
2020-05-05 16:31:18 +00:00
|
|
|
|
|
|
|
|
|
(define-public ecm
|
|
|
|
|
(package
|
|
|
|
|
(name "ecm")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/alucryd/ecm-tools")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1rvyx5gcy8lfklgj80szlz3312x45wzx0d9jsgwyvy8f6m4nnb0c"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags
|
gnu: Use 'cc-for-target' instead of custom implementations.
* gnu/packages/compression.scm (ecm)[arguments]: In #:make-flags, remove
TARGET binding and use CC-FOR-TARGET instead.
* gnu/packages/linux.scm (powerstat, crda, cachefilesd)[arguments]: Likewise.
* gnu/packages/mail.scm (alpine)[arguments]: Likewise.
* gnu/packages/music.scm (lsp-plugins)[arguments]: Likewise.
* gnu/packages/radio.scm (dump1090)[arguments]: Likewise.
* gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent,
wificurse, sbm, prout, noice, human, fortify-headers, colors, libutf,
scron)[arguments]: Likewise.
2020-05-28 16:57:46 +00:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
2020-05-05 16:31:18 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(DESTDIR\\)/usr") "$(DESTDIR)"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/alucryd/ecm-tools")
|
|
|
|
|
(synopsis "Error code modeler")
|
|
|
|
|
(description "ECM is a utility that converts ECM files, i.e., CD data files
|
|
|
|
|
with their error correction data losslessly rearranged for better compression,
|
|
|
|
|
to their original, binary CD format.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-09-24 12:48:38 +00:00
|
|
|
|
|
2021-09-06 12:40:12 +00:00
|
|
|
|
(define-public libdeflate
|
|
|
|
|
(package
|
|
|
|
|
(name "libdeflate")
|
2022-07-17 00:00:01 +00:00
|
|
|
|
(version "1.12")
|
2021-09-06 12:40:12 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ebiggers/libdeflate")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-07-17 00:00:01 +00:00
|
|
|
|
"16n9232zjavcp5wp17cx0gh2v7gipxpncsha05j3ybajfs7g88jv"))))
|
2021-09-06 12:40:12 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-07-17 00:00:02 +00:00
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list (string-append "CC=" #$(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" #$output))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-static-library-installation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("install .*\\$\\(STATIC_LIB\\).*") ""))))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
2021-09-06 12:40:12 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2021-09-06 12:40:12 +00:00
|
|
|
|
(home-page "https://github.com/ebiggers/libdeflate")
|
|
|
|
|
(synopsis "Library for DEFLATE/zlib/gzip compression and decompression")
|
|
|
|
|
(description "Libdeflate is a library for fast, whole-buffer DEFLATE-based
|
|
|
|
|
compression and decompression. The supported formats are:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item DEFLATE (raw)
|
|
|
|
|
@item zlib (a.k.a. DEFLATE with a zlib wrapper)
|
|
|
|
|
@item gzip (a.k.a. DEFLATE with a gzip wrapper)
|
|
|
|
|
@end enumerate
|
|
|
|
|
")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-09-24 12:48:38 +00:00
|
|
|
|
(define-public tarlz
|
|
|
|
|
(package
|
|
|
|
|
(name "tarlz")
|
2021-07-04 14:17:54 +00:00
|
|
|
|
(version "0.21")
|
2020-09-24 12:48:38 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/lzip/tarlz/"
|
|
|
|
|
"tarlz-" version ".tar.lz"))
|
|
|
|
|
(sha256
|
2021-07-04 14:17:54 +00:00
|
|
|
|
(base32 "1x5dw03lcwfigcv97cg70gkbkfycjmv1012s9lwnl4izvl9235qg"))))
|
2020-09-24 12:48:38 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lzip))
|
2020-09-24 12:48:38 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lzlib))
|
2020-09-24 12:48:38 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/tarlz.html")
|
|
|
|
|
(synopsis "Combination of the tar archiver and the lzip compressor")
|
|
|
|
|
(description
|
|
|
|
|
"Tarlz is a massively parallel (multi-threaded) combined implementation of
|
|
|
|
|
the tar archiver and the lzip compressor. Tarlz creates, lists, and extracts
|
|
|
|
|
archives in a simplified and safer variant of the POSIX pax format compressed
|
|
|
|
|
with lzip, keeping the alignment between tar members and lzip members. The
|
|
|
|
|
resulting multimember tar.lz archive is fully backward compatible with standard
|
|
|
|
|
tar tools like GNU tar, which treat it like any other tar.lz archive. Tarlz
|
|
|
|
|
can append files to the end of such compressed archives.")
|
|
|
|
|
(license license:gpl2+)))
|
2021-11-05 16:42:05 +00:00
|
|
|
|
|
|
|
|
|
(define-public libcbor
|
|
|
|
|
(package
|
|
|
|
|
(name "libcbor")
|
2022-05-22 00:00:02 +00:00
|
|
|
|
(version "0.9.0")
|
2021-11-05 16:42:05 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/PJK/libcbor")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2022-05-22 00:00:02 +00:00
|
|
|
|
(sha256 (base32 "1n9fx5i81wr9j18bhz74wclfkwqf1k3piq6lzngvkmq04krzi7ss"))))
|
2021-11-05 16:42:05 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(list
|
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DCBOR_CUSTOM_ALLOC=ON"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR=" lib)
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH=" lib)))))
|
|
|
|
|
(synopsis "The C library for parsing and generating CBOR")
|
|
|
|
|
(description
|
2022-05-22 00:00:00 +00:00
|
|
|
|
"@acronym{CBOR, The Concise Binary Object Representation} is a data format
|
|
|
|
|
whose design goals include the possibility of extremely small code size, fairly
|
2021-11-05 16:42:05 +00:00
|
|
|
|
small message size, and extensibility without the need for version
|
|
|
|
|
negotiation. These design goals make it different from earlier binary
|
|
|
|
|
serializations such as ASN.1 and MessagePack.")
|
|
|
|
|
(license license:expat)
|
|
|
|
|
(home-page "https://github.com/PJK/libcbor")))
|
2022-01-04 23:21:10 +00:00
|
|
|
|
|
|
|
|
|
(define-public fcrackzip
|
|
|
|
|
(package
|
|
|
|
|
(name "fcrackzip")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://oldhome.schmorp.de/marc/data/"
|
|
|
|
|
"fcrackzip-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
'(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-reference-to-unzip
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "main.c"
|
|
|
|
|
(("\"unzip")
|
|
|
|
|
(string-append "\"" (which "unzip")))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list perl unzip))
|
|
|
|
|
(home-page "http://oldhome.schmorp.de/marc/fcrackzip.html")
|
|
|
|
|
(synopsis "Zip password cracker")
|
|
|
|
|
(description "Fcrackzip is a Zip file password cracker.")
|
|
|
|
|
(license license:gpl2+)))
|