Commit graph

58303 commits

Author SHA1 Message Date
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
Ludovic Courtès 08b14ab20e
maint: 'release' targets runs ./bootstrap for new version string.
Reported by Vagrant Cascadian <vagrant@debian.org>.

* Makefile.am (dist-with-updated-version): New target.
(release): Depend on 'dist-with-updated-version'.
2020-04-10 12:26:21 +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 f9adf35595
Update NEWS. 2020-04-09 22:56:56 +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
Ludovic Courtès 98148830c0
maint: 'release' builds with '--fallback'.
* Makefile.am (guix-binary.%.tar.xz): Pass '--fallback' to 'guix pack'.
(release): Pass '--fallback' to 'guix build' and 'guix system'.
2020-04-09 16:32:38 +02:00
Ludovic Courtès 8b292ffd3c
maint: 'release' target no longer uses -K, to allow for offloading.
This is a followup to 2ce08a5d79.

* Makefile.am (release): Remove -K flag.
2020-04-09 13:18:13 +02:00
Ludovic Courtès 808084e9d1
maint: Binary tarball uses "guile3.0-guix", not "guix".
* Makefile.am (GUIX_FOR_BINARY_TARBALL): New variable.
(guix-binary.%.tar.xz): Use $(GUIX_FOR_BINARY_TARBALL) instead of
"guix".
(release): Likewise.
2020-04-09 11:52:23 +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
Florian Pelz 6ff3470fe5
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-04-08 18:53:49 +00:00
Diego Nicola Barbato c1d81df93d
download: Use correct system and guile in 'url-fetch/tarbomb' and 'url-fetch/zipbomb'.
Fixes <https://bugs.gnu.org/40115>.

Previously the result of `guix build -s $system $package' would depend on the
system Guix was built for if $package or one of its dependencies used
'url-fetch/tarbomb' or 'url-fetch/zipbomb' as the origin method of its
source (e.g. `guix build -s i686-linux ffmpeg' on i686-linux would build a
different derivation than on x86_64-linux).

This patch fixes this by explicitly passing the correct system and guile to
'gexp->derivation'.

* guix/download.scm (url-fetch/tarbomb): Pass #:system system and
  #:guile-for-build guile to 'gexp->derivation', where guile is the derivation
  of guile for system.
  (url-fetch/zipbomb): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-08 19:35:34 +02: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 8c04471f24
doc: Mention HTTP/HTTPS proxy in the system installation instructions.
* doc/guix.texi (Keyboard Layout and Networking and Partitioning):
Mention 'herd set-http-proxy guix-daemon'.
2020-04-08 12:42:41 +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
Ludovic Courtès 0eb799e669
maint: Cross-build GUILE-2.2/FIXED.
* etc/release-manifest.scm (%packages-to-cross-build): Replace
"guile@2.2" with GUILE-2.2/FIXED.
2020-04-08 00:05:46 +02:00
Ludovic Courtès a05ad01122
records: Have ABI check work well for cross-compilation.
Reported by Jan (janneke) Nieuwenhuizen <janneke@gnu.org>.

* guix/records.scm (define-record-type*): Use
'target-most-positive-fixnum' on Guile 3 instead of 'most-positive-fixnum'.
2020-04-08 00:05:45 +02:00
Ludovic Courtès 041c3c22dc
compile: Run the load phase within 'with-target'.
* guix/build/compile.scm (compile-files)[build]: Remove 'with-target'.
Wrap body in 'with-target'.
2020-04-08 00:05:45 +02:00
Ludovic Courtès 93add9bf7d
reconfigure: Correctly re-throw SRFI-34 exceptions on Guile 3.
Previously, we'd just print an ugly backtrace when running on Guile 3
because the '%exception throw would not be caught anywhere.

Reported by Arne Babenhauserheide <arne_bab@web.de>
in <https://bugs.gnu.org/40496>.

* guix/scripts/system/reconfigure.scm (install-bootloader-program): In
'catch' handler, match '%exception and use 'raise-exception' instead of
'throw' to rethrow in that case.
2020-04-08 00:05:45 +02:00
Marius Bakke 1c86577d62
Revert "Allow double-click select of URL in status"
As discussed on #guix, this should wait until 1.1.0 is branched off to avoid
having to update translations.

This reverts commit 9f1b787120.
2020-04-07 22:09:14 +02:00
TomZ 9f1b787120
Allow double-click select of URL in status
Various places while downloading or compiling guix prints
the source URL. This change makes the URL easier to use by
placing a space between the URL and the trailing dots.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-04-07 21:56:30 +02: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