jackhill/guix/guix.git
3 years agognu: mate-screensaver: Update to 1.24.1.
Tobias Geerinckx-Rice [Wed, 26 Aug 2020 18:23:32 +0000 (20:23 +0200)]
gnu: mate-screensaver: Update to 1.24.1.

* gnu/packages/mate.scm (mate-screensaver): Update to 1.24.1.
[source]: Hard-code NAME.

3 years agognu: totem-pl-parser: Update to 3.26.5.
Tobias Geerinckx-Rice [Wed, 26 Aug 2020 18:22:55 +0000 (20:22 +0200)]
gnu: totem-pl-parser: Update to 3.26.5.

* gnu/packages/gnome.scm (totem-pl-parser): Update to 3.26.5.

3 years agognu: grilo: Update to 0.3.12.
Tobias Geerinckx-Rice [Wed, 26 Aug 2020 18:21:51 +0000 (20:21 +0200)]
gnu: grilo: Update to 0.3.12.

* gnu/packages/gnome.scm (grilo): Update to 0.3.12.
[source]: Hard-code NAME.

3 years agognu: pipewire: Update to 0.3.10.
Tobias Geerinckx-Rice [Wed, 26 Aug 2020 14:28:26 +0000 (16:28 +0200)]
gnu: pipewire: Update to 0.3.10.

* gnu/packages/linux.scm (pipewire): Update to 0.3.10.
[arguments]: Set the ‘udevrulesdir’ configure flag.

3 years agoservices: fcgiwrap: Create parent directory for unix socket.
Arun Isaac [Tue, 18 Aug 2020 17:38:26 +0000 (23:08 +0530)]
services: fcgiwrap: Create parent directory for unix socket.

* gnu/services/web.scm (fcgiwrap-activation): New function.
(fcgiwrap-service-type): Extend activation-service-type with
fcgiwrap-activation.

3 years agosystem: image: Do not offload image files.
Maxim Cournoyer [Wed, 26 Aug 2020 12:11:34 +0000 (08:11 -0400)]
system: image: Do not offload image files.

Image files can be very large (multiple gigabytes), and the process of
generating them is primarily I/O bound. As disk access is typically faster
than network access, it makes sense build them locally.

* gnu/system/image.scm (system-disk-image): Pass the #:local-build? #t
parameter to computed-file calls dealing with generating image files.
(system-iso9660-image): Likewise.

3 years agoservices: mcron: Validate jobs even in the presence of #:user.
Ludovic Courtès [Wed, 26 Aug 2020 13:30:04 +0000 (15:30 +0200)]
services: mcron: Validate jobs even in the presence of #:user.

Fixes a bug in 949672c923b6a3953471c446e0b19f30be335572 whereby jobs
specifying a #:user not available in the build environment would fail
validation.

Reported by Maxim Cournoyer.

* gnu/services/mcron.scm (job-files)[validated-file]: Add "prologue"
file and pass it to 'mcron --schedule'.

3 years agognu: Add ssss.
Hendursaga [Wed, 19 Aug 2020 16:58:31 +0000 (16:58 +0000)]
gnu: Add ssss.

* gnu/packages/crypto.scm (ssss): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
3 years agognu: guix-data-service: Update to ab68b0f.
Ludovic Courtès [Wed, 26 Aug 2020 09:59:23 +0000 (11:59 +0200)]
gnu: guix-data-service: Update to ab68b0f.

* gnu/packages/web.scm (guix-data-service): Update to ab68b0f.

3 years agognu: guix-data-service: Build against the same Guile as 'guix'.
Ludovic Courtès [Wed, 26 Aug 2020 09:55:11 +0000 (11:55 +0200)]
gnu: guix-data-service: Build against the same Guile as 'guix'.

This is a followup to a2991de0f44a5f4db71ddad67e914fe3344a4505.

* gnu/packages/web.scm (guix-data-service)[native-inputs]: Change
"guile" to match that of GUIX.

3 years agognu: drawpile: Build with libmicrohttpd 0.9.71.
Michael Rohleder [Mon, 24 Aug 2020 21:09:10 +0000 (23:09 +0200)]
gnu: drawpile: Build with libmicrohttpd 0.9.71.

* gnu/packages/graphics.scm (drawpile): Update to 2.1.17-1.ed1a75deb.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: quadrapassel: Update to 3.36.05.
Tobias Geerinckx-Rice [Tue, 25 Aug 2020 22:15:03 +0000 (00:15 +0200)]
gnu: quadrapassel: Update to 3.36.05.

* gnu/packages/games.scm (quadrapassel): Update to 3.36.05.

3 years agognu: klavaro: Update to 3.11.
Tobias Geerinckx-Rice [Tue, 25 Aug 2020 18:51:03 +0000 (20:51 +0200)]
gnu: klavaro: Update to 3.11.

