Commit Graph

51227 Commits

Author SHA1 Message Date
Ludovic Courtès 8aa752ba22
services: shepherd: Increase the PID file timeout to 30s.
When running the installation image off a DVD, early I/O operations are
extremely slow, to the point that something like dbus-daemon would need
~20s to start.  This change works around the issue.

Fixes <https://bugs.gnu.org/40572>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/services/shepherd.scm (shepherd-configuration-file): Set
%pid-file-timeout to 30.
2020-04-15 00:02:23 +02:00
Florian Pelz 0ad60b2a89
installer: Only load uvesafb kernel module when needed.
This is a follow-up to commit 557e6820a7.

* gnu/system/install.scm (uvesafb-shepherd-service): Check
that /dev/fb0 is not already present.
2020-04-14 13:05:57 +00:00
Ludovic Courtès 893651af3e
installer: Open manual in the selected language on tty2.
Fixes <https://bugs.gnu.org/40624>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

Regression introduced in b5c2d93d7a.

* gnu/installer.scm (apply-locale): Remove 'lambda' around
'stop-service' and 'start-service' calls.
2020-04-14 13:01:58 +02:00
Florian Pelz 8e4d1493f1
services: kernel-module-loader: Clean up.
Suggested by Efraim Flashner <efraim@flashner.co.il>.
See <https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00237.html>.

* gnu/services/linux.scm (kernel-module-loader-shepherd-service):
Remove unneeded 'respawn?' field.
2020-04-12 18:24:27 +00:00
Ludovic Courtès 2033cf19e6
gnu: guix: Update to 9d0d27f. 2020-04-12 03:33:13 +02:00
Ludovic Courtès 9d0d27fd88
gnu: guix: Update to 1.1.0rc2. 2020-04-12 00:38:43 +02:00
Ludovic Courtès f4ec5e1a98
gnu: gdm: Don't offer GNOME when it's not in the system profile.
Fixes <https://bugs.gnu.org/37831>.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.

* gnu/packages/patches/gdm-default-session.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (gdm)[source]: Use it.
2020-04-11 23:58:49 +02:00
Florian Pelz 557e6820a7
installer: Load uvesafb kernel module.
Fixes <https://bugs.gnu.org/40538>.

Machines without Kernel Mode Setting (those with many old and current AMD
GPUs, SiS GPUs, …) need uvesafb to show the GUI installer.  Some may also need
a kernel parameter like nomodeset or vga=793, but we leave that for the user
to specify in GRUB.

* gnu/system/install.scm (uvesafb-shepherd-service): New procedure.
(uvesafb-service-type): New variable.
(%installation-services): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-04-11 22:59:35 +02:00
Ludovic Courtès c635610bc6
tests: Run guided installation tests from an ISO image.
* gnu/tests/install.scm (guided-installation-test): Pass
 #:installation-disk-image-file-system-type to 'run-install'.
2020-04-10 16:06:41 +02:00
Ludovic Courtès 66b53c2c72
installer: tests: Don't install to a CD/DVD.
* gnu/installer/tests.scm (choose-partitioning): Use 'find' to select
the disk.
2020-04-10 16:06:32 +02:00
Ludovic Courtès 74f01059cb
vm: 'system-disk-image' honors #:substitutable? for ISO9660 images.
This is a followup to a328f66a9e.

* gnu/system/vm.scm (iso9660-image): Add #:substitutable? and pass it to
'expression->derivation-in-linux-vm'.
(system-disk-image): Pass #:substitutable? to 'iso9660-image'.
2020-04-10 16:06:23 +02:00
Ludovic Courtès abc33218f1
gnu: sdl-pango: Shorten file name of patch.
* gnu/packages/patches/sdl-pango-fix-explicit-SDLPango_CopyFTBitmapTo.patch:
Rename to...
* gnu/packages/patches/sdl-pango-header-guard.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/sdl.scm (sdl-pango):
Likewise.
2020-04-10 16:06:14 +02:00
Ludovic Courtès 17edf577d5
gnu: akonadi: Shorten file name of patch.
This ensures we stay below the POSIX tar file name length limit.

