Commit Graph

588 Commits

Author SHA1 Message Date
Marius Bakke
3c6cbd866c
gnu: snappy: Cross-compile.
* gnu/packages/compression.scm (snappy)[arguments]: Adjust
unpack-third_party-subprojects phase to look up inputs from NATIVE-INPUTS in
addition to INPUTS.
2021-11-06 17:41:41 +01:00
Ludovic Courtès
2dffe4767c
gnu: Use 'search-input-file' some more.
This patch replaces occurrences of:

  (string-append (assoc-ref %build-inputs "…") "/…")

by:

  (search-input-file %build-inputs "/…")

* doc/guix.texi (Miscellaneous Services): Use 'search-input-file' in R
Shiny example.
* gnu/packages/admin.scm (screenfetch): Use 'search-input-file'.
(ufetch): Likewise.
(hosts): Likewise.
* gnu/packages/backup.scm (dirvish): Likewise.
* gnu/packages/code.scm (colormake): Likewise.
* gnu/packages/compression.scm (makeself-safeextract): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/education.scm (snap): Likewise.
(omnitux): Likewise.
* gnu/packages/emacs-xyz.scm (epipe): Likewise.
* gnu/packages/games.scm (openttd-opensfx): Likewise.
(openttd-openmsx): Likewise.
(openrct2-title-sequences):  Likewise.
(openrct2-objects):  Likewise.
(mrrescue):  Likewise.
(0ad-data):  Likewise.
(xonotic-data):  Likewise.
(drascula):  Likewise.
(make-lure-package):  Likewise.
(make-queen-package):  Likewise.
(sky):  Likewise.
* gnu/packages/gnome.scm (network-manager): Likewise.
* gnu/packages/gnuzilla.scm (icedove): Likewise.
* gnu/packages/guile-xyz.scm (guile-shapefile): Likewise.
* gnu/packages/hurd.scm (netdde): Likewise.
* gnu/packages/javascript.scm (js-context-menu): Likewise.
(js-commander): Likewise.
(js-xmldom-sre): Likewise.
* gnu/packages/kde-frameworks.scm (krunner): Likewise.
* gnu/packages/kodi.scm (kodi-cli): Likewise.
* gnu/packages/libreoffice.scm (hunspell-dict-pl): Likewise.
* gnu/packages/linux.scm (e2fsck/static): Likewise.
* gnu/packages/markup.scm (markdown): Likewise.
* gnu/packages/maths.scm (hdf-java): Likewise.
* gnu/packages/multiprecision.scm (libtomcrypt): Likewise.
* gnu/packages/networking.scm (batctl): Likewise.
* gnu/packages/python-xyz.scm (python-pymediainfo): Likewise.
* gnu/packages/shells.scm (fish-foreign-env): Likewise.
* gnu/packages/tex.scm (texlive-fonts-iwona): Likewise.
* gnu/packages/upnp.scm (miniupnpc): Likewise.
* gnu/packages/version-control.scm (git-annex-remote-rclone): Likewise.
* gnu/packages/virtualization.scm (qemu): Likewise.
* gnu/packages/web.scm (icedtea-web): Likewise.
* gnu/packages/wm.scm (stumpish): Likewise.
2021-10-23 23:05:21 +02:00
Marius Bakke
0f77e50139
Merge branch 'master' into core-updates-frozen 2021-10-14 00:01:12 +02:00
Tobias Geerinckx-Rice
c181e83fba
gnu: Remove duplicate python-google-brotli package.
* gnu/packages/python-compression.scm (python-brotli):
Delete duplicate variable.
* gnu/packages/compression.scm (python-google-brotli):
Redefine as a deprecated-package, with…
(python-brotli): …as the canonical variable.
* gnu/packages/fonts.scm (font-meera-inimai)[native-inputs]:
Adjust accordingly.
2021-10-13 01:20:20 +02:00
Tobias Geerinckx-Rice
28b5ef1159
gnu: Rename google-brotli back to brotli.
Sorry for the noise, but good riddance.  Our nonstandard name for this
package has caused confusion since it was added.  For example, the
duplicate python-brotli and python-google-brotli packages added later,
with the latter name making even less sense.

The Python packages will be fixed in the next commit.