* gnu/packages/education.scm (klavaro): Update to 3.11.

3 years agognu: msmtp: Update to 1.8.12.
Tobias Geerinckx-Rice [Wed, 26 Aug 2020 04:07:01 +0000 (06:07 +0200)]
gnu: msmtp: Update to 1.8.12.

* gnu/packages/mail.scm (msmtp): Update to 1.8.12.

3 years agognu: gnome-chess: Update to 3.37.3.
Michael Rohleder [Wed, 26 Aug 2020 03:34:42 +0000 (05:34 +0200)]
gnu: gnome-chess: Update to 3.37.3.

* gnu/packages/games.scm (gnome-chess): Update to 3.37.3.

Signed-off-by: Brett Gilio <brettg@gnu.org>
3 years agognu: octave: Remove unneeded 'source' field.
Ludovic Courtès [Tue, 25 Aug 2020 22:51:20 +0000 (00:51 +0200)]
gnu: octave: Remove unneeded 'source' field.

* gnu/packages/maths.scm (octave)[source]: Remove.  It had been
unnecessary since b66741edc954f0a17f1ef567e8d612cac87c7b6a.

3 years agognu: netcdf-parallel-openmpi: Allow MPI tests to pass.
Ludovic Courtès [Tue, 25 Aug 2020 22:46:42 +0000 (00:46 +0200)]
gnu: netcdf-parallel-openmpi: Allow MPI tests to pass.

* gnu/packages/maths.scm (netcdf-parallel-openmpi)[arguments]: Add
'mip-setup' phase.

3 years agognu: hdf5-parallel-openmpi: Update to 1.10.6.
Ludovic Courtès [Tue, 25 Aug 2020 22:45:12 +0000 (00:45 +0200)]
gnu: hdf5-parallel-openmpi: Update to 1.10.6.

* gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit from HDF5-1.10.

3 years agoservices: mcron: Validate jobs at build time.
Ludovic Courtès [Tue, 25 Aug 2020 19:31:37 +0000 (21:31 +0200)]
services: mcron: Validate jobs at build time.

That way, run-time errors in the job specs are caught at build time.

* gnu/services/mcron.scm (job-file): Remove.
(job-files): New procedure.
(mcron-shepherd-services): Adjust accordingly.

3 years agognu: hdf5: Use 'package/inherit' for variants.
Ludovic Courtès [Tue, 25 Aug 2020 13:18:56 +0000 (15:18 +0200)]
gnu: hdf5: Use 'package/inherit' for variants.

* gnu/packages/maths.scm (hdf5-1.10, hdf5-parallel-openmpi): Use
'package/inherit'.

3 years ago.dir-locals.el: Add indentation rule for 'package/inherit'.
Ludovic Courtès [Tue, 25 Aug 2020 13:17:50 +0000 (15:17 +0200)]
.dir-locals.el: Add indentation rule for 'package/inherit'.

* .dir-locals.el (scheme-mode): Add 'package/inherit'.

3 years agognu: hdf5: Distinguish the default hdf5 version.
Ludovic Courtès [Tue, 25 Aug 2020 13:12:50 +0000 (15:12 +0200)]
gnu: hdf5: Distinguish the default hdf5 version.

* gnu/packages/maths.scm (hdf5): Rename to...
(hdf-1.8): ... this.
(hdf5-1.10): Adjust accordingly.
(hdf5): New variable.

3 years agolint: Use 'with-error-handling'.
Ludovic Courtès [Tue, 25 Aug 2020 12:49:34 +0000 (14:49 +0200)]
lint: Use 'with-error-handling'.

This improves the error message when unable to access ~/.cache as
reported by Jonathan Brielmaier <jonathan.brielmaier@web.de> in
<https://bugs.gnu.org/42859>.

* guix/scripts/lint.scm (guix-lint): Wrap body in 'with-error-handling'.

3 years agognu: icecat: Update to 68.12.0-guix0-preview1 [security fixes].
Mark H Weaver [Tue, 25 Aug 2020 10:59:07 +0000 (06:59 -0400)]
gnu: icecat: Update to 68.12.0-guix0-preview1 [security fixes].

Includes fixes for CVE-2020-15663, CVE-2020-15664, and CVE-2020-15669.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to new version.

3 years agognu: emacs-org-re-reveal: Update to 3.1.1.
Oleg Pykhalov [Tue, 25 Aug 2020 18:10:53 +0000 (21:10 +0300)]
gnu: emacs-org-re-reveal: Update to 3.1.1.

* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 3.1.1.

3 years agognu: guix: Update to 1.1.0-21.29d356.
Maxim Cournoyer [Tue, 25 Aug 2020 17:57:35 +0000 (13:57 -0400)]
gnu: guix: Update to 1.1.0-21.29d356.

