Commit graph

82112 commits

Author SHA1 Message Date
Leo Famulari
fdd2f57359
gnu: mit-krb5: Update to 1.18.4 [fixes CVE-2021-36222].
* gnu/packages/kerberos.scm (mit-krb5)[replacement]: New field.
(mit-krb5-1.18.4): New variable.
2021-07-27 12:34:57 -04:00
Milkey Mouse
1e16e1938c
gnu: python-libusb1: Update to 1.9.3.
* gnu/packages/libusb.scm (python-libusb1): Update to 1.9.3.
[inputs], [propagated-inputs]: Change libusb to a propagated-input.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:20 +02:00
Ivan Gankevich
224093fb85
gnu: Add task-spooler.
* gnu/packages/task-runners.scm (task-spooler): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:20 +02:00
Ivan Gankevich
e6d0264b82
gnu: sendmail: Install executables to $prefix/sbin and $prefix/bin directories.
Currently "sendmail" installs executables to $PREFIX/usr/sbin and
$PREFIX/usr/bin directories. This patch changes them to $PREFIX/sbin and
$PREFIX/bin respectively. Also this patch fixes broken symlinks in
$PREFIX/bin and updates package definitions that use old sendmail paths.

* gnu/packages/mail.scm (sendmail): Set new paths.
 [arguments]<#:phases>{replace-/usr}: Remove /usr prefix.
 [arguments]<#:phases>{post-install}: Fix broken symlinks
 [arguments]<#:phases>{configure}: Set paths without /usr prefix.
* gnu/packages/mail.scm (claws-mail): Use new sendmail paths.
* gnu/packages/version-control.scm (python-git-multimail): Use new
  sendmail paths.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:19 +02:00
Sarah Morgensen
80fc776a61
etc/committer: Pass command-line arguments to main.
* etc/committer.scm.in: Call main with command line arguments.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:19 +02:00
Sarah Morgensen
73177859bc
etc/committer: Support custom commit messages.
Allow custom change commit messages by supplying a commit message and
optionally a changelog message as arguments.

* etc/committer.scm.in (break-string-with-newlines)
(custom-commit-message): New procedures.
(main)[change-commit-message*]: New sub-procedure. Use them.
(main): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:19 +02:00
Ryan Sundberg
75e117bac7
gnu: rocksdb: set TEST_TMPDIR for faster test i/o.
The rocksdb test can take an egregious amount of time on a spinning HDD.
This will inherit guixbuild's /tmp mount for the rocksdb testing
directory.

* gnu/packages/databases.scm (rocksdb)[arguments]: set TEST_TMPDIR for
check phase

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:18 +02:00
Paul A. Patience
06c11434c9
gnu: dealii-openmpi: Add Trilinos dependency.
* gnu/packages/maths.scm (trilinos-for-dealii-openmpi): New variable.
(dealii-openmpi)[propagated-inputs]: Add trilinos-for-dealii-openmpi.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:18 +02:00
Ludovic Courtès
fa81971cba
store: Add 'map/accumulate-builds' cutoff to address pathological cases.
Fixes <https://bugs.gnu.org/49439>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

Previously, a command such as:

  guix environment pigx-scrnaseq

could lead to unbounded memory growth and could even fail to complete
when some items are missing from the store.  This was because
'map/accumulate-builds' callees would keep making .drv build requests
that were turned into <unresolved> nodes; in this case, there are often
many identical build requests.  Stopping accumulation earlier allows us
to unlock the situation by proceeding with the first few build requests
instead of spinning until we've accumulated all the build requests.