* gnu/packages/compression.scm (google-brotli): Redefine as a
deprecated-package, with…
(brotli): …restored to canonical status.
(python-google-brotli)[inherit]: Adjust accordingly.
* gnu/packages/databases.scm (apache-arrow)[inputs]: Adjust accordingly.
* gnu/packages/fontutils.scm (woff2)[inputs]: Likewise.
* gnu/packages/gnome.scm (libsoup)[propagated-inputs]: Likewise.
* gnu/packages/networking (wireshark)[inputs]: Likewise.
* gnu/packages/node.scm (node-lts)[arguments, native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-imagecodecs)[inputs]: Likewise.
2021-10-13 01:20:19 +02:00
Mathieu Othacehe
a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Tobias Geerinckx-Rice
8452772433
gnu: quazip: Update to 1.1.
* gnu/packages/compression.scm (quazip): Redefine as an heir to the…
(quazip-0): …new name of the previous package definition.
Adjust all packages with quazip as input to use quazip-0.
2021-10-06 01:44:56 +02:00
Tobias Geerinckx-Rice
766b779404
gnu: ncompress: Cross-compile.
* gnu/packages/compression.scm (ncompress)[arguments]: Use CC-FOR-TARGET.
2021-10-04 16:01:18 +02:00
Tobias Geerinckx-Rice
09c3d1c1ff
gnu: ncompress: Update to 5.0.
* gnu/packages/compression.scm (ncompress): Update to 5.0.
2021-10-04 16:01:17 +02:00
Tobias Geerinckx-Rice
d68898d1db
gnu: squashfs-tools-ng: Update to 1.1.3.
* gnu/packages/compression.scm (squashfs-tools-ng): Update to 1.1.3.
2021-10-03 19:23:49 +02:00
Ludovic Courtès
d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Ricardo Wurmus
f9e5d04fc2
gnu: Add libdeflate.
* gnu/packages/compression.scm (libdeflate): New variable.
2021-09-06 14:48:23 +02:00
Marius Bakke
c4133c43c7
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/algebra.scm
	gnu/packages/games.scm
	gnu/packages/golang.scm
	gnu/packages/kerberos.scm
	gnu/packages/mail.scm
	gnu/packages/python.scm
	gnu/packages/ruby.scm
	gnu/packages/scheme.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
2021-08-12 00:30:27 +02:00
Efraim Flashner
543aab8992
gnu: p7zip: Remove input labels.
* gnu/packages/compression.scm (p7zip)[native-inputs]: Rewrite using
target macros and remove labels.
2021-08-08 10:58:47 +03:00
Efraim Flashner
86fd77476d
gnu: p7zip: Adjust custom configure phase.
* gnu/packages/compression.scm (p7zip)[arguments]: Use new target macros
to simplify custom 'configure phase.
2021-08-08 10:57:27 +03:00
Efraim Flashner
de0954d18c
gnu: p7zip: Honor #:tests? flag.
* gnu/packages/compression.scm (p7zip)[arguments]: Only run test suite
when #:tests? is true.
2021-08-08 10:46:44 +03:00
Efraim Flashner
fcd88262df
gnu: p7zip: Fix building with gcc-10.
* gnu/packages/compresson.scm (p7zip)[source]: Adjust snippet to fix
compilation error using gcc-10.
2021-08-08 10:44:00 +03:00
Marius Bakke
d2e102d4e4
Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Maxim Cournoyer
84fa28234f
gnu: Add zchunk.
* gnu/packages/compression.scm (zchunk): New variable.
2021-07-29 22:03:33 -04:00
Maxim Cournoyer
448de3966e
gnu: zchunk: Patch references to the 'zstd' command line tool.
Fixes https://issues.guix.gnu.org/49795.

* gnu/packages/compression.scm (zchunk)
[phases]{patch-paths}: New phase.
[inputs]: Add zstd.
[propagated-inputs]: Relabel the zstd "lib" as "zstd:lib".

