aboutsummaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2021-05-10system: vm-image.tmpl: Add a crutch to allow refreshing the resolution.Maxim Cournoyer
Inspired by https://github.com/jollheef/appvm/commit/1270b2e209bc002e69bbe6351ad5b04b7facfcc8. The price to pay is about 5% of a CPU core usage in the guest in the worst scenario. * gnu/system/examples/vm-image.tmpl (auto-update-resolution-crutch): New mcron job. [services]: Extend the mcron-service with it.
2021-05-08gnu: guix: Update to 566982b.Maxim Cournoyer
2021-05-08gnu: guix: Update to 1.3.0rc2.Maxim Cournoyer
2021-05-07system: Add wget to %base-packages-networking.Maxim Cournoyer
Fixes <https://issues.guix.gnu.org/43530>. Wget is typically included with most GNU/Linux distributions. It adds about ~3 MiB to the system size. * gnu/system.scm (%base-packages-networking): Add the wget package.
2021-05-06gnu: system: Add SPICE capability to the VM image.Maxim Cournoyer
* gnu/system/examples/vm-image.tmpl (services) [spice-vdagent-service-type]: Add service. [slim-service-type] <xorg-configuration>: Add the xf86-video-qxl module.
2021-05-06services: spice-vdagent: Clear the socket file prior to starting.Maxim Cournoyer
This fixes the following issue where spice-vdagent would fail to start if the spice-vdagent-sock socket file already existed: spice-vdagentd: Fatal could not create the server socket /run/spice-vdagentd/spice-vdagent-sock: Error binding to address: Address already in use The requirement is also modified to depend on dbus-system, a cue taken from upstream's own systemd service file (see 'data/spice-vdagentd.service' in the sources). * gnu/services/spice.scm (spice-vdagent-activation): Delete procedure. (spice-vdagent-shepherd-service): Fix indentation. [requirement]: Replace udev by dbus-system. [start]: Ensure the spice-vdagentd run-time directory exists and that the spice-vdagent-sock socket file does *not* exist before forking the daemon.
2021-05-06gnu: spice-vdagent: Update to 0.21.0 and enable GTK+ support.Maxim Cournoyer
* gnu/packages/spice.scm (spice-vdagent): Update to 0.21.0. Remove trailing #t. [make-flags]: New argument. [phases]{fix-test-termination}: New phase. [inputs]: Add gtk+. [native-inputs]{procps}: New input.
2021-05-05gnu: guile2.2-guix: Add missing dependencies.Ludovic Courtès
Reported by Maxime Devos <maximedevos@telenet.be>. * gnu/packages/package-management.scm (guile2.2-guix)[inputs] [propagated-inputs]: Add GUILE2.2-LIB, GUILE2.2-ZLIB, and GUILE2.2-LZLIB.
2021-05-05gnu: guile-lzlib: Add Guile 2.2 variant.Ludovic Courtès
* gnu/packages/guile.scm (guile2.2-lzlib): New variable.
2021-05-05gnu: guile-zlib: Add Guile 2.2 variant.Ludovic Courtès
* gnu/packages/guile.scm (guile2.2-zlib): New variable.
2021-05-05services: Fix the spice-vdagent service.Maxim Cournoyer
* gnu/services/spice.scm (spice-vdagent-activation): Update runtime directory from /var/run/spice-vdagentd to /run/spice-vdagentd. (spice-vdagent-service-type): Specify a default value and fix indentation.
2021-05-05gnu: guix: Phases refer to #:system, #:target, and #:native-inputs.Ludovic Courtès
* gnu/packages/package-management.scm (guix)[arguments]: In 'copy-bootstrap-guile' and 'wrap-program' phases, refer to #:system, #:native-inputs, and #:target instead of unquoting (%current-system) and (%current-target-system).
2021-05-05gnu: guix: Avoid Bash wrapper.Ludovic Courtès
The Bash wrapper created by 'wrap-program' creates an extra indirection and may annoyingly emit locale warnings: /gnu/store/…-bash-minimal-5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale (wtf) This warning would typically show up when running Guix, as produced by 'guix pack guix', on a foreign distro, annihilating efforts made in 1d4ab335b22a93e01c2eb1eb3e93fc6534157040 and 8a973abc6f7eebfcd8a904bfbb99cb9f86f66ef0. * gnu/packages/package-management.scm (guix)[arguments]: In 'wrap-program' phase, remove 'string-join' call for PATH and GOPATH. Replace 'wrap-program' call with a 'substitute*' form. Remove (when target ...) form. [inputs]: Remove "bash-minimal" added in commit 38b9af7c92344a17b6680ebd2aeea14171f84a1c and no longer needed.
2021-05-05gnu: guix: Add run-time dependency on Guile-Lib.Ludovic Courtès
This is a followup to 02e2e093e858e8a0ca7bd66c1f1f6fd0a1705edb, which added Guile-Lib as an input but did not add it to the wrapper's search path. * gnu/packages/package-management.scm (guix)[arguments]: In 'wrap-program' phase, add GUILE-LIB to DEPS.
2021-05-04locale: Remove glibc 2.29 from '%default-locale-libcs'.Ludovic Courtès
Having 2.29 is most likely no longer justified. Removing it reduces the closure size returned by: guix size $(guix system build gnu/system/install.scm) from 1.6G to 1.5G. * gnu/system/locale.scm (%default-locale-libcs): Remove GLIBC-2.29.
2021-05-01gnu: xfce4-settings: Add gsettings-desktop-schemas.Brendan Tildesley
* gnu/packages/xfce.scm (xfce4-settings):[propagated-inputs]: Add gsettings-desktop-schemas. This makes it appear in the system profile via the xfce service. This fixes a bug where changing icon theme causes xfce4-appearance-settings to crash with the error: GLib-GIO-ERROR **: 15:41:45.828: Settings schema 'org.gnome.desktop.interface' is not installed Trace/breakpoint trap Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-01gnu: openjdk: Disallow references to the JDK used for build.Ludovic Courtès
This ensures JDKs don't unintentionally keep references to the one used to build them, as reported at <https://issues.guix.gnu.org/31719#7> and fixed by 97a43db8b4416a1450aa61737edba9cf4126cf1c. * gnu/packages/java.scm (icedtea-8)[arguments]: Add #:disallowed-references. (openjdk9)[arguments]: Likewise. (openjdk10)[arguments]: Likewise. (openjdk11)[arguments]: Likewise.
2021-05-01gnu: openjdk: Avoid non-top-level 'use-modules'.Ludovic Courtès
* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk11)[arguments]: Replace non-top-level 'use-modules' by '@'.
2021-05-01gnu: openjdk: Fix library substitution when libraries aren't found.Carlo Zancanaro
* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk11)[arguments]: Change 'find-library' to always return a string. Change 'find-library' callers to use 'string-append' rather than 'format'. Starting from 97a43db8b4416a1450aa61737edba9cf4126cf1c, 'find-library' could return #f and JNI substitutions would emit a literal "#f". Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-05-01gnu: openjdk: Clean up runtime dependencies between Java versions.Carlo Zancanaro
* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk11): Do not consider icedtea/openjdk input paths when rewriting JNI libraries. Signed-off-by: Andreas Enge <andreas@enge.fr>
2021-04-29gnu: guix: Update to 6fd7f16.Maxim Cournoyer
2021-04-29gnu: guix: Update to 1.3.0rc1.Maxim Cournoyer
2021-04-29gnu: kmscon: Fix layout setup.Mathieu Othacehe
Kmscon may discover multiple inputs, corresponding to multiple devices. This means that the uxkb_dev_keymap_update function may be called multiple times, and the FIFO is registered on each input poll loop. When a new layout is written on the FIFO by the installer, the first input picking up the message, will apply the new layout. However, that input may not be the input that the user is currently using. To fix it, register the FIFO on the first input poll loop, but apply the new layout on all the inputs in the uxkb_keymap_update_handler function. * gnu/packages/patches/kmscon-runtime-keymap-switch.patch (uxkb_keymap_update_handler): Apply the new layout to all the inputs. (input_new_dev): Register the FIFO fd only on the first input poll loop.
2021-04-28installer: Add MSDOS disk label support on UEFI systems.Mathieu Othacehe
Fixes: <https://issues.guix.gnu.org/47889>. * gnu/installer/parted.scm (esp-partition?): Remove the MSDOS check. (auto-partition!): On MSDOS disks, check if an ESP partition is present. If that's the case, do not remove it. Otherwise, if UEFI is supported, create one.
2021-04-28installer: Force GPT disk label when UEFI is supported.Mathieu Othacehe
* gnu/installer/newt/partition.scm (run-label-page): Force the GPT disk label when UEFI is supported.
2021-04-26gnu: kmscon: Open a new keymap-update FIFO once a request has been processed.Ludovic Courtès
Fixes <https://bugs.gnu.org/39341>. Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>. Until now, as soon as you had selected the keyboard layout in the Guix System installer, kmscon would start spinning on epoll_wait(2) calls because of an event on the initial FIFO file descriptor (corresponding to the fact that the client closed it.) * gnu/packages/patches/kmscon-runtime-keymap-switch.patch: In 'uxkb_keymap_update_handler', add calls to 'ev_eloop_rm_fd', 'close', and 'uxkb_dev_keymap_update' In 'uxkb_dev_keymap_update', add call to 'unlink'.
2021-04-26gnu: xfce, mate: Propagate 'font-dejavu'.Ludovic Courtès
Fixes <https://bugs.gnu.org/47713>. Reported by bo0od <bo0od@riseup.net>. This ensures applications such as IceCat can properly text (numbers in the case of IceCat). * gnu/packages/enlightenment.scm (enlightenment)[propagated-inputs]: Add FONT-DEJAVU. * gnu/packages/mate.scm (mate)[propagated-inputs]: New field. * gnu/packages/xfce.scm (xfce)[propagated-inputs]: New field.
2021-04-26gnu: xfdesktop: Add Guix logo to default background.Ludovic Courtès
* gnu/packages/xfce.scm (xfdesktop)[arguments]: In 'prepare-background-image' phase, add "xfce-verticals.png".
2021-04-23gnu: wireshark: Update to 3.4.5 [security fixes].Tobias Geerinckx-Rice
* gnu/packages/networking.scm (wireshark): Update to 3.4.5.
2021-04-23gnu: icecat: Update to 78.10.0-guix0-preview1 [security fixes].Mark H Weaver
Includes fixes for CVE-2021-23961, CVE-2021-23994, CVE-2021-23995, CVE-2021-23998, CVE-2021-23999, CVE-2021-24002, CVE-2021-29945, and CVE-2021-29946. * gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update. (icecat-source): Update upstream source hash.
2021-04-23file-systems: read-partition-{uuid,label} don't swallow ENOENT & co.Ludovic Courtès
Previously, (read-partition-uuid "/does/not/exist") would return #f. With this change, a 'system-error exception is raised as expected. * gnu/build/file-systems.scm (ENOENT-safe): Clarify docstring. (partition-field-reader): Remove use of 'ENOENT-safe'. (partition-predicate): Wrap READER in 'ENOENT-safe'.
2021-04-23gnu: guile-git: Update to 0.5.1.Ludovic Courtès
Fixes <https://bugs.gnu.org/47808>. Reported by Bone Baboon <bone.baboon@disroot.org>. * gnu/packages/guile.scm (guile-git): Update to 0.5.1.
2021-04-23Merge remote-tracking branch 'origin/wip-ungrafting' into HEADMaxim Cournoyer
2021-04-18gnu: Add kirc.WinterHound
* gnu/packages/irc.scm (kirc): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-18gnu: libopenmpt: Update to 0.5.8 [security fixes].Tobias Geerinckx-Rice
* gnu/packages/audio.scm (libopenmpt): Update to 0.5.8.
2021-04-18gnu: cifs-utils: Update to 6.13.Tobias Geerinckx-Rice
* gnu/packages/samba.scm (cifs-utils): Update to 6.13.
2021-04-18gnu: python-poetry-core: Update to 1.0.3.Tobias Geerinckx-Rice
* gnu/packages/python-build.scm (python-poetry-core): Update to 1.0.3.
2021-04-18gnu: perl-pdf-api2: Update to 2.040.Tobias Geerinckx-Rice
* gnu/packages/perl.scm (perl-pdf-api2): Update to 2.040.
2021-04-18gnu: mujs: Update to 1.1.1.Tobias Geerinckx-Rice
* gnu/packages/javascript.scm (mujs): Update to 1.1.1.
2021-04-18gnu: psi-plus: Update to 1.5.1484.Tobias Geerinckx-Rice
* gnu/packages/messaging.scm (psi-plus): Update to 1.5.1484.
2021-04-18gnu: python-webtest: Update to 2.0.35.Tobias Geerinckx-Rice
* gnu/packages/python-web.scm (python-webtest): Update to 2.0.35.
2021-04-18gnu: poke: Update to 1.2.Efraim Flashner
* gnu/packages/engineering.scm (poke): Update to 1.2.
2021-04-18gnu: python-lfdfiles: Fix build.Lars-Dominik Braun
* gnu/packages/python-xyz.scm (python-lfdfiles) [source]: Remove pre-generated C files. [native-inputs]: Add python-cython. [arguments]: Disable tests.
2021-04-18gnu: emacs-vertico: Update to 0.5.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.5. [arguments]: Remove obsolete phase as the "vertico.texi" file is no longer provided.
2021-04-18gnu: emacs-auctex: Update to 13.0.7.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 13.0.7.
2021-04-18ci: tarball: Use "current-guix" as profile name.Mathieu Othacehe
Fixes: <https://issues.guix.gnu.org/47841>. * gnu/ci.scm (tarball-jobs): Use "current-guix" as profile name.
2021-04-18tests: ldap: Fix it.Mathieu Othacehe
Fixes: <https://issues.guix.gnu.org/47745>. * gnu/tests/ldap.scm (run-ldap-test): Use a password with more that 8 characters so that dscreate doesn't fail.
2021-04-18tests: Increase VM memory size.Mathieu Othacehe
The patchwork test sometimes fail because there's not enough available RAM in the marionette. Increase the VM memory size to 1024MiB. * gnu/tests/web.scm (run-patchwork-test): Increase VM memory size to 1024MiB.
2021-04-18tests: patchwork: Fix it.Mathieu Othacehe
The "http-get" test is sometimes failing because the Web server is not yet initialized and returns the 500 error code. Use the retry-or-error procedure, like in the tailon test to do a few retries. * gnu/tests/web.scm (run-tailon-test): Move "retry-or-error" procedure to the top level and adapt its call. (run-patchwork-test): Use it.
2021-04-18gnu: python-lfdfiles: Update to 2021.2.22.Lars-Dominik Braun
* gnu/packages/python-xyz.scm (python-lfdfiles): Update to 2021.2.22.