me
/
guix
Archived
1
0
Fork 0
Commit Graph

100021 Commits (796267ef8d6c65f6c9bc9debf57a1df6fc6ae249)

Author SHA1 Message Date
Maxim Cournoyer 4b780d002d
doc: Fix name of gdm-configuration x-session field.
* doc/guix.texi (X Window): Correctly refer to 'x-session', not 'xsession', as
the name of the field.
2022-08-09 17:08:26 -04:00
Efraim Flashner 9a53a79fc5
gnu: gnupg: Patch CVE-2022-34903.
* gnu/packages/gnupg.scm (gnupg)[replacement]: New field.
(gnupg/replacement): New variable.
* gnu/packages/patches/gnupg-CVE-2022-34903.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-08-09 22:39:26 +03:00
Efraim Flashner 987f5acb2d
gnu: git: Hide more CVEs from the linter.
* gnu/packages/version-control.scm (git)[properties]: Add more CVEs to
the lint-hidden-cve property.
2022-08-09 22:13:47 +03:00
Efraim Flashner 468c95e941
gnu: aspell: Patch CVE-2019-25051.
* gnu/packages/aspell.scm (aspell)[source]: Add patch.
* gnu/packages/patches/aspell-CVE-2019-25051.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-08-09 22:13:33 +03:00
Ricardo Wurmus 26af06b66b
linux-container: container-script: Parse command line options.
* gnu/system/linux-container.scm (container-script): Accept command line
options to bind mount host directories into the container.
* doc/guix.texi (Invoking guix system): Document options.
2022-08-09 20:32:13 +02:00
John Kehayias f194df2bb4
gnu: vorta: Update to 0.8.7.
* gnu/packages/backup.scm (vorta): Update to 0.8.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-09 17:58:37 +02:00
Timotej Lazar fd74fe6325
tests: Add qemu-guest-agent system test.
Enable the QEMU guest agent interface in marionette VMs, run the
qemu-guest-agent service in one and try talking to it.

* gnu/build/marionette.scm (make-marionette): Enable the guest agent device.
* gnu/tests/virtualization.scm (run-qemu-guest-agent-test): New procedure.
(%test-qemu-guest-agent): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-09 17:15:45 +02:00
Timotej Lazar ee199cd3ba
services: qemu-guest-agent: Fix arguments to qemu-ga.
Fix the check for empty device path. Do not use --daemonize, since that is
handled by make-forkexec-constructor. Drop the --pidfile option which is
unused without --daemonize.

* gnu/services/virtualization.scm (qemu-guest-agent-shepherd-service): Modify
command arguments.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-09 17:15:40 +02:00
Philip McGrath bc03aa438b
gnu: wrap-python3: Clarify relationship with wrapped package.
The previous description could give the impression that the user faced a
choice between `python` and `python3`, but could not have both at once.
In fact, the packages `python-wrapper` and `python-minimal-wrapper`
already provide both sets of names.

* gnu/packages/python.scm (wrap-python3)[description]: Tweak.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-09 16:57:49 +02:00
Ludovic Courtès 60e0aae89c
channels: Consider news files as UTF-8-encoded by default.
Partly fixes <https://issues.guix.gnu.org/57039>.
Reported by Pierre-Henry Fröhring <contact@phfrohring.com>.

Previously, news file would be read using the current locale encoding.
This could lead to a test failure in 'tests/channels.scm' (in a test
that expects some Unicode-capable encoding) in case tests were run in a
non-Unicode locale.

