jackhill/guix/guix.git
4 years agoetc: Install mount unit only if it exists.
Tobias Geerinckx-Rice [Sun, 17 May 2020 12:09:43 +0000 (14:09 +0200)]
etc: Install mount unit only if it exists.

This follows up on 1a1faa78b0498fbb71f1533beb4b65817c1d3f2a, and avoids
the (non-fatal) error seen in <https://issues.guix.gnu.org/41356>.

/gnu/store will remain writable on new foreign distribution
installations until the next release.

* etc/guix-install.sh (sys_enable_guix_daemon): Check for
‘gnu-store.mount’ presence before trying to cp it.
Update forgotten copyright header.

4 years agognu: cups: Update to 2.3.3 [fixes CVE-2020-3898 & CVE-2019-8842].
Tobias Geerinckx-Rice [Sun, 17 May 2020 03:16:00 +0000 (05:16 +0200)]
gnu: cups: Update to 2.3.3 [fixes CVE-2020-3898 & CVE-2019-8842].

* gnu/packages/cups.scm (cups-minimal, cups)[replacement]: New fields.
(cups-minimal-2.3.3, cups-2.3.3): New public variables.

4 years agognu: acpica: Drop Texinfo @dfn{} usage.
Tobias Geerinckx-Rice [Sun, 17 May 2020 03:11:29 +0000 (05:11 +0200)]
gnu: acpica: Drop Texinfo @dfn{} usage.

* gnu/packages/admin.scm (acpica)[description]: Substitute @acronym{}
for @dfn{}.

4 years agognu: acpica: Fix typo in synopsis.
Tobias Geerinckx-Rice [Sun, 17 May 2020 03:10:01 +0000 (05:10 +0200)]
gnu: acpica: Fix typo in synopsis.

* gnu/packages/admin.scm (acpica)[synopsis]: Fix typo or grammar.

4 years agognu: acpica: Update to 20200430.
Tobias Geerinckx-Rice [Sun, 17 May 2020 03:09:19 +0000 (05:09 +0200)]
gnu: acpica: Update to 20200430.

* gnu/packages/admin.scm (acpica): Update to 20200430.

4 years agognu: kdeconnect: Fix kdeconnectd path.
Efraim Flashner [Sun, 17 May 2020 09:23:06 +0000 (12:23 +0300)]
gnu: kdeconnect: Fix kdeconnectd path.

* gnu/packages/kde.scm (kdeconnect)[arguments]: Add configure-flag to
set libexec as a top-level directory in the output.

4 years agognu: racket: Update to 7.7.
Pierre Neidhardt [Sun, 17 May 2020 09:16:57 +0000 (11:16 +0200)]
gnu: racket: Update to 7.7.

* gnu/packages/scheme.scm (racket): Update to 7.7.

4 years agognu: qemu-minimal: Use 'match' to find architecture.
Efraim Flashner [Sun, 17 May 2020 07:13:41 +0000 (10:13 +0300)]
gnu: qemu-minimal: Use 'match' to find architecture.

* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Use 'match'
to target the correct architecture.

4 years agodoc: meson-build-system: Fix build type documentation.
Julien Lepiller [Sun, 17 May 2020 01:27:37 +0000 (03:27 +0200)]
doc: meson-build-system: Fix build type documentation.

* doc/guix.texi (Build Systems): Fix meson build system description.

4 years agognu: soundconverter: Update to 3.0.2.
Tobias Geerinckx-Rice [Sat, 16 May 2020 23:38:26 +0000 (01:38 +0200)]
gnu: soundconverter: Update to 3.0.2.

* gnu/packages/gnome.scm (soundconverter): Update to 3.0.2.
[source]: Remove upstreamed patch.
* gnu/packages/patches/soundconverter-remove-gconf-dependency.patch:
Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

4 years agognu: alpine: Support cross-gcc'ing.
Tobias Geerinckx-Rice [Sun, 17 May 2020 00:51:04 +0000 (02:51 +0200)]
gnu: alpine: Support cross-gcc'ing.

* gnu/packages/mail.scm (alpine)[arguments]: Use ${target}-gcc when
cross-compiling.

4 years agognu: alpine: Update to 2.22.
Tobias Geerinckx-Rice [Sun, 17 May 2020 00:27:27 +0000 (02:27 +0200)]
gnu: alpine: Update to 2.22.

