Commit graph

3180 commits

Author SHA1 Message Date
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 db8e8eb171
gnu: python-testtools: Update to 2.5.0.
* gnu/packages/check.scm (python-testtools): Update to 2.5.0.
[propagated-inputs]: Remove python-mimeparse, python-pbr, python-six,
python-traceback2, python-unittest2.
(python-testtools-bootstrap)[source]: Remove patch.
* gnu/packages/patches/python-testtools.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-08-11 16:16:51 +03:00
Efraim Flashner 02fbd89f2b
gnu: python-fixtures: Fix building.
* gnu/packages/check.scm (python-fixtures-bootstrap)[source]: Add patch.
* gnu/packages/patches/python-fixtures-remove-monkeypatch-test.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-08-11 16:13:56 +03:00
Efraim Flashner 23b9dadc1d
gnu: python-docopt: Fix test suite for pytest-6.
* gnu/packages/python-xyz.scm (python-docopt)[source]: Add patch.
* gnu/packages/patches/python-docopt-pytest6-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-08-09 10:00:38 +03:00
Leo Famulari f4f4037fcd
gnu: vigra: Update to 1.11.1-0.9b514fa.
* gnu/packages/image.scm (vigra): Update to 1.11.1-0.9b514fa.
[source]: Use git-fetch. Remove obsolete patch.
* gnu/packages/patches/vigra-python-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-07-27 12:34:57 -04:00
Efraim Flashner 086183598e
gnu: gnupg-1: Fix build with gcc-10.
* gnu/packages/gnupg.scm (gnupg-1)[source]: Add patch.
* gnu/packages/patches/gnupg-1-build-with-gcc10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-08-08 13:51:11 +03:00
Ludovic Courtès 058b339d31
gnu: ocaml@4.09: Fix link failure.
* gnu/packages/patches/ocaml-4.09-multiple-definitions.patch: New file.
* gnu/packages/ocaml.scm (ocaml-4.09)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-08-05 15:46:46 +02:00
Ludovic Courtès 1d580f47a9
gnu: ocaml@4.07: Fix link failure.
The link failure shows up when using ld from GNU Binutils 2.37, and not
with 2.34.

* gnu/packages/patches/ocaml-multiple-definitions.patch: New file.
* gnu/packages/ocaml.scm (ocaml-4.07-boot)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-08-05 15:46:46 +02:00
Ludovic Courtès 1685128e6e
gnu: mesa-opencl, mesa-opencl-icd: Build all the LLVM targets again.
Reported by John Kehayias <john.kehayias@protonmail.com>
in <https://issues.guix.gnu.org/49794>.

* gnu/packages/patches/mesa-opencl-all-targets.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gl.scm (mesa-opencl)[source]: Use it.
2021-08-03 18:18:45 +02:00
Marius Bakke d2e102d4e4
Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Ludovic Courtès 0a1a1ad213
gnu: glib-networking: Skip failing test.
* gnu/packages/patches/glib-networking-gnutls-binding.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (glib-networking)[source]: Use it.
2021-07-31 23:42:21 +02:00
Ludovic Courtès 69dde4e354
gnu: gnutls: Patch the Guile bindings for EINTR/EAGAIN handling.
* gnu/packages/patches/gnutls-guile-eintr-eagain.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/tls.scm (gnutls)[source]: Use it.
2021-07-31 15:44:58 +02:00
Marius Bakke b029be2ee0
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/cmake.scm
	gnu/packages/curl.scm
	gnu/packages/emacs-xyz.scm
	gnu/packages/gpodder.scm
	gnu/packages/music.scm
	gnu/packages/patches/glibc-bootstrap-system.patch
	gnu/packages/python-xyz.scm
	gnu/packages/shells.scm
	gnu/packages/statistics.scm
2021-07-29 22:34:57 +02:00
Efraim Flashner 7975a64b6d
gnu: julia-tracker: Patch for julia-1.6.
* gnu/packages/julia-xyz.scm (julia-tracker)[source]: Add patch.
* gnu/packages/patches/julia-tracker-16-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-07-29 14:43:27 +03:00
Philip McGrath 65bad4d036
gnu: racket: Unbundle racket-minimal.
This change takes advantage of improved support for layered
and tethered installations in Racket 8.2.