Reported-by: Christopher Howard <christopher@librehacker.com>
2021-08-03 14:32:01 -04:00
Ludovic Courtès
425ccde6ae
gnu: Use 'search-input-directory' when looking for C/C++ library headers.
* gnu/packages/arcan.scm (arcan)[arguments]: Use
'search-input-directory' for "include/libdrm" and "include/apr-1".
* gnu/packages/bioinformatics.scm (sailfish): Likewise for jellyfish.
* gnu/packages/boost.scm (boost-for-irods): Likewise for libcxx headers.
* gnu/packages/cedille.scm (cedille): Likewise for IAL headers.
* gnu/packages/compression.scm (snappy-with-clang6): Likewise for libcxx
headers.
* gnu/packages/cups.scm (hplip): Likewise for libusb headers.
* gnu/packages/emulators.scm (pcsxr): Likewise for libcdio headers.
* gnu/packages/game-development.scm (python2-renpy): Likewise for
fribidi headers.
* gnu/packages/games.scm (pokerth): Likewise for libircclient.
* gnu/packages/guile-xyz.scm (guile-persist): Likewise for Guile.
* gnu/packages/hurd.scm (hurd): Likewise for libtirpc.
* gnu/packages/irods.scm (irods, irods-client-icommands): Likewise for
libcxx, catch2, and nlohmann-json-cpp.
* gnu/packages/julia.scm (julia): Use 'search-input-file' for libuv's
errno.h.
* gnu/packages/kde-pim.scm (kdepim-runtime): Use
'search-input-directory' for "include/KF5".
(kmessagelib): Likewise.
* gnu/packages/kde.scm (kdeconnect): Likewise.
* gnu/packages/llvm.scm (clang-runtime-3.5): Likewise for libtirpc.
* gnu/packages/mpi.scm (openmpi): Likewise for "include/infiniband".
* gnu/packages/pumpio.scm (pumpa): Use 'search-input-file' for "tidy.h"
and "aspell.h".
* gnu/packages/radio.scm (dream): Use 'search-input-file' and
'search-input-directory' for pulseaudio, sndfile, etc.
* gnu/packages/selinux.scm (policycoreutils): Likewise for PAM and
libaudit.
* gnu/packages/serialization.scm (avro-cpp-1.9-for-irods): Likewise for
libcxx.
* gnu/packages/sync.scm (nextcloud-client): Likewise for "include/KF5".
* gnu/packages/video.scm (mkvtoolnix): Likewise for "include/gtest".
(libopenshot): Likewise for "include/UnitTest++".
* gnu/packages/virtualization.scm (criu): Likewise for libnl3 and for
protobuf file.
2021-07-24 16:23:23 +02:00
Ludovic Courtès
6ea7297ea4
gnu: Use 'search-input-directory' when looking for tzdata.
* gnu/packages/backup.scm (duplicity)[arguments]: Use
'search-input-directory' for "share/zoneinfo".
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Likewise.
(pigx-bsseq): Likewise.
* gnu/packages/calcurse.scm (calcurse): Likewise.
* gnu/packages/calendar.scm (date): Likewise.
* gnu/packages/compression.scm (lhasa): Likewise.
* gnu/packages/cran.scm (r-rstan): Likewise.
* gnu/packages/django.scm (python-django): Likewise.
* gnu/packages/dlang.scm (ldc-bootstrap): Likewise.
* gnu/packages/finance.scm (ledger): Likewise.
* gnu/packages/glib.scm (glib): Likewise.
* gnu/packages/golang.scm (go-1.4): Likewise.
(go-1.14): Likewise.
* gnu/packages/kde-frameworks.scm (kcalendarcore): Likewise.
(kdelibs4support): Likewise.
* gnu/packages/kodi.scm (kodi): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/perl.scm (perl-libtime-parsedate): Likewise.
* gnu/packages/python-xyz.scm (python-robotframework): Likewise.
(python-dparse): Likewise.
* gnu/packages/rrdtool.scm (rrdtool): Likewise.
* gnu/packages/statistics.scm (r-with-tests): Likewise.
* gnu/packages/vim.scm (vim): Likewise.
* gnu/packages/virtualization.scm (ganeti): Likewise.
* gnu/packages/vpn.scm (strongswan): Likewise.
* gnu/packages/xfce.scm (xfce4-panel): Likewise.
* gnu/packages/mate.scm (libmateweather): Use 'search-input-file' for
"share/zoneinfo/zone.tab".
2021-07-24 16:23:22 +02:00
Ludovic Courtès
0e47fcced4
Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
Tobias Geerinckx-Rice
a296b9e0fe
gnu: tarlz: Update to 0.21.
* gnu/packages/compression.scm (tarlz): Update to 0.21.
2021-07-04 16:29:16 +02:00
Tobias Geerinckx-Rice
5b35276140
gnu: libzip: Support Zstandard.
* gnu/packages/compression.scm (libzip)[native-inputs]: Add pkg-config.
[inputs]: Add zstd:lib.
2021-07-01 20:42:13 +02:00
Tobias Geerinckx-Rice
85c54e0e7c
gnu: libzip: Update to 1.8.0.
* gnu/packages/compression.scm (libzip): Update to 1.8.0.
2021-07-01 20:42:13 +02:00
Tobias Geerinckx-Rice
460392d1f0
gnu: Add squashfs-tools-ng.
* gnu/packages/compression.scm (squashfs-tools-ng): New public variable.
2021-07-01 04:27:17 +02:00
Tobias Geerinckx-Rice
a7e0266c9b
gnu: squashfs-tools: Update description.
* gnu/packages/compression.scm (squashfs-tools)[description]:
Don't mention zlib; compact discs; youth.
2021-07-01 04:27:12 +02:00
Tobias Geerinckx-Rice
8339c70b96
gnu: squashfs-tools: Update to 4.4-git.1.
* gnu/packages/compression.scm (squashfs-tools): Update to 4.4-git.1.
[source]: Remove obsolete snippet.
2021-07-01 03:39:44 +02:00
Marius Bakke
6f9a80b331
Merge branch 'master' into core-updates
Note: this merge actually changes the 'curl' and 'python-attrs' derivations,
as part of solving caf4a7a277 and
12964df69a respectively.

