jackhill/guix/guix.git
3 years agognu: openssh: Remove exception to build without xauth for the Hurd.
Jan (janneke) Nieuwenhuizen [Mon, 8 Jun 2020 13:03:05 +0000 (15:03 +0200)]
gnu: openssh: Remove exception to build without xauth for the Hurd.

* gnu/packages/ssh.scm (openssh)[inputs]: Unconditionally include xauth;
for the Hurd: use openssh-sans-x for now.

3 years agognu: guix: Update to ab9e30039d.
Jan (janneke) Nieuwenhuizen [Thu, 7 May 2020 16:25:26 +0000 (18:25 +0200)]
gnu: guix: Update to ab9e30039d.

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

3 years agosyscalls: set-thread-name, thread-name: Fix thinko.
Jan (janneke) Nieuwenhuizen [Mon, 8 Jun 2020 14:49:03 +0000 (16:49 +0200)]
syscalls: set-thread-name, thread-name: Fix thinko.

* guix/build/syscalls.scm (set-thread-name, thread-name): Oops, fix thinko.

3 years agognu: guix: Update to 68d8c09465.
Jan (janneke) Nieuwenhuizen [Thu, 7 May 2020 16:25:26 +0000 (18:25 +0200)]
gnu: guix: Update to 68d8c09465.

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

3 years agognu: services: Add %hurd-startup-service.
Jan (janneke) Nieuwenhuizen [Thu, 30 Apr 2020 13:40:07 +0000 (15:40 +0200)]
gnu: services: Add %hurd-startup-service.

This decouples startup of the Hurd from the "hurd" package, moving the RC
script into SYSTEM.

* gnu/packages/hurd.scm (hurd)[inputs]: Remove hurd-rc-script.
[arguments]: Do not substitute it.  Update "runsystem.sh" to parse kernel
arguments and exec into --system=SYSTEM/rc.
(hurd-rc-script): Move to...
* gnu/services.scm (%hurd-rc-file): ...this new variable.
(hurd-rc-entry): New procedure.
(%hurd-startup-service): Use it in new variable.
* gnu/system.scm (hurd-default-essential-services): Use it.

3 years agohurd-boot: Further cleanup of "rc".
Jan (janneke) Nieuwenhuizen [Mon, 1 Jun 2020 07:46:39 +0000 (09:46 +0200)]
hurd-boot: Further cleanup of "rc".

* gnu/packages/hurd.scm (hurd-rc-script): Move implementation to ...
* gnu/build/hurd-boot.scm (boot-hurd-system): ...here, new file.
* gnu/build/linux-boot.scm (make-hurd-device-nodes): Move there likewise.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

3 years agosystem: hurd: Populate services.
Jan (janneke) Nieuwenhuizen [Wed, 6 May 2020 08:07:08 +0000 (10:07 +0200)]
system: hurd: Populate services.

* gnu/system/hurd.scm (%base-services/hurd): Add hurd-console-service,
hurd-getty-services, guix-service.  Also add sylog and loopback, needed for
...
* gnu/system.scm (hurd-default-essential-services): ... add
%shepherd-root-service with dependencies: %boot-service, %activation-service,
user-processes, root-file-system-service, file-system-service,
pam-root-service.

3 years agoservices: Add `hurd-getty-service-type'.
Jan (janneke) Nieuwenhuizen [Thu, 7 May 2020 09:14:01 +0000 (11:14 +0200)]
services: Add `hurd-getty-service-type'.

* gnu/services/hurd.scm (<hurd-gettty-configuration>): New record.
(hurd-ttys-shepherd-service): New procedure.
(hurd-getty-service-type): New variable.
* doc/guix.texi (Hurd Services): Document it.

3 years agoservices: Add `hurd-console-service-type'.
Jan (janneke) Nieuwenhuizen [Sun, 12 Apr 2020 20:17:03 +0000 (22:17 +0200)]
services: Add `hurd-console-service-type'.

* gnu/services/hurd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Hurd Services): Document it.

3 years agognu: hurd: Create minimal "runsystem" script to invoke "rc".
Jan (janneke) Nieuwenhuizen [Wed, 6 May 2020 06:22:41 +0000 (08:22 +0200)]
gnu: hurd: Create minimal "runsystem" script to invoke "rc".

This moves towards a regular Guix startup, loading SYSTEM/boot to activate the
system and start the shepherd.

* gnu/packages/hurd.scm (hurd-rc-script): Update to handle "runsystem" tasks.
Load system/boot to activate the system and start the shepherd.  Create /hurd
symlink.
(hurd)[arguments]: Add 'create-runsystem' phase.  Do not substitute now unused
init.c, runsystem.hurd.  Substitute "/hurd/" for the fixed 'out + "/hurd/"' in
boot.c, console-run.c and startup.c.  Also substitute
_HURD_STARTUP ("/hurd/startup") to the fixed 'out + "/hurd/startup"' in
libdiskfs/boot-start.c and libdiskfs/opts-std-startup.c.