* gnu/packages/mail.scm (alpine): Update to 2.22.
[arguments]: Add ‘assume-shadow-passwords’ phase.

4 years agognu: spiped: Update to 1.6.1.
Tobias Geerinckx-Rice [Sat, 16 May 2020 23:28:09 +0000 (01:28 +0200)]
gnu: spiped: Update to 1.6.1.

* gnu/packages/networking.scm (spiped): Update to 1.6.1.

4 years agognu: java-xz: Remove duplicate definition.
Julien Lepiller [Sat, 16 May 2020 23:48:28 +0000 (01:48 +0200)]
gnu: java-xz: Remove duplicate definition.

* gnu/packages/java.scm (java-xz): Remove duplicate variable.
(java-plexus-archiver)[inputs]: Use java-xz.
* gnu/packages/java-compression.scm (java-tukaani-xz): Rename to
java-xz.

4 years agognu: julius: Remove unused bundled libraries.
Timotej Lazar [Sat, 16 May 2020 20:53:17 +0000 (22:53 +0200)]
gnu: julius: Remove unused bundled libraries.

* gnu/packages/games.scm (julius)[source](snippet): Remove
ext/{dirent,png,SDL2,zlib}.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: julius: Update to 1.4.0.
Timotej Lazar [Sat, 16 May 2020 20:53:16 +0000 (22:53 +0200)]
gnu: julius: Update to 1.4.0.

* gnu/packages/games.scm (julius): Update to 1.4.0.
[inputs]: Add new dependency libpng.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: mumble: End phase with #t.
Björn Höfling [Sat, 16 May 2020 21:12:26 +0000 (23:12 +0200)]
gnu: mumble: End phase with #t.

* gnu/packages/telephony.scm (mumble)[arguments] End install phase with #t.

4 years agognu: java-jmapviewer: Return #t from all phases.
Björn Höfling [Thu, 14 May 2020 12:07:53 +0000 (14:07 +0200)]
gnu: java-jmapviewer: Return #t from all phases.

* gnu/packages/geo.scm (java-jmapviewer)[arguments]: Return #t from install
phase.

4 years agognu: supertux: Update to 0.6.2.
Tobias Geerinckx-Rice [Sat, 16 May 2020 20:32:38 +0000 (22:32 +0200)]
gnu: supertux: Update to 0.6.2.

* gnu/packages/games.scm (supertux): Update to 0.6.2.

4 years agognu: padthv1: Update to 0.9.14.
Tobias Geerinckx-Rice [Sat, 16 May 2020 22:26:55 +0000 (00:26 +0200)]
gnu: padthv1: Update to 0.9.14.

* gnu/packages/music.scm (padthv1): Update to 0.9.14.

4 years agognu: samplv1: Update to 0.9.14.
Tobias Geerinckx-Rice [Sat, 16 May 2020 22:26:51 +0000 (00:26 +0200)]
gnu: samplv1: Update to 0.9.14.

* gnu/packages/music.scm (samplv1): Update to 0.9.14.

4 years agognu: drumkv1: Update to 0.9.14.
Tobias Geerinckx-Rice [Sat, 16 May 2020 22:26:45 +0000 (00:26 +0200)]
gnu: drumkv1: Update to 0.9.14.

* gnu/packages/music.scm (drumkv1): Update to 0.9.14.

4 years agognu: synthv1: Update to 0.9.14.
Tobias Geerinckx-Rice [Sat, 16 May 2020 22:26:40 +0000 (00:26 +0200)]
gnu: synthv1: Update to 0.9.14.

* gnu/packages/music.scm (synthv1): Update to 0.9.14.

4 years agognu: guile-hall: Update to 0.3.1.
Alex Sassmannshausen [Sat, 16 May 2020 20:54:45 +0000 (22:54 +0200)]
gnu: guile-hall: Update to 0.3.1.

* gnu/packages/guile-xyz.scm (guile-hall): Update to 0.3.1.

4 years agognu: multipath-tools: Enable tests.
Marius Bakke [Sat, 16 May 2020 18:56:20 +0000 (20:56 +0200)]
gnu: multipath-tools: Enable tests.

* gnu/packages/linux.scm (multipath-tools)[arguments]: Remove #:tests?.  Add
 #:test-target.  Add phase to add missing linker flag.
[native-inputs]: Add CMOCKA.

4 years agognu: heimdal: Update to 7.7.0.
Maxim Cournoyer [Sat, 16 May 2020 18:32:37 +0000 (14:32 -0400)]
gnu: heimdal: Update to 7.7.0.

