Commit graph

81853 commits

Author SHA1 Message Date
Mathieu Othacehe
d128c6fd33
services: cuirass: Add a no-publish argument.
* gnu/services/cuirass.scm (<cuirass-remote-server-configuration>): Add a
no-publish? field.
(cuirass-shepherd-service): Honor it.
* doc/guix.texi (Cuirass remote building): Document it.
2021-08-12 12:59:55 +02:00
Ludovic Courtès
8b9a5641bc
system: install, hurd: Use 'setuid-programs'.
This is a followup to a7ac19851b.

* gnu/system/install.scm (installation-os)[setuid-programs]: Use
'setuid-program'.
* gnu/system/hurd.scm (%setuid-programs/hurd): Use 'file-like->setuid-program'.
2021-08-12 12:34:13 +02:00
Ludovic Courtès
2826f488e4
system: Accept gexps in 'setuid-programs'.
Commit a7ac19851b led configs such as the
following one, which were previously valid, to be rejected:

  (operating-system
    ;; ...
    (setuid-programs (cons #~(string-append #$wireshark "/bin/dumpcap")
                           %setuid-programs)))

They are now accepted again.

Reported by wonko on #guix.

* gnu/system.scm (%ensure-setuid-program-list): Handle the case where
PROGRAM is not a file-like.
2021-08-12 12:34:13 +02:00
Ludovic Courtès
e0bd47b4fd
system: Handle 'setuid-programs' deprecation handling as a field sanitizer.
Previously, evaluating an OS configuration with a childhurd (for
instance) would produce tens of lines like:

  guix system: warning: representing setuid programs with '#<file-append #<package shadow@4.8.1 gnu/packages/admin.scm:798 7ff97f6f7640> "/bin/passwd">' is deprecated; use 'setuid-program' instead

Now, it prints this one line:

  gnu/system/hurd.scm:105:2: warning: representing setuid programs with file-like objects is deprecated; use 'setuid-program' instead

This change also means that extensions of 'setuid-program-service-type'
now have to provide a list of <setuid-program>, so it's stricter in this
sense.

* gnu/services.scm (setuid-program-file-like-deprecated): Remove.
(setuid-program-service-type)[extend]: Remove
'setuid-program-file-like-deprecated' call.  Assume CONFIG and
EXTENSIONS are already lists of <setuid-program> records.
* gnu/system.scm (<operating-system>)[setuid-programs]: Add 'sanitize'
property.  Change accessor name from '%operating-system-setuid-programs'
to 'operating-system-setuid-programs'.
(operating-system-default-essential-services)
(hurd-default-essential-services): Adjust accordingly.
(ensure-setuid-program-list): New macro.
(%ensure-setuid-program-list): New procedure, based on
'setuid-program-file-like-deprecated'.
2021-08-12 12:34:13 +02:00
Ludovic Courtès
5291fd7a42
records: Support field sanitizers.
* guix/records.scm (make-syntactic-constructor): Add #:sanitizers.
[field-sanitizer]: New procedure.
[wrap-field-value]: Honor F's sanitizer.
(define-record-type*)[field-sanitizer]: New procedure.
Pass #:sanitizer to 'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & sanitize")
("define-record-type* & sanitize & thunked"): New tests.
2021-08-12 12:34:13 +02:00
Ludovic Courtès
1ad0da60d8
gnu: jsonnet: Do not build static libraries.
* gnu/packages/cpp.scm (jsonnet)[arguments]: Pass "-DBUILD_STATIC_LIBS=OFF".
2021-08-12 12:34:12 +02:00
Vivien Kraus
0dc9e58929
gnu: Add jsonnet.
* gnu/packages/cpp.scm (jsonnet): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-12 12:34:12 +02:00
Mathieu Othacehe
9f544c631f
gnu: cuirass: Update to 1.1.0-2.830817a.
* gnu/packages/ci.scm (cuirass): Update to 1.1.0-2.830817a.
2021-08-12 10:59:03 +02:00
Charles
1d6be1c9d7
gnu: cl-plump: Update to 2.0.0-2.3584275.
* gnu/packages/lisp-xyz.scm (sbcl-plump): Update to 2.0.0-2.3584275.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-08-12 10:07:15 +02:00
Efraim Flashner
e543ebf9dc
gnu: markets: Fix running on non-Gnome desktops.
* gnu/packages/gnome-xyz.scm (markets)[inputs]: Add
gsettings-desktop-schemas.
2021-08-12 09:56:49 +03:00
Vinicius Monego
1c5de6f455
gnu: markets: Update to 0.5.2.
* gnu/packages/gnome-xyz.scm (markets): Update to 0.5.2.
[arguments]<#:phases>: Don't return #t.
[inputs]: Use libhandy-1.
[license]: Use gpl3+.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-12 09:52:09 +03:00
Pierre Langlois
842301667f
gnu: sakura: Update to 3.8.3.
* gnu/packages/terminals.scm (sakura): Update to 3.8.3.
2021-08-11 23:29:49 +01:00
Pierre Langlois
c71acf60c4
gnu: qjackctl: Update to 0.9.4.
* gnu/packages/audio.scm (qjackctl): Update to 0.9.4.
2021-08-11 23:29:49 +01:00
Pierre Langlois
3d27dfff9a
gnu: ardour: Update to 6.8.
* gnu/packages/audio.scm (ardour): Update to 6.8.
2021-08-11 23:29:49 +01:00
Pierre Langlois
cd5b5439b4
gnu: gpodder: Update to 3.10.21.
* gnu/packages/gpodder.scm (gpodder): Update to 3.10.21.
2021-08-11 23:29:49 +01:00
Marius Bakke
4eb0a5146a
gnu: ruby@2.7: Inherit source snippet from ruby@2.6.
This is a follow-up to 507472b036f8cdd3d1a88c401017d2e43620bc20.

