Commit graph

101469 commits

Author SHA1 Message Date
Marius Bakke
859509a11c
gnu: python-numpy: Avoid usage of 'this-package-input'.
* gnu/packages/python-xyz.scm (python-numpy)[arguments]: Use SEARCH-INPUT-FILE
instead of THIS-PACKAGE-INPUT.
2022-08-30 20:43:02 +02:00
Marius Bakke
59c136ef61
Merge branch 'staging' into core-updates 2022-08-30 20:18:55 +02:00
Marius Bakke
a6f4295362
gnu: Remove needless export.
* gnu/packages/polkit.scm: Don't export POLKIT explicitly.
2022-08-30 20:11:18 +02:00
Marius Bakke
3383f9dfe9
gnu: Remove unused module import.
* gnu/packages/polkit.scm: Don't import (gnu packages gnuzilla).
2022-08-30 20:11:18 +02:00
Marius Bakke
d54e537390
gnu: polkit: Fix cross-compilation.
This is a follow-up to commit e8f4e18085.

* gnu/packages/polkit.scm (polkit)[arguments]: Pass -Dintrospection instead of
-Dos-type when cross-compiling.
2022-08-30 20:11:18 +02:00
Marius Bakke
f3938c9155
gnu: polkit: Fix build.
This is a follow-up to commit e8f4e18085.

* gnu/packages/polkit.scm (polkit)[native-inputs]: Add GETTEXT-MINIMAL.
2022-08-30 20:11:18 +02:00
Marius Bakke
d62fc2cc83
gnu: rust-bootstrap: Explicitly use OpenSSL@1.1.
* gnu/packages/rust.scm (rust-bootstrap)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
2022-08-30 19:08:00 +02:00
Marius Bakke
827b4117da
Merge branch 'master' into staging 2022-08-30 18:58:57 +02:00
Marius Bakke
db2444ad82
gnu: Introduce versioned 'openssl-1.1' variable.
...and use it in packages that do not yet support 3.0.

* gnu/packages/tls.scm (openssl): Rename to ...
(openssl-1.1): ... this.
(openssl/fixed): Inherit from OPENSSL-1.1.
(openssl-3.0): Likewise.
(openssl): Turn into alias for OPENSSL-1.1.
* gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1.
(ruby-3.0)[inputs]: Change "openssl" input to OPENSSL.
(ruby-3.1): Inherit from RUBY-3.0.
* gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
(python-3.9)[inputs]: Replace "openssl" with OPENSSL.
* gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from
OPENSSL to OPENSSL-1.1.
* gnu/packages/databases.scm (mariadb)[inputs]: Likewise.
* gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise.
(node-lts)[native-inputs]: Likewise.
2022-08-30 18:42:26 +02:00
David Thompson
9b5b1dde32
services: gitolite: Relax permissions on service user home directory.
Fixes https://issues.guix.gnu.org/56444

* gnu/services/version-control.scm (gitolite-activation): Modify permissions
  on home directory so that git group has read access.

Reported-by: Evgeny Pisemsky <evgeny@pisemsky.com>

