Commit graph

76902 commits

Author SHA1 Message Date
Ludovic Courtès
69ffe875c3
http-client, substitute: Gracefully handle GnuTLS EAGAIN/EINTR.
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.
2021-04-25 14:36:40 +02:00
Julien Lepiller
f06685a985
doc: Fix cross-reference URL to translated manual.
* doc/htmlxref.cnf: Fix translated manual URL.
2021-04-25 14:36:33 +02:00
Ludovic Courtès
ff74e2a1bc
cve: Gracefully handle bogus CVE entries.
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".
2021-04-25 14:35:42 +02:00
Ludovic Courtès
9a618ee199
po: Remove file that no longer exists.
This is a followup to d95168321f.

* po/guix/POTFILES.in: Remove guix/scripts/import/nix.scm.
2021-04-25 14:34:23 +02:00
Ludovic Courtès
c59cc2383d
import: Remove Nix importer.
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.
2021-04-25 14:34:09 +02:00
Maxim Cournoyer
51f95d4e64
guix-install.sh: Allow overriding the Guix binary source.
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.
2021-04-24 10:32:40 -04:00
Tobias Geerinckx-Rice
533359cea8
gnu: wireshark: Update to 3.4.5 [security fixes].
* gnu/packages/networking.scm (wireshark): Update to 3.4.5.
2021-04-23 23:39:34 -04:00
Mark H Weaver
bdb0ba51f8
gnu: icecat: Update to 78.10.0-guix0-preview1 [security fixes].
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-23 23:39:34 -04:00
Ludovic Courtès
e318e989b7
file-systems: read-partition-{uuid,label} don't swallow ENOENT & co.
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-23 23:39:34 -04:00
Ludovic Courtès
68a4ca148b
import: go: Autoload (htmlprag).
Fixes <https://bugs.gnu.org/47924>.
Reported by Carl Dong <contact@carldong.me>.

* guix/import/go.scm: Autoload (htmlprag).
2021-04-23 23:39:34 -04:00
Ludovic Courtès
9406bb12ee
import: go: Do not set '%strict-tokenizer?' from the top level.
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'.
2021-04-23 23:39:34 -04:00
Maxim Cournoyer
ee990899bd
build: Add a check for Guile-Lib.
* configure.ac: Check if the Guile-Lib module is present and recent enough and
warn in case it isn't.
2021-04-23 23:39:33 -04:00
Maxim Cournoyer
8b5339acfe
.gitignore: Ignore release artifacts.
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.
2021-04-23 23:39:33 -04:00
Maxim Cournoyer
7aeef7ee3d
build: Use guix system image instead of disk-image, vm-image.
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.
2021-04-23 23:37:10 -04:00
Ludovic Courtès
52d71fe8dd
gnu: guile-git: Update to 0.5.1.
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-23 21:32:46 -04:00
Maxim Cournoyer
129823c499
.gitignore: Ignore generated .pot files.
These files are automatically-extracted templates rather than source, hence
shouldn't be checked in.

* .gitignore: Add a glob pattern to ignore .pot files.
2021-04-23 21:32:46 -04:00
Maxim Cournoyer
b3f4df3f71
build: Add doc-update-po as a prerequisite to the dist target.
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.
2021-04-23 21:32:46 -04:00
Maxim Cournoyer
18dc8c6f0f
build-aux: Relax the regexp used to match NEWS sections.
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.
2021-04-23 21:32:46 -04:00
Maxim Cournoyer
87c0d6265c
Merge remote-tracking branch 'origin/wip-ungrafting' into HEAD 2021-04-23 21:32:22 -04:00
Julien Lepiller
1eb26d0e07
nls: Fix Chinese cookbook inclusion.
* po/doc/local.mk: zh_Hans is for the cookbook, not the manual.
2021-04-18 22:29:44 +02:00
Julien Lepiller
a209c597e2
nls: Remove 'vi' in LINGUAS
The po file is no longer available.