* gnu/packages/package-management.scm (guix): Update to 1.1.0-20.29d356.

3 years agognu: guix: Update to 1.1.0-20.537080f.
Maxim Cournoyer [Tue, 25 Aug 2020 17:42:48 +0000 (13:42 -0400)]
gnu: guix: Update to 1.1.0-20.537080f.

* gnu/packages/package-management.scm (guix): Update to 1.1.0-20.537080f.

3 years agooffload: Modify the build-machine record to accept multiple systems.
Maxim Cournoyer [Mon, 24 Aug 2020 20:26:14 +0000 (16:26 -0400)]
offload: Modify the build-machine record to accept multiple systems.

* guix/scripts/offload.scm (<build-machine>)[systems]: New field.
[system]: Accessor changed to %build-machine-system.  Default to #f.
* guix/scripts/offload.scm (build-machine-system): Wrap %build-machine-system
with a deprecation warning.
(build-machine-systems): Access the new systems field or fallback to use
build-machine-system, for backward compatibility.
(machine-matches?): Adjust.
* tests/offload.scm: Add tests...
* Makefile.am (SCM_TESTS): ...and register them.
* doc/guix.texi (Daemon Offload Setup): Update doc.

3 years agognu: git-lfs: Don't install source.
Efraim Flashner [Tue, 25 Aug 2020 17:38:52 +0000 (20:38 +0300)]
gnu: git-lfs: Don't install source.

* gnu/packages/version-control.scm (git-lfs)[arguments]: Don't install
the sources.

3 years agognu: git-lfs: Update to v2.11.0.
Prafulla Giri [Tue, 25 Aug 2020 17:15:34 +0000 (23:00 +0545)]
gnu: git-lfs: Update to v2.11.0.

* gnu/packages/version-control.scm (git-lfs): Update to v2.11.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: git-lfs: Install man pages.
Prafulla Giri [Tue, 25 Aug 2020 17:09:56 +0000 (22:54 +0545)]
gnu: git-lfs: Install man pages.

* gnu/packages/version-control.scm (git-lfs)[arguments]: Add build
phases to build and install man pages.
[native-inputs]: Add ronn-ng.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: polari: Update to 3.36.3.
Leo Prikler [Tue, 25 Aug 2020 16:43:44 +0000 (18:43 +0200)]
gnu: polari: Update to 3.36.3.

* gnu/packages/gnome.scm (polari): Update to 3.36.3.

3 years agodoc: Fix typo.
Tobias Geerinckx-Rice [Tue, 25 Aug 2020 14:07:30 +0000 (16:07 +0200)]
doc: Fix typo.

* doc/guix.texi (Virtualization Services): Fix typo.

3 years agoservices: ganeti-kvmd-service-type: Fix typo in description.
Tobias Geerinckx-Rice [Tue, 25 Aug 2020 14:05:05 +0000 (16:05 +0200)]
services: ganeti-kvmd-service-type: Fix typo in description.

* gnu/services/ganeti.scm (ganeti-kvmd-service-type)[description]:
Fix typo.

3 years agognu: gnuradio-osmosdr: Update to 0.2.2.
Tobias Geerinckx-Rice [Tue, 25 Aug 2020 13:40:38 +0000 (15:40 +0200)]
gnu: gnuradio-osmosdr: Update to 0.2.2.

* gnu/packages/radio.scm (gnuradio-osmosdr): Update to 0.2.2.

3 years agognu: libcap-ng: Update to 0.7.11.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 16:33:34 +0000 (18:33 +0200)]
gnu: libcap-ng: Update to 0.7.11.

* gnu/packages/admin.scm (libcap-ng): Update to 0.7.11.

3 years agognu: ruby-public-suffix: Update to 4.0.5.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 17:12:01 +0000 (19:12 +0200)]
gnu: ruby-public-suffix: Update to 4.0.5.

* gnu/packages/ruby.scm (ruby-public-suffix): Update to 4.0.5.

3 years agognu: ruby-domain-name: Update to 0.5.20190701.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 13:03:01 +0000 (15:03 +0200)]
gnu: ruby-domain-name: Update to 0.5.20190701.

* gnu/packages/ruby.scm (ruby-domain-name): Update to 0.5.20190701.

3 years agognu: fldigi: Update to 4.1.14.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 12:16:19 +0000 (14:16 +0200)]
gnu: fldigi: Update to 4.1.14.

* gnu/packages/radio.scm (fldigi): Update to 4.1.14.

3 years agognu: cuirass: Update to 0.0.1-43.f2984c7.
Mathieu Othacehe [Tue, 25 Aug 2020 14:38:19 +0000 (16:38 +0200)]
gnu: cuirass: Update to 0.0.1-43.f2984c7.

