jackhill/guix/guix.git
4 years agognu: Add grass.
Guillaume Le Vaillant [Sat, 21 Mar 2020 23:03:41 +0000 (00:03 +0100)]
gnu: Add grass.

* gnu/packages/geo.scm (grass): New variable.

4 years agognu: Add python-owslib.
Guillaume Le Vaillant [Sat, 21 Mar 2020 18:58:43 +0000 (19:58 +0100)]
gnu: Add python-owslib.

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

4 years agognu: r-harmony: Update to 0.1.
Ricardo Wurmus [Tue, 24 Mar 2020 10:05:01 +0000 (11:05 +0100)]
gnu: r-harmony: Update to 0.1.

* gnu/packages/cran.scm (r-harmony): Update to 0.1.
[native-inputs]: Add autoconf.

4 years agognu: r-shiny: Update to 1.4.0.2.
Ricardo Wurmus [Tue, 24 Mar 2020 09:41:02 +0000 (10:41 +0100)]
gnu: r-shiny: Update to 1.4.0.2.

* gnu/packages/cran.scm (r-shiny): Update to 1.4.0.2.

4 years agognu: r-multiassayexperiment: Update to 1.12.5.
Ricardo Wurmus [Tue, 24 Mar 2020 09:34:51 +0000 (10:34 +0100)]
gnu: r-multiassayexperiment: Update to 1.12.5.

* gnu/packages/bioconductor.scm (r-multiassayexperiment): Update to 1.12.5.
[native-inputs]: Add r-knitr.

4 years agognu: r-bigpint: Update to 1.2.2.
Ricardo Wurmus [Tue, 24 Mar 2020 09:34:37 +0000 (10:34 +0100)]
gnu: r-bigpint: Update to 1.2.2.

* gnu/packages/bioconductor.scm (r-bigpint): Update to 1.2.2.
[native-inputs]: Add r-knitr.

4 years agognu: r-biosigner: Update to 1.14.4.
Ricardo Wurmus [Tue, 24 Mar 2020 09:34:25 +0000 (10:34 +0100)]
gnu: r-biosigner: Update to 1.14.4.

* gnu/packages/bioconductor.scm (r-biosigner): Update to 1.14.4.

4 years agognu: r-gosemsim: Update to 2.12.1.
Ricardo Wurmus [Tue, 24 Mar 2020 09:34:15 +0000 (10:34 +0100)]
gnu: r-gosemsim: Update to 2.12.1.

* gnu/packages/bioconductor.scm (r-gosemsim): Update to 2.12.1.
[native-inputs]: Add r-knitr.

4 years agognu: r-tximport: Update to 1.14.2.
Ricardo Wurmus [Tue, 24 Mar 2020 09:33:59 +0000 (10:33 +0100)]
gnu: r-tximport: Update to 1.14.2.

* gnu/packages/bioinformatics.scm (r-tximport): Update to 1.14.2.
[native-inputs]: Add r-knitr.

4 years agognu: r-caret: Update to 6.0-86.
Ricardo Wurmus [Tue, 24 Mar 2020 09:33:44 +0000 (10:33 +0100)]
gnu: r-caret: Update to 6.0-86.

* gnu/packages/cran.scm (r-caret): Update to 6.0-86.
[native-inputs]: Add r-knitr.

4 years agognu: r-batchtools: Update to 0.9.13.
Ricardo Wurmus [Tue, 24 Mar 2020 09:33:24 +0000 (10:33 +0100)]
gnu: r-batchtools: Update to 0.9.13.

* gnu/packages/cran.scm (r-batchtools): Update to 0.9.13.
[native-inputs]: Add r-knitr.

4 years agognu: r-mcmc: Update to 0.9-7.
Ricardo Wurmus [Tue, 24 Mar 2020 09:33:16 +0000 (10:33 +0100)]
gnu: r-mcmc: Update to 0.9-7.

* gnu/packages/cran.scm (r-mcmc): Update to 0.9-7.

4 years agognu: r-proc: Update to 1.16.2.
Ricardo Wurmus [Tue, 24 Mar 2020 09:33:09 +0000 (10:33 +0100)]
gnu: r-proc: Update to 1.16.2.

* gnu/packages/cran.scm (r-proc): Update to 1.16.2.

4 years agognu: r-xgboost: Update to 1.0.0.1.
Ricardo Wurmus [Tue, 24 Mar 2020 09:32:53 +0000 (10:32 +0100)]
gnu: r-xgboost: Update to 1.0.0.1.

* gnu/packages/cran.scm (r-xgboost): Update to 1.0.0.1.
[native-inputs]: Add r-knitr.

4 years agognu: r-radiant-data: Update to 1.3.4.
Ricardo Wurmus [Tue, 24 Mar 2020 09:31:58 +0000 (10:31 +0100)]
gnu: r-radiant-data: Update to 1.3.4.

* gnu/packages/cran.scm (r-radiant-data): Update to 1.3.4.
[propagated-inputs]: Remove r-gridextra; add r-mass, r-patchwork, and
r-randomizr.