* gnu/packages/ruby.scm (ruby-2.7)[source]: Inherit fields from RUBY.
2021-08-12 00:02:23 +02:00
Marius Bakke
e65bcfda22
gnu: rapidjson: Remove unused configure flag.
* gnu/packages/web.scm (rapidjson)[arguments]: Remove #:configure-flags, as
the entry is not honored by the build system and would only affect tests and
examples, which are not installed.
[source](snippet): Remove trailing #t.
2021-08-11 23:19:02 +02:00
Marius Bakke
443e7f6338
gnu: rapidjson: Adjust for GCC 10.
* gnu/packages/patches/rapidjson-gcc-compat.patch: Add additional patch.
2021-08-11 23:19:02 +02:00
Leo Famulari
e6388b48f3
gnu: VDE 2: Update to 2.3.2-0.8c65ebc.
Updating to this unreleased revision allows us to package VDE 2 with
wolfSSL instead of the obsolete OpenSSL 1.0:

https://github.com/virtualsquare/vde-2/issues/2

* gnu/packages/networking.scm (vde2): Update to 2.3.2-0.8c65ebc.
[source]: Use git-fetch.
[native-inputs]: Add autoconf, automake, and libtool
[inputs]: Replace openssl-1.0 with wolfssl.
2021-07-27 12:35:00 -04:00
Leo Famulari
363fe99c1e
gnu: Add wolfSSL.
* gnu/packages/tls.scm (wolfssl): New variable.
2021-07-27 12:34:56 -04:00
Leo Famulari
9d32e6cdad
gnu: Restore the correct order of the golang module.
* gnu/packages/golang.scm: Move the Go compilers back to the beginning
of the file.
2021-07-27 12:34:56 -04:00
Ricardo Wurmus
907f835e19
gnu: pigx-rnaseq: Update to 0.0.18.
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.18.
2021-08-11 19:33:38 +02:00
Leo Famulari
938d77d972
gnu: linux-libre 4.4: Update to 4.4.280.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.280.
(linux-libre-4.4-pristine-source): Update hash.
2021-07-27 12:34:57 -04:00
Leo Famulari
b1c97ff60b
gnu: Duplicity: Depend on python-paramiko.
Fixes <https://bugs.gnu.org/49979>.

* gnu/packages/backup.scm (duplicity)[native-inputs]: Add python-paramiko.
2021-07-27 12:34:56 -04:00
iKaSeRo
973842acbc
gnu: Add unclutter-xfixes
* gnu/packages/xdisorg.scm (unclutter-xfixes): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-11 16:35:29 +02:00
Ludovic Courtès
373e7ac4f9
transformations: 'with-patch' works on non-origin sources.
Fixes <https://issues.guix.gnu.org/49697>.
Reported by Philippe Swartvagher <philippe.swartvagher@inria.fr>.