Experienced by David Thompson for years, wondering what was wrong. Thanks for
finding the root cause, Evgeny! :)
2022-08-30 12:37:19 -04:00
msimonin
c19a432652
gnu: Add python-grid5000.
* gnu/packages/python-web.scm (python-grid5000): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-30 17:59:18 +02:00
Marius Bakke
b2696a7211
gnu: accountsservice: Actually run the test suite.
* gnu/packages/freedesktop.scm (accountsservice)[native-inputs]: Add PYTHON.
2022-08-30 17:59:18 +02:00
Marius Bakke
d2d3c8f9bf
gnu: accountsservice: Don't reference the build-time coreutils.
* gnu/packages/freedesktop.scm (accountsservice)[inputs]: Add COREUTILS-MINIMAL.
2022-08-30 17:59:18 +02:00
Marius Bakke
27e366292d
gnu: accountsservice: Remove obsolete input.
* gnu/packages/freedesktop.scm (accountsservice)[native-inputs]: Remove
INTLTOOL.  Add GETTEXT-MINIMAL.
2022-08-30 17:59:18 +02:00
Marius Bakke
997a51bee8
gnu: mercurial: Update to 6.2.1.
* gnu/packages/version-control.scm (mercurial): Update to 6.2.1.
[source](patches): Add patch for compatibility with OpenSSL 3.0.
[arguments]: Patch /usr/bin/env and /bin/sh unconditionally in all tests.
Disable four more tests.
[inputs]: Change from PYTHON to PYTHON-WRAPPER.
* gnu/packages/patches/mercurial-openssl-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-08-30 17:59:18 +02:00
Marius Bakke
77c07d9a61
gnu: babl: Update to 0.1.96.
* gnu/packages/gimp.scm (babl): Update to 0.1.96.
2022-08-30 17:59:18 +02:00
Efraim Flashner
466038b2e5
gnu: vim: Update to 9.0.0325.
* gnu/packages/vim.scm (vim): Update to 9.0.0325.
2022-08-30 16:48:29 +03:00
Nicolas Graves
47c11772df
etc: Update yasnippet build system list.
* etc/snippets/yas/scheme-mode/guix-package (build-system): Add
chicken-build-system, minetest-build-system, rebar-build-system
and renpy-build-system.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves
0928b82070
etc: Add tempel snippet for :phases.
* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ )
(replace\ ): New snippets.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves
c4acaf4120
etc: Add tempel snippets.
* etc/snippets/tempel/scheme-mode: New file.
* etc/snippets/tempel/text-mode: New file.
* etc/snippets/scheme-mode: Moved from here...
* etc/snippets/yas/scheme-mode: ... to here.
* etc/snippets/text-mode: Moved from here...
* etc/snippets/yas/text-mode: ... to here.
* doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup
accordingly.  Add tempel setup.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:14 +02:00
Tobias Kortkamp
6beadc82df
gnu: wayland-protocols: Fix cross-compilation
* gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
[native-inputs]: Add pkg-config-for-build and wayland.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 09:14:40 +02:00
Maxime Devos
01df491f6d
gnu: yt-dlp: Don't ask to run tests when cross-compiling.
* gnu/packages/video.scm
(yt-dlp)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:58:53 +02:00
Maxime Devos
f60653a0ef
gnu: rust: Don't ask to run tests when cross-compiling.
* gnu/packages/rust.scm
(rust-1.57)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
d8b960983d
gnu: ruby-rubocop: Don't ask to run tests when cross-compiling.
* gnu/packages/ruby.scm
(ruby-rubocop)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
d720aa4a88
gnu: python-jaraco-context: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-jaraco-context)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
321620d15b
gnu: python-jupyter-client: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-jupyter-client)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
7d49984da4
gnu: python-pip-run: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-pip-run)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
c548ff6a30
gnu: python-jaraco-functools: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-jaraco-functools)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
dbd5612c90
gnu: python-path: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-path)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
80a75c5357
gnu: python-fonttools-full: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-fonttools-full)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
0168c65de4
gnu: proot: Don't ask to run tests when cross-compiling.
* gnu/packages/linux.scm
(proot)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
5192bead32
gnu: julia-interpolations: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-interpolations)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
55e88a2759
gnu: julia-reversediff: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-reversediff)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Maxime Devos
d38a002471
gnu: julia-forwarddiff: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-forwarddiff)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Maxime Devos
a282c9844c
gnu: julia-arrayinterface: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-arrayinterface)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Maxime Devos
81681f2d4a
gnu: ghc-statistics: Properly enable tests.
The comment states there are test failures and hence it is implied that the
intent was to disable tests, not enable them, but tests pass and the code
below enabled tests instead of disabling them.

Remove #:tests? #true to satisfy the tests-true linter.