Cuirass now depends of "guile-zlib" instead of Guix zlib module.

* gnu/packages/ci.scm (cuirass): Update to 0.0.1-43.f2984c7,
[inputs]: add "guile-zlib" ...
[arguments]: ... and add it to the dependencies.

3 years agognu: Add python-trytond-stock-lot.
Vinicius Monego [Mon, 24 Aug 2020 22:20:18 +0000 (19:20 -0300)]
gnu: Add python-trytond-stock-lot.

* gnu/packages/tryton.scm (python-trytond-stock-lot): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-trytond-stock.
Vinicius Monego [Mon, 24 Aug 2020 22:20:17 +0000 (19:20 -0300)]
gnu: Add python-trytond-stock.

* gnu/packages/tryton.scm (python-trytond-stock): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-trytond-account.
Vinicius Monego [Mon, 24 Aug 2020 22:20:16 +0000 (19:20 -0300)]
gnu: Add python-trytond-account.

* gnu/packages/tryton.scm (python-trytond-account): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-simpleeval.
Vinicius Monego [Mon, 24 Aug 2020 22:20:15 +0000 (19:20 -0300)]
gnu: Add python-simpleeval.

* gnu/packages/python-xyz.scm (python-simpleeval): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-trytond-product.
Vinicius Monego [Mon, 24 Aug 2020 22:20:14 +0000 (19:20 -0300)]
gnu: Add python-trytond-product.

* gnu/packages/tryton.scm (python-trytond-product): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-trytond-company.
Vinicius Monego [Mon, 24 Aug 2020 22:20:13 +0000 (19:20 -0300)]
gnu: Add python-trytond-company.

* gnu/packages/tryton.scm (python-trytond-company): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-trytond-currency.
Vinicius Monego [Mon, 24 Aug 2020 22:20:12 +0000 (19:20 -0300)]
gnu: Add python-trytond-currency.

* gnu/packages/tryton.scm (python-trytond-currency): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add python-forex-python.
Vinicius Monego [Mon, 24 Aug 2020 22:17:48 +0000 (19:17 -0300)]
gnu: Add python-forex-python.

* gnu/packages/python-xyz.scm (python-forex-python): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: stepmania: Fix typo.
Efraim Flashner [Tue, 25 Aug 2020 13:11:42 +0000 (16:11 +0300)]
gnu: stepmania: Fix typo.

* gnu/packages/games.scm (stepmania)[arguments]: Check for the 'x86_64'
architecture.

3 years agognu: audacity: Fix typo.
Efraim Flashner [Tue, 25 Aug 2020 13:10:49 +0000 (16:10 +0300)]
gnu: audacity: Fix typo.

* gnu/packages/audio.scm (audacity)[arguments]: Check for the 'x86_64'
architecture.

3 years agoRemove "guile-zlib" extension when unused.
Mathieu Othacehe [Tue, 25 Aug 2020 10:39:11 +0000 (12:39 +0200)]
Remove "guile-zlib" extension when unused.

This is a follow-up of 755f365b02b42a5d1e8ef3000dadef069553a478.

As (zlib) is autoloaded in (gnu build linux-modules), "guile-zlib" is needed
as an extension only when it is effectively used.

* gnu/installer.scm (installer-program): Remove "guile-zlib" from the extensions.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Ditto.
* gnu/services.scm (activation-script): Ditto.
* gnu/services/base.scm (default-serial-port): Ditto,
(agetty-shepherd-service): ditto,
(udev-service-type): ditto.
* gnu/system/image.scm (gcrypt-sqlite3&co): Ditto.
* gnu/system/shadow.scm (account-shepherd-service): Ditto.

3 years agolinux-libre: Enable module compression.
Mathieu Othacehe [Mon, 24 Aug 2020 11:55:16 +0000 (13:55 +0200)]
linux-libre: Enable module compression.

This commit enables GZIP compression for linux-libre kernel modules, reducing
the size of linux-libre by 63% (165MB).

* gnu/packages/aux-files/linux-libre/5.8-arm.conf: Enable GZ compression.
* gnu/packages/aux-files/linux-libre/5.8-arm64.conf: Ditto.
* gnu/packages/aux-files/linux-libre/5.8-i686.conf: Ditto.
* gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Ditto.

3 years agolinux-libre: Support module compression.
Mathieu Othacehe [Sun, 5 Jul 2020 10:23:21 +0000 (12:23 +0200)]
linux-libre: Support module compression.

This commit adds support for GZIP compression for linux-libre kernel
modules. The initrd modules are kept uncompressed as the initrd is already
compressed as a whole.

The linux-libre kernel also supports XZ compression, but as Guix does not have
any available bindings for now, and the compression time is far more
significant, GZIP seems to be a better option.