* po/packages/LINGUAS: Remove 'vi'.
2021-04-18 21:07:24 +02:00
WinterHound
3ddece896f
gnu: Add kirc.
* gnu/packages/irc.scm (kirc): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-18 14:43:01 -04:00
Tobias Geerinckx-Rice
e1bb900307
gnu: libopenmpt: Update to 0.5.8 [security fixes].
* gnu/packages/audio.scm (libopenmpt): Update to 0.5.8.
2021-04-18 20:26:59 +02:00
Tobias Geerinckx-Rice
0379b6e806
gnu: cifs-utils: Update to 6.13.
* gnu/packages/samba.scm (cifs-utils): Update to 6.13.
2021-04-18 20:26:59 +02:00
Tobias Geerinckx-Rice
e50a4847e4
gnu: python-poetry-core: Update to 1.0.3.
* gnu/packages/python-build.scm (python-poetry-core): Update to 1.0.3.
2021-04-18 20:26:59 +02:00
Tobias Geerinckx-Rice
c135096b23
gnu: perl-pdf-api2: Update to 2.040.
* gnu/packages/perl.scm (perl-pdf-api2): Update to 2.040.
2021-04-18 20:26:59 +02:00
Tobias Geerinckx-Rice
6ba730cfe6
gnu: mujs: Update to 1.1.1.
* gnu/packages/javascript.scm (mujs): Update to 1.1.1.
2021-04-18 20:26:58 +02:00
Tobias Geerinckx-Rice
927b8f245b
gnu: psi-plus: Update to 1.5.1484.
* gnu/packages/messaging.scm (psi-plus): Update to 1.5.1484.
2021-04-18 20:26:58 +02:00
Tobias Geerinckx-Rice
cf11bb5b9f
gnu: python-webtest: Update to 2.0.35.
* gnu/packages/python-web.scm (python-webtest): Update to 2.0.35.
2021-04-18 20:26:58 +02:00
Efraim Flashner
28e09d7fc0
gnu: poke: Update to 1.2.
* gnu/packages/engineering.scm (poke): Update to 1.2.
2021-04-18 21:01:04 +03:00
Julien Lepiller
fef2f08bc6
doc: Build the French HTML cookbook.
* doc/build.scm (%languages): Add 'fr' cookbook translation.
2021-04-18 16:50:18 +02:00
Lars-Dominik Braun
8fc4460889
gnu: python-lfdfiles: Fix build.
* gnu/packages/python-xyz.scm (python-lfdfiles) [source]: Remove
pre-generated C files.
[native-inputs]: Add python-cython.
[arguments]: Disable tests.
2021-04-18 15:09:33 +02:00
Julien Lepiller
0cfe02cf55
nls: Update 'ru' translation. 2021-04-18 13:18:34 +02:00
Julien Lepiller
8830930e2b
nls: Add Chinese (Traditional) translation.
* po/doc/guix-cookbook.zh_Hans.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add it.
2021-04-18 13:18:29 +02:00
Julien Lepiller
2fd9582558
nls: Add Russian translation.
* po/guix/ru.po: New file.
* po/guix/LINGUAS: Add 'ru'.
2021-04-18 13:18:26 +02:00
Julien Lepiller
e18a3020f4
nls: Add Dutch translation.
* po/guix/nl.po: New file.
* po/guix/LINGUAS: Add 'nl'.
2021-04-18 13:18:24 +02:00
Julien Lepiller
0f355124af
nls: Add Korean translation.
* po/doc/guix-cookbook.ko.po: New file.
* po/doc/guix-manual.ko.po: New file.
* doc/local.mk (info_TEXINFOS): Add them.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* po/guix/ko.po: New file.
* po/guix/LINGUAS: Add 'ko'.
* po/packages/ko.po: New file.
* po/packages/LINGUAS: Add 'ko'.
2021-04-18 13:18:22 +02:00
Julien Lepiller
d2d6c20fee
nls: Add Italian translation.
* po/doc/guix-manual.it.po: New file.
* po/doc/local.mk (DOC_PO_FILES): Add it.
* doc/local.mk (info_TEXINFOS): Add it.
* po/guix/it.po: New file.
* po/guix/LINGUAS: Add 'it'.
2021-04-18 13:18:20 +02:00
Julien Lepiller
43fb84da67
nls: Add Persian translation.
* po/packages/fa.po: New file.
* po/packages/LINGUAS: Add 'fa'.
* po/doc/guix-cookbook.fa.po: New file.
* po/doc/guix-manual.fa.po: New file.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* doc/local.mk (info_TEXINFOS): Add them.
2021-04-18 13:18:17 +02:00
Julien Lepiller
25bd0aefe5
nls: Update 'sk' translation. 2021-04-18 13:18:15 +02:00
Julien Lepiller
77c6c0aa57
nls: Add Slovak translation.
* po/packages/sk.po: New file.
* po/packages/LINGUAS: Add 'sk'.
* po/doc/guix-manual.sk.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_PO_FILES): Add it.
2021-04-18 13:18:13 +02:00
Julien Lepiller
5cb08cca27
nls: Update 'pt_BR' translation. 2021-04-18 13:18:11 +02:00
Julien Lepiller
c3eaff8a21
nls: Add Portuguese (Brazil) translation of the manual. 2021-04-18 13:18:08 +02:00
Julien Lepiller
a36ffecfd7
nls: Update 'vi' translation. 2021-04-18 13:18:06 +02:00
Julien Lepiller
89162676b5
nls: Remove Vietnamese translations of packages.
No translated string is used in Guix anymore.
2021-04-18 13:18:04 +02:00
Julien Lepiller
5d1f110b45
nls: Update 'zh_CN' translations. 2021-04-18 13:18:02 +02:00
Julien Lepiller
0ff1d5ac7e
nls: Update 'ta' translation. 2021-04-18 13:18:00 +02:00
Julien Lepiller
49e6cf58af
gnu: Update 'sv' translation. 2021-04-18 13:17:58 +02:00
Julien Lepiller
de4617105c
nls: Update 'sr' translations. 2021-04-18 13:17:56 +02:00
Julien Lepiller
8a0195fcad
nls: Update 'pl' translations. 2021-04-18 13:17:53 +02:00