3 years agoservices: hurd: Populate system profile.
Jan (janneke) Nieuwenhuizen [Sun, 3 May 2020 14:37:27 +0000 (16:37 +0200)]
services: hurd: Populate system profile.

* gnu/system.scm (hurd-default-essential-services): Populate profile with
packages.

3 years agoservices: Support etc-service for the Hurd.
Jan (janneke) Nieuwenhuizen [Sat, 25 Apr 2020 09:55:56 +0000 (11:55 +0200)]
services: Support etc-service for the Hurd.

* gnu/system.scm (operating-system-etc-service): Cater for missing nsswitch
and missing sudoers-file.  For the Hurd, add "login" and "motd".
(hurd-default-essential-services): Add operating-system-etc-service.

3 years agosystem: Support activation service for the Hurd.
Jan (janneke) Nieuwenhuizen [Sun, 3 May 2020 14:32:09 +0000 (16:32 +0200)]
system: Support activation service for the Hurd.

* gnu/build/activation.scm (boot-time-system): Use "command-line" for the
Hurd.
* gnu/system.scm (hurd-default-essential-services): Add %boot-service and
%activation-service.

3 years agosystem: examples: Add bare-hurd.tmpl.
Jan (janneke) Nieuwenhuizen [Mon, 13 Apr 2020 15:15:10 +0000 (17:15 +0200)]
system: examples: Add bare-hurd.tmpl.

* gnu/system/hurd.scm (%hurd-def%hurd-default-operating-system-kernel,
%hurd-default-operating-system): New exported variables.
* gnu/system/examples/bare-hurd.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
* tests/guix-system.sh: Add --target=i586-pc-gnu when testing it.

3 years agosystem: Use 'hurd' package in label.
Jan (janneke) Nieuwenhuizen [Sun, 10 May 2020 13:31:45 +0000 (15:31 +0200)]
system: Use 'hurd' package in label.

* gnu/system.scm (kernel->boot-label): Add keyword parameter 'hurd'.  If set,
use it for label.
(operating-system-default-label): Call with it with operating-system-hurd.

3 years agobootloader: grub: Add support for multiboot.
Jan (janneke) Nieuwenhuizen [Tue, 26 May 2020 16:09:01 +0000 (18:09 +0200)]
bootloader: grub: Add support for multiboot.

* gnu/bootloader/grub.scm (grub-configuration-file): Add support for
multiboot.

3 years agosystem: Add 'multiboot-modules' field to <boot-parameters>.
Jan (janneke) Nieuwenhuizen [Tue, 26 May 2020 15:38:30 +0000 (17:38 +0200)]
system: Add 'multiboot-modules' field to <boot-parameters>.

* gnu/system.scm (<boot-parameters>)[multiboot-modules]: New field.
(read-boot-parameters): Initialize it.
(operating-system-multiboot-modules, hurd-multiboot-modules): New procedure.
(operating-system-boot-parameters): Cater for multiboot the Hurd and
initialize it; avoid initrd in that case.
(operating-system-kernel-file): Cater for for Gnumach (the Hurd) besides Linux.
(boot-parameters->menu-entry): Use it to support a multiboot <menu-entry>.

3 years agobootloader: Extend `<menu-entry>' for multiboot.
Jan (janneke) Nieuwenhuizen [Tue, 26 May 2020 14:54:18 +0000 (16:54 +0200)]
bootloader: Extend `<menu-entry>' for multiboot.

* gnu/bootloader.scm (<menu-entry>)[multiboot-kernel,multiboot-arguments,
multiboot-modules]: New fields.
[linux,initrd]: Add default value '#f'.
(menu-entry->sexp, sexp->menu-entry): Support multiboot entry.
* doc/guix.texi (Bootloader Configuration): Document them.

3 years agosystem: Add 'hurd' field to <operating-system>.
Jan (janneke) Nieuwenhuizen [Sun, 3 May 2020 13:09:15 +0000 (15:09 +0200)]
system: Add 'hurd' field to <operating-system>.

* gnu/system.scm (<operating-system>)[hurd]: New field.
* doc/guix.texi (operating-system Reference): Document 'hurd'.

3 years agosystem: hurd: Add hurd-default-essential-services.
Jan (janneke) Nieuwenhuizen [Sun, 3 May 2020 12:13:58 +0000 (14:13 +0200)]
system: hurd: Add hurd-default-essential-services.

* gnu/system.scm (hurd-default-essential-services): New procedure.

3 years agoimage: Add Hurd support.
Mathieu Othacehe [Sat, 23 May 2020 17:10:44 +0000 (19:10 +0200)]
image: Add Hurd support.

* gnu/system/image.scm (hurd-disk-image): New exported variable,
(root-offset, root-label): new variables,
(esp-partition, root-partition): adapt accordingly,
(find-image): add Hurd support.

3 years agolinux-boot: Update 'make-hurd-device-nodes'.
Jan (janneke) Nieuwenhuizen [Sun, 24 May 2020 10:41:32 +0000 (12:41 +0200)]
linux-boot: Update 'make-hurd-device-nodes'.