* gnu/build/linux-modules.scm (modinfo-section-contents): Use
'call-with-gzip-input-port' to read from a module file using '.gz' extension,
(strip-extension): new procedure,
(dot-ko): adapt to support compression,
(ensure-dot-ko): ditto,
(file-name->module-name): ditto,
(find-module-file): ditto,
(load-linux-module*): ditto,
(module-name->file-name/guess): ditto,
(module-name-lookup): ditto,
(write-module-name-database): ditto,
(write-module-alias-database): ditto,
(write-module-device-database): ditto.
* gnu/installer.scm (installer-program): Add "guile-zlib" to the extensions.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Ditto.
* gnu/services.scm (activation-script): Ditto.
* gnu/services/base.scm (default-serial-port): Ditto,
(agetty-shepherd-service): ditto,
(udev-service-type): ditto.
* gnu/system/image.scm (gcrypt-sqlite3&co): Ditto.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Add "guile-zlib"
to the extensions and make sure that the initrd only contains
uncompressed module files.
* gnu/system/shadow.scm (account-shepherd-service): Add "guile-zlib" to the
extensions.
* guix/profiles.scm (linux-module-database): Ditto.

3 years agognu: emacs-debbugs: Update to 0.26.
Nicolas Goaziou [Tue, 25 Aug 2020 08:07:55 +0000 (10:07 +0200)]
gnu: emacs-debbugs: Update to 0.26.

* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.26.

3 years agognu: emacs-undo-tree: Update to 0.7.5.
Nicolas Goaziou [Tue, 25 Aug 2020 08:07:46 +0000 (10:07 +0200)]
gnu: emacs-undo-tree: Update to 0.7.5.

* gnu/packages/emacs-xyz.scm (emacs-undo-tree): Update to 0.7.5.

3 years agognu: emacs-sparql-mode: Improve description.
Nicolas Goaziou [Tue, 25 Aug 2020 07:54:47 +0000 (09:54 +0200)]
gnu: emacs-sparql-mode: Improve description.

* gnu/packages/emacs-xyz.scm (emacs-sparql-mode): Improve description.

3 years agognu: emacs-sparql-mode: Update to 4.0.2.
Michael Rohleder [Mon, 24 Aug 2020 16:57:44 +0000 (18:57 +0200)]
gnu: emacs-sparql-mode: Update to 4.0.2.

* gnu/packages/emacs-xyz.scm (emacs-sparql-mode): Update to 4.0.2.
[propagated-inputs]: Add emacs-company.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: ruby-jekyll-paginate-v2: Update to 3.0.0.
Michael Rohleder [Mon, 24 Aug 2020 15:12:05 +0000 (17:12 +0200)]
gnu: ruby-jekyll-paginate-v2: Update to 3.0.0.

* gnu/packages/ruby.scm (ruby-jekyll-paginate-v2): Update to 3.0.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: emacs-restclient: Update to 0-3.ac8aad6.
Michael Rohleder [Mon, 24 Aug 2020 14:02:24 +0000 (16:02 +0200)]
gnu: emacs-restclient: Update to 0-3.ac8aad6.

* gnu/packages/emacs-xyz.scm (emacs-restclient): Update to 0-3.ac8aad6.
[propagated-inputs]: Add emacs-jq-mode.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: jekyll: Use GFM parser to parse kramdown.
Michael Rohleder [Mon, 24 Aug 2020 13:48:30 +0000 (15:48 +0200)]
gnu: jekyll: Use GFM parser to parse kramdown.

* gnu/packages/ruby.scm (jekyll)[propagated-inputs]: changed kramdown
parser to ruby-kramdown-parser-gfm.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agoservices: unattended-upgrade: Log output of the 'guix' commands.
Ludovic Courtès [Mon, 24 Aug 2020 20:59:43 +0000 (22:59 +0200)]
services: unattended-upgrade: Log output of the 'guix' commands.

Fixes <https://bugs.gnu.org/43011>.
Reported by Jesse Gibbons <jgibbons2357@gmail.com>.

Until now the stdout/stderr file descriptors were not redirected.

* gnu/services/admin.scm (unattended-upgrade-mcron-jobs)[code]: Remove
'with-logging' and use 'redirect-port' instead.

3 years agosystem: Validate sudoers file when building the system.
Ludovic Courtès [Mon, 24 Aug 2020 15:02:48 +0000 (17:02 +0200)]
system: Validate sudoers file when building the system.

Suggested by pkill9 <pkill9@runbox.com>.

* gnu/system.scm (validated-sudoers-file): New procedure.
(operating-system-etc-service): Use it.