And fix the test suite failures as a side effect.

* gnu/packages/kerberos.scm (heimdal): Update to 7.7.0.

4 years agognu: gajim: Adapt search path for Python 3.8.
Marius Bakke [Sat, 16 May 2020 17:59:27 +0000 (19:59 +0200)]
gnu: gajim: Adapt search path for Python 3.8.

Fixes <https://bugs.gnu.org/41319>.
Reported by Raghav Gururajan <raghavgururajan@disroot.org>.

* gnu/packages/messaging.scm (gajim)[native-search-paths]: Update the
PYTHONPATH variable to search for Python 3.8 packages.

4 years agognu: multipath-tools: Update to 0.8.4.
Marius Bakke [Sat, 16 May 2020 16:13:35 +0000 (18:13 +0200)]
gnu: multipath-tools: Update to 0.8.4.

* gnu/packages/patches/multipath-tools-sans-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/linux.scm (multipath-tools): Update to 0.8.4.
[source](patches): New field.
[arguments]: Add #:parallel-build?.  Add phase to fix erroneous compiler warning.

4 years agognu: multipath-tools: Fetch with git.
Marius Bakke [Sat, 16 May 2020 16:08:27 +0000 (18:08 +0200)]
gnu: multipath-tools: Fetch with git.

* gnu/packages/linux.scm (multipath-tools)[source]: Change to GIT-FETCH.

4 years agognu: xdot: Fix typo in description.
Marius Bakke [Fri, 15 May 2020 09:48:44 +0000 (11:48 +0200)]
gnu: xdot: Fix typo in description.

* gnu/packages/graphviz.scm (xdot)[description]: Add space after comma,
capitalize 'Python'.

4 years agognu: tinyxml2: Update to 8.0.0.
Vincent Legoll [Fri, 8 May 2020 12:51:43 +0000 (14:51 +0200)]
gnu: tinyxml2: Update to 8.0.0.

* gnu/packages/xml.scm (tinyxml2): Update to 8.0.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: gnome-shell-extension-dash-to-dock: Update to 67.
Leo Prikler [Sat, 9 May 2020 13:02:59 +0000 (15:02 +0200)]
gnu: gnome-shell-extension-dash-to-dock: Update to 67.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-dash-to-dock): Update to 67.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add lib3ds.
Ekaitz Zarraga [Fri, 15 May 2020 14:05:11 +0000 (16:05 +0200)]
gnu: Add lib3ds.

* gnu/packages/engineering.scm (lib3ds): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: openctm: Correct inputs vs native-inputs
Ekaitz Zarraga [Sat, 16 May 2020 10:24:47 +0000 (10:24 +0000)]
gnu: openctm: Correct inputs vs native-inputs

* gnu/packages/engineering.scm (openctm): Move mesa, glu, glut and
gtk+-2 to inputs

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agodoc: Reword "The GCC toolchain".
zimoun [Wed, 6 May 2020 17:26:05 +0000 (19:26 +0200)]
doc: Reword "The GCC toolchain".

Fix commit 1f14e25c1969a93908288cb302a572f3cbbaa478
as discussed in <https://bugs.gnu.org/41038>.

* doc/guix.texi (Packages for C Development): Rename to...
(The GCC toolchain): ...this. Add gfortran-toolchain.
(Invoking guix package): Add guix-search anchor.
(Application Setup)[The GCC toolchain]: Remove.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: emacs-pass: Update to 2.0.
Michael Rohleder [Sat, 16 May 2020 15:14:02 +0000 (17:14 +0200)]
gnu: emacs-pass: Update to 2.0.

* gnu/packages/emacs-xyz.scm (emacs-pass): Update to 2.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: Add font-api-mj-mincho.
Julien Lepiller [Thu, 30 Apr 2020 16:19:11 +0000 (18:19 +0200)]
gnu: Add font-api-mj-mincho.

* gnu/packages/fonts.scm (font-api-mj-mincho): New variable.

4 years agognu: Add java-picocli.
Julien Lepiller [Sat, 16 May 2020 13:59:39 +0000 (15:59 +0200)]
gnu: Add java-picocli.

gnu/packages/java.scm (java-picocli): New variable.

4 years agognu: bap: Update to 2.0.0.
Julien Lepiller [Sat, 16 May 2020 13:16:52 +0000 (15:16 +0200)]
gnu: bap: Update to 2.0.0.