* gnu/build/linux-boot.scm (make-hurd-device-nodes): Avoid de-duplication of
device mount points; also create mount points for /servers/.

3 years agosyscalls: set-thread-name, thread-name: Stub for the Hurd.
Jan (janneke) Nieuwenhuizen [Sat, 30 May 2020 13:11:49 +0000 (15:11 +0200)]
syscalls: set-thread-name, thread-name: Stub for the Hurd.

Avoid crash

    Backtrace:
    guix/build/syscalls.scm:405:8: In procedure prctl: Function not implemented

because of missing prctl on the Hurd.

* guix/build/syscalls.scm (set-thread-name, thread-name): Rename to ...
(set-thread-name!/linux,thread-name/linux): ...this.
(set-thread-name, thread-name): Swtich between linux implementation and or
stub.

3 years agognu: hurd: Update to upstream Hurd-reserved xattr index.
Jan (janneke) Nieuwenhuizen [Tue, 12 May 2020 05:56:46 +0000 (07:56 +0200)]
gnu: hurd: Update to upstream Hurd-reserved xattr index.

This enables setting (and reading) passive translators when preparing a Hurd
file system from GNU/Linux.

* gnu/packages/patches/hurd-xattr.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (hurd): Use it.

3 years agognu: x265: Build with assembly files.
Michael Rohleder [Sun, 7 Jun 2020 16:01:38 +0000 (18:01 +0200)]
gnu: x265: Build with assembly files.

* gnu/packages/video.scm (x265)[native-inputs]: Add nasm.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agosystem: bare-bones: Remove dependency to X libraries.
Mathieu Othacehe [Sat, 6 Jun 2020 09:10:42 +0000 (11:10 +0200)]
system: bare-bones: Remove dependency to X libraries.

Use "openssh-sans-x" to prevent the inclusion of X libraries to the bare-bones
system closure.

* gnu/system/examples/bare-bones.tmpl (operating-system)[services]: Use
openssh-sans-x instead of openssh.

3 years agognu: Add openssh-sans-x.
Mathieu Othacehe [Sat, 6 Jun 2020 09:10:34 +0000 (11:10 +0200)]
gnu: Add openssh-sans-x.

* gnu/packages/ssh.scm (openssh-sans-x): New variable.

3 years agognu: sudo: Separate Python output.
Mathieu Othacehe [Sat, 6 Jun 2020 08:54:58 +0000 (10:54 +0200)]
gnu: sudo: Separate Python output.

The Python plugin of "sudo" drags the Python interpreter to the closure of
Guix System. Put it in a separate output.

* gnu/packages/admin.scm (sudo)[arguments]: Add a 'separate-python-output
phase, that's populating ...
[outputs]: ... the new "python" output.

3 years agosystem: install: Add default libcs to gc-roots.
Mathieu Othacehe [Sun, 7 Jun 2020 13:39:39 +0000 (15:39 +0200)]
system: install: Add default libcs to gc-roots.

During the installation, it may be needed to build locales that are not
covered by glibc-utf8-locales. Make sure that the libraries required to build
locales are available.

This is a follow-up of 0eed77127592323d89f56c215a15374a1aaae110.

* gnu/system/install.scm (installation-os)[services]: Add
%default-locale-libcs to gc-root-service-type.

3 years agognu: rtl8821ce-linux-module: Use MAKE-FLAGS.
Tobias Geerinckx-Rice [Mon, 8 Jun 2020 06:53:07 +0000 (08:53 +0200)]
gnu: rtl8821ce-linux-module: Use MAKE-FLAGS.

* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]: Use
MAKE-FLAGS keyword.  Make CC environment variable a make flag.

3 years agognu: rtl8812au-aircrack-ng-linux-module: Use MAKE-FLAGS.
Tobias Geerinckx-Rice [Mon, 8 Jun 2020 06:46:25 +0000 (08:46 +0200)]
gnu: rtl8812au-aircrack-ng-linux-module: Use MAKE-FLAGS.

* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module)
[arguments]: Use MAKE-FLAGS keyword.

3 years agognu: rtl8812au-aircrack-ng-linux-module: Update to 5.6.4.2-1.df2b8df.
Tobias Geerinckx-Rice [Mon, 8 Jun 2020 06:44:16 +0000 (08:44 +0200)]
gnu: rtl8812au-aircrack-ng-linux-module: Update to 5.6.4.2-1.df2b8df.

* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module):
Update to 5.6.4.2-1.df2b8df.

3 years agognu: mu: Update to 1.4.9.
Tobias Geerinckx-Rice [Mon, 8 Jun 2020 00:33:28 +0000 (02:33 +0200)]
gnu: mu: Update to 1.4.9.

* gnu/packages/mail.scm (mu): Update to 1.4.9.

3 years agognu: v4l2loopback-linux-module: Edit synopsis and description.
Tobias Geerinckx-Rice [Mon, 8 Jun 2020 08:36:16 +0000 (10:36 +0200)]
gnu: v4l2loopback-linux-module: Edit synopsis and description.