* guix/channels.scm (channel-news-for-commit): Make port for NEWS-FILE
UTF-8 by default.
2022-08-09 15:59:09 +02:00
Ludovic Courtès e1b8bace8c
tests: git: Write files as UTF-8.
* guix/tests/git.scm (populate-git-repository): Add call to
'set-port-encoding!' in 'add' case.
2022-08-09 15:58:14 +02:00
Ludovic Courtès fdafd40432
maint: Use a pretty version string in ISO and VM images.
* gnu/system/examples/vm-image.tmpl: Use the 'GUIX_DISPLAYED_VERSION'
environment variable in 'label'.
* gnu/system/install.scm (%installation-os): Likewise.
* Makefile.am (release): Set 'GUIX_DISPLAYED_VERSION'.
2022-08-09 15:16:06 +02:00
Ludovic Courtès 95a03aa5c5
system: install: Always use 'current-guix'.
Fixes <https://issues.guix.gnu.org/53210>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/system/install.scm (%installation-services): Set 'guix' to
use (current-guix) in 'guix-configuration'.
* gnu/system/examples/vm-image.tmpl: Likewise.
* gnu/tests/install.scm (operating-system-with-current-guix): Remove.
(run-install, installation-os-for-gui-tests): Remove its uses.
* Makefile.am (release): Remove intermediate use of
'update-guix-package.scm' and subsequent 'git commit' invocation.
2022-08-09 15:16:06 +02:00
Ludovic Courtès 57f1892d36
gnu: guix: Default 'current-guix' is built using the current channels.
* gnu/packages/package-management.scm (source-file?): Remove.
(current-guix-package): Change default value to the promise of a
package.
(current-guix): Turn into a call to 'current-guix-package' possibly with
'force'.
2022-08-09 15:16:06 +02:00
Ludovic Courtès 64a070717c
channels: Add 'repository->guix-channel'.
* guix/channels.scm (repository->guix-channel): New procedure.
* guix/scripts/describe.scm (display-checkout-info): Use it instead of
the (git) interface, and adjust accordingly.
2022-08-09 15:16:06 +02:00
Ludovic Courtès cf60a0a906
build-system/channel: Accept a channel or instance as the source.
* guix/build-system/channel.scm (latest-channel-instances*): New
variable.
(build-channels): New procedure, with code formerly in
'channel-build-system', augmented with clauses for when SOURCE is a
channel instance or a channel.
* doc/guix.texi (Build Systems): Adjust accordingly.
2022-08-09 15:16:06 +02:00
Ludovic Courtès 5bce4c8242
build-system: Add 'channel-build-system'.
* gnu/ci.scm (channel-build-system, channel-source->package): Remove.
* gnu/packages/package-management.scm (channel-source->package): New
procedure, moved from (gnu ci).
* guix/build-system/channel.scm: New file, with code moved from (gnu ci).
* doc/guix.texi (Build Systems): Document it.
2022-08-09 15:16:06 +02:00
vicvbcun 0d9eef0a06
gnu: cddlib: Update to 0.94m.
* gnu/packages/maths.scm (cddlib): Update to 0.94m.
[source]: Move to git, following the upstream decision.
[native-inputs]: New field.
[arguments]: New field to have docdir include the version number.