* gnu/packages/ocaml.scm (bap): Update to 2.0.0.

4 years agognu: guile-hall: Update to 0.3.0.
Alex Sassmannshausen [Sat, 16 May 2020 15:30:35 +0000 (17:30 +0200)]
gnu: guile-hall: Update to 0.3.0.

* gnu/packages/guile-xyz.scm (guile-hall): Update to 0.3.0.

4 years agoetc: Add a systemd unit to bind-mount @storedir@ read-only.
Tobias Geerinckx-Rice [Thu, 14 May 2020 13:13:12 +0000 (15:13 +0200)]
etc: Add a systemd unit to bind-mount @storedir@ read-only.

* etc/gnu-store.mount.in: New file.
* nix/local.mk (nodist_systemdservice_DATA): Add it.
(etc/%.mount): New rule for it.
* etc/guix-install.sh (sys_enable_guix_daemon): Install it.
* doc/guix.texi (Binary Installation): Document it.
* .gitignore: Ignore changes to it.

4 years agognu: z3: Update to 4.8.8.
Tobias Geerinckx-Rice [Sat, 16 May 2020 13:04:47 +0000 (15:04 +0200)]
gnu: z3: Update to 4.8.8.

* gnu/packages/maths.scm (z3): Update to 4.8.8.

4 years agognu: youtube-dl: Update to 2020.05.08.
Tobias Geerinckx-Rice [Sat, 16 May 2020 12:55:41 +0000 (14:55 +0200)]
gnu: youtube-dl: Update to 2020.05.08.

* gnu/packages/video.scm (youtube-dl): Update to 2020.05.08.

4 years agognu: console-setup: Update to 1.195.
Tobias Geerinckx-Rice [Sat, 16 May 2020 00:31:06 +0000 (02:31 +0200)]
gnu: console-setup: Update to 1.195.

* gnu/packages/xorg.scm (console-setup): Update to 1.195.

4 years agognu: utf8proc: Update to 2.5.0.
Tobias Geerinckx-Rice [Sat, 16 May 2020 02:12:56 +0000 (04:12 +0200)]
gnu: utf8proc: Update to 2.5.0.

* gnu/packages/textutils.scm (utf8proc): Update to 2.5.0.
[native-inputs]: Update test data UNICODE_VERSION.

4 years agognu: utf8proc: Factor out UNICODE_VERSION.
Tobias Geerinckx-Rice [Fri, 15 May 2020 23:57:24 +0000 (01:57 +0200)]
gnu: utf8proc: Factor out UNICODE_VERSION.

* gnu/packages/textutils.scm (utf8proc)[native-inputs]: Use a single
UNICODE_VERSION.

4 years agognu: Order (gnu packase suckless) module imports.
Tobias Geerinckx-Rice [Fri, 15 May 2020 23:45:50 +0000 (01:45 +0200)]
gnu: Order (gnu packase suckless) module imports.

* gnu/packages/suckless.scm: Order module imports alphabetically.

4 years agognu: Support cross-gccs in (gnu packages suckless).
Tobias Geerinckx-Rice [Fri, 15 May 2020 23:42:26 +0000 (01:42 +0200)]
gnu: Support cross-gccs in (gnu packages suckless).

* gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent)
(xbattmon, skroll, sbm, prout, noice, human, fortify-headers, colors)
(libutf, lchat, scron)[arguments]: Use ${target}-gcc when
cross-compiling.

4 years agognu: libutf: Use GIT- helpers.
Tobias Geerinckx-Rice [Fri, 15 May 2020 21:36:59 +0000 (23:36 +0200)]
gnu: libutf: Use GIT- helpers.

* gnu/packages/suckless (libutf)[source]: Use GIT-VERSION and GIT-FILE-NAME.

4 years agognu: fortify-headers: Update to 1.1.
Tobias Geerinckx-Rice [Fri, 15 May 2020 21:36:10 +0000 (23:36 +0200)]
gnu: fortify-headers: Update to 1.1.

* gnu/packages/suckless.scm (fortify-headers): Update to 1.1.

4 years agognu: st: Update to 0.8.3.
Tobias Geerinckx-Rice [Fri, 15 May 2020 21:36:01 +0000 (23:36 +0200)]
gnu: st: Update to 0.8.3.

* gnu/packages/suckless.scm (st): Update to 0.8.3.