* guix/store.scm (map/accumulate-builds): Define 'accumulation-cutoff'.
Use a loop when iterating over LST and maintain a counter of unresolved
nodes met so far; return when the counter exceeds ACCUMULATION-CUTOFF.
2021-08-10 17:32:18 +02:00
Pierre Langlois
b0a6b1f13c
gnu: mu: Update to 1.6.2.
* gnu/packages/mail.scm (mu): Update to 1.6.2.
[inputs]: Use guile-3.0.
[arguments]: Remove autotools substitutions for guile-2.2.  Update
'patch-bin-sh-in-tests phase to new tests.  Do not return #t in the remaining
phases.
2021-08-10 14:48:46 +01:00
Efraim Flashner
1ac96992fb
gnu: gcompris-qt: Switch to qt-build-system.
* gnu/packages/education.scm (gcompris-qt)[build-system]: Switch from
cmake-build-system to qt-build-system.
[arguments]: Remove custom 'wrap-executable phase.
2021-08-10 16:35:23 +03:00
Efraim Flashner
edbf8272c0
gnu: gcompris-qt: Update to 1.1.
* gnu/packages/education.scm (gcompris-qt): Update to 1.1.
2021-08-10 16:32:53 +03:00
Mathieu Othacehe
53a487e871
scripts: publish: Remove leftover comment.
* guix/scripts/publish.scm (render-narinfo/cached): Remove leftover comment.
2021-08-10 12:00:45 +02:00
Mathieu Othacehe
dc8451c1cd
scripts: publish: Remove unused argument. 2021-08-10 11:51:26 +02:00
Mike Rosset
1fa4485fb0
gnu: python-aiorpcx: Update to 0.18.7.
* gnu/packages/python-web.scm (python-aiorpcx): Update to 0.18.7.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-10 10:49:00 +03:00
Xinglu Chen
f4bf6165de
gnu: fetchmail: Update to 6.4.21 [fixes CVE-2021-36386].
* gnu/packages/mail.scm (fetchmail): Update to 6.4.21.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-27 12:34:56 -04:00
Ludovic Courtès
7bd5f72918
inferior: 'cached-channel-instance' no longer calls 'show-what-to-build'.
This allows the user of 'cached-channel-instance' to install the build
handler of its choice.  In particular, it allows "guix time-machine" to
install a build notifier with the right options instead of using the
defaults that 'cached-channel-instance' would pass to
'show-what-to-build*'.

* guix/inferior.scm (cached-channel-instance): Remove call to
'show-what-to-build*'.
(inferior-for-channels): Wrap body in 'with-build-handler'.
* guix/scripts/time-machine.scm (guix-time-machine): Use
'with-build-handler'.
2021-08-09 18:14:37 +02:00
Ludovic Courtès
27f00963d3
self: Use default config variable values for derivations.
The value of %localstatedir, %storedir, and %sysconfdir is known to have
no impact on the compilation of the Guix modules.  Thus, explicitly
build those modules against a (guix config) module that uses all the
default values.  That way, a Guix installation that uses different
config values can still benefit from substitutes.

Reported by Ricardo Wurmus.

* guix/self.scm (%default-config-variables): New variable.
(make-config.scm): Add #:config-variables and honor it.
(compiled-guix)[*core-modules*]: Pass #:config-variables to
'make-config.scm'.
2021-08-09 18:14:33 +02:00
Milkey Mouse
30289f4d46
gnu: electrum: Update to 4.1.5.
* gnu/packages/finance.scm (electrum): Update to 4.1.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-09 10:19:59 +03:00
Efraim Flashner
d7ffc535c5
gnu: python-coveralls: Update to 3.2.0.
* gnu/packages/python-check.scm (python-coveralls): Update to 3.2.0.
2021-08-09 10:12:26 +03:00
Lars-Dominik Braun
0a379de324
gnu: rocminfo: Add description.
* gnu/packages/rocm.scm (rocminfo) [description]: Add it.
2021-08-09 09:09:24 +02:00
Lars-Dominik Braun
db7d197b30
gnu: rocminfo: Static references to lsmod and grep.
Fixes usage in a pure environment.