4 years agognu: r-patchwork: Update to 1.0.0.
Ricardo Wurmus [Tue, 24 Mar 2020 09:32:29 +0000 (10:32 +0100)]
gnu: r-patchwork: Update to 1.0.0.

* gnu/packages/cran.scm (r-patchwork): Update to 1.0.0.
[source]: Fetch from CRAN.
[native-inputs]: Add r-knitr.

4 years agognu: r-igraph: Update to 1.2.5.
Ricardo Wurmus [Tue, 24 Mar 2020 09:31:46 +0000 (10:31 +0100)]
gnu: r-igraph: Update to 1.2.5.

* gnu/packages/graph.scm (r-igraph): Update to 1.2.5.

4 years agognu: r-robustbase: Update to 0.93-6.
Ricardo Wurmus [Tue, 24 Mar 2020 09:31:34 +0000 (10:31 +0100)]
gnu: r-robustbase: Update to 0.93-6.

* gnu/packages/statistics.scm (r-robustbase): Update to 0.93-6.

4 years agognu: r-hmisc: Update to 4.4-0.
Ricardo Wurmus [Tue, 24 Mar 2020 09:31:28 +0000 (10:31 +0100)]
gnu: r-hmisc: Update to 4.4-0.

* gnu/packages/statistics.scm (r-hmisc): Update to 4.4-0.

4 years agognu: r-pkgmaker: Update to 0.31.1.
Ricardo Wurmus [Tue, 24 Mar 2020 09:31:19 +0000 (10:31 +0100)]
gnu: r-pkgmaker: Update to 0.31.1.

* gnu/packages/statistics.scm (r-pkgmaker): Update to 0.31.1.

4 years agognu: r-dt: Update to 0.13.
Ricardo Wurmus [Tue, 24 Mar 2020 09:31:07 +0000 (10:31 +0100)]
gnu: r-dt: Update to 0.13.

* gnu/packages/statistics.scm (r-dt): Update to 0.13.
[native-inputs]: Add r-knitr.

4 years agognu: r-locfit: Update to 1.5-9.2.
Ricardo Wurmus [Tue, 24 Mar 2020 09:30:52 +0000 (10:30 +0100)]
gnu: r-locfit: Update to 1.5-9.2.

* gnu/packages/statistics.scm (r-locfit): Update to 1.5-9.2.

4 years agognu: Add r-randomizr.
Ricardo Wurmus [Tue, 24 Mar 2020 09:18:33 +0000 (10:18 +0100)]
gnu: Add r-randomizr.

* gnu/packages/cran.scm (r-randomizr): New variable.

4 years agognu: sbcl: Increase maximum heap size to 2Gb.
Guillaume Le Vaillant [Mon, 23 Mar 2020 17:14:45 +0000 (18:14 +0100)]
gnu: sbcl: Increase maximum heap size to 2Gb.

* gnu/packages/lisp.scm (sbcl)[arguments]: Add the "--dynamic-space-size=2Gb"
  option in the build phase.

4 years agognu: dialog: Update to 1.3-20200228.
Michael Rohleder [Mon, 23 Mar 2020 21:14:00 +0000 (22:14 +0100)]
gnu: dialog: Update to 1.3-20200228.

* gnu/packages/ncurses.scm (dialog): Update to 1.3-20200228.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: Git: Update to 2.26.0.
Leo Famulari [Mon, 23 Mar 2020 23:40:47 +0000 (19:40 -0400)]
gnu: Git: Update to 2.26.0.

* gnu/packages/version-control.scm (git): Update to 2.26.0.
[arguments]: Adjust the 'install-credential-netrc' phase to upstream changes.

4 years agoRevert "gnu: youtube-dl: Add 'ffmpeg' as input."
Mathieu Othacehe [Mon, 23 Mar 2020 20:49:45 +0000 (21:49 +0100)]
Revert "gnu: youtube-dl: Add 'ffmpeg' as input."

This reverts commit 4233e74b39635d5ef4dde204ecc26dcc894d9467.

4 years agognu: Mutt: Update to 1.13.4.
Leo Famulari [Mon, 23 Mar 2020 19:45:30 +0000 (15:45 -0400)]
gnu: Mutt: Update to 1.13.4.

* gnu/packages/mail.scm (mutt): Update to 1.13.4.
[source]: Prefer HTTPS URL and replace FTP URL with HTTP.

4 years agognu: sord: Add pcre to inputs.
Alexandros Theodotou [Mon, 23 Mar 2020 16:51:44 +0000 (16:51 +0000)]
gnu: sord: Add pcre to inputs.

* gnu/packages/rdf.scm (sord)[inputs]: Add pcre needed for sord_validate.

4 years agognu: youtube-dl: Add zsh completion.
Brice Waegeneire [Mon, 23 Mar 2020 17:15:02 +0000 (18:15 +0100)]
gnu: youtube-dl: Add zsh completion.