3 years agoservices: unattended-upgrade: Add 'operating-system-file' field.
Ludovic Courtès [Mon, 24 Aug 2020 12:52:39 +0000 (14:52 +0200)]
services: unattended-upgrade: Add 'operating-system-file' field.

* gnu/services/admin.scm (<unattended-upgrade-configuration>)[operating-system-file]:
New field.
(unattended-upgrade-mcron-jobs): Honor it.
* doc/guix.texi (Unattended Upgrades): Document it.

3 years agooffload: Update help string.
Maxim Cournoyer [Mon, 24 Aug 2020 20:23:16 +0000 (16:23 -0400)]
offload: Update help string.

* guix/scripts/offload.scm (guix-offload): Update help string.

3 years agognu: libvterm: Update to 0.1.4.
Michael Rohleder [Mon, 24 Aug 2020 16:09:59 +0000 (18:09 +0200)]
gnu: libvterm: Update to 0.1.4.

* gnu/packages/terminals.scm (libvterm): Update to 0.1.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
3 years agoguix upgrade: Allow using --do-not-upgrade.
Jakub Kądziołka [Wed, 19 Aug 2020 21:36:23 +0000 (23:36 +0200)]
guix upgrade: Allow using --do-not-upgrade.

* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of
  options inherited from guix package.

3 years agognu: guix: Update to 1.1.0-19.0c50d72.
Mathieu Othacehe [Mon, 24 Aug 2020 14:07:38 +0000 (16:07 +0200)]
gnu: guix: Update to 1.1.0-19.0c50d72.

* gnu/packages/package-management.scm (guix): Update to 1.1.0-19.0c50d72.

3 years agognu: guile-lzlib: Fix cross-compilation.
Mathieu Othacehe [Mon, 24 Aug 2020 13:02:29 +0000 (15:02 +0200)]
gnu: guile-lzlib: Fix cross-compilation.

* gnu/packages/guile.scm (guile-lzlib)[native-inputs]: Add "guile" when
cross-compiling.

3 years agognu: guile-zlib: Fix cross-compilation.
Mathieu Othacehe [Mon, 24 Aug 2020 13:01:38 +0000 (15:01 +0200)]
gnu: guile-zlib: Fix cross-compilation.

* gnu/packages/guile.scm (guile-zlib)[native-inputs]: Add "guile" when
cross-compiling.

3 years agoUse "guile-zlib" and "guile-lzlib" instead of (guix config).
Mathieu Othacehe [Mon, 27 Jul 2020 14:36:39 +0000 (16:36 +0200)]
Use "guile-zlib" and "guile-lzlib" instead of (guix config).

* Makefile.am (MODULES): Remove guix/zlib.scm and guix/lzlib.scm,
(SCM_TESTS): remove tests/zlib.scm, tests/lzlib.scm.
* build-aux/build-self.scm (make-config.scm): Remove unused %libz variable.
* configure.ac: Remove LIBZ and LIBLZ variables and check instead for
Guile-zlib and Guile-lzlib.
* doc/guix.texi ("Requirements"): Remove zlib requirement and add Guile-zlib
and Guile-lzlib instead.
* gnu/packages/package-management.scm (guix)[native-inputs]: Add "guile-zlib"
and "guile-lzlib",
[inputs]: remove "zlib" and "lzlib",
[propagated-inputs]: ditto,
[arguments]: add "guile-zlib" and "guile-lzlib" to Guile load path.
* guix/config.scm.in (%libz, %liblz): Remove them.
* guix/lzlib.scm: Remove it.
* guix/man-db.scm: Use (zlib) instead of (guix zlib).
* guix/profiles.scm (manual-database): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
* guix/scripts/publish.scm: Use (zlib) instead of (guix zlib) and (lzlib)
instead of (guix lzlib),
(string->compression-type, effective-compression): do not check for zlib and
lzlib availability.
* guix/scripts/substitute.scm (%compression-methods): Do not check for lzlib
availability.
* guix/self.scm (specification->package): Add "guile-zlib" and "guile-lzlib"
and remove "zlib" and "lzlib",
(compiled-guix): remove "zlib" and "lzlib" arguments and add guile-zlib and
guile-lzlib to the dependencies, also do not pass "zlib" and "lzlib" to
"make-config.scm" procedure,
(make-config.scm): remove "zlib" and "lzlib" arguments as well as %libz and
%liblz variables.
* guix/utils.scm (lzip-port): Use (lzlib) instead of (guix lzlib) and do not
check for lzlib availability.
* guix/zlib.scm: Remove it.
* m4/guix.m4 (GUIX_LIBZ_LIBDIR, GUIX_LIBLZ_FILE_NAME): Remove them.
* tests/lzlib.scm: Use (zlib) instead of (guix zlib) and (lzlib)
instead of (guix lzlib), and do not check for zlib and lzlib availability.
* tests/publish.scm: Ditto.
* tests/substitute.scm: Do not check for lzlib availability.
* tests/utils.scm: Ditto.
* tests/zlib.scm: Remove it.

