aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* gnu: guix: Update to 6fd7f16.Maxim Cournoyer2021-04-29
|
* gnu: guix: Update to 1.3.0rc1.Maxim Cournoyer2021-04-29
|
* build: Make doc-po-update and doc-pot-update targets idempotent.Maxim Cournoyer2021-04-29
| | | | | | | | | | | | | | | It used to be that the running the doc-po-update and doc-pot-update targets would redo the same work on every run. This change splits the problem in smaller chunks and specifies build dependencies in a way that outputs only get rebuilt when their inputs changed. * po/doc/local.mk (DOC_PO_FILES): Harmonize escapes. (POT_OPTIONS): Re-indent uniformly. (doc-po-update-%, doc-po-update-cookbook-%): Re-implement with... (make-update-po-files-rule): ... this new function. (TMP_POT_FILES): Remove variable. (%D%/%.pot, %D%/guix-manual.pot): New pattern rules. (doc-pot-update, doc-po-update): Adjust prerequisites accordingly.
* build: Build the guix.pot-update and contributing.pot-update targets only once.Maxim Cournoyer2021-04-29
| | | | | * po/doc/local.mk (doc-pot-update): Fix an issue where guix.pot-update an contributing.pot-update were built twice.
* build: Have the release target depend on 'all'.Maxim Cournoyer2021-04-29
| | | | | | | | | Otherwise, the scripts/guix wrapper may not be present, which would cause the user's guix wrapper to be used, which in turn would manipulate GUILE_LOAD_PATH in a way that would cause its Guix modules to take precedence over those of the tree, with confusion ensuing. * Makefile.am (release): Add 'all' as a prerequisite.
* build: Add the qcow2 file extension to the VM image.Maxim Cournoyer2021-04-29
| | | | | | | | | | | | Including the extension of the format type of the image is not only useful to the user, but also to software. One example is GNOME Boxes, which will reject an image with an unknown file extension. This should be fixed more definitely in Guix, where the output of the VM image derivation would already have the correct file extension but for now this will do. * Makefile.am (release): Add .qcow2 to the file extension of the VM images.
* build: Update and add new comments for the release target.Maxim Cournoyer2021-04-29
| | | | * Makefile.am (release): Update and add new comments.
* Makefile.am: Remove the GUIX_FOR_BINARY_TARBALL variable.Maxim Cournoyer2021-04-29
| | | | | | | There is no use case where the Guix package is not named 'guix'. * Makefile.am (GUIX_FOR_BINARY_TARBALL): Remove variable and replace its uses by 'guix'.
* guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.Maxim Cournoyer2021-04-29
| | | | | | | | This is necessary as the directory context is changed in the script, breaking the use of a relative path. * etc/guix-install.sh (main) <GUIX_BINARY_FILE_NAME>: Resolve its absolute path via the 'realpath' command.
* gnu: kmscon: Fix layout setup.Mathieu Othacehe2021-04-29
| | | | | | | | | | | | | | | | | 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.
* installer: Add MSDOS disk label support on UEFI systems.Mathieu Othacehe2021-04-28
| | | | | | | | | 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.
* installer: Force GPT disk label when UEFI is supported.Mathieu Othacehe2021-04-28
| | | | | * gnu/installer/newt/partition.scm (run-label-page): Force the GPT disk label when UEFI is supported.
* maint: Require "emacs-no-x" instead of "emacs" on armhf-linux.Ludovic Courtès2021-04-27
| | | | | * etc/release-manifest.scm (%base-packages/armhf): New variable. (%base-manifest): Use it.
* maint: Don't require 'bootstrap-tarballs' for powerpc64le-linux.Ludovic Courtès2021-04-27
| | | | | * etc/release-manifest.scm (%base-manifest): Special-case "powerpc64le-linux".
* gnu: kmscon: Open a new keymap-update FIFO once a request has been processed.Ludovic Courtès2021-04-26
| | | | | | | | | | | | | | | 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'.
* gnu: xfce, mate: Propagate 'font-dejavu'.Ludovic Courtès2021-04-26
| | | | | | | | | | | | | 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.
* gnu: xfdesktop: Add Guix logo to default background.Ludovic Courtès2021-04-26
| | | | | * gnu/packages/xfce.scm (xfdesktop)[arguments]: In 'prepare-background-image' phase, add "xfce-verticals.png".
* http-client: Remove exception mishandling in 'http-multiple-get'.Ludovic Courtès2021-04-25
| | | | | | | | | | | | | | Partly fixes <https://bugs.gnu.org/47867>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. The non-tail recursive call to 'connect' could cause requests to be processed twice, with 'p' possibly closed the second time. Regression introduced in 205833b72c5517915a47a50dbe28e7024dc74e57 and carried over in 45fce38fb0b6c6796906149ade145b8d3594c1c6. * guix/http-client.scm (http-multiple-get): Remove call to 'close-port' and recursive call to 'connect' when the 'write-request' block returns #f.
* http-client, substitute: Gracefully handle GnuTLS EAGAIN/EINTR.Ludovic Courtès2021-04-25
| | | | | | | | | | | | | | Partly fixes <https://bugs.gnu.org/47867>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. In GnuTLS up to 3.7.1 included, GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED are not handled by 'write_to_session_record_port' and could be thrown at the caller. This patch works around that by dropping connections altogether and restarting when this happens. * guix/http-client.scm (false-if-networking-error): Swallow ERROR/AGAIN and ERROR/INTERRUPTED. * guix/scripts/substitute.scm (call-with-cached-connection): Likewise.
* doc: Fix cross-reference URL to translated manual.Julien Lepiller2021-04-25
| | | | * doc/htmlxref.cnf: Fix translated manual URL.
* cve: Gracefully handle bogus CVE entries.Ludovic Courtès2021-04-25
| | | | | | | | | Fixes <https://bugs.gnu.org/47941>. Reported by Jack Hill <jackhill@jackhill.us>. * guix/cve.scm (reference-data->cve-references): Gracefully handle lack of "reference_data". (cpe-match->cve-configuration): Gracefully handle lack of "cpe23Uri".
* po: Remove file that no longer exists.Ludovic Courtès2021-04-25
| | | | | | This is a followup to d95168321f4a9bf6857b598da0a183b45a868d54. * po/guix/POTFILES.in: Remove guix/scripts/import/nix.scm.
* import: Remove Nix importer.Ludovic Courtès2021-04-25
| | | | | | | | | | | | | | | | This importer has suffered from bitrot and no longer works with current Nix and Nixpkgs. See <https://bugs.gnu.org/32339> and <https://bugs.gnu.org/36255>. * guix/import/snix.scm, guix/scripts/import/nix.scm, tests/snix.scm: Remove. * Makefile.am (MODULES, SCM_TESTS): Remove them. * guix/scripts/import.scm (importers): Remove "nix". * build-aux/test-env.in: Remove NIXPKGS variable. * configure.ac: Remove '--with-nixpkgs' option. * doc/guix.texi (Invoking guix import): Remove bit about "guix import nix". * etc/completion/fish/guix.fish: Likewise.
* guix-install.sh: Allow overriding the Guix binary source.Maxim Cournoyer2021-04-24
| | | | | | | | | This is useful for example for testing release candidates not yet uploaded to the FTP, or for testing manually downloaded images from the CI. * etc/guix-install.sh (main)[GUIX_BINARY_FILE_NAME]: When this variable is defined, use it as the file name of a Guix binary, instead of automatically retrieving the latest archive from the FTP.
* gnu: wireshark: Update to 3.4.5 [security fixes].Tobias Geerinckx-Rice2021-04-23
| | | | * gnu/packages/networking.scm (wireshark): Update to 3.4.5.
* gnu: icecat: Update to 78.10.0-guix0-preview1 [security fixes].Mark H Weaver2021-04-23
| | | | | | | | | 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.
* file-systems: read-partition-{uuid,label} don't swallow ENOENT & co.Ludovic Courtès2021-04-23
| | | | | | | | | 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'.
* import: go: Autoload (htmlprag).Ludovic Courtès2021-04-23
| | | | | | | Fixes <https://bugs.gnu.org/47924>. Reported by Carl Dong <contact@carldong.me>. * guix/import/go.scm: Autoload (htmlprag).
* import: go: Do not set '%strict-tokenizer?' from the top level.Ludovic Courtès2021-04-23
| | | | | | | | | | This avoids interference with other users of (htmlprag) and makes the intent clearer. * guix/import/go.scm <top level>: Remove call to '%strict-tokenizer?'. (go-package-licenses, go-package-description) (go-package-synopsis, fetch-module-meta-data): Pass #:strict? #t to 'html->sxml'.
* build: Add a check for Guile-Lib.Maxim Cournoyer2021-04-23
| | | | | * configure.ac: Check if the Guile-Lib module is present and recent enough and warn in case it isn't.
* .gitignore: Ignore release artifacts.Maxim Cournoyer2021-04-23
| | | | | | | | | | Not ignoring these in the tree leads to the next generated version (.version) being suffixed with '-dirty', which confuses things. * .gitignore [/guix-*]: New pattern. [/doc/stamp-[0-9]]: Adjust to ... [/doc/stamp-*]: ... this. [/release-*]: New pattern.
* build: Use guix system image instead of disk-image, vm-image.Maxim Cournoyer2021-04-23
| | | | | | | | These older system actions are deprecated and cause warnings to be emitted. * Makefile.am (release) <guix system disk-image> <guix system vm-image>: Replace by... <guix system image>: ... this. Specify the type of the VM image as qcow2.
* gnu: guile-git: Update to 0.5.1.Ludovic Courtès2021-04-23
| | | | | | | 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.
* .gitignore: Ignore generated .pot files.Maxim Cournoyer2021-04-23
| | | | | | | These files are automatically-extracted templates rather than source, hence shouldn't be checked in. * .gitignore: Add a glob pattern to ignore .pot files.
* build: Add doc-update-po as a prerequisite to the dist target.Maxim Cournoyer2021-04-23
| | | | | | | | Otherwise 'make dist' would fail with the message: "No rule to make target 'po/doc/guix-manual.pot', needed by 'distdir-am'. Stop.". * Makefile.am (dist) <doc-po-update>: Add prerequisite. (dist-hook) <doc-po-update>: Remove prerequisite.
* build-aux: Relax the regexp used to match NEWS sections.Maxim Cournoyer2021-04-23
| | | | | | | | | | A number of packages doesn't really make sense in the name of the section to be substituted. This change allows using simply '*** new packages' instead of '*** 1999 new packages', for example, and have the update-NEWS.scm script update it. * build-aux/update-NEWS.scm (write-packages-added) <regexp>: Do not care about leading white space in the name of the section.
* Merge remote-tracking branch 'origin/wip-ungrafting' into HEADMaxim Cournoyer2021-04-23
|\
| * gnu: GnuTLS: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | | | * gnu/packages/tls.scm (gnutls)[source]: Add 'gnutls-CVE-2021-20231.patch' and 'gnutls-CVE-2021-20232.patch'. [replacement]: Remove field. (gnutls/fixed): Remove variable.
| * gnu: Python: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | | | * gnu/packages/python.scm (python-3.8)[source]: Add 'python-3.8-CVE-2021-3177.patch'. [replacement]: Remove field. (python-3.8/fixed): Remove variable.
| * gnu: Python 2: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | | | * gnu/packages/python.scm (python-2.7)[source]: Add 'python-2.7-CVE-2021-3177.patch'. [replacement]: Remove field. (python-2.7/fixed): Remove variable.
| * gnu: cyrus-sasl: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | | | * gnu/packages/cyrus-sasl.scm (cyrus-sasl)[source]: Use cyrus-sasl-CVE-2019-19906.patch. [replacement]: Remove field. (cyrus-sasl/fixed): Remove variable.
| * gnu: libcroco: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | * gnu/packages/gnome.scm (libcroco)[source]: Use libcroco-CVE-2020-12825.patch. [replacement]: Remove field. (libcroco/fixed): Remove variable.
| * gnu: cairo: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | | | * gnu/packages/gtk.scm (cairo)[source]: Use cairo-CVE-2018-19876.patch and cairo-CVE-2020-35492.patch. [replacement]: Remove field. (cairo/fixed): Remove variable.
| * gnu: gdk-pixbuf: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | | | * gnu/packages/gtk.scm (gdk-pixbuf)[source]: Use gdk-pixbuf-CVE-2020-29385.patch. [replacement]: Remove field. (gdk-pixbuf/fixed): Remove variable.
| * gnu: OpenSSL: Absorb grafted replacement.Leo Famulari2021-04-16
| | | | | | | | | | | | * gnu/packages/tls.scm (openssl): Update to 1.1.1j. [replacement]: Remove field. (openssl/fixed): Remove variable.
* | nls: Fix Chinese cookbook inclusion.Julien Lepiller2021-04-18
| | | | | | | | * po/doc/local.mk: zh_Hans is for the cookbook, not the manual.
* | nls: Remove 'vi' in LINGUASJulien Lepiller2021-04-18
| | | | | | | | | | | | The po file is no longer available. * po/packages/LINGUAS: Remove 'vi'.
* | gnu: Add kirc.WinterHound2021-04-18
| | | | | | | | | | | | * gnu/packages/irc.scm (kirc): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
* | gnu: libopenmpt: Update to 0.5.8 [security fixes].Tobias Geerinckx-Rice2021-04-18
| | | | | | | | * gnu/packages/audio.scm (libopenmpt): Update to 0.5.8.
* | gnu: cifs-utils: Update to 6.13.Tobias Geerinckx-Rice2021-04-18
| | | | | | | | * gnu/packages/samba.scm (cifs-utils): Update to 6.13.