* gnu/packages/patches/akonadi-Revert-Make-installation-properly-relo.patch:
Rename to...
* gnu/packages/patches/akonadi-not-relocatable.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/kde-pim.scm (akonadi): Likewise.
2020-04-10 16:06:03 +02:00
Ludovic Courtès 18ffd2f968
gnu: binutils: Shorten file names of MinGW patches.
This ensures we stay below the POSIX tar file name length limit.

* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Rename to...
* gnu/packages/patches/binutils-mingw-w64-deterministic.patch: ... this.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Rename to...
* gnu/packages/patches/binutils-mingw-w64-timestamp.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/cross-base.scm (cross-binutils): Likewise.
2020-04-10 16:05:57 +02:00
Mathieu Othacehe 0bd7a6bad9
gnu: installer: Fix issue with "Esperanto" locale.
According to glibc manual, locale are under the following form:
          language[_territory[.codeset]][@modifier]

The esperanto locale "epo" does not have a territory. Modify run-command to
take this into account.

Reported by Alex Sassmannshausen here:
https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00192.html.

* gnu/installer/utils.scm (run-command): Handle locale without territory such
as "epo".
2020-04-10 16:05:38 +02:00
Tobias Geerinckx-Rice 2281a77a3c
gnu: xfce: Fix typo.
* gnu/packages/xfce.scm (xfce)[inputs]: Re-spell ‘tumlber’.
2020-04-10 16:05:30 +02:00
Tobias Geerinckx-Rice 325707fabe
services: gnome: Fix ‘gnome’ field name.
To match its own documentation & other similar services.

* gnu/services/desktop.scm (gnome-desktop-configuration)[gnome-package]:
Rename to…
[gnome]: …this.
2020-04-10 16:05:25 +02:00
Tobias Geerinckx-Rice e830c2a8de
vm: Transparently compress iso9660 images.
* gnu/build/vm.scm (make-iso9660-image): Use the ‘--zisofs’ xorriso
filter at the highest compression settings for supported directories.
2020-04-10 16:05:19 +02:00
Vagrant Cascadian eb0352e5b0
Add missing services/linux.scm to gnu/local.mk.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add linux.scm.
2020-04-10 11:18:08 +02:00
Ludovic Courtès 4fc2132741
gnu: qemu: Skip tests on i686-linux.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add #:tests?.
2020-04-09 22:27:06 +02:00
Florian Pelz 7bc71025cc
installer: Include empty variant in keyboard layout selection.
Previously for Azerbaijani, no Latin layout but only the Cyrillic variant
could be selected.

* gnu/installer/newt/keymap.scm (add-empty-variant): New procedure.
(run-keymap-page): Use it to insert an empty variant.
2020-04-09 03:45:22 +00:00
Florian Pelz 91c231a222
installer: Allow Alt+Shift toggle from non-Latin keyboard layouts.
Fixes <https://bugs.gnu.org/40493>.

* gnu/installer/newt/keymap.scm (%non-latin-layouts): New variable.
(%non-latin-variants): New variable.
(%latin-layout+variants): New variable.
(toggleable-latin-layout): New procedure to compute combined layouts.
(run-keymap-page): Use it.
(keyboard-layout->configuration): Apply it in config.scm.
(run-layout-page): Mention Alt+Shift.
* gnu/installer/keymap.scm (kmscon-update-keymap): Pass on XKB options.
* gnu/installer/record.scm (<installer>): Adjust code comments.
* gnu/installer.scm (apply-keymap): Pass on XKB options.
(installer-steps): Adjust code comments.
* gnu/packages/patches/kmscon-runtime-keymap-switch.patch: Apply XKB options.
2020-04-09 02:42:54 +00:00
Florian Pelz 543516ed00
services/web: Fix ordering of default-nginx-config.
Fixes an error message '"load_module" directive is specified too late'.