* gnu/packages/linux.scm (v4l2loopback-linux-module)
[synopsis, description]: Edit.

3 years agognu: v4l2loopback-linux-module: Disable ‘test’.
Tobias Geerinckx-Rice [Mon, 8 Jun 2020 08:34:20 +0000 (10:34 +0200)]
gnu: v4l2loopback-linux-module: Disable ‘test’.

It simply built the test programme but nothing more.

* gnu/packages/linux.scm (v4l2loopback-linux-module)[arguments]:
Remove the ‘check’ phase.

3 years agognu: Add v4l2loopback-linux-module.
Morgan Smith [Mon, 8 Jun 2020 03:49:55 +0000 (23:49 -0400)]
gnu: Add v4l2loopback-linux-module.

* gnu/packages/linux.scm (v4l2loopback-linux-module): New variable.

3 years agognu: linux-libre: Update to 5.4.45.
Mark H Weaver [Mon, 8 Jun 2020 04:35:52 +0000 (00:35 -0400)]
gnu: linux-libre: Update to 5.4.45.

* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.45.
(linux-libre-5.4-pristine-source): Update hash.

3 years agognu: linux-libre@5.6: Update to 5.6.17.
Mark H Weaver [Mon, 8 Jun 2020 04:35:15 +0000 (00:35 -0400)]
gnu: linux-libre@5.6: Update to 5.6.17.

* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.17.
(linux-libre-5.6-pristine-source): Update hash.

3 years agognu: linux-libre@4.19: Update to 4.19.127.
Mark H Weaver [Mon, 8 Jun 2020 04:34:20 +0000 (00:34 -0400)]
gnu: linux-libre@4.19: Update to 4.19.127.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.127.
(linux-libre-4.19-pristine-source): Update hash.

3 years agogit-authenticate: Prevent removal of '.guix-authorizations'.
Ludovic Courtès [Sun, 7 Jun 2020 21:06:41 +0000 (23:06 +0200)]
git-authenticate: Prevent removal of '.guix-authorizations'.

* guix/git-authenticate.scm (commit-authorized-keys)
[parents-have-authorizations-file?, assert-parents-lack-authorizations]:
New procedures.
Use the latter before returning DEFAULT-AUTHORIZATIONS.
* guix/git.scm (false-if-git-not-found): Export.
* guix/tests/git.scm (populate-git-repository): Add 'remove' clause.
* tests/git-authenticate.scm ("signed commits, .guix-authorizations removed"):
New test.

3 years agogit: 'update-cached-checkout' gracefully handles missing starting commit.
Ludovic Courtès [Sun, 7 Jun 2020 20:14:56 +0000 (22:14 +0200)]
git: 'update-cached-checkout' gracefully handles missing starting commit.

Fixes <https://bugs.gnu.org/41604>
Reported by John Soo <jsoo1@asu.edu> and zimoun <zimon.toutoune@gmail.com>.

* guix/git.scm (false-if-git-not-found): New macro.
(reference-available?): Use it.
(update-cached-checkout): Use it when looking up STARTING-COMMIT.
Set RELATION to 'unrelated when OLD is #false.

3 years agognu: go-github-com-stretchr-testify: Update to 1.5.1.
Jakub Kądziołka [Fri, 22 May 2020 15:01:59 +0000 (17:01 +0200)]
gnu: go-github-com-stretchr-testify: Update to 1.5.1.

* gnu/packages/golang.scm (go-github-com-stretchr-testify):
  Update to 1.5.1.

3 years agognu: go-github-com-davecgh-go-spew: Update to 1.1.1.
Jakub Kądziołka [Fri, 22 May 2020 15:00:09 +0000 (17:00 +0200)]
gnu: go-github-com-davecgh-go-spew: Update to 1.1.1.

* gnu/packages/golang.scm (go-github-com-davecgh-go-spew):
  Update to 1.1.1.

3 years agognu: Add go-github-com-stretchr-objx.
Jakub Kądziołka [Fri, 22 May 2020 14:58:15 +0000 (16:58 +0200)]
gnu: Add go-github-com-stretchr-objx.

* gnu/packages/golang.scm (go-github-com-stretchr-objx): New variable.

3 years agognu: Add epour.
Efraim Flashner [Sun, 7 Jun 2020 15:46:42 +0000 (18:46 +0300)]
gnu: Add epour.

* gnu/packages/enlightenment.scm (epour): New variable.

3 years agognu: Add vim-dispatch.
Efraim Flashner [Sun, 7 Jun 2020 15:42:49 +0000 (18:42 +0300)]
gnu: Add vim-dispatch.

* gnu/packages/vim.scm (vim-dispatch): New variable.

3 years agognu: emacs-lua-mode: Update to 20200508-0.35b6e4c.
Fredrik Salomonsson [Sat, 6 Jun 2020 17:05:07 +0000 (10:05 -0700)]
gnu: emacs-lua-mode: Update to 20200508-0.35b6e4c.