4 years agognu: Don't use NAME in (gnu packages suckless) URIs.
Tobias Geerinckx-Rice [Fri, 15 May 2020 21:34:42 +0000 (23:34 +0200)]
gnu: Don't use NAME in (gnu packages suckless) URIs.

* gnu/packages/suckless.scm (spoon, xbattmon, wificurse, skroll, sbm)
(prout, fortify-headers, colors, scron)[source]: Hard-code NAME.

4 years agognu: lchat: Update to 0.0.0-4.e3b64e6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 21:29:37 +0000 (23:29 +0200)]
gnu: lchat: Update to 0.0.0-4.e3b64e6.

* gnu/packages/suckless.scm (lchat): Update to 0.0.0-4.e3b64e6.
[source]: Use GIT-VERSION and GIT-FILE-NAME.

4 years agognu: zsh-autosuggestions: Update to 0.6.4.
Tobias Geerinckx-Rice [Sat, 16 May 2020 02:41:31 +0000 (04:41 +0200)]
gnu: zsh-autosuggestions: Update to 0.6.4.

* gnu/packages/shellutils.scm (zsh-autosuggestions): Update to 0.6.4.

4 years agognu: wine-staging-patchset-data: Update to 5.8.
Tobias Geerinckx-Rice [Sat, 16 May 2020 02:26:33 +0000 (04:26 +0200)]
gnu: wine-staging-patchset-data: Update to 5.8.

* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 5.8.

4 years agognu: flowee: Update to 2020.03.3.
Tom Zander via Guix-patches via [Fri, 15 May 2020 15:53:42 +0000 (17:53 +0200)]
gnu: flowee: Update to 2020.03.3.

* gnu/packages/finance.scm (flowee): Update to 2020.03.3.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: fulcrum: Update to 1.1.1.
Tom Zander via Guix-patches via [Fri, 15 May 2020 15:53:42 +0000 (17:53 +0200)]
gnu: fulcrum: Update to 1.1.1.

* gnu/packages/finance.scm (fulcrum): Update to 1.1.1.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: Add lldpd.
Ricardo Wurmus [Sat, 16 May 2020 08:28:20 +0000 (10:28 +0200)]
gnu: Add lldpd.

* gnu/packages/networking.scm (lldpd): New variable.

4 years agognu: Add openjdk14.
Not Zed [Sat, 16 May 2020 08:26:06 +0000 (10:26 +0200)]
gnu: Add openjdk14.

* gnu/packages/java.scm (openjdk14): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add openjdk13.
Not Zed [Tue, 28 Apr 2020 01:03:46 +0000 (10:33 +0930)]
gnu: Add openjdk13.

* gnu/packages/java.scm (openjdk13): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add rawdog.
raingloom [Mon, 11 May 2020 23:50:30 +0000 (01:50 +0200)]
gnu: Add rawdog.

* gnu/packages/syndication.scm (rawdog): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agognu: Add python-pytidylib.
宋文武 [Sat, 16 May 2020 09:24:16 +0000 (17:24 +0800)]
gnu: Add python-pytidylib.

* gnu/packages/python-xyz.scm (python-pytidylib, python2-pytidylib): New variables.

4 years agognu: delft-icon-theme: Update to 1.12.
Leo Prikler [Sat, 16 May 2020 08:30:45 +0000 (16:30 +0800)]
gnu: delft-icon-theme: Update to 1.12.

* gnu/packages/gnome-xyz.scm (delft-icon-theme): Update to 1.12.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agognu: papirus-icon-theme: Update to 20200430.
Leo Prikler [Sat, 16 May 2020 08:23:45 +0000 (16:23 +0800)]
gnu: papirus-icon-theme: Update to 20200430.

* gnu/packages/gnome-xyz.scm (papirus-icon-theme): Update to 20200430.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agognu: matcha-theme: Update to 2020-05-09.
Leo Prikler [Sat, 16 May 2020 07:50:25 +0000 (15:50 +0800)]
gnu: matcha-theme: Update to 2020-05-09.

* gnu/packages/gnome-xyz.scm (matcha-theme): Update to 2020-05-09.
[source]: Update URL.
[arguments]: Update build script.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agoservices: shepherd: Silence Guile warnings.
Ludovic Courtès [Fri, 15 May 2020 20:37:39 +0000 (22:37 +0200)]
services: shepherd: Silence Guile warnings.