* gnu/packages/rocm.scm (rocminfo) [arguments]: Add #:phases.
2021-08-09 09:09:22 +02:00
Leo Famulari
f476876e5c
gnu: IlmBase and OpenEXR: Update to 2.5.7.
* gnu/packages/graphics.scm (ilmbase): Update to 2.5.7.
2021-07-27 12:34:57 -04:00
Leo Famulari
94b437c6f4
gnu: dav1d: Update to 0.9.1.
* gnu/packages/video.scm (dav1d): Update to 0.9.1.
2021-07-27 12:34:56 -04:00
Leo Famulari
4d28393f2d
gnu: libaom: Update to 3.1.2.
* gnu/packages/video.scm (libaom): Update to 3.1.2.
2021-07-27 12:34:56 -04:00
Leo Famulari
2bc17f6088
gnu: linux-libre 4.4: Update to 4.4.279.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.279.
(linux-libre-4.4-pristine-source): Update hash.
2021-07-27 12:34:57 -04:00
Leo Famulari
658e173dc9
gnu: linux-libre 4.9: Update to 4.9.279.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.279.
(linux-libre-4.9-pristine-source): Update hash.
2021-07-27 12:34:57 -04:00
Leo Famulari
9dfb17520a
gnu: linux-libre 4.14: Update to 4.14.243.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.243.
(linux-libre-4.14-pristine-source): Update hash.
2021-07-27 12:34:57 -04:00
Leo Famulari
5e21e3947c
gnu: linux-libre 4.19: Update to 4.19.202.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.202.
(linux-libre-4.19-pristine-source): Update hash.
2021-07-27 12:34:57 -04:00
Leo Famulari
7818877d27
gnu: linux-libre 5.4: Update to 5.4.139.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.139.
(linux-libre-5.4-pristine-source): Update hash.
2021-07-27 12:34:56 -04:00
Leo Famulari
51c43e2486
gnu: linux-libre 5.10: Update to 5.10.57.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.57.
(linux-libre-5.10-pristine-source): Update hash.
2021-07-27 12:34:56 -04:00
Leo Famulari
3f09c48452
gnu: linux-libre: Update to 5.13.9.
* gnu/packages/linux.scm (linux-libre-5.13-version): Update to 5.13.9.
(linux-libre-5.13-pristine-source): Update hash.
2021-07-27 12:34:56 -04:00
Xinglu Chen
e83fe81be4
gnu: Add ocamlformat.
* gnu/packages/ocaml.scm (ocamlformat): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:43:24 +02:00
Xinglu Chen
092b65e1aa
gnu: Add ocaml-dune-build-info.
* gnu/packages/ocaml.scm (ocaml-dune-build-info): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:37:34 +02:00
Xinglu Chen
03f05b475b
gnu: Add ocaml-fix.
* gnu/packages/ocaml.scm (ocaml-fix): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:30:56 +02:00
Xinglu Chen
2787bcbd1b
gnu: Add ocaml-uuseg.
* gnu/packages/ocaml.scm (ocaml-uuseg): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:25:59 +02:00
Xinglu Chen
d31434c473
gnu: Add ocaml-uucp.
* gnu/packages/ocaml.scm (ocaml-uucp): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:24:10 +02:00
Xinglu Chen
882976d444
gnu: Add ocaml-uucd.
* gnu/packages/ocaml.scm (ocaml-uucd): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:21:23 +02:00
Xinglu Chen
e473fe1056
gnu: ocaml-bisect-ppx: Update to 2.6.1.
* gnu/packages/ocaml.scm (ocaml-bisect-ppx): Update to 2.6.1.
[propagated-inputs]: Adjust accordingly.
[arguments]: Remove unnecessary phase; disable tests.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-08 22:20:15 +02:00
Lars-Dominik Braun
e81cf4e79a
gnu: darktable: Add compatibility for ROCm.
darktable has a few tools, which can use OpenCL, not just the main
binary. Instead of wrapping it, patch the search path. ROCm also
fails to build OpenCL kernels with just the inline keyword. Apply
upstream fix.

* gnu/packages/photo.scm (darktable) [#:phases]: Add new phases, remove
LD_LIBRARY_PATH from wrap-binary.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
339762235d
gnu: Add rocm-bandwidth-test.
* gnu/packages/rocm.scm (rocm-bandwidth-test): New variable.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
91ce17a532
gnu: Add rocminfo.
* gnu/packages/rocm.scm (rocminfo): New variable.
2021-08-08 16:47:56 +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
7221722dd5
gnu: Add rocclr.
* gnu/packages/rocm.scm (rocclr): New variable.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
a85eff8171
gnu: Add rocr-runtime.
* gnu/packages/rocm.scm (rocr-runtime): New variable.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun
dc5755c411
gnu: Add roct-thunk-interface.
* gnu/packages/rocm.scm (roct-thunk-interface): New variable.
2021-08-08 16:47:55 +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
884334afec
gnu: Add rocm-device-libs.
* gnu/packages/rocm.scm (rocm-device-libs): New variable.
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
Lars-Dominik Braun
df90cb1d5c
gnu: Add rocm-cmake.
* gnu/packages/rocm.scm (%rocm-version, rocm-cmake): New variables.
2021-08-08 16:47:52 +02:00