* gnu/packages/emacs-xyz.scm (emacs-lua-mode): Update to 20200508-0.35b6e4c.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add emacs-flymake-shellcheck.
Fredrik Salomonsson [Sat, 6 Jun 2020 17:01:37 +0000 (10:01 -0700)]
gnu: Add emacs-flymake-shellcheck.

* gnu/packages/emacs-xyz.scm (emacs-flymake-shellcheck): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: docker, docker-cli: Update to 19.03.11.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 20:13:48 +0000 (22:13 +0200)]
gnu: docker, docker-cli: Update to 19.03.11.

* gnu/packages/docker.scm (%docker-version): Update to 19.03.11.
(docker, docker-cli): Update hashes.

3 years agognu: qwt: Update to 6.1.5.
Tobias Geerinckx-Rice [Sun, 7 Jun 2020 16:43:11 +0000 (18:43 +0200)]
gnu: qwt: Update to 6.1.5.

* gnu/packages/qt.scm (qwt): Update to 6.1.5.

3 years agognu: python-mwclient: Update to 0.10.1.
Tobias Geerinckx-Rice [Sun, 7 Jun 2020 16:24:51 +0000 (18:24 +0200)]
gnu: python-mwclient: Update to 0.10.1.

* gnu/packages/python-xyz.scm (python-mwclient): Update to 0.10.1.

3 years agognu: libgit2: Update to 1.0.1.
Tobias Geerinckx-Rice [Sun, 7 Jun 2020 16:23:19 +0000 (18:23 +0200)]
gnu: libgit2: Update to 1.0.1.

* gnu/packages/version-control.scm (libgit2): Update to 1.0.1.

3 years agognu: s6-portable-utils: Update to 2.2.2.3.
Tobias Geerinckx-Rice [Sun, 7 Jun 2020 15:42:04 +0000 (17:42 +0200)]
gnu: s6-portable-utils: Update to 2.2.2.3.

* gnu/packages/skarnet.scm (s6-portable-utils): Update to 2.2.2.3.

3 years agognu: wireguard-linux-compat: Update to 1.0.20200520.
Tobias Geerinckx-Rice [Sun, 7 Jun 2020 00:37:21 +0000 (02:37 +0200)]
gnu: wireguard-linux-compat: Update to 1.0.20200520.

* gnu/packages/vpn.scm (wireguard-linux-compat): Update to 1.0.20200520.

3 years agognu: Add vala-language-server.
Ryan Prior [Wed, 3 Jun 2020 03:06:35 +0000 (03:06 +0000)]
gnu: Add vala-language-server.

* gnu/packages/gnome-xyz.scm (vala-language-server): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: Add vala-0.48.
Ryan Prior [Mon, 1 Jun 2020 06:00:09 +0000 (06:00 +0000)]
gnu: Add vala-0.48.

* gnu/packages/gnome.scm (vala-0.48): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: youtube-dl: Update to 2020.06.06.
Oleg Pykhalov [Sun, 7 Jun 2020 13:23:29 +0000 (16:23 +0300)]
gnu: youtube-dl: Update to 2020.06.06.

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

3 years agognu: emacs-lispyville: Update to 20200605.
Pierre Neidhardt [Sun, 7 Jun 2020 09:22:23 +0000 (11:22 +0200)]
gnu: emacs-lispyville: Update to 20200605.

* gnu/packages/emacs-xyz.scm (emacs-lispyville): Update to 20200605.
[arguments]: Remove obsolete workaround for tests.

3 years agognu: Add cl-rdkafka.
Katherine Cox-Buday [Sun, 7 Jun 2020 08:56:59 +0000 (10:56 +0200)]
gnu: Add cl-rdkafka.

* gnu/packages/lisp-xyz.scm (sbcl-cl-rdkafka, cl-rdkafka): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
3 years agognu: sbcl-cl-random-forest: Remove obsolete fix.
Guillaume Le Vaillant [Sun, 7 Jun 2020 08:40:48 +0000 (10:40 +0200)]
gnu: sbcl-cl-random-forest: Remove obsolete fix.

* gnu/packages/machine-learning.scm (sbcl-cl-random-forest)[arguments]: Remove
  'add-sb-cltl2-dependency' phase.

3 years agognu: sbcl-lparallel: Modify system definition to require sb-cltl2.
Katherine Cox-Buday [Sat, 6 Jun 2020 16:18:00 +0000 (11:18 -0500)]
gnu: sbcl-lparallel: Modify system definition to require sb-cltl2.

* gnu/packages/lisp-xyz.scm (sbcl-lparallel)[arguments]: Add 'fix-dependency'
  phase to modify system definition to require sb-cltl2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
3 years agognu: streamlink: Update to 1.4.1.
Efraim Flashner [Sun, 7 Jun 2020 06:16:32 +0000 (09:16 +0300)]
gnu: streamlink: Update to 1.4.1.

* gnu/packages/video.scm (streamlink): Update to 1.4.1.