* gnu/services/web.scm (default-nginx-config): Emit load_module before
global directives.
2020-04-08 23:12:32 +00:00
Nicolas Goaziou b8f5b436ec
gnu: cataclysm-dda: Update to 0.E.
* gnu/packages/games.scm (cataclysm-dda): Update to 0.E.
2020-04-09 01:00:27 +02:00
Mark H Weaver 448e072555
gnu: linux-libre: Update to 5.4.31.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.31.
(linux-libre-5.4-pristine-source): Update hash.
2020-04-08 15:38:47 -04:00
Mark H Weaver 0d173f957a
gnu: linux-libre@5.6: Update to 5.6.3.
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.3.
(linux-libre-5.6-pristine-source): Update hash.
2020-04-08 15:37:49 -04:00
Tobias Geerinckx-Rice 198571b264
gnu: openntpd: Don't use NAME in source URI.
* gnu/packages/ntp.scm (openntpd)[source]: Hard-code NAME.
2020-04-08 17:05:51 +02:00
Tobias Geerinckx-Rice 23335e8d86
gnu: et: Update home page.
* gnu/packages/ssh.scm (et)[home-page]: Update.
2020-04-08 17:03:28 +02:00
Tobias Geerinckx-Rice 2ca12aee81
gnu: mosh: Tweak description.
* gnu/packages/ssh.scm (mosh)[description]: Use full sentences and note
that only the client may roam.
2020-04-08 15:20:39 +02:00
Tobias Geerinckx-Rice 9f12e06bb3
gnu: Add chrony.
* gnu/packages/ntp.scm (chrony): New public variable.
2020-04-08 14:42:29 +02:00
Ludovic Courtès 9cfd889f1d
tests: Mark VM images as non-substitutable.
* gnu/tests/install.scm (run-install): Pass #:substitutable? to
'system-disk-image' and to 'gexp->derivation'.
2020-04-08 12:42:41 +02:00
Ludovic Courtès a328f66a9e
vm: Allow images to be marked as non-substitutable.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
 #:substitutable? parameter.  Pass it to 'gexp->derivation'.