3 years agognu: nano: Update to 5.2.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 11:26:06 +0000 (13:26 +0200)]
gnu: nano: Update to 5.2.

* gnu/packages/nano.scm (nano): Update to 5.2.

3 years agognu: python-trytond-party: Update to 5.6.0.
Vinicius Monego [Sat, 22 Aug 2020 16:10:37 +0000 (13:10 -0300)]
gnu: python-trytond-party: Update to 5.6.0.

* gnu/packages/tryton.scm (python-trytond-party): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: python-trytond-country: Update to 5.6.0.
Vinicius Monego [Sat, 22 Aug 2020 16:10:36 +0000 (13:10 -0300)]
gnu: python-trytond-country: Update to 5.6.0.

* gnu/packages/tryton.scm (python-trytond-country): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: python-proteus: Update to 5.6.0.
Vinicius Monego [Sat, 22 Aug 2020 16:10:35 +0000 (13:10 -0300)]
gnu: python-proteus: Update to 5.6.0.

* gnu/packages/tryton.scm (python-proteus): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: python-trytond: Update to 5.6.5.
Vinicius Monego [Sat, 22 Aug 2020 16:10:34 +0000 (13:10 -0300)]
gnu: python-trytond: Update to 5.6.5.

* gnu/packages/tryton.scm (python-trytond): Update to 5.6.5.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: tryton: Update to 5.6.3.
Vinicius Monego [Sat, 22 Aug 2020 16:07:41 +0000 (13:07 -0300)]
gnu: tryton: Update to 5.6.3.

* gnu/packages/tryton.scm (tryton): Update to 5.6.3.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
3 years agognu: Add emacs-jq-mode.
Michael Rohleder [Mon, 24 Aug 2020 00:18:38 +0000 (02:18 +0200)]
gnu: Add emacs-jq-mode.

* gnu/packages/emacs-xyz.scm (emacs-jq-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add ruby-kramdown-parser-gfm.
Michael Rohleder [Sun, 23 Aug 2020 22:35:25 +0000 (00:35 +0200)]
gnu: Add ruby-kramdown-parser-gfm.

* gnu/packages/ruby.scm (ruby-kramdown-parser-gfm): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agotests: Add a debug output to "fold-available-packages with/without cache".
Mathieu Othacehe [Mon, 24 Aug 2020 09:51:26 +0000 (11:51 +0200)]
tests: Add a debug output to "fold-available-packages with/without cache".

This should help to debug test failures due to duplicated packages.

* tests/packages ("fold-available-packages with/without cache"): Print
duplicated packages.

3 years agognu: Remove duplicated linux-libre-arm64-generic-5.8.
Mathieu Othacehe [Mon, 24 Aug 2020 09:49:27 +0000 (11:49 +0200)]
gnu: Remove duplicated linux-libre-arm64-generic-5.8.

This fixes a test failure in "fold-available-packages with/without cache".

* gnu/packages/linux.scm (linux-libre-arm64-generic-5.8): Remove it as it
duplicates linux-libre-arm64-generic.

3 years agognu: scroll: Fix build.
Efraim Flashner [Mon, 24 Aug 2020 09:03:12 +0000 (12:03 +0300)]
gnu: scroll: Fix build.

* gnu/packages/haskell-apps.scm (scroll)[arguments]: Add custom phase to
add a place-holder file to the static output.

3 years agoUse guile-zlib extension in build-side code.
Mathieu Othacehe [Thu, 6 Aug 2020 13:00:01 +0000 (15:00 +0200)]
Use guile-zlib extension in build-side code.

* Makefile.am (MODULES): Move guix/build/download-nar.scm to ...
(MODULES_NOT_COMPILED): ... here.
* guix/build/download-nar.scm: Use (zlib) instead of (guix zlib).
* guix/cvs-download.scm (cvs-fetch): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
* guix/git-download.scm (git-fetch): Ditto.
* guix/hg-download.scm (hg-fetch): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.

3 years agognu: dovecot: Enable FTS stemming.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 00:08:32 +0000 (02:08 +0200)]
gnu: dovecot: Enable FTS stemming.

* gnu/packages/mail.scm (dovecot)[inputs]: Add libstemmer.

3 years agognu: python-parted: Update to 3.11.6.
Tobias Geerinckx-Rice [Sun, 23 Aug 2020 23:51:06 +0000 (01:51 +0200)]
gnu: python-parted: Update to 3.11.6.

* gnu/packages/disk.scm (python-parted): Update to 3.11.6.
(python2-parted): Drop unsupported Python 2 variant.