This avoids:

  WARNING: …: imported module (guix build utils) overrides core binding `delete'

* gnu/services/shepherd.scm (%default-modules): #:hide 'delete'
from (guix build utils).
(shepherd-configuration-file)[config]: Wrap calls to 'load-compiled' in
'parameterize'.

4 years agolinux-initrd: Silence Guile warnings.
Ludovic Courtès [Fri, 15 May 2020 20:34:14 +0000 (22:34 +0200)]
linux-initrd: Silence Guile warnings.

Previously, since the switch to Guile 3, we'd see this warning repeated
several times at boot time:

  WARNING: …: imported module (guix build utils) overrides core binding `delete'

* gnu/system/linux-initrd.scm (raw-initrd): In gexp, #:hide 'delete'
from (guix build utils).  Wrap 'boot-system' in 'parameterize'.

4 years agovm: Use 'let-system'.
Ludovic Courtès [Fri, 15 May 2020 20:23:21 +0000 (22:23 +0200)]
vm: Use 'let-system'.

* gnu/system/vm.scm (expression->derivation-in-linux-vm)[check]: New macro.
[builder]: Use 'let-system' and 'check' instead of referencing
'%current-system' and '%current-target-system'.

4 years agoutils: 'target-arm32?' & co. take an optional parameter.
Ludovic Courtès [Fri, 15 May 2020 20:22:03 +0000 (22:22 +0200)]
utils: 'target-arm32?' & co. take an optional parameter.

* guix/utils.scm (target-arm32?, target-aarch64?)
(target-arm?, target-64bit?): Make 'target' an optional parameter.

4 years agogexp: Add 'let-system'.
Ludovic Courtès [Tue, 14 Nov 2017 09:16:22 +0000 (10:16 +0100)]
gexp: Add 'let-system'.

* guix/gexp.scm (<system-binding>): New record type.
(let-system): New macro.
(system-binding-compiler): New procedure.
(default-expander): Add 'self-quoting?' case.
(self-quoting?): New procedure.
(lower-inputs): Add 'filterm'.  Pass the result of
'mapm/accumulate-builds' through FILTERM.
(gexp->sexp)[self-quoting?]: Remove.
* tests/gexp.scm ("let-system", "let-system, target")
("let-system, ungexp-native, target")
("let-system, nested"): New tests.
* doc/guix.texi (G-Expressions): Document it.

4 years agogexp: Compilers can now return lowerable objects.
Ludovic Courtès [Tue, 14 Nov 2017 16:10:17 +0000 (17:10 +0100)]
gexp: Compilers can now return lowerable objects.

* guix/gexp.scm (lower-object): Iterate if LOWERED is a struct.
(lower+expand-object): New procedure.
(gexp->sexp): Use it.
(define-gexp-compiler): Adjust docstring.

4 years agobootloader: grub: Refer to the native 'grub-mklayout' and font file.
Ludovic Courtès [Fri, 15 May 2020 14:01:20 +0000 (16:01 +0200)]
bootloader: grub: Refer to the native 'grub-mklayout' and font file.

* gnu/bootloader/grub.scm (eye-candy): Refer to the native FONT-FILE.
(keyboard-layout-file): Refer to the native 'grub-mklayout'.

4 years agognu: python-libmpsse: Update to 1.4.1.
Danny Milosavljevic [Fri, 15 May 2020 20:54:33 +0000 (22:54 +0200)]
gnu: python-libmpsse: Update to 1.4.1.

* gnu/packages/embedded.scm (python-libmpsse): Update to 1.4.1.
[arguments]<#:phases>[set-environment-up]:
Fix build with Python 3.8.

4 years agognu: kicad: Re-use common fields in add-ons.
Tobias Geerinckx-Rice [Fri, 15 May 2020 20:22:09 +0000 (22:22 +0200)]
gnu: kicad: Re-use common fields in add-ons.

* gnu/packages/engineering.scm (kicad-i18n, kicad-symbols): Re-use
kicad's VERSION and HOME-PAGE.
(kicad-symbols, kicad-footprints, kicad-packages3d, kicad-templates):
Re-use kicad's VERSION.

4 years agognu: kicad-templates: Update to 5.1.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 19:54:48 +0000 (21:54 +0200)]
gnu: kicad-templates: Update to 5.1.6.

* gnu/packages/engineering.scm (kicad-templates): Update to 5.1.6.