* gnu/packages/haskell-xyz.scm
(ghc-statistics)[arguments]{#:tests?}: Remove.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Thiago Jung Bauermann
65ce5fe2fb
guix system: Use standard cross and native build options.
This change prevents guix system from erroring out with an ugly backtrace
when it's passed an invalid value to the “--system” or “--target”
option. It also adds the “--list-systems” and “--list-targets” options.

The manual section about guix system doesn't mention the “--target” option,
so add it there.

* guix/scripts/system (show-help): Call show-cross-build-options-help and
show-native-build-options-help.
(%options): Remove own implementation of “system” and “target” options and
use the ones in %standard-cross-build-options and
%standard-native-build-options.
* doc/guix.texi (Invoking guix system): Document “--target” option.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:55:16 +02:00
Mathieu Othacehe
93ed34977e
bootloader: Wrap lines.
* gnu/bootloader (<bootloader-configuration>): Wrap lines, no functional
change.
2022-08-30 08:51:12 +02:00
Reza Alizadeh Majd
f126f23b13
bootloader: Add device-tree-support? option.
In some specific cases where the device tree file is already loaded in RAM, it
can be preferable that the bootloader does not try to use a device tree from
the Linux kernel tree.

* gnu/bootloader.scm (<bootloader-configuration>)[device-tree-support?]: New field.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Add FDTDIR line
based on <device-tree-support?> field of <bootloader-configuration>.
* doc/guix.texi (Bootloader Configuration)[device-tree-support?]: Add
documentation for the new field.
2022-08-30 08:50:44 +02:00
宋文武
e214e87cc5
Revert "reconfigure: Use 'current-channels' to obtain provenance data."
This fixes <https://issues.guix.gnu.org/57480>.

This reverts commit b08439809f.
2022-08-30 14:44:07 +08:00
Tomasz Jeneralczyk
9b8507df11
gnu: Add hydrus-network.
* gnu/packages/image-viewers.scm (hydrus-network): Add variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk
f82a8873d3
gnu: python-cloudscraper: Update to 1.2.60.
* gnu/packages/python-web.scm (python-cloudscraper): Update to 1.2.60
[propagated-inputs]: Change python-pyparsing to its mainstream version.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk
5920196e47
gnu: opencv: Build Python bindings.
* gnu/packages/image-processing.scm (opencv)[arguments]: Change variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk
619af9f307
gnu: Add python-mpv.
* gnu/packages/python-xyz.scm (python-mpv): Add variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk
e1ea628776
gnu: Add python-xvfbwrapper.
* gnu/packages/python-check.scm (python-xvfbwrapper): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk
05246c691b
gnu: Add swftools.
* gnu/packages/animation.scm (swftools): Add variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:04 +02:00
Paul A. Patience
1cf6cb9503
gnu: Add mmg.
* gnu/packages/graphics.scm (mmg): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:04 +02:00
Ludovic Courtès
b08439809f
reconfigure: Use 'current-channels' to obtain provenance data.
Previously, build-time metadata from (guix config) would be ignored when
available--e.g., when running /run/current-system/profile/bin/guix.

This is a followup to 316fc2acbb.

* guix/scripts/system/reconfigure.scm (check-forward-update): Use
'current-channels' rather than 'current-profile' + 'profile-channels'.
2022-08-30 00:40:04 +02:00
Ludovic Courtès
9096bc28a3
services: provenance: Use 'current-channels' to obtain provenance data.
Previously, build-time metadata from (guix config) would be ignored when
available--e.g., when running /run/current-system/profile/bin/guix.

This is a followup to 316fc2acbb.

* gnu/services.scm (provenance-entry): Use 'current-channels' instead of
'current-profile' + 'profile-channels'.
2022-08-30 00:40:04 +02:00
Maxim Cournoyer
49cc920a26
gnu: gsettings-desktop-schemas: Update to 42.0.
* gnu/packages/gnome.scm (gsettings-desktop-schemas): Update to 42.0.
2022-08-29 15:57:57 -04:00