3 years agognu: emacs-realgud: Fix realgud:run-process problem.
Maxim Cournoyer [Sun, 7 Jun 2020 04:23:13 +0000 (00:23 -0400)]
gnu: emacs-realgud: Fix realgud:run-process problem.

* gnu/packages/emacs-xyz.scm (emacs-realgud)[phases]
{fix-realgud:run-process-void-error}: New phase.
{fix-autogen-script}: Return #t.
{autogen}: Likewise.
{set-home}: Likewise.
{remove-realgud-pkg.el}: Likewise.

3 years agognu: guix: Update to d445c30ea6.
Chris Marusich [Sun, 7 Jun 2020 00:56:54 +0000 (17:56 -0700)]
gnu: guix: Update to d445c30ea6.

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

3 years agodaemon: Handle EXDEV when moving to trash directory.
Chris Marusich [Fri, 5 Jun 2020 06:26:19 +0000 (23:26 -0700)]
daemon: Handle EXDEV when moving to trash directory.

Fixes <https://bugs.gnu.org/41607>.
Reported by Stephen Scheck <singularsyntax@gmail.com>.

* nix/libstore/gc.cc (LocalStore::deletePathRecursive): When we try to
move a dead directory into the trashDir using rename(2) but it returns
an EXDEV error, just delete the directory instead.  This can happen in a
Docker container when the directory is not on the "top layer".

3 years agoui: 'display-search-results' automatically invokes the pager.
Ludovic Courtès [Sat, 6 Jun 2020 21:17:02 +0000 (23:17 +0200)]
ui: 'display-search-results' automatically invokes the pager.

* guix/ui.scm (call-with-paginated-output-port): New procedure.
(with-paginated-output-port): New macro.
(display-search-results): Use it instead of displaying a hint.

3 years agoutils: Add 'with-environment-variables'.
Ludovic Courtès [Sat, 6 Jun 2020 21:00:05 +0000 (23:00 +0200)]
utils: Add 'with-environment-variables'.

* guix/tests/gnupg.scm (call-with-environment-variables)
(with-environment-variables): Move to...
* guix/utils.scm: ... here.
* guix/tests/git.scm: Adjust accordingly.

3 years agognu: guile-static: Disable JIT on ARMv7.
Ludovic Courtès [Wed, 27 May 2020 21:57:41 +0000 (23:57 +0200)]
gnu: guile-static: Disable JIT on ARMv7.

* gnu/packages/make-bootstrap.scm (make-guile-static): Pass
"--disable-jit" when 'target-arm32?' is true.

3 years agovm: Shared-store script runs the native QEMU and Bash.
Ludovic Courtès [Wed, 27 May 2020 21:11:14 +0000 (23:11 +0200)]
vm: Shared-store script runs the native QEMU and Bash.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Use #+ for
QEMU and BASH.

3 years agovm: <virtual-machine> compiler honors system and target.
Ludovic Courtès [Wed, 27 May 2020 21:09:49 +0000 (23:09 +0200)]
vm: <virtual-machine> compiler honors system and target.

* gnu/system/vm.scm (system-qemu-image/shared-store): Add #:system
and #:target.  Pass it down.
(system-qemu-image/shared-store-script): Likewise.
(virtual-machine-compiler): Likewise.

3 years agovm: 'qemu-image' preserves the cross-compilation target of the OS.
Ludovic Courtès [Wed, 27 May 2020 22:37:33 +0000 (00:37 +0200)]
vm: 'qemu-image' preserves the cross-compilation target of the OS.

* gnu/system/vm.scm (qemu-image)[preserve-target, inputs*]: New variables.
In gexp, use INPUTS* instead of INPUTS.  Wrap OS and BOOTCFG-DRV in
'preserve-target'.  Pass INPUTS* instead of INPUTS as the #:references-graphs.

3 years agovm: 'qemu-image' uses the native partitioning tools and bootloader.
Ludovic Courtès [Wed, 27 May 2020 21:08:15 +0000 (23:08 +0200)]
vm: 'qemu-image' uses the native partitioning tools and bootloader.

* gnu/system/vm.scm (qemu-image): Use #+ for Parted, the bootloader, etc.

3 years agovm: 'expression->derivation-in-linux-vm' always returns a native build.
Ludovic Courtès [Wed, 27 May 2020 21:04:48 +0000 (23:04 +0200)]
vm: 'expression->derivation-in-linux-vm' always returns a native build.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Remove #:target.
[builder]: Use #+.  Don't pass #:target-arm32? and #:target-aarch64? to
'load-in-linux-vm'.
Pass #:target #f to 'gexp->derivation'.
(qemu-image): Adjust accordingly.
* gnu/build/vm.scm (load-in-linux-vm): Remove #:target-aarch64?
and #:target-arm32?.  Define them as local variables.

3 years agosystem: 'system-linux-image-file-name' takes an optional parameter.
Ludovic Courtès [Wed, 27 May 2020 15:40:14 +0000 (17:40 +0200)]
system: 'system-linux-image-file-name' takes an optional parameter.