4604d43c0e (gnu: gnutls@3.6.16: Fix cross-compilation.) was ignored because it
cannot currently be tested.

 Conflicts:
	gnu/local.mk
	gnu/packages/aidc.scm
	gnu/packages/boost.scm
	gnu/packages/curl.scm
	gnu/packages/nettle.scm
	gnu/packages/networking.scm
	gnu/packages/python-xyz.scm
	gnu/packages/tls.scm
2021-06-19 17:38:47 +02:00
Ricardo Wurmus
a94aef3f8d
gnu: Add snappy-with-clang6.
* gnu/packages/compression.scm (snappy-with-clang6): New variable.
2021-06-14 16:05:07 +02:00
Maxim Cournoyer
ea0a51071e
gnu: Rename qtbase to qtbase-5.
This change was automated via the following command:

$ git ls-files | xargs sed -i 's/,qtbase)/,qtbase-5)/g'
$ git ls-files | xargs sed -i 's/inherit qtbase)/inherit qtbase-5)/g'
$ git ls-files | xargs sed -i 's/package-version qtbase)/package-version qtbase-5)/g'
$ git checkout etc    # to clear some spurious changes

This is done so the qtbase package can be upgraded to version 6 in the
following commit.
2021-06-14 00:24:42 -04:00
Tobias Geerinckx-Rice
5372f7dd5a
gnu: squashfs-tools: Install some documentation.
* gnu/packages/compression.scm (squashfs-tools)[arguments]: Add a new
'install-documentation phase.  Remove an obsolete #t whilst here.
2021-06-11 00:37:14 +02:00
Tobias Geerinckx-Rice
30508a4f74
gnu: squashfs-tools: Support Zstandard compression.
* gnu/packages/compression.scm (squashfs-tools)[arguments]:
Add "ZSTD_SUPPORT=1" to #:make-flags.
[inputs]: Add zstd:lib.
2021-06-11 00:37:13 +02:00
Tobias Geerinckx-Rice
d037bf0294
gnu: squashfs-tools: Build from upstream git.
* gnu/packages/compression.scm (squashfs-tools)[source]: Use GIT-FETCH
and GIT-FILE-NAME.
2021-06-11 00:37:13 +02:00
Marius Bakke
8d59c262ad
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/algebra.scm
	gnu/packages/bioinformatics.scm
	gnu/packages/curl.scm
	gnu/packages/docbook.scm
	gnu/packages/emacs-xyz.scm
	gnu/packages/maths.scm
	gnu/packages/plotutils.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/radio.scm
	gnu/packages/readline.scm
	gnu/packages/tls.scm
	gnu/packages/xml.scm
	gnu/packages/xorg.scm