3 years agognu: bind: Note that isc-dhcp bundles a BIND.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 02:31:29 +0000 (04:31 +0200)]
gnu: bind: Note that isc-dhcp bundles a BIND.

This follows up on commit dad963a4393ea51409baa63817b26b449ed58338.

* gnu/packages/admin.scm (isc-bind): Comment.

3 years agognu: xterm: Update to 359.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 00:26:18 +0000 (02:26 +0200)]
gnu: xterm: Update to 359.

* gnu/packages/xorg.scm (xterm): Update to 359.

3 years agognu: evisum: Update to 0.5.3.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 00:03:17 +0000 (02:03 +0200)]
gnu: evisum: Update to 0.5.3.

* gnu/packages/enlightenment.scm (evisum): Update to 0.5.3.

3 years agognu: xapian: Update to 1.4.17.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 02:24:03 +0000 (04:24 +0200)]
gnu: xapian: Update to 1.4.17.

* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to
1.4.17.

3 years agognu: electrum: Fix share/ location.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 02:21:42 +0000 (04:21 +0200)]
gnu: electrum: Fix share/ location.

* gnu/packages/finance.scm (electrum)[arguments]: Rename the ‘patch-home’
phase to ‘fix-prefix’.  Do so.

3 years agognu: electron-cash: Fix share/ location.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 01:56:01 +0000 (03:56 +0200)]
gnu: electron-cash: Fix share/ location.

* gnu/packages/finance.scm (electron-cash)[arguments]: Drop bogus
‘local/share’ subdirectory: rename ‘patch-home’ to
‘create-output-directories’ and adjust body to match.

3 years agognu: electron-cash: Return #t from phases.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 01:19:00 +0000 (03:19 +0200)]
gnu: electron-cash: Return #t from phases.

* gnu/packages/finance.scm (electron-cash)[arguments]: Return truth from
all phases.

3 years agognu: electrum: Return #t from phases.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 01:18:08 +0000 (03:18 +0200)]
gnu: electrum: Return #t from phases.

* gnu/packages/finance.scm (electrum)[arguments]: Return truth from
‘patch-home’.

3 years agognu: wireguard-tools: Cross-compile.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 00:26:03 +0000 (02:26 +0200)]
gnu: wireguard-tools: Cross-compile.

* gnu/packages/vpn.scm (wireguard-tools)[arguments]: Use CC-FOR-TARGET.

3 years agognu: wireguard-tools: Update to 1.0.20200820.
Tobias Geerinckx-Rice [Mon, 24 Aug 2020 00:17:00 +0000 (02:17 +0200)]
gnu: wireguard-tools: Update to 1.0.20200820.

* gnu/packages/vpn.scm (wireguard-tools): Update to 1.0.20200820.

3 years agognu: ebook.scm: Remove duplicate module import.
Brendan Tildesley [Sun, 16 Aug 2020 07:03:15 +0000 (17:03 +1000)]
gnu: ebook.scm: Remove duplicate module import.

Signed-off-by: Leo Famulari <leo@famulari.name>
3 years agognu: Added guile-srfi-145.
Martin Becze [Sun, 23 Aug 2020 18:56:39 +0000 (13:56 -0500)]
gnu: Added guile-srfi-145.

* gnu/packages/guile-xyz.scm (guile-srfi-145): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
3 years agognu: dovecot: Add lucene library to support fts indexing.
Alexey Abramov [Tue, 18 Aug 2020 12:00:29 +0000 (14:00 +0200)]
gnu: dovecot: Add lucene library to support fts indexing.

* gnu/packages/mail.scm (dovecot)[inputs]: Add ice4c, clucene.
[arguments]: Add --with-lucene configuration switch.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: Add akku.
Martin Becze [Sun, 23 Aug 2020 18:21:18 +0000 (13:21 -0500)]
gnu: Add akku.

* gnu/packages/package-management.scm (akku): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
3 years agolint: formatting: Gracefully handle relative file names.
Ludovic Courtès [Sun, 23 Aug 2020 20:48:19 +0000 (22:48 +0200)]
lint: formatting: Gracefully handle relative file names.

Fixes <https://bugs.gnu.org/42543>.
Reported by Jack Hill <jackhill@jackhill.us>.

* guix/lint.scm (check-formatting): Always return a list (previously we
would return #f when 'search-path' returns #f).  Check whether
LOCATION's file is a relative file name.  Return a warning if not.
* tests/guix-lint.sh: Add test.

3 years agolint: Avoid calls to 'package-field-location' with #f as the field.
Ludovic Courtès [Sun, 23 Aug 2020 20:11:31 +0000 (22:11 +0200)]
lint: Avoid calls to 'package-field-location' with #f as the field.

* guix/lint.scm (%make-warning): Call 'package-field-location' only when
FIELD is true.