Co-authored-by: Andreas Enge <andreas@enge.fr>
2022-08-09 14:17:04 +02:00
Andreas Enge 04f8e4194f
gnu: wxmaxima: Update to 22.05.0.
* gnu/packages/maths.scm (wxmaxima): Update to 22.05.0.
2022-08-09 11:43:39 +02:00
Andreas Enge ecdd5d8563
gnu: maxima: Update to 5.46.0.
* gnu/packages/maths.scm (maxima): Update to 5.46.0.
2022-08-09 11:22:11 +02:00
Ricardo Wurmus 2efc787811
gnu: Add r-ciara.
* gnu/packages/bioconductor.scm (r-ciara): New variable.
2022-08-09 10:49:27 +02:00
Andreas Enge 38d024dc58
gnu: python-symengine: Update to 0.9.2.
* gnu/packages/python-xyz.scm (python-symengine): Update to 0.9.2.
2022-08-08 22:56:07 +02:00
Andreas Enge 8a8ffd40e3
gnu: symengine: Update to 0.9.0.
* gnu/packages/algebra.scm (symengine): Update to 0.9.0.
2022-08-08 22:27:53 +02:00
Andreas Enge a0668d88bc
gnu: arb: Update to 2.23.0.
* gnu/packages/algebra.scm (arb): Update to 2.23.0.
2022-08-08 22:26:10 +02:00
Andreas Enge 2c3828c0b5
gnu: flint: Update to 2.9.0.
* gnu/packages/algebra.scm (flint): Update to 2.9.0.
2022-08-08 22:26:10 +02:00
Andreas Enge aa83dde4b7
gnu: python-gmpy2: Update to 2.1.2.
* gnu/packages/sagemath.scm (python-gmpy2): Update to 2.1.2.
2022-08-08 22:26:10 +02:00
vicvbcun 2a428633a7
gnu: ntl: Update to 11.5.1.
* gnu/packages/algebra.scm (ntl): Update to 11.5.1.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2022-08-08 22:26:10 +02:00
vicvbcun 9683a6203c
gnu: eclib: Update to 20220621.
* gnu/packages/algebra.scm (eclib): Update to 20220621.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2022-08-08 22:26:10 +02:00
Hilton Chain 4f3b36e890
gnu: font-chiron-hei-hk: Update to 2.503.
* gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.503.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 19:00:04 +02:00
Hilton Chain 9aaf104e1f
gnu: font-sarasa-gothic: Update to 0.36.8.
* gnu/packages/fonts.scm (font-sarasa-gothic): Update to 0.36.8.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 18:59:58 +02:00
Hilton Chain 80f380c547
gnu: font-chiron-hei-hk: Inherit from font-chiron-sung-hk.
* gnu/packages/fonts.scm (font-chiron-hei-hk): Inherit from
font-chiron-sung-hk.
[build-system, home-page ,license]: Drop fields.
[synopsis, description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 18:59:58 +02:00
Hilton Chain 1cdcc55b97
gnu: font-chiron-sung-hk: Use English for synopsis.
* gnu/packages/fonts.scm (font-chiron-sung-hk)[synopsis,description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 18:58:59 +02:00
Hilton Chain c3e8eaafdd
gnu: font-lxgw-wenkai-tc: Inherit from font-lxgw-wenkai.
* gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Inherit from font-lxgw-wenkai.
[build-system, license]: Removed fields.
[synopsis, description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 18:57:42 +02:00
Hilton Chain c24a2e7c30
gnu: font-lxgw-wenkai: Use English for synopsis.
* gnu/packages/fonts.scm (font-lxgw-wenkai)[synopsis,description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 18:57:26 +02:00
Hilton Chain fc10a6eba8
gnu: font-sarasa-gothic: Use English for synopsis.
* gnu/packages/fonts.scm (font-sarasa-gothic)[synopsis]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-08 18:57:04 +02:00
Efraim Flashner 5e009a8874
gnu: unzip: Patch for CVE-2022-0529 and CVE-2022-0530.
* gnu/packages/compression.scm (unzip)[replacement]: New field.
(unzip/fixed): New variable.
* gnu/packages/patches/unzip-CVE-2022-0529+CVE-2022-0530.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-08-08 19:21:45 +03:00
Efraim Flashner b8424f0cdd
gnu: unzip: Mark safe from CVE-2019-13232.
* gnu/packages/compression.scm (unzip)[properties]: New field.
2022-08-08 18:47:20 +03:00
Mathieu Othacehe a8868a53ad
gnu: guile-parted: Update to 0.0.6.
Fix cross-compilation.

* gnu/packages/guile-xyz.scm (guile-parted): Update to 0.0.6.
[native-inputs]: Add guile-3.0 and guile-bytestructures.
2022-08-08 17:13:30 +02:00
Mădălin Ionel Patrașcu ec6499aad2
gnu: Add phyml.
* gnu/packages/bioinformatics.scm (phyml): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2022-08-08 12:38:41 +02:00
Ricardo Wurmus d2470772c6
gnu: Add texlive-cite.
* gnu/packages/tex.scm (texlive-cite): New variable.
2022-08-08 12:25:30 +02:00
Ludovic Courtès 6db3b34d72
read-print: Add 'case' and 'cond' special forms.
* guix/read-print.scm (%special-forms): Add 'case' and 'cond'.
* tests/read-print.scm: Add tests.
2022-08-08 11:54:25 +02:00
Ludovic Courtès ff9522fb69
installer: Add comments and vertical space to the generated config.
* gnu/installer/parted.scm (user-partitions->configuration): Introduce
vertical space and a comment.
* gnu/installer/services.scm (G_): New macro.
(%system-services): Add comment for OpenSSH.
(system-services->configuration): Add vertical space and comments.
* gnu/installer/user.scm (users->configuration): Add comment.
* gnu/installer/steps.scm (format-configuration): Add comment.
(configuration->file): Expound leading comment.  Pass #:format-comment
to 'pretty-print-with-comments/splice'.
2022-08-08 11:54:25 +02:00
Ludovic Courtès cd1a98b928
installer: Render the final configuration with (guix read-print).
* gnu/installer.scm (module-to-import?): Return #t for (guix read-print).
* gnu/installer/steps.scm (configuration->file): Use
'pretty-print-with-comments/splice' instead of 'for-each' and 'pretty-print'.
2022-08-08 11:54:24 +02:00
Ludovic Courtès 445a0d134c
read-print: Support printing multi-line comments.
* guix/read-print.scm (%not-newline): New variable.
(print-multi-line-comment): New procedure.
(pretty-print-with-comments): Use it.
* tests/read-print.scm ("pretty-print-with-comments, multi-line
comment"): New test.
2022-08-08 11:54:24 +02:00
Ludovic Courtès a109ee9048
news: Add entry for 'guix style -f'.
* etc/news.scm: Add entry.
2022-08-08 11:54:23 +02:00
Ludovic Courtès a15542d26d
style: Add '--whole-file' option.
* guix/scripts/style.scm (format-whole-file): New procedure.
(%options, show-help): Add '--whole-file'.
(guix-style): Honor it.
* tests/guix-style.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix style): Document it.
2022-08-08 11:53:33 +02:00
Ludovic Courtès 90ef692e9b
read-print: 'canonicalize-comment' leaves top-level comments unchanged.
This lets users use three leading semicolons, for instance, in top-level
comments.

* guix/read-print.scm (canonicalize-comment): Add INDENT parameter and
honor it.
(pretty-print-with-comments): Change default value of #:format-comment.
Call FORMAT-COMMENT with INDENT as the second argument.
* tests/read-print.scm: Adjust test accordingly.
2022-08-08 11:22:32 +02:00
Ludovic Courtès 9b00c97de4
read-print: Add code to read and write sequences of expressions/blanks.
* guix/read-print.scm (read-with-comments): Add #:blank-line? and honor it.
(read-with-comments/sequence, pretty-print-with-comments/splice): New
procedures.
* tests/read-print.scm (test-pretty-print/sequence): New macro.
Add tests using it.
2022-08-08 11:22:32 +02:00
Ludovic Courtès 077324a16f
read-print: Recognize page breaks.
* guix/read-print.scm (<page-break>, page-break?, page-break)
(char-set:whitespace-sans-page-break): New variables.
(space?): New procedure.
(read-vertical-space): Use it.
(read-until-end-of-line): New procedure.
(read-with-comments): Add #\page case.
(pretty-print-with-comments): Add 'page-break?' case.
* tests/read-print.scm ("read-with-comments: top-level page break"): New
test.
Add round-trip test with page break within an sexp.
2022-08-08 11:22:32 +02:00
Ludovic Courtès f687e27e03
read-print: Read and render vertical space.
* guix/read-print.scm (<vertical-space>, vertical-space?)
(vertical-space, vertical-space-height): New variables.
(combine-vertical-space, canonicalize-vertical-space)
(read-vertical-space): New procedures.
(read-with-comments): Use it in the #\newline case.
(pretty-print-with-comments): Add #:format-vertical-space and honor it.
Add case for 'vertical-space?'.
* guix/scripts/style.scm (format-package-definition): Pass
 #:format-vertical-space to 'object->string*'.
* tests/read-print.scm ("read-with-comments: list with blank line")
("read-with-comments: list with multiple blank lines")
("read-with-comments: top-level blank lines")
("pretty-print-with-comments, canonicalize-vertical-space"): New tests.
Add a couple of additional round-trip tests.
2022-08-08 11:22:32 +02:00