2021-06-06 21:16:32 +02:00
Tobias Geerinckx-Rice
38c892f605
gnu: libjcat: Update to 0.1.8.
* gnu/packages/compression.scm (libjcat): Update to 0.1.8.
2021-05-29 16:09:49 +02:00
Marius Bakke
9351b2a481
gnu: squashfs-tools: Prepare for GCC 10.
* gnu/packages/compression.scm (squashfs-tools)[source](modules, snippet): New
fields.
2021-05-23 17:49:56 +02:00
Marius Bakke
4ea6852c5f
Merge branch 'master' into core-updates 2021-05-22 17:21:57 +02:00
Marius Bakke
b4bf509785
gnu: zstd: Update to 1.5.0.
* gnu/packages/compression.scm (zstd): Update to 1.5.0.
[arguments]: Remove obsolete phase.
2021-05-22 17:08:13 +02:00
Marius Bakke
de47177400
gnu: sharutils: 'which' is a native input.
* gnu/packages/compression.scm (sharutils)[inputs]: Rename to ...
[native-inputs]: ... this.
2021-05-22 16:04:58 +02:00
Marius Bakke
9fe4e45be7
gnu: sharutils: Prepare for GCC 10.
* gnu/packages/compression.scm (sharutils)[source](snippet): Add substitution
to avoid duplicate header definitions.
[arguments]: Remove trailing #t.
2021-05-22 16:04:58 +02:00
Ludovic Courtès
25487c3fe6
Merge branch 'master' into core-updates 2021-05-15 22:55:24 +02:00
Tobias Geerinckx-Rice
bd1c5fe46b
gnu: snappy: Update to 1.1.9.
* gnu/packages/compression.scm (snappy): Update to 1.1.9.
[source]: Add another patch.
[arguments]: Add new #:configure-flags and an
'unpack-third_party-subprojects phase.
[native-inputs]: Add the sources for benchmark and googletests.
* gnu/packages/patches/snappy-add-inline-for-GCC.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-05-13 00:32:21 +02:00
Tobias Geerinckx-Rice
f5a0c6baba
gnu: libjcat: Update to 0.1.7.
* gnu/packages/compression.scm (libjcat): Update to 0.1.7.
2021-05-13 00:32:20 +02:00
Marius Bakke
b7a9258941
gnu: unzip: Incorporate grafted changes.
* gnu/packages/compression.scm (unzip)[replacement]: Remove.
[source](patches): Add patches from UNZIP/FIXED.
(unzip/fixed): Remove variable.
2021-05-09 23:12:48 +02:00
Efraim Flashner
7fd5175693
gnu: zstd: Adjust test suite for 32-bit architectures.
* gnu/packages/compression.scm (zstd)[arguments]: Adjust
'fix-tests-32bit phase to work better on low RAM machines.
2021-04-22 11:07:52 +03:00
Efraim Flashner
fcc39864db
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/boost.scm
	gnu/packages/chez.scm
	gnu/packages/compression.scm
	gnu/packages/crates-io.scm
	gnu/packages/docbook.scm
	gnu/packages/engineering.scm
	gnu/packages/gcc.scm
	gnu/packages/gl.scm
	gnu/packages/gtk.scm
	gnu/packages/nettle.scm
	gnu/packages/python-check.scm
	gnu/packages/python-xyz.scm
	gnu/packages/radio.scm
	gnu/packages/rust.scm
	gnu/packages/sqlite.scm
	guix/build-system/node.scm
2021-04-16 14:39:48 +03:00
Efraim Flashner
9098745b18
gnu: zziplib/fixed: Add missing library symlinks.
Fixes <https://bugs.gnu.org/47212>, <https://bugs.gnu.org/47448>,
<https://bugs.gnu.org/47492>.

* gnu/packages/compression.scm (zziplib/fixed)[arguments]: Add new phase
to create missing library symlinks.
2021-03-30 11:04:33 +03:00
Léo Le Bouter
9feef62b73
gnu: zstd: Downgrade to 1.4.4 and make security graft saner.
* gnu/packages/patches/zstd-CVE-2021-24031_CVE-2021-24032.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/compression.scm (zstd-1.4.9): Remove.
(zstd/fixed): New variable. Apply patch.
(zstd)[replacement]: Graft with zstd/fixed.
2021-03-30 02:21:25 +02:00