* gnu/system.scm (system-linux-image-file-name): Make 'target' an
optional parameter.

3 years agopackages: Make 'bag-grafts' insensitive to '%current-target-system'.
Ludovic Courtès [Sat, 6 Jun 2020 19:37:47 +0000 (21:37 +0200)]
packages: Make 'bag-grafts' insensitive to '%current-target-system'.

Fixes <https://bugs.gnu.org/41713>.
Reported by Mathieu Othacehe.

* guix/packages.scm (bag-grafts): Wrap 'fold-bag-dependencies' calls in
'parameterize'.
* tests/packages.scm ("package->bag, sensitivity to
%current-target-system"): New test.

3 years agografts: Improve performance for derivations with many inputs.
Ludovic Courtès [Sat, 6 Jun 2020 16:46:49 +0000 (18:46 +0200)]
grafts: Improve performance for derivations with many inputs.

Partly fixes <https://bugs.gnu.org/41702>.
Reported by Lars-Dominik Braun <ldb@leibniz-psychology.org>.

Previously we'd potentially traverse the same sub-graph of DEPS several
times.

With this patch, command:

  guix environment --ad-hoc r-learnr --search-paths

goes from 11.3s to 4.6s.

* guix/grafts.scm (reference-origin): Rename to...
(reference-origins): ... this.  Change 'item' parameter to 'items'.
[lookup-derivers]: New procedure.
(cumulative-grafts)[dependency-grafts]: Change 'item' to 'items' and use
'reference-origins'.
Remove 'mapm' around 'dependency-grafts' call.

3 years agognu: libqmi: Update to 1.24.14.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 19:53:36 +0000 (21:53 +0200)]
gnu: libqmi: Update to 1.24.14.

* gnu/packages/freedesktop.scm (libqmi): Update to 1.24.14.

3 years agognu: klavaro: Update to 3.10.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 18:37:18 +0000 (20:37 +0200)]
gnu: klavaro: Update to 3.10.

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

3 years agognu: burp: Update to 2.3.28.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 18:26:33 +0000 (20:26 +0200)]
gnu: burp: Update to 2.3.28.

* gnu/packages/backup.scm (burp): Update to 2.3.28.

3 years agognu: di: Cross-compile.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 15:23:32 +0000 (17:23 +0200)]
gnu: di: Cross-compile.

* gnu/packages/admin.scm (di)[arguments]: Use CC-FOR-TARGET.

3 years agognu: di: Update to 4.48.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 15:17:07 +0000 (17:17 +0200)]
gnu: di: Update to 4.48.

* gnu/packages/admin.scm (di): Update to 4.48.

3 years agognu: Add kpeoplevcard.
Marius Bakke [Sat, 6 Jun 2020 18:57:50 +0000 (20:57 +0200)]
gnu: Add kpeoplevcard.

* gnu/packages/kde-pim.scm (kpeoplevcard): New public variable.

3 years agognu: KContacts: Propagate required inputs.
Marius Bakke [Sat, 6 Jun 2020 18:56:54 +0000 (20:56 +0200)]
gnu: KContacts: Propagate required inputs.

* gnu/packages/kde-frameworks.scm (kcontacts)[inputs]: Move KCODECS,
KCOREADDONS, KCONFIG, and KI18N ...
[propagated-inputs]: ... here.  New field.

3 years agognu: kdevelop: Update to 5.5.2.
Marius Bakke [Sat, 6 Jun 2020 14:12:16 +0000 (16:12 +0200)]
gnu: kdevelop: Update to 5.5.2.

* gnu/packages/kde.scm (kdevelop): Update to 5.5.2.

3 years agognu: akonadi-search: Enable tests.
Marius Bakke [Sat, 6 Jun 2020 13:47:39 +0000 (15:47 +0200)]
gnu: akonadi-search: Enable tests.

* gnu/packages/kde-pim.scm (akonadi-search)[native-inputs]: Add DBUS.
[arguments]: Add #:phases.

3 years agognu: grantlee: Correct license.
Marius Bakke [Wed, 3 Jun 2020 21:35:27 +0000 (23:35 +0200)]
gnu: grantlee: Correct license.

* gnu/packages/qt.scm (grantlee)[license]: Set to LGPL2.1+.

3 years agognu: rust-rpassword-4: Update to 4.0.5.
Efraim Flashner [Fri, 5 Jun 2020 16:35:40 +0000 (19:35 +0300)]
gnu: rust-rpassword-4: Update to 4.0.5.

* gnu/packages/crates-io.scm (rust-rpassword-4): Update to 4.0.5.

3 years agognu: emacs-with-editor: Update to 2.9.2.
Nicolas Goaziou [Sat, 6 Jun 2020 18:03:10 +0000 (20:03 +0200)]
gnu: emacs-with-editor: Update to 2.9.2.

* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 2.9.2.

3 years agognu: emacs-nhexl-mode: Update to 1.5.
Nicolas Goaziou [Sat, 6 Jun 2020 14:21:26 +0000 (16:21 +0200)]
gnu: emacs-nhexl-mode: Update to 1.5.