* gnu/packages/video.scm (youtube-dl)[arguments]: Add phase
install-completion.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
4 years agognu: youtube-dl: Add 'ffmpeg' as input.
Brice Waegeneire [Mon, 23 Mar 2020 17:15:01 +0000 (18:15 +0100)]
gnu: youtube-dl: Add 'ffmpeg' as input.

* gnu/packages/video.scm (youtube-dl)[arguments]: Add phase
wrap-executable.
[inputs]: Add ffmpeg.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
4 years agodoc: Fix typo in example.
Brice Waegeneire [Mon, 23 Mar 2020 17:27:34 +0000 (18:27 +0100)]
doc: Fix typo in example.

* doc/guix.texi (Invoking guix deploy): Fix example to use '%user'
variable defined above.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
4 years agosystem: Export 'operating-system-kernel-loadable-modules'.
Brice Waegeneire [Mon, 23 Mar 2020 17:32:02 +0000 (18:32 +0100)]
system: Export 'operating-system-kernel-loadable-modules'.

* gnu/system.scm: Export 'operating-system-kernel-loadable-modules'.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
4 years agognu: emacs-lua-mode: Update to 20191204.
Maxim Cournoyer [Mon, 23 Mar 2020 04:13:23 +0000 (00:13 -0400)]
gnu: emacs-lua-mode: Update to 20191204.

* (emacs-lua-mode): Update to 20191204.

4 years agognu: emacs-ert-runner: Update to 0.8.0.
Maxim Cournoyer [Mon, 23 Mar 2020 03:54:54 +0000 (23:54 -0400)]
gnu: emacs-ert-runner: Update to 0.8.0.

* (emacs-ert-runner): Update to 0.8.0.

4 years agognu: emacs-dash: Update to 2.17.0.
Maxim Cournoyer [Mon, 23 Mar 2020 03:54:32 +0000 (23:54 -0400)]
gnu: emacs-dash: Update to 2.17.0.

* (emacs-dash): Update to 2.17.0.

4 years agoinstaller: Fix cow-store umount issue.
Mathieu Othacehe [Mon, 23 Mar 2020 17:35:51 +0000 (18:35 +0100)]
installer: Fix cow-store umount issue.

* gnu/installer/final.scm (kill-cow-users): Ignore exception that could be
raised if a process disappears between reading its pid and its maps file.

4 years agognu: parallel: Update to 20200322.
Tobias Geerinckx-Rice [Mon, 23 Mar 2020 16:40:29 +0000 (17:40 +0100)]
gnu: parallel: Update to 20200322.

* gnu/packages/parallel.scm (parallel): Update to 20200322.

4 years agognu: extremetuxracer: Update to 0.8.0.
Tobias Geerinckx-Rice [Mon, 9 Mar 2020 02:00:18 +0000 (03:00 +0100)]
gnu: extremetuxracer: Update to 0.8.0.

* gnu/packages/games.scm (extremetuxracer): Update to 0.8.0.

4 years agognu: Add zlfo.
Alexandros Theodotou [Sat, 21 Mar 2020 18:49:06 +0000 (18:49 +0000)]
gnu: Add zlfo.

* gnu/packages/music.scm (zlfo): New variable.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
4 years agognu: Add ztoolkit-rsvg.
Alexandros Theodotou [Sat, 21 Mar 2020 18:45:51 +0000 (18:45 +0000)]
gnu: Add ztoolkit-rsvg.

* gnu/packages/audio.scm (ztoolkit-rsvg): New variable.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net> [with modifications]
4 years agognu: Add ztoolkit.
Alexandros Theodotou [Sat, 21 Mar 2020 18:44:13 +0000 (18:44 +0000)]
gnu: Add ztoolkit.

* gnu/packages/audio.scm (ztoolkit): New variable.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
4 years agognu: Add circos.
Roel Janssen [Mon, 23 Mar 2020 10:42:36 +0000 (11:42 +0100)]
gnu: Add circos.

* gnu/local.mk: Register circos-remove-findbin.patch.
* gnu/packages/patches/circos-remove-findbin.patch: New file.
* gnu/packages/perl.scm: New variable.

4 years agognu: Add python-gcovr.
Alexandros Theodotou [Sat, 21 Mar 2020 19:45:14 +0000 (19:45 +0000)]
gnu: Add python-gcovr.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add lv2toweb.
Alexandros Theodotou [Sat, 21 Mar 2020 19:38:41 +0000 (19:38 +0000)]
gnu: Add lv2toweb.

* gnu/packages/audio.scm (lv2toweb): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agomachine: ssh: Better report missing initrd modules.
Ludovic Courtès [Fri, 20 Mar 2020 13:54:42 +0000 (14:54 +0100)]
machine: ssh: Better report missing initrd modules.

* gnu/machine/ssh.scm (machine-check-initrd-modules): Improve message
upon module mismatch.

4 years agodeploy: Write a message upon successful deployment.
Ludovic Courtès [Fri, 20 Mar 2020 13:52:01 +0000 (14:52 +0100)]
deploy: Write a message upon successful deployment.