* gnu/packages/racket.scm (extend-layer): New private variable.
This is a script for configuring a new config-tethered layer
chaining to an existing Racket installation.
* gnu/packages/racket.scm (racket)[source](snippet): Unbundle
`racket-minimal`.
[inputs]: Remove inputs that properly belong to `racket-minimal`.
[native-inputs]: Add `racket-minimal` and `extend-layer`.
[arguments]: Stop inheriting from `racket-minimal`. Add phase
'unpack-packages to move the sources and links file into place.
Replace 'configure phase using `extend-layer`.
Replace 'build phase using `raco setup`.
Delete 'install phase.
* gnu/packages/patches/racket-sh-via-rktio.patch: Rename to ...
* gnu/packages/patches/racket-minimal-sh-via-rktio.patch: ... this
file to placate `guix lint`.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/racket.scm (racket-minimal)[source]: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-31 01:03:25 +02:00
Ludovic Courtès 630c39d8df
gnu: onnx: Change source to 'git-fetch'.
* gnu/packages/machine-learning.scm (onnx)[source]: Change to
'git-fetch'.  Add "onnx-skip-model-downloads.patch".
[arguments]: Add 'make-test-directory-writable' phase.
* gnu/packages/patches/onnx-skip-model-downloads.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-31 01:03:24 +02:00
Ludovic Courtès fa2d94b5e3
gnu: python-onnx: Rename to "onnx".
* gnu/packages/machine-learning.scm (python-onnx): Rename to...
(onnx): ... this, and change 'name' field accordingly.
(python-onnx): New variable.
* gnu/packages/patches/python-onnx-shared-libraries.patch: Rename to...
* gnu/packages/patches/onnx-shared-libraries.patch: ... this.
* gnu/packages/patches/python-onnx-use-system-googletest.patch: Rename
to...
* gnu/packages/patches/onnx-use-system-googletest.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-31 01:03:24 +02:00
Ludovic Courtès 2b55f914c3
gnu: python-onnx: Install libonnx.so and libonnx_proto.so.
* gnu/packages/patches/python-onnx-shared-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/machine-learning.scm (python-onnx)[source]: Use it.
[arguments]: New field.
2021-07-31 01:03:23 +02:00
Maxim Cournoyer 4613a9948a
gnu: Add drpm.
* gnu/packages/rpm.scm: Add file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
2021-07-29 22:03:34 -04:00
Ludovic Courtès b402a3ec86
gnu: Add XNNPACK.
* gnu/packages/machine-learning.scm (xnnpack): New variable.
* gnu/packages/patches/xnnpack-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29 21:54:55 +02:00
Ludovic Courtès 1daa662722
gnu: Add FP16.
* gnu/packages/patches/fp16-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (fp16): New variable.
2021-07-29 21:54:55 +02:00
Ludovic Courtès 4c5ad82780
gnu: Add cpuinfo.
* gnu/packages/parallel.scm (cpuinfo): New variable.
* gnu/packages/patches/cpuinfo-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29 21:54:55 +02:00
Ludovic Courtès 18d04fef0f
gnu: Add pthreadpool.
* gnu/packages/parallel.scm (pthreadpool): New variable.
* gnu/packages/patches/pthreadpool-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29 21:54:54 +02:00
Ludovic Courtès a9bc8a25eb
gnu: Add FXDiv.
* gnu/packages/maths.scm (fxdiv): New variable.
* gnu/packages/patches/fxdiv-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29 21:54:54 +02:00
Ludovic Courtès 168d107abf
gnu: rocm-opencl-runtime: Shorten patch file name.
This appeases 'guix lint -c patch-file-names'.

* gnu/packages/patches/rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch:
Rename to...
* gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch: ... this.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Likewise.
2021-08-11 16:35:28 +02:00
Lars-Dominik Braun c0f10a5dd4
gnu: Add rocm-opencl-runtime.
* gnu/packages/rocm.scm (rocm-opencl-runtime): New variable.
* gnu/packages/patches/rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun 9c083e7063
gnu: Add rocm-comgr.
* gnu/packages/rocm.scm (rocm-comgr): New variable.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun c5ee2cf72a
gnu: Add llvm-for-rocm.
* gnu/packages/rocm.scm (llvm-for-rocm): New variable.
* gnu/packages/patches/llvm-roc-3.0.0-add_libraries.patch,
gnu/packages/patches/llvm-roc-4.0.0-remove-isystem-usr-include.patch,
gnu/packages/patches/llvm-roc-4.2.0-add_Object.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-08-08 16:47:55 +02:00
Sarah Morgensen 1273548f4f
gnu: restic: Patch tests for go-1.16.
* gnu/packages/patches/restic-0.9.6-fix-tests-for-go1.15.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/backup.scm (restic): Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-08-05 22:56:49 -04:00
Maxim Cournoyer 49432f6534
gnu: pypy3: Update to 7.3.5.
The patch disabling tests is removed because it only fixes 2 out of 43 test
failures.