(qemu-image): Add #:substitutable? and pass it to
'expression->derivation-in-linux-vm'.
(system-disk-image): Add #:substitutable? and pass it to 'qemu-image'.
2020-04-08 12:42:41 +02:00
Vincent Legoll ba6f2bda18
gnu: genimage: Update to 11.
* gnu/packages/genimage.scm (genimage): Update to 11,
[arguments]: add a new test dump file to the patched ones
because of missing /etc/passwd in build environment.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-08 11:30:55 +02:00
Mathieu Othacehe ee0ad7803c
installer: Add proxy support.
* gnu/installer/proxy.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer/newt/parameters.scm (run-proxy-page): New procedure,
(run-parameters-page): add the previous procedure to the parameters menu.
2020-04-08 10:24:02 +02:00
Mathieu Othacehe 07a53bd512
installer: Turn help menu into parameters menu.
* gnu/local.mk (INSTALLER_MODULES): Rename help.scm into parameters.scm.
* po/guix/POTFILES.in: Ditto.
* gnu/installer/record.scm (<installer>): Rename help-menu into parameter-menu
and help-page into parameters-page.
* gnu/installer/newt/parameters.scm: Renamed from help.scm. Update information
messages.
* gnu/installer/newt.scm: Update accordingly.
* gnu/installer/newt/keymap.scm: Ditto.
2020-04-08 10:24:02 +02:00
Nicolas Goaziou 6e2f7dc5e2
gnu: higan: Update description.
* gnu/packages/emulators.scm (higan)[synopsis, description]: Update
description.
2020-04-08 10:03:25 +02:00
Nicolas Goaziou 76cc11a0ed
gnu: higan: Update to 110.
* gnu/packages/emulators.scm (higan): Update to 110.
[source]: Switch to new repository.
[inputs]: Add libxrandr, replace sdl with sdl2.
[home-page]: Use new URL.
[license]: Switch license.
* gnu/packages/patches/higan-remove-march-native-flag.patch: Delete file.
* gnu/local.mk: Reflect patch removal.
2020-04-08 09:56:59 +02:00
Leo Famulari be54cbe690
gnu: Syncthing: Update to 1.4.1.
* gnu/packages/syncthing.scm (syncthing): Update to 1.4.1.
2020-04-07 22:04:34 -04:00
Leo Famulari ea2dcf1664
gnu: Add go-github-com-calmh-murmur3.
* gnu/packages/golang.scm (go-github-com-calmh-murmur3): New variable.
(go-github-com-willf-bloom)[propagated-inputs]: Replace
go-github-com-spaolacci-murmur3 with it.
[arguments]: Patch the murmur3 import path in a new 'patch-import-path' phase.
2020-04-07 22:04:34 -04:00
Leo Famulari 3868b2a799
gnu: Go: Update to 1.13.9.
* gnu/packages/golang.scm (go-1.13): Update to 1.13.9.
2020-04-07 22:04:30 -04:00
Marius Bakke 55d4526411
gnu: gnurl: Update to 7.69.1.
* gnu/packages/gnunet.scm (gnurl): Update to 7.69.1.
[source](uri): Switch to ".tar.gz" archive.
2020-04-07 21:41:58 +02:00
Alexandros Theodotou 2aaf76582d
gnu: Add tap-lv2.
* gnu/packages/music.scm (tap-lv2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-04-07 14:15:13 -04:00
Mark H Weaver c87bb5a9bd
gnu: icecat: Update to 68.7.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2020-6821, CVE-2020-6822, CVE-2020-6825,
CVE-2020-6827, and CVE-2020-6828.

* 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.
2020-04-07 13:46:59 -04:00
Marius Bakke 48cb64084a
gnu: emacs-beancount: Do not inherit inputs from beancount.
* gnu/packages/finance.scm (emacs-beancount)[inputs, native-inputs]: New fields.
2020-04-07 18:46:38 +02:00
Marius Bakke 74b992fb43
gnu: beancount: pytest is a native input.
* gnu/packages/finance.scm (beancount)[inputs]: Move PYTHON-PYTEST ...
[native-inputs]: ... here.
2020-04-07 18:46:38 +02:00
Marius Bakke 9afc618e1b
gnu: beancount: Do not propagate inputs.
* gnu/packages/finance.scm (beancount)[propagated-inputs]: Move everything
from here ...
[inputs]: ... to here.
2020-04-07 18:46:37 +02:00
Marius Bakke 805d70214a
gnu: emacs-beancount: Move to (gnu packages finance).
This is a fixup for commit abcac7a529, as
inheritance across modules is not safe.  Fixes <https://bugs.gnu.org/40488>.
Reported by Christopher Baines <mail@cbaines.net>.

* gnu/packages/emacs-xyz.scm (emacs-beancount): Move from here ...
* gnu/packages/finance.scm: ... to here.
2020-04-07 18:46:37 +02:00
Efraim Flashner 68d8ec5770
gnu: Add python-ipython-cluster-helper.
* gnu/packages/python-xyz.scm (python-ipython-cluster-helper): New variable.
2020-04-07 19:22:22 +03:00
Efraim Flashner 0815350874
gnu: Add python-ipyparallel.
* gnu/packages/python-xyz.scm (python-ipyparallel): New variable.
2020-04-07 19:22:13 +03:00
Marius Bakke 5d9d9383ac
gnu: python-coveralls: Update to 1.11.1.
* gnu/packages/python-check.scm (python-coveralls): Update to 1.11.1.
[source]: Change to GIT-FETCH.
[arguments]: New field.
[propagated-inputs]: Remove PYTHON-SH and PYTHON-URLLIB3.
2020-04-07 17:59:00 +02:00