4 years agognu: kicad-packages3d: Update to 5.1.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 19:54:43 +0000 (21:54 +0200)]
gnu: kicad-packages3d: Update to 5.1.6.

* gnu/packages/engineering.scm (kicad-packages3d): Update to 5.1.6.

4 years agognu: kicad-footprints: Update to 5.1.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 19:54:35 +0000 (21:54 +0200)]
gnu: kicad-footprints: Update to 5.1.6.

* gnu/packages/engineering.scm (kicad-footprints): Update to 5.1.6.

4 years agognu: kicad-symbols: Update to 5.1.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 19:50:49 +0000 (21:50 +0200)]
gnu: kicad-symbols: Update to 5.1.6.

* gnu/packages/engineering.scm (kicad-symbols): Update to 5.1.6.

4 years agognu: kicad-i18n: Update to 5.1.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 19:50:43 +0000 (21:50 +0200)]
gnu: kicad-i18n: Update to 5.1.6.

* gnu/packages/engineering.scm (kicad-i18n): Update to 5.1.6.

4 years agognu: kicad: Update to 5.1.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 19:50:30 +0000 (21:50 +0200)]
gnu: kicad: Update to 5.1.6.

* gnu/packages/engineering.scm (kicad): Update to 5.1.6.
[source]: Use GIT-FETCH & GIT-FILE-NAME.

4 years agognu: kicad-i18l: Fix typo in… name.
Tobias Geerinckx-Rice [Fri, 15 May 2020 17:11:47 +0000 (19:11 +0200)]
gnu: kicad-i18l: Fix typo in… name.

* gnu/packages/engineering.scm (kicad-i18n): New old variable previously…
(kicad-i18l): …this.  Redefine using DEPRECATED-PACKAGE.
(kicad)[arguments, native-inputs]: Adjust accordingly.

4 years agognu: oil-shell: Rename to "oil".
Ryan Prior [Fri, 1 May 2020 19:47:20 +0000 (14:47 -0500)]
gnu: oil-shell: Rename to "oil".

* gnu/packages/shells.scm (oil): Rename variable from…
(oil-shell): …this.  Redefine using DEPRECATED-PACKAGE.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: clamav: End snippet in truth.
Tobias Geerinckx-Rice [Fri, 15 May 2020 16:43:17 +0000 (18:43 +0200)]
gnu: clamav: End snippet in truth.

* gnu/packages/antivirus.scm (clamav)[source]: Return #t from snippet.

4 years agognu: clamav: Update to 0.102.3.
Tobias Geerinckx-Rice [Fri, 15 May 2020 16:42:34 +0000 (18:42 +0200)]
gnu: clamav: Update to 0.102.3.

* gnu/packages/antivirus.scm (clamav): Update to 0.102.3.

4 years agognu: ethtool: Update to 5.6.
Tobias Geerinckx-Rice [Fri, 15 May 2020 16:42:15 +0000 (18:42 +0200)]
gnu: ethtool: Update to 5.6.

* gnu/packages/networking.scm (ethtool): Update to 5.6.
[native-inputs]: Add pkg-config.
[inputs]: Add libmnl.

4 years agognu: openconnect: Update to 8.10 [fixes CVE-2020-12823].
Tobias Geerinckx-Rice [Fri, 15 May 2020 16:10:17 +0000 (18:10 +0200)]
gnu: openconnect: Update to 8.10 [fixes CVE-2020-12823].

* gnu/packages/vpn.scm (openconnect): Update to 8.10.

4 years agognu: emacs-flycheck-grammalecte: Update to 1.2.
Nicolas Goaziou [Fri, 15 May 2020 15:56:48 +0000 (17:56 +0200)]
gnu: emacs-flycheck-grammalecte: Update to 1.2.

* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Update to 1.2.
[arguments]: Exclude "test-profile.el", build with full Emacs for libxml
support.
[inputs]: Remove curl as dependency.

4 years agognu: tor: Update to 0.4.3.5.
Tobias Geerinckx-Rice [Fri, 15 May 2020 15:49:18 +0000 (17:49 +0200)]
gnu: tor: Update to 0.4.3.5.

* gnu/packages/tor.scm (tor): Update to 0.4.3.5.
[arguments]: Enable compression features that aren't auto-detected.
[native-inputs]: Use the default Python (3).
[inputs]: Order alphabetically.