* gnu/packages/patches/pypy3-7.3.1-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/python.scm (pypy3): Update to 7.3.5.
[patches]: Remove patch.
2021-08-05 10:29:58 -04:00
Ludovic Courtès dd55ad7ff8
gnu: Add python-pytorch.
* gnu/packages/machine-learning.scm (python-pytorch): New variable.
* gnu/packages/patches/python-pytorch-runpath.patch,
gnu/packages/patches/python-pytorch-system-libraries.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-08-04 17:22:19 +02:00
Dmitry Polyakov 2e0ddc74f6
gnu: Add instead.
* gnu/packages/game-development.scm (instead): New variable.
* gnu/packages/patches/instead-use-games-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
2021-08-04 15:44:09 +02:00
Efraim Flashner f71b381d1f
gnu: samba: Update to 4.13.10.
* gnu/packages/samba.scm (samba): Update to 4.13.10.
[source]: Remove patch.
* gnu/packages/patches/samba-fix-fcntl-hint-detection.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-08-04 16:34:32 +03:00
Maxim Cournoyer 10f554700c
Reinstate "services: Add a service for Jami."
This reverts commit 4673f81793, which reverted
commit 69dcc24c9f with the fix detailed below.

Thanks to Christopher Baines for reporting the failure and proposing a fix.