* gnu/packages/emacs-xyz.scm (emacs-nhexl-mode): Update to 1.5.
[description]: Remove trailing newline character.

3 years agognu: emacs-mmm-mode: Update to 0.5.8.
Nicolas Goaziou [Sat, 6 Jun 2020 14:17:04 +0000 (16:17 +0200)]
gnu: emacs-mmm-mode: Update to 0.5.8.

* gnu/packages/emacs-xyz.scm (emacs-mmm-mode): Update to 0.5.8.
[source]: Use GNU ELPA repository instead of GitHub.
[build-system]: Switch to emacs-build-system.
[native-inputs]: Remove.

3 years agognu: emacs-zones: Update to 2019.7.13.
Nicolas Goaziou [Sat, 6 Jun 2020 14:07:14 +0000 (16:07 +0200)]
gnu: emacs-zones: Update to 2019.7.13.

* gnu/packages/emacs-xyz.scm (emacs-zones): Update to 2019.7.13.
[source]: Use GNU ELPA repository instead of GitHub.  Remove unnecessary
patch.
* gnu/packages/patches/emacs-zones-called-interactively.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Apply file deletion.

3 years agognu: emacs-howm: Update to 1.4.6.
Nicolas Goaziou [Sat, 6 Jun 2020 13:59:04 +0000 (15:59 +0200)]
gnu: emacs-howm: Update to 1.4.6.

* gnu/packages/emacs-xyz.scm (emacs-howm): Update to 1.4.6.

3 years agognu: emacs-frog-menu: Update to 0.2.11.
Nicolas Goaziou [Sat, 6 Jun 2020 13:54:51 +0000 (15:54 +0200)]
gnu: emacs-frog-menu: Update to 0.2.11.

* gnu/packages/emacs-xyz.scm (emacs-frog-menu): Update to 0.2.11.
[source]: Use GNU ELPA repository instead of GitHub.

3 years agognu: emacs-ebdb: Update to 0.6.18.
Nicolas Goaziou [Sat, 6 Jun 2020 13:47:57 +0000 (15:47 +0200)]
gnu: emacs-ebdb: Update to 0.6.18.

* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.6.18.
[source]: Use GNU ELPA repository instead of GitHub.

3 years agognu: GnuTLS: Update replacement to 3.6.14 [fixes CVE-2020-13777].
Marius Bakke [Sat, 6 Jun 2020 13:00:42 +0000 (15:00 +0200)]
gnu: GnuTLS: Update replacement to 3.6.14 [fixes CVE-2020-13777].

* gnu/packages/tls.scm (gnutls-3.6.13): Rename to ...
(gnutls-3.6.14): ... this.  Update to 3.6.14.
(gnutls)[replacement]: Adjust accordingly.
* gnu/packages/package-management.scm (guix)[propagated-inputs]: Likewise.
* gnu/packages/vpn.scm (openconnect)[propagated-inputs]: Likewise.

3 years agognu: rcas-web: Use guile2.2 version of Guile-Redis.
Marius Bakke [Thu, 4 Jun 2020 15:54:15 +0000 (17:54 +0200)]
gnu: rcas-web: Use guile2.2 version of Guile-Redis.

* gnu/packages/bioinformatics.scm (rcas-web)[inputs]: Change from GUILE-REDIS
to GUILE2.2-REDIS.  While at it, rename the GUILE input to "guile" instead
of "guile-next".

3 years agognu: emacs-exwm: Update to 0.24.
Nicolas Goaziou [Sat, 6 Jun 2020 13:29:02 +0000 (15:29 +0200)]
gnu: emacs-exwm: Update to 0.24.

* gnu/packages/emacs-xyz.scm (emacs-exwm): Update to 0.24.

3 years agognu: openconnect: Add a comment about the gnutls version.
Tobias Geerinckx-Rice [Sat, 6 Jun 2020 13:21:54 +0000 (15:21 +0200)]
gnu: openconnect: Add a comment about the gnutls version.

* gnu/packages/vpn.scm (openconnect): Add said comment.
* gnu/packages/tls.scm (gnutls): Add backlink to optimise SEO.

3 years agognu: emacs-web-server: Update to 0.1.2.
Nicolas Goaziou [Sat, 6 Jun 2020 13:23:10 +0000 (15:23 +0200)]
gnu: emacs-web-server: Update to 0.1.2.

* gnu/packages/emacs-xyz.scm (emacs-web-server): Update to 0.1.2.
[source]: Use GNU ELPA repository instead of GitHub.
[native-inputs]: Remove unnecessary native inputs.
[arguments]: Do not run tests, which do not exist in ELPA.

3 years agognu: openscad: Add patch to fix build.
Steve Sprang [Fri, 5 Jun 2020 18:05:06 +0000 (11:05 -0700)]
gnu: openscad: Add patch to fix build.

* gnu/packages/patches/openscad-parser-boost-1.72.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/engineering.scm (openscad)[source]: Use it.