4 years agognu: bitcoin-abc: Update to 0.21.6.
Guillaume Le Vaillant [Fri, 15 May 2020 15:29:05 +0000 (17:29 +0200)]
gnu: bitcoin-abc: Update to 0.21.6.

* gnu/packages/finance.scm (bitcoin-abc): Update to 0.21.6.
  [build-system]: Use cmake-build-system.
  [native-inputs]: Remove autoconf, automake and libtool.
  [inputs]: Add zeromq.
  [arguments]: Drop inheritance from bitcoin-core and use explicit
  'make-qt-deterministic', 'set-home' and 'check-functional' phases.

4 years agognu: bitcoin-unlimited: Update to 1.8.0.0.
Guillaume Le Vaillant [Fri, 15 May 2020 13:51:48 +0000 (15:51 +0200)]
gnu: bitcoin-unlimited: Update to 1.8.0.0.

* gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.8.0.0.
  [arguments]: Add 'fix-build' phase, update 'fix-tests' phase.

4 years agognu: emacs-flycheck: Update to 31-2.9bcf6b6.
Nicolas Goaziou [Fri, 15 May 2020 15:12:26 +0000 (17:12 +0200)]
gnu: emacs-flycheck: Update to 31-2.9bcf6b6.

* gnu/packages/emacs-xyz.scm (emacs-flycheck): Update to 31-2.9bcf6b6.

4 years agognu: ocaml-ocurl: Update to 0.9.1.
Julien Lepiller [Fri, 15 May 2020 13:56:33 +0000 (15:56 +0200)]
gnu: ocaml-ocurl: Update to 0.9.1.

* gnu/packages/ocaml.scm (ocaml-ocurl): Update to 0.9.1.

4 years agognu: ocaml-fileutils: Update to 0.6.2.
Julien Lepiller [Fri, 15 May 2020 12:48:46 +0000 (14:48 +0200)]
gnu: ocaml-fileutils: Update to 0.6.2.

* gnu/packages/ocaml.scm (ocaml-fileutils): Update to 0.6.2.

4 years agognu: ocaml-octavius: Update to 1.2.2.
Julien Lepiller [Fri, 15 May 2020 12:44:28 +0000 (14:44 +0200)]
gnu: ocaml-octavius: Update to 1.2.2.

* gnu/packages/ocaml.scm (ocaml-octavius): Update to 1.2.2.

4 years agonews: Add ‘de’ translation.
Florian Pelz [Fri, 15 May 2020 12:09:12 +0000 (14:09 +0200)]
news: Add ‘de’ translation.

* etc/news.scm: Add a ‘de’ translation.

4 years agognu: rottlog: Fix aarch64 cross-compilation.
Mathieu Othacehe [Fri, 15 May 2020 11:36:45 +0000 (13:36 +0200)]
gnu: rottlog: Fix aarch64 cross-compilation.

* gnu/packages/admin.scm (rottlog)[arguments]: Add a 'fix-configure phase to
replace outdated config.sub and config.guess, without aarch64 support,
[native-inputs]: add "automake".

4 years agognu: openjdk12: Simplify snippet.
Ricardo Wurmus [Thu, 14 May 2020 22:32:05 +0000 (00:32 +0200)]
gnu: openjdk12: Simplify snippet.

* gnu/packages/java.scm (openjdk12)[source]: Use regular expression in
find-files.

4 years agognu: openjdk11: Build in parallel.
Ricardo Wurmus [Thu, 14 May 2020 22:15:25 +0000 (00:15 +0200)]
gnu: openjdk11: Build in parallel.

* gnu/packages/java.scm (openjdk11)[arguments]: Remove #:parallel-build?,
 #:parallel-tests?, and #:make-flags options; add
"write-source-revision-file"; replace "build" phase; do not set
GUIX_LD_WRAPPER_ALLOW_IMPURITIES; pass JOBS variable to make in "build" and
"build-jre" phases.

4 years agognu: openjdk11: Simplify snippet.
Ricardo Wurmus [Thu, 14 May 2020 22:12:49 +0000 (00:12 +0200)]
gnu: openjdk11: Simplify snippet.

* gnu/packages/java.scm (openjdk11)[source]: Use regular expression in
find-files.

4 years agognu: openjdk10: Simplify snippet.
Ricardo Wurmus [Thu, 14 May 2020 20:07:02 +0000 (22:07 +0200)]
gnu: openjdk10: Simplify snippet.

* gnu/packages/java.scm (openjdk10)[source]: Use regular expression in
find-files.