* guix/self.scm (compiled-guix) [*system-test-modules*]: Add the test data
files via the 'extra-files' argument.
* gnu/local.mk (dist_patch_DATA): Move the tests/data/jami-dummy-account.dat
file to...
* gnu/local.mk (MODULES_NOT_COMPILED): ... here.
2021-08-02 17:23:30 -04:00
Maxim Cournoyer 4673f81793
Revert "services: Add a service for Jami."
This reverts commit 69dcc24c9f.  It broke 'guix
pull'.
2021-08-02 15:48:59 -04:00
Maxim Cournoyer 69dcc24c9f
services: Add a service for Jami.
* gnu/services/telephony.scm (string-or-computed-file?)
(string-list?, account-fingerprint-list?): New procedures.
(maybe-string-list, maybe-account-fingerprint-list)
(maybe-boolean, maybe-string, jami-account-list): New configuration field
types.
(serialize-string-list, serialize-boolean, serialize-string)
(jami-account, jami-account->alist, jami-configuration)
(jami-account-list?, jami-account-list-maybe): New procedures.
(%jami-accounts): New variable.
(jami-configuration->command-line-arguments): New procedure.
(jami-dbus-session-activation, jami-shepherd-services): New procedures.
(jami-service-type): New variable.
* gnu/build/jami-service.scm: New file.
* gnu/tests/data/jami-dummy-account.dat: Likewise.
* gnu/tests/telephony.scm: Likewise.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register them.
* Makefile.am (SCM_TESTS): Register the test file.
(dist_patch_DATA): Register the new data file.
* doc/guix.texi (Telephony Services): Document it.
2021-08-02 15:15:02 -04:00
Ludovic Courtès 6da2b35b60
gnu: Add onnx-optimizer.
* gnu/packages/machine-learning.scm (onnx-optimizer): New variable.
* gnu/packages/patches/onnx-optimizer-system-library.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-08-02 18:11:33 +02:00
Pierre Langlois eb46c6c5c8
gnu: u-boot: Update to 2021.07.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (%u-boot-sifive-prevent-relocating-initrd-fdt):
New variable.
(u-boot): Update to 2021.07.
[native-inputs]: Add python-pycryptodomex.
(u-boot-2021.07): Delete variable.
(u-boot-tools)[arguments]: Adapt 'patch phase, disable failing test_spl test.
(u-boot-sifive-unmatched): Use default u-boot package.
(u-boot-pinebook-pro-rk3328): Use default u-boot package.
2021-08-02 13:23:32 +01:00
Wiktor Żelazny 769326cf18
gnu: Add marble-qt.
* gnu/packages/patches/marble-qt-add-qt-headers.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/geo.scm (marble-qt): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-25 13:51:45 +02:00
Tobias Geerinckx-Rice c7b51b799d
gnu: esmtp: Fix build with libesmtp >= 1.1.0.
* gnu/packages/mail.scm (esmtp)[source]: Add patch.
* gnu/packages/patches/esmtp-add-lesmtp.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-24 23:59:07 +02:00
Ludovic Courtès 1feca4be52
gnu: glibc: Remove versions 2.27 and 2.28.
* gnu/packages/base.scm (glibc-2.28, glibc-2.27): Remove.
* gnu/packages/patches/glibc-2.27-git-fixes.patch,
gnu/packages/patches/glibc-2.27-supported-locales.patch,
gnu/packages/patches/glibc-2.28-git-fixes.patch,
gnu/packages/patches/glibc-2.28-supported-locales.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-24 16:23:24 +02:00
Marius Bakke abe5ffbbfe
gnu: libxml2: Update to 2.9.12.
* gnu/packages/patches/libxml2-parent-pointers.patch,
gnu/packages/patches/libxml2-terminating-newline.patch,
gnu/packages/patches/libxml2-xpath-recursion-limit.patch: New files.
* gnu/packages/patches/python-libxml2-python39-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/xml.scm (libxml2): Update to 2.9.12.
(python-lxml)[source](modules, snippet): New fields.
2021-07-23 17:26:46 +02:00
Marius Bakke 2fa26446a1
gnu: binutils: Update to 2.37.
* gnu/packages/patches/binutils-loongson-workaround.patch: Adjust for upstream
changes.
* gnu/packages/patches/binutils-libiberty-endianness-bug.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (binutils): Update to 2.37.
[source](patches): Remove obsolete patch.
2021-07-23 17:26:45 +02:00
Marius Bakke 2a592d43ef
gnu: Perl: Update cross-compilation code.
* gnu/packages/perl.scm (perl)[native-inputs]: Update "perl-cross" to 1.3.6.
[arguments]: Remove obsolete patch.
* gnu/packages/patches/perl-cross.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-23 17:26:44 +02:00
宋文武 89ea0918a4
gnu: Add drawterm.
* gnu/packages/plan9.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2021-07-22 19:52:53 +08:00
Chris Marusich 93a5e89008
gnu: glibc-2.31: Restore patches.
Commit 87961fc965 inadvertently modified the
patch set for glibc-2.31.  This change restores the original patch set.

Fixes: <https://bugs.gnu.org/49516>.

* gnu/packages/base.scm (glibc-2.31) [source]: Use the same patches as glibc,
but replace glibc-hurd-clock_gettime_monotonic.patch with
glibc-2.31-hurd-clock_gettime_monotonic.patch, and add
glibc-hurd-signal-sa-siginfo.patch.
* gnu/packages/patches/glibc-2.31-hurd-clock_gettime_monotonic.patch: Add it.
* gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: Add it.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-21 16:02:42 -07:00
Nathan Benedetto Proença c3e33474b9
gnu: biber: Update to 2.16.
* gnu/packages/tex.scm (biber): Update to 2.16.
[source]: Remove 'patches'.
[inputs]: Add 'perl-io-string', 'perl-parse-recdescent', and
'perl-unicode-collate' (upstream appears to have fixed the issue
initially mentioned as a comment: recent issue was closed after
telling user to use perl-unicode-collate 1.29, which is the one
available; see <https://github.com/plk/biber/issues/378>.)
* gnu/packages/patches/biber-fix-encoding-write.patch,
gnu/packages/patches/biber-sortinithash.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:59:29 +02:00
Charles d16148fcfd
gnu: Add node-uglify-js.
* gnu/packages/uglifyjs.scm (node-uglify-js, uglifyjs): New variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-19 14:43:29 +03:00
Ludovic Courtès 0e47fcced4
Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
Justin Veilleux 9cb35c0216
gnu: Add transmission-remote-gtk.
* gnu/packages/bittorrent.scm (transmission-remote-gtk): New variable.
* gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Leo Famulari <leo@famulari.name>
2021-07-16 23:53:46 -04:00