* guix/scripts/deploy.scm (guix-deploy): Write message upon successful
deployment.

4 years agodeploy: Show what machines will be deployed.
Ludovic Courtès [Fri, 20 Mar 2020 11:46:06 +0000 (12:46 +0100)]
deploy: Show what machines will be deployed.

* guix/scripts/deploy.scm (show-what-to-deploy): New procedure.
(guix-deploy): Call it.

4 years agoui: Add 'indented-string'.
Ludovic Courtès [Fri, 20 Mar 2020 11:44:43 +0000 (12:44 +0100)]
ui: Add 'indented-string'.

* guix/scripts/pull.scm (display-news-entry): Remove extra space in
format string for 'indented-string'.
(indented-string): Remove.
(display-new/upgraded-packages)[pretty]: Pass #:initial-indent? to
'indented-string'.
* guix/ui.scm (indented-string): New procedure.

4 years agomachine: ssh: Make sanity checks in a single round trip.
Ludovic Courtès [Fri, 20 Mar 2020 11:08:10 +0000 (12:08 +0100)]
machine: ssh: Make sanity checks in a single round trip.

* gnu/machine/ssh.scm (<remote-assertion>): New record type.
(remote-let): New macro.
(machine-check-file-system-availability): Rewrite to use 'remote-let'
instead of 'mlet' and 'machine-remote-eval'.
(machine-check-initrd-modules): Likewise.
(machine-check-building-for-appropriate-system): Make non-monadic.
(check-deployment-sanity): Rewrite to gather all the assertions as a
single gexp and pass it to 'machine-remote-eval'.

4 years agossh: 'send-files' reports missing modules on the remote host.
Ludovic Courtès [Mon, 23 Mar 2020 09:08:41 +0000 (10:08 +0100)]
ssh: 'send-files' reports missing modules on the remote host.

Reported by Mikael Djurfeldt <mikael@djurfeldt.com>
in <https://bugs.gnu.org/40125>.

* guix/ssh.scm (send-files)[inferior-remote-eval*]: New procedure.
[missing]: Use it.  Add an explicit 'resolve-module' call.
(report-inferior-exception): New procedure.

4 years agoRe-order the armhf linux-libre kernel packages to fix the build.
Leo Famulari [Mon, 23 Mar 2020 05:33:31 +0000 (01:33 -0400)]
Re-order the armhf linux-libre kernel packages to fix the build.

This is a followup to commit 37f8c50cdc2e99189c74999319f3a1854d419546.

Previously, building Guix crashed like this:

------
In ice-9/eval.scm:
    619:8  4 (_ #f)
   626:19  3 (_ #<directory (gnu packages linux) 7fcf3e526c80>)
    159:9  2 (_ #<directory (gnu packages linux) 7fcf3e526c80>)
   223:20  1 (proc #<directory (gnu packages linux) 7fcf3e526c80>)
In unknown file:
           0 (%resolve-variable (7 . linux-libre-arm-generic) #<directory (gnu packages linux) 7fcf3e526c80>)

ERROR: In procedure %resolve-variable:
error: linux-libre-arm-generic: unbound variable
------

* gnu/packages/linux.scm (linux-libre-arm-veyron): Move after
linux-libre-arm-generic.

4 years agognu: Add linux-libre-arm64-generic.
Vagrant Cascadian [Sun, 15 Mar 2020 01:58:05 +0000 (18:58 -0700)]
gnu: Add linux-libre-arm64-generic.

* gnu/packages/linux (linux-libre-arm64-generic): New variable.

4 years agognu: linux-libre-arm-veyron: Deprecate package.
Vagrant Cascadian [Mon, 23 Mar 2020 02:42:56 +0000 (02:42 +0000)]
gnu: linux-libre-arm-veyron: Deprecate package.

* gnu/packages/linux (linux-libre-arm-veyron): Mark as deprecated package.
  (kernel-config-veyron): Remove obsolete function.
* gnu/system/examples/asus-c201.tmpl: Update to use linux-libre-arm-generic.
* gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf: Delete file.
* Makefile.am (AUX_FILES): Update accordingly.

4 years agognu: emacs-elpy: Update to 1.32.0.
Maxim Cournoyer [Sun, 22 Mar 2020 11:23:15 +0000 (07:23 -0400)]
gnu: emacs-elpy: Update to 1.32.0.

* gnu/packages/emacs-xyz.scm (emacs-elpy): Update to 1.32.0.
[phases]{fake-virtualenv}: Rename to 'do-not-use-virtualenv.  Use the new
ELPY_TEST_DONT_USE_VIRTUALENV environment variable to skip tests using
virtualenv, and set the elpy-rpc-virtualenv-path default value to 'system so
that a virtualenv is not needed.
[native-inputs]: Move the Python dependencies to...
[propagated] ...here.  This is so that Elpy doesn't nag users with fetching
those from PyPI.   Add python-rope.

Fixes <https://bugs.gnu.org/40079>.
Reported-by: sirgazil <sirgazil@zoho.com>
4 years agognu: emacs: Patch references to /bin/sh.
Maxim Cournoyer [Sun, 22 Mar 2020 03:16:08 +0000 (23:16 -0400)]
gnu: emacs: Patch references to /bin/sh.

When attempting to run ert-runner in the build side environment where /bin/sh
doesn't exist as part of the emacs-elpy test suite, Emacs was throwing the
error "Searching for program: No such file or directory, /bin/sh".  This is
because the default shell when SHELL is not set was "/bin/sh", as can be seen
in callproc.c:

  sh = getenv ("SHELL");
  Vshell_file_name = build_string (sh ? sh : "/bin/sh");

Thus, patch the occurrences of "/bin/sh" in the source files of Emacs to refer
to their correct store location.

* gnu/packages/emacs.scm (emacs)[phases]{patch-program-file-names}: Add phase.

4 years agognu: emacs-minimal: Install the custom site-start file.
Maxim Cournoyer [Sun, 22 Mar 2020 16:46:39 +0000 (12:46 -0400)]
gnu: emacs-minimal: Install the custom site-start file.

This makes the EMACS-MINIMAL package more generally useful, by adding support
to load autoload definitions.  Note that this doesn't negatively impact the
performance of the emacs-build-system, because at that time the --quick option
is used, which disables loading site-start.el (which is the one calling
GUIX-EMACS-AUTOLOAD-PACKAGES).

* gnu/packages/emacs.scm (emacs-minimal)[phases]: Do not delete the
'install-site-start phase.
[inputs]: Add the emacs/guix-emacs.el auxiliary file.

4 years agognu: emacs: Re-indent.
Maxim Cournoyer [Sun, 22 Mar 2020 16:44:24 +0000 (12:44 -0400)]
gnu: emacs: Re-indent.

* gnu/packages/emacs.scm (emacs): Fix indentation.

4 years agognu: emacs: Byte compile the site-lisp directory, without coupling.
Maxim Cournoyer [Sun, 22 Mar 2020 16:40:25 +0000 (12:40 -0400)]
gnu: emacs: Byte compile the site-lisp directory, without coupling.

This re-instates what the previously reverted commit did, but without adding
a dependency on the (guix build emacs-utils) module.

* gnu/packages/emacs.scm (emacs)[phases]{install-site-start}: Define a
EMACS-BYTE-COMPILE-DIRECTORY procedure, and use it.

4 years agoRevert "gnu: emacs: Byte compile the site-lisp directory."
Maxim Cournoyer [Sun, 22 Mar 2020 16:10:26 +0000 (12:10 -0400)]
Revert "gnu: emacs: Byte compile the site-lisp directory."

This reverts commit 4714d0fc1a96eb6d421b64b0b585fe8043dcd07b.

Rational: Having to rebuild Emacs every time (guix build emacs-utils) changes
is not great.

4 years agognu: emacs: Remove obsolete FIXME comment.
Maxim Cournoyer [Sun, 22 Mar 2020 16:09:25 +0000 (12:09 -0400)]
gnu: emacs: Remove obsolete FIXME comment.

* gnu/packages/aux-files/emacs/guix-emacs.el: Remove comment.

4 years agobuild: emacs-utils: Add an option to select scoping for batch eval.
Maxim Cournoyer [Sun, 22 Mar 2020 14:42:44 +0000 (10:42 -0400)]
build: emacs-utils: Add an option to select scoping for batch eval.

In Emacs 27, --eval now evaluates using lexical scoping.  This change adds an
option to select dynamic scoping, by using a workaround proposed in
<https://bugs.gnu.org/39823>.

* guix/build/emacs-utils.scm (emacs-batch-eval): Add a DYNAMIC? keyword
argument.  Wrap the EXPR with a call to EVAL that makes use of the argument
to select the scoping mode.
(emacs-generate-autoloads): Use it.

4 years agognu: wxmaxima: Update to 20.03.1.
Kei Kebreau [Sun, 22 Mar 2020 23:01:02 +0000 (19:01 -0400)]
gnu: wxmaxima: Update to 20.03.1.

* gnu/packages/maths.scm (wxmaxima): Update to 20.03.1.

4 years agonls: Update.
Ludovic Courtès [Sun, 22 Mar 2020 23:06:27 +0000 (00:06 +0100)]
nls: Update.

4 years agoservices: console-font: Fix docstring.
Ludovic Courtès [Sun, 22 Mar 2020 20:58:03 +0000 (21:58 +0100)]
services: console-font: Fix docstring.

* gnu/services/base.scm (console-font-service-type): Use quasiquote and
unquote appropriately in docstring.

4 years agodoc: Add console-font-service-type to Base Services.
John Soo [Wed, 18 Mar 2020 15:33:59 +0000 (08:33 -0700)]
doc: Add console-font-service-type to Base Services.

* doc/guix.texi (Base Services): Add console-font-service-type.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
4 years agotests: Use the same source as ci.guix.gnu.org.
Ludovic Courtès [Sun, 22 Mar 2020 17:47:48 +0000 (18:47 +0100)]
tests: Use the same source as ci.guix.gnu.org.

* etc/system-tests.scm (system-test-manifest): In 'local-file' call, use
a name that is a function of COMMIT to match what Cuirass does.

4 years agognu: i3-gaps: Update to 4.18.
Alexandru-Sergiu Marton [Sun, 22 Mar 2020 19:21:29 +0000 (21:21 +0200)]
gnu: i3-gaps: Update to 4.18.

* gnu/packages/wm.scm (i3-gaps): Update to 1.18.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: Remove qemu-minimal-2.10.
Leo Famulari [Sat, 21 Mar 2020 22:13:08 +0000 (18:13 -0400)]
gnu: Remove qemu-minimal-2.10.

* gnu/packages/virtualization.scm (qemu-minimal-2.10): Remove variable.
* gnu/packages/debug.scm (qemu-for-american-fuzzy-lop): New variable.
(american-fuzzy-lop)[inputs]: Remove custom-qemu and add
qemu-for-american-fuzzy-lop.
[arguments]: Adjust reference to QEMU in the 'install-qemu' phase.

4 years agognu: Prefix licenses in (gnu packages debug).
Leo Famulari [Sat, 21 Mar 2020 21:57:30 +0000 (17:57 -0400)]
gnu: Prefix licenses in (gnu packages debug).

* gnu/packages/debug.scm: Add a license prefix.

4 years agognu: electron-cash: Update to 4.0.13.
Guillaume Le Vaillant [Sun, 22 Mar 2020 18:03:52 +0000 (19:03 +0100)]
gnu: electron-cash: Update to 4.0.13.

This package was inheriting from electrum, but as now almost all the fields
have differences, let's make these two packages independent from each other.

* gnu/packages/finance.scm (electron-cash): Update to 4.0.13.
  [inputs]: Add libevent, openssl, python-cython, python-hidapi,
  python-keepkey, python-stem, python-trezor, qtsvg and zlib.
  [arguments]: Add a wrap-qt phase allowing qtsvg to be found at runtime to
  show SVG icons correctly.

4 years agognu: gnome-shell-extension-paperwm: Update to 36.0.
Alex Griffin [Sun, 22 Mar 2020 16:11:32 +0000 (11:11 -0500)]
gnu: gnome-shell-extension-paperwm: Update to 36.0.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-paperwm): Update to 36.0.

4 years agognu: qbittorrent: Fix icons not showing in GUI.
Guillaume Le Vaillant [Sun, 22 Mar 2020 16:06:36 +0000 (17:06 +0100)]
gnu: qbittorrent: Fix icons not showing in GUI.

* gnu/packages/bittorrent.scm (qbittorrent)[arguments]: Add a wrap-qt phase.

4 years agognu: libchop: Build against libtirpc and related tools.
Ludovic Courtès [Sun, 22 Mar 2020 15:48:14 +0000 (16:48 +0100)]
gnu: libchop: Build against libtirpc and related tools.

* gnu/packages/backup.scm (libchop)[source]: Add 'modules' and 'snippet'.
[arguments]: Add #:configure-flags; add 'set-libtirpc-include-path' phase.
[native-inputs]: Add RPCSVC-PROTO.
[inputs]: Add LIBTIRPC.

4 years agoRemove workaround for 'time-monotonic' in Guile 2.2.2.
Ludovic Courtès [Sun, 22 Mar 2020 14:58:49 +0000 (15:58 +0100)]
Remove workaround for 'time-monotonic' in Guile 2.2.2.

This is a followup to e688c2df3924423b67892cc9939ca099c729d1cb.

* build-aux/hydra/evaluate.scm <top level>: Remove 'time-monotonic'
definition.
* guix/cache.scm: Likewise.
* guix/progress.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
* guix/scripts/weather.scm: Likewise.
* tests/cache.scm: Likewise.

4 years agoinstaller: Do not include the host (guix config).
Ludovic Courtès [Sun, 22 Mar 2020 14:51:40 +0000 (15:51 +0100)]
installer: Do not include the host (guix config).

Previously, "locales.drv" would depend on the host's (guix config).
Thus, the derivation would depend on details of the user's installation.

* gnu/installer.scm (not-config?): New procedure.
(build-compiled-file): Pass it to 'source-module-closure' and use
'make-config.scm'.

4 years agognu: Add nextpnr-ice40.
pinoaffe@airmail.cc [Sun, 22 Mar 2020 10:47:48 +0000 (10:47 +0000)]
gnu: Add nextpnr-ice40.

* gnu/packages/fpga.scm (nextpnr-ice40): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
4 years agognu: icestorm: Update to latest revision.
pinoaffe@airmail.cc [Sun, 22 Mar 2020 10:38:51 +0000 (10:38 +0000)]
gnu: icestorm: Update to latest revision.

* gnu/packages/fpga.scm (icestorm): Update to latest revision.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
4 years agognu: r-dt: Update license field.
Efraim Flashner [Sun, 22 Mar 2020 13:37:27 +0000 (15:37 +0200)]
gnu: r-dt: Update license field.

* gnu/packages/statistics.scm (r-dt)[license]: Add wtfpl2.

4 years agognu: zzuf: Update license field.
Efraim Flashner [Sun, 22 Mar 2020 13:35:37 +0000 (15:35 +0200)]
gnu: zzuf: Update license field.

* gnu/packages/debug.scm (zzuf)[license]: List as wtfpl2.

4 years agognu: libcaca: Update license field.
Efraim Flashner [Sun, 22 Mar 2020 13:34:12 +0000 (15:34 +0200)]
gnu: libcaca: Update license field.

* gnu/packages/video.scm (libcaca)[license]: List as wtfpl2.

4 years agobuild-system: linux-module: Fix cross compilation.
Mathieu Othacehe [Fri, 20 Mar 2020 15:13:20 +0000 (16:13 +0100)]
build-system: linux-module: Fix cross compilation.

* guix/build-system/linux-module.scm (default-kmod, default-gcc): Delete
procedures.
(system->arch): New procedure.
(make-linux-module-builder)[native-inputs]: Move linux...
[inputs]: ...to here.
(linux-module-build-cross): New procedure.
(linux-module-build): Add TARGET.  Pass TARGET and ARCH to build side.
(lower): Allow cross-compilation.  Move "linux" and "linux-module-builder"
to host-inputs.  Add target-inputs.  Call linux-module-build-cross if
TARGET is set, linux-module-build otherwise.
* guix/build/linux-module-build-system.scm (configure): Add ARCH argument.
(linux-module-build): Adjust comment.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
4 years agosystem: Add kernel-loadable-modules to operating-system.
Danny Milosavljevic [Tue, 18 Feb 2020 09:42:07 +0000 (10:42 +0100)]
system: Add kernel-loadable-modules to operating-system.

* gnu/system.scm (<operating-system>): Add kernel-loadable-modules.
(operating-system-directory-base-entries): Use it.
* doc/guix.texi (operating-system Reference): Document
KERNEL-LOADABLE-MODULES.
* gnu/build/linux-modules.scm (depmod): New procedure.
(make-linux-module-directory): New procedure.  Export it.
* guix/profiles.scm (linux-module-database): New procedure.  Export it.
* gnu/tests/linux-modules.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/linux.scm (make-linux-libre*)[arguments]<#:phases>[install]:
Disable depmod.  Remove "build" and "source" symlinks.
[native-inputs]: Remove kmod.

4 years agohydra: evaluate: Use 'with-build-handler'.
Ludovic Courtès [Sun, 22 Mar 2020 11:41:28 +0000 (12:41 +0100)]
hydra: evaluate: Use 'with-build-handler'.

* build-aux/hydra/evaluate.scm (command-line): Remove 'set!' for
'build-things'.  Use 'with-build-handler' instead.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Add comment about
removing 'show-what-to-build' call.

4 years agopackages: 'package-field-location' handles missing source properties.
Ludovic Courtès [Sun, 22 Mar 2020 11:31:07 +0000 (12:31 +0100)]
packages: 'package-field-location' handles missing source properties.

This is a followup to f2b24f01f42c1bad3ddffd140194de1aec38a5f8.

* guix/packages.scm (package-field-location): Check whether
'source-properties->location' returns #f.  This fixes the case where
'source-properties' returns the empty list.

4 years agocopy: Use 'with-build-handler'.
Ludovic Courtès [Sun, 22 Mar 2020 11:26:05 +0000 (12:26 +0100)]
copy: Use 'with-build-handler'.

* guix/scripts/copy.scm (send-to-remote-host): Remove explicit
'show-what-to-build' call.  Call 'build-derivations' unconditionally.
(guix-copy): Wrap 'with-status-verbosity' in 'with-build-handler'.

4 years agocopy: Actually implement '--dry-run'.
Ludovic Courtès [Sun, 22 Mar 2020 11:25:39 +0000 (12:25 +0100)]
copy: Actually implement '--dry-run'.

* guix/scripts/copy.scm (%options): Add '--dry-run'.

4 years agocopy: Factorize 'with-store' & co.
Ludovic Courtès [Sun, 22 Mar 2020 11:19:49 +0000 (12:19 +0100)]
copy: Factorize 'with-store' & co.

* guix/scripts/copy.scm (send-to-remote-host): Remove 'with-store' and
'set-build-options-from-command-line' call.  Add 'local' parameter.
(retrieve-from-remote-host): Likewise.
(guix-copy): Wrap 'with-status-verbosity' in 'with-store' and add call
to 'set-build-options-from-command-line'.

4 years agoui: 'build-notifier' invokes continuation when there's nothing to do.
Ludovic Courtès [Sun, 22 Mar 2020 10:53:21 +0000 (11:53 +0100)]
ui: 'build-notifier' invokes continuation when there's nothing to do.

* guix/ui.scm (build-notifier): Call CONTINUE when there's nothing to
build or download, even when DRY-RUN? is true.

4 years agoui: 'show-what-to-build' returns two values, for builds and downloads.
Ludovic Courtès [Sun, 22 Mar 2020 10:52:41 +0000 (11:52 +0100)]
ui: 'show-what-to-build' returns two values, for builds and downloads.

* guix/ui.scm (show-what-to-build): Return two values.

4 years agoui: 'show-what-to-build' returns true when there are grafts to build.
Ludovic Courtès [Sun, 22 Mar 2020 10:50:40 +0000 (11:50 +0100)]
ui: 'show-what-to-build' returns true when there are grafts to build.

* guix/ui.scm (show-what-to-build): Distinguish between 'build/full' and
'build'.  Return true whe 'build/full' is non-empty, thus taking grafts
into account.

4 years agoguix system: Use 'with-build-handler'.
Ludovic Courtès [Thu, 19 Mar 2020 10:17:34 +0000 (11:17 +0100)]
guix system: Use 'with-build-handler'.

* guix/scripts/system.scm (reinstall-bootloader): Remove call to
'show-what-to-build*'.
(perform-action): Call 'build-derivations' instead of 'maybe-build'.
(process-action): Wrap 'run-with-store' in 'with-build-handler'.

4 years agoguix package, pull: Use 'with-build-handler'.
Ludovic Courtès [Thu, 19 Mar 2020 09:42:28 +0000 (10:42 +0100)]
guix package, pull: Use 'with-build-handler'.

* guix/scripts/package.scm (build-and-use-profile): Remove #:dry-run?
and #:use-substitutes?.  Remove call to 'show-what-to-build' and
'dry-run?' special case.
(process-actions): Adjust accordingly.
(guix-package*): Wrap 'parameterize' in 'with-build-handler'.
* guix/scripts/pull.scm (build-and-install): Remove #:use-substitutes?
and #:dry-run? and adjust 'update-profile' call accordingly.  Remove
'dry-run?' conditional.
(guix-pull): Wrap body in 'with-build-handler'.

4 years agopack: Use 'with-build-handler'.
Ludovic Courtès [Wed, 18 Mar 2020 22:00:13 +0000 (23:00 +0100)]
pack: Use 'with-build-handler'.

* guix/scripts/pack.scm (guix-pack): Wrap 'parameterize' in
'with-build-handler'.  Remove explicit call to 'show-what-to-build'.
Call 'build-derivations' regardless of whether OPTS contains 'dry-run?'.

4 years agodeploy: Use 'with-build-handler'.
Ludovic Courtès [Wed, 18 Mar 2020 21:57:28 +0000 (22:57 +0100)]
deploy: Use 'with-build-handler'.

Until now, 'guix deploy' would never display what is going to be built.

* guix/scripts/deploy.scm (guix-deploy): Wrap 'for-each' in
'with-build-handler'.

4 years agoguix build: Use 'with-build-handler'.
Ludovic Courtès [Wed, 18 Mar 2020 21:46:39 +0000 (22:46 +0100)]
guix build: Use 'with-build-handler'.

Fixes <https://bugs.gnu.org/28310>.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/scripts/build.scm (guix-build): Wrap 'parameterize' in
'with-build-handler'.  Remove explicit call to 'show-what-to-build'.
Call 'build-derivations' regardless of whether OPTS contains 'dry-run?'.

4 years agoui: Add a notification build handler.
Ludovic Courtès [Wed, 18 Mar 2020 21:19:05 +0000 (22:19 +0100)]
ui: Add a notification build handler.

* guix/ui.scm (build-notifier): New variable.

4 years agostore: Add 'with-build-handler'.
Ludovic Courtès [Wed, 18 Mar 2020 21:17:39 +0000 (22:17 +0100)]
store: Add 'with-build-handler'.

* guix/store.scm (current-build-prompt): New variable.
(call-with-build-handler, invoke-build-handler): New procedures.
(with-build-handler): New macro.
* tests/store.scm ("with-build-handler"): New test.

4 years agosyscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent.
Ludovic Courtès [Thu, 19 Mar 2020 10:14:29 +0000 (11:14 +0100)]
syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent.

* guix/build/syscalls.scm (call-with-file-lock)
(call-with-file-lock/no-wait): Initialize PORT in the 'dynamic-wind'
"in" handler.  This allows us to re-enter a captured continuation and
have the lock grabbed anew.

4 years agotests: install: Abort when one installation step fails.
Mathieu Othacehe [Sun, 22 Mar 2020 09:52:43 +0000 (10:52 +0100)]
tests: install: Abort when one installation step fails.

When marionette-eval calls fail in gui-test-program, the installation
continues which results in two scenarios:

- hang forever at the next marionette-eval call,

- keep going and start a broken installation, which is annoying because it
clears the terminal and hides the error.

Make sure that gui-test-program is exited with #f return code when one of the
marionette-eval calls fail.

* gnu/tests/install.scm (gui-test-program): Add a new macro
"marionette-eval*". Throw an exception when one on the marionette-eval calls
fail.