Commit graph

99410 commits

Author SHA1 Message Date
Hartmut Goebel 2e0b7867fe
import: pypi: Add special treatment for Tryton package names,
Trytond modules are Python packages, and treated like this in guix.  Anyhow,
since they are add-ons for the “Trytond“ application, their guix package name
do not get the "python-" prefix like other Python modules, (see also
https://issues.guix.gnu.org/46057#1).  This change disables adding the
"python-" prefix to the guix package name for Trytond modules when importing
and updating, thus inhibiting irritating messages like in this example:

  $ guix refresh -u trytond-party
  …
  trytond-party: consider adding this propagated input: python-trytond-country
  trytond-party: consider removing this propagated input: trytond-country

Handling this special case seems appropriate since (as of now) there are
about 165 packages for Trytond and the number is growing.

* guix/import/pypi.scm(python->package-name): Don't add "python-" prefix for
  trytond packages.
2022-07-15 21:14:22 +02:00
Hartmut Goebel af025d99f4
import: egg: Fix updater.
'egg-source-url' did not return the URL, but the quoted expression.  This did
break the updater, which expects the URL as a string.

* guix/import/egg.scm(egg-source-url): Remove.
  (egg->guix-package)[egg-content]: Use quoted expression directly.
  (latest-release): Call egg-uri instead of egg-source-url.
2022-07-15 20:17:37 +02:00
Hartmut Goebel 44bb5507d6
gnu: Add chicken-args.
* gnu/packages/chicken.scm (chicken-args): New variable.
2022-07-15 20:17:36 +02:00
Hartmut Goebel ad9adec6b4
gnu: Add chicken-srfi-13.
* gnu/packages/chicken.scm (chicken-srfi-13): New variable.
2022-07-15 20:17:36 +02:00
Hartmut Goebel 7de49a0e01
gnu: Add chicken-crypto-tools.
* gnu/packages/chicken.scm (chicken-crypto-tools): New variable.
2022-07-15 20:17:36 +02:00
Ludovic Courtès 4ce7f1fb24
monad-repl: Add "build", "lower", and "verbosity" commands.
Fixes <https://issues.guix.gnu.org/56114>.
Reported by Maxime Devos <maximedevos@telenet.be>.

* guix/monad-repl.scm (%build-verbosity): New variable.
(evaluate/print-with-store): New procedure.
(run-in-store): Rewrite in terms of 'evaluate/print-with-store'.
(verbosity, lower, build): New meta-commands.
* doc/guix.texi (Using Guix Interactively): New node.
(The Store Monad): Link to it.
(Invoking guix repl): Likewise.
* doc/contributing.texi (Running Guix Before It Is Installed): Refer to
it.
(The Perfect Setup): Suggest 'guix install' rather than 'guix package -i'.
2022-07-15 17:36:57 +02:00
Ludovic Courtès 30915a7419
shell: Ignore cached profiles when using '--export-manifest'.
Fixes <https://issues.guix.gnu.org/56539>.

Fixes a bug where "guix shell -D pkg --export-manifest" would provide
the expansion of PKG's dependencies instead of a call to
'package-development-manifest' if that profile happened to be cached.

* guix/scripts/shell.scm (profile-cached-gc-root): Add clause for 'export-manifest?.
2022-07-15 17:36:57 +02:00
Nicolas Goaziou 4eb33b3706
gnu: giac: Update to 1.9.0-19.
* gnu/packages/algebra.scm (giac): Update to 1.9.0-19.
2022-07-15 15:06:56 +02:00
Efraim Flashner 57629484b0
gnu: python-numpy: Fix buidling on powerpc64le-linux.
Reported by mrvdb- on IRC.

* gnu/packages/python-xyz.scm (python-numpy)[arguments]: Adjust custom
'fix-executable-paths phase to substitute occurrences of '/bin/true'.
2022-07-15 15:31:41 +03:00
Nicolas Goaziou 8bfc8ffb82
gnu: emacs-org-fragtog: Remove ".git" suffix from repository URI.
* gnu/packages/emacs-xyz.scm (emacs-org-fragtog)[source]<uri>: Remove ".git" suffix.
2022-07-15 13:53:06 +02:00
Nicolas Goaziou 9bf9454494
gnu: emacs-org-fragtog: Update to 0.4.2.
* gnu/packages/emacs-xyz.scm (emacs-org-fragtog): Update to 0.4.2.
2022-07-15 13:52:53 +02:00
Nicolas Goaziou 571a2c60da
gnu: emacs-elpher: Update to 3.4.2.
* gnu/packages/emacs-xyz.scm (emacs-elpher): Update to 3.4.2.
2022-07-15 13:52:02 +02:00
Nicolas Goaziou 88af17f23d
gnu: emacs-lsp-ui: Update to 8.0.1.
* gnu/packages/emacs-xyz.scm (emacs-lsp-ui): Update to 8.0.1.
2022-07-15 13:50:27 +02:00
jgart 4579087b44
gnu: emacs-spaceleader: Update to 0.0.3-1.5d88d12.
* gnu/packages/emacs-xyz.scm (emacs-spaceleader): Update to 0.0.3-1.5d88d12.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-07-15 13:47:43 +02:00
Paul A. Patience a15b769c2f
gnu: python-pyvista: Update to 0.35.1.
* gnu/packages/python-science (python-pyvista): Update to 0.35.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:51 +01:00
Paul A. Patience fa21cd31cb
gnu: gmsh: Update to 4.10.5.
* gnu/packages/maths.scm (gmsh): Update to 4.10.5.
[source]: Reindent.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:16 +01:00
Paul A. Patience ab636bde18
gnu: gmsh: Remove trailing booleans.
* gnu/packages/maths.scm (gmsh)[snippet, arguments]: Remove trailing
booleans.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:15 +01:00
Paul A. Patience d10af3fc97
gnu: gmsh: Remove input labels.
* gnu/packages/maths.scm (gmsh)[inputs]: Remove labels.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:46:15 +01:00
Paul A. Patience 37c53cb1e8
gnu: asymptote: Update to 2.81.
* gnu/packages/plotutils.scm (asymptote): Update to 2.81.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:44:48 +01:00
Christopher Baines 3bc9c7ecb0
gnu: guix-build-coordinator: Update to 0-59.cc884ef.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-59.cc884ef.
2022-07-15 09:40:15 +01:00
Christopher Baines 7558b27b22
gnu: guix-data-service: Update to 0.0.1-33.ee73d2c.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-33.ee73d2c.
2022-07-15 09:39:40 +01:00
Timotej Lazar 6a2a8ca1f5
gnu: tests: Fix guix-data-service test.
Since revision 32, guix-data-service starts immediately but returns an HTTP
error code until initialization is complete. Adjust the test accordingly, and
remove the increased startup time limit.

* gnu/services/guix.scm (guix-data-service): Use default #:pid-file-timeout.
* gnu/tests/guix.scm (guix-data-service): Retry the http-get test several
times to give the service time to initialize.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-15 09:38:42 +01:00
Ricardo Wurmus 9238ba5874
gnu: r-affycompatible: Build reproducibly.
* gnu/packages/bioconductor.scm (r-affycompatible)[arguments]: Sort XML
elements before generating R code from them.
2022-07-15 00:07:42 +02:00
Maxim Cournoyer cbdfa54c77
gnu: system: Add fusermount3 to setuid-programs.
Fixes <https://issues.guix.gnu.org/47716>.

* gnu/system.scm (%setuid-programs): Add /bin/fusermount3 from the fuse-3
package.

Reported-by: raingloom <raingloom@riseup.net>
2022-07-14 15:16:23 -04:00
Leo Famulari 0918c890ac
gnu: linux-libre 4.9: Update to 4.9.323.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.323.
(linux-libre-4.9-pristine-source): Update hash.
2022-07-14 13:19:47 -04:00
Leo Famulari 8698db32a3
gnu: linux-libre 4.14: Update to 4.14.288.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.288.
(linux-libre-4.14-pristine-source): Update hash.
2022-07-14 13:19:47 -04:00
Leo Famulari 64cfc6858d
gnu: linux-libre 4.19: Update to 4.19.252.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.252.
(linux-libre-4.19-pristine-source): Update hash.
2022-07-14 13:19:46 -04:00
Leo Famulari 323ef7a282
gnu: linux-libre 5.4: Update to 5.4.205.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.205.
(linux-libre-5.4-pristine-source): Update hash.
2022-07-14 13:19:46 -04:00
Leo Famulari d47f028715
gnu: linux-libre 5.10: Update to 5.10.130.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.130.
(linux-libre-5.10-pristine-source): Update hash.
2022-07-14 13:19:46 -04:00
Leo Famulari e61cfd48bf
gnu: linux-libre 5.15: Update to 5.15.54.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.54.
(linux-libre-5.15-pristine-source): Update hash.
2022-07-14 13:19:45 -04:00
Leo Famulari 16c2d79262
gnu: linux-libre: Update to 5.18.11.
* gnu/packages/linux.scm (linux-libre-5.18-version): Update to 5.18.11.
(linux-libre-5.18-pristine-source): Update hash.
2022-07-14 13:19:38 -04:00
Lars-Dominik Braun 56136cfc30
gnu: kakoune: Update to 2021.11.08.
* gnu/packages/text-editors.scm (kakoune)[version]: Update to 2021.11.08.
[arguments]<#:phases>: Remove unnecessary phase 'chdir and drop deprecated #t
return value.
[native-inputs]: Drop ruby and asciidoc, which are not used during build.
2022-07-14 10:28:00 +02:00
Maxim Cournoyer 692c2ad327
gnu: python-gevent: Disable failing test on i686-linux.
Fixes <https://issues.guix.gnu.org/42553>.

* gnu/packages/python-xyz.scm (python-gevent)
[phases]{adjust-tests}: Skip the test__core_stat.py test suite.
2022-07-13 22:34:58 -04:00
Oleg Pykhalov b33e1a183f
services: docker: Fix race condition.
Fixes <https://issues.guix.gnu.org/38432>.

* gnu/packages/patches/containerd-create-pid-file.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add this.
* gnu/packages/docker.scm (containerd)[source]: Add this patch.
* gnu/services/docker.scm
(containerd-shepherd-service): Add #:pid-file and #:pid-file-timeout.
* gnu/services/docker.scm (docker-shepherd-service): Add --containerd flag.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-07-13 21:36:41 -04:00
Ludovic Courtès 5f8adea86c
doc: Add example of 'bash-extension'.
* doc/guix.texi (Shells Home Services): Add 'bash-extension' example.
2022-07-14 01:05:34 +02:00
Ludovic Courtès af4c103595
home: services: environment-variables: Double-quote values.
Fixes <https://issues.guix.gnu.org/54469>.
Reported by Maxime Devos <maximedevos@telenet.be>.

* gnu/home/services.scm (environment-variable-shell-definitions): New
procedure, with code formerly in 'serialize-posix-env-vars'.
(environment-variables->setup-environment-script): Change
"setup-environment" from 'mixed-text-file' to 'computed-file', and use
'environment-variable-shell-definitions'.
* tests/guix-home.sh: Test it.
* gnu/home/services/shells.scm (serialize-posix-env-vars): Delegate to
'environment-variable-shell-definitions'.
2022-07-14 01:05:34 +02:00
Ludovic Courtès 8af749224f
home: services: shells: Double-quote environment variable values.
Fixes <https://issues.guix.gnu.org/56540>.

Until now, environment variable values were emitted unquoted, producing
invalid shell code if the value contains spaces for example.

* gnu/home/services/shells.scm (serialize-posix-env-vars): Define
'shell-quote' procedure in staged code and use it for #$value.
* tests/guix-home.sh: Add test for PS1 variable with a value containing
spaces.
2022-07-14 01:05:34 +02:00
Ludovic Courtès 9e4cbb3076
home: services: shell: Do not use "setup" as a verb.
* gnu/home/services/shells.scm (zsh-file-zprofile)
(add-bash-configuration): Do not use "setup" as a word in generated
files.  End sentences with a period.
2022-07-14 01:05:34 +02:00
Ludovic Courtès 7a6302acb0
home: services: Fix typo.
* gnu/home/services.scm (environment-variables->setup-environment-script):
Fix spelling of 'warn-about-duplicate-definitions'.
2022-07-14 01:05:34 +02:00
Marius Bakke c420b66c23
gnu: xorg-server: Update to 21.1.4 [fixes CVE-2022-2319, CVE-2022-2320].
* gnu/packages/xorg.scm (xorg-server): Update to 21.1.4.
2022-07-14 00:00:50 +02:00
Marius Bakke b160795a0b
gnu: samba: Update to 4.16.2.
* gnu/packages/samba.scm (samba): Update to 4.16.2.
2022-07-13 23:25:12 +02:00
Marius Bakke 5b6b731c7d
gnu: Remove duplicate package.
* gnu/packages/autotools.scm (libtool-2.4.7): Remove variable.
2022-07-13 23:25:11 +02:00
Jonathan Brielmaier 45ca6967ab
etc: teams: Add entry for Jonathan Brielmaier.
* etc/teams.scm.in ("Jonathan Brielmaier"): New member.
2022-07-13 20:06:26 +02:00
Jonathan Brielmaier a3f8eac564
etc: teams: Add mozilla team.
* etc/teams.scm.in (mozilla): New team.
2022-07-13 20:03:35 +02:00
Maxim Cournoyer 2e6be59131
gnu: mapnik: Update to 3.1.0.
The build still fails, but hopefully it gets us closer.

* gnu/packages/geo.scm (mapnik): Update to 3.1.0.
2022-07-13 12:51:25 -04:00
Raghav Gururajan 6ed5b496bc
gnu: gajim: Update to 1.4.6.
* gnu/packages/messaging.scm (gajim)[version]: Update to 1.4.6.
2022-07-13 12:00:43 -04:00
Raghav Gururajan 2998009850
gnu: gajim: Disable failing tests.
* gnu/packages/messaging.scm (gajim)[phases]: Add disable-failing-tests phase.
2022-07-13 11:58:16 -04:00
Maxim Cournoyer dcf133587a
tests: build-emacs-utils: Allow test to pass on Emacs 27 too.
* tests/build-emacs-utils.scm
("emacs-batch-script: raise &emacs-batch-error on failure"): More loosely
match expected error string, which differs between Emacs 27 and Emacs 28.
2022-07-13 10:49:40 -04:00
Nicolas Goaziou e1a8100936
gnu: emacs-hyperbole: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-hyperbole)[arguments]: Use G-expressions.
2022-07-13 16:06:22 +02:00
Nicolas Goaziou f6b18b5372
gnu: emacs-hyperbole: Update to 8.0.0.
* gnu/packages/emacs-xyz.scm (emacs-hyperbole): Update to 8.0.0.
[arguments]<#:include>: Use %default-include.
<#:phases>: Add build fix.
* gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Delete reference to removed file.
2022-07-13 16:02:36 +02:00