* guix/transformations.scm (patched-source): New procedure.
(transform-package-patches)[package-with-extra-patches]: Use it
when (package-source p) is not an origin.
* tests/transformations.scm ("options->transformation, with-commit +
with-patch"): New test.
2021-08-11 16:35:28 +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
Ludovic Courtès
9b54559e23
gnu: rocm-opencl-runtime: Use a non-redirecting source URL.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Use 'home-page'
as the URL; since it lacks the ".git" prefix, that placates 'guix lint'.
2021-08-11 16:35:28 +02:00
Xinglu Chen
d39b95b1c2
gnu: emacs-vertico: Update to 0.14.
* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.14.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11 15:38:02 +02:00
Xinglu Chen
3f4303efde
gnu: emacs-marginalia: Update to 0.8.
* gnu/packages/emacs-xyz.scm (emacs-marginalia): Update to 0.8.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11 15:38:02 +02:00
Xinglu Chen
006b9c85f5
gnu: emacs-consult: Update to 0.10.
* gnu/packages/emacs-xyz.scm (emacs-consult): Update to 0.10.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11 15:38:02 +02:00
Xinglu Chen
d908da107e
gnu: emacs-corfu: Update to 0.11.
* gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.11.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11 15:38:01 +02:00
Milkey Mouse
59675fef2f
gnu: python-aiorpcx: Update to 0.22.1.
* gnu/packages/finance.scm (electrum)[inputs]: Use python-aiorpcx-0.18.
* gnu/packages/python-web.scm (python-aiorpcx): Update to 0.22.1.
(python-aiorpcx-0.18): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-08-11 20:42:34 +08:00
Xinglu Chen
a192ea31a0
gnu: emacs-project: Update to 0.6.1.
* gnu/packages/emacs-xyz.scm (emacs-project): Update to 0.6.1.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-08-11 20:33:48 +08:00
Xinglu Chen
005c8b4265
gnu: emacs-emms: Update to 7.6.
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 7.6.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-08-11 20:28:16 +08:00
Jonathan Brielmaier
29c5177cc0
gnu: icedove: Update to 78.13.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 78.13.0.
2021-08-11 12:17:25 +02:00
Marius Bakke
2730ed9a0e
gnu: uBlock Origin: Update to 1.37.2.
* gnu/packages/browser-extensions.scm (uassets): Update to 54e217d90.
(ublock-origin): Update to 1.37.2.
2021-08-11 00:41:45 +02:00
Marius Bakke
26d68d4fff
gnu: ungoogled-chromium: Update to 92.0.4515.131-0.4a9534c.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 92.
(%chromium-version): Set to 92.0.4515.131.
(%ungoogled-revision): Set to 92.0.4515.131-1-0-g4a9534c.
(%ungoogled-origin): Update hash.
(ungoogled-chromium-snippet): Remove obsolete substitution and trailing #t.
(ungoogled-chromium)[source]: Update hash.
[arguments]: Remove trailing #t's.
[native-inputs]: Remove PYTHON-BEAUTIFULSOUP4 and PYTHON-HTML5LIB.  Add
PYTHON-WRAPPER.
[inputs]: Add LINUX-LIBRE-HEADERS-5.10.
2021-08-11 00:41:45 +02:00
Marius Bakke
207cfa3467
gnu: libcacard: Enable PC/SC support.
* gnu/packages/spice.scm (libcacard)[propagated-inputs]: Add PCSC-LITE.
2021-08-11 00:41:45 +02:00
Mark H Weaver
eb0abba387
gnu: icecat: Update to 78.13.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2021-29980, CVE-2021-29984, CVE-2021-29985,
CVE-2021-29986, CVE-2021-29988, and CVE-2021-29989.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update upstream source hash.
2021-08-10 14:16:27 -04:00
Leo Famulari
5e71375361
gnu: Borg: Use bundled msgpack.
This is an old and customized version of msgpack-python.

* gnu/packages/backup.scm (borg)[source]: In the snippet, don't delete the
bundled 'msgpack' directory, and remove the related substition applied to
setup.py.
[arguments]: Remove the 'use-system-msgpack' phase.
[inputs]: Remove 'python-msgpack-transitional'.
2021-07-27 12:35:00 -04:00
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