Commit graph

99954 commits

Author SHA1 Message Date
Hartmut Goebel cffb9967fe
gnu: python-munch: Update to 2.5.0.
* gnu/packages/python-xyz.scm (python-munch): Update to 2.5.0.
  [propagated-inputs]: Add python-six.
  [native-inputs]: Add python-pbr and python-pytest.
2022-08-10 09:38:59 +02:00
Hartmut Goebel d2dd9d1d26
gnu: python-keystoneclient: Update to 5.0.0.
* gnu/packages/openstack.scm (python-keystoneclient): Update to 5.0.0.
  [arguments]<phases>{relax-requirements}: New phase.
  [propagated-inputs]: Remove python-pbr; add python-keystoneauth1.
  [native-inputs]: Adjust to new style. Remove python-sphinx, python-coverage,
  python-discover, python-hacking, python-mox3, python-oslosphinx,
  python-pycrypto, python-testrepository, and python-webob; add python-pbr,
  python-stestr, and python-testscenarios.
2022-08-10 09:38:58 +02:00
Hartmut Goebel b08a3554a4
gnu: Add python-tempest.
* gnu/packages/openstack.scm (python-tempest): New variable.
2022-08-10 09:38:58 +02:00
Hartmut Goebel 8a4faff132
gnu: Add python-openstacksdk.
* gnu/packages/openstack.scm (python-openstacksdk): New variable.
2022-08-10 09:38:58 +02:00
Hartmut Goebel c037745a4c
gnu: Add python-requestsexceptions.
* gnu/packages/openstack.scm (python-requestsexceptions): New variable.
2022-08-10 09:38:57 +02:00
Hartmut Goebel 0b929d2d23
gnu: Add python-keystoneauth1.
* gnu/packages/openstack.scm (python-keystoneauth1): New variable.
2022-08-10 09:38:57 +02:00
Hartmut Goebel 122bedf2fd
gnu: Add python-oslo.concurrency.
* gnu/packages/openstack.scm (python-oslo.concurrency): New variable.
2022-08-10 09:38:57 +02:00
Hartmut Goebel e2857167b1
gnu: Add python-os-service-types.
* gnu/packages/openstack.scm (python-os-service-types): New variable.
2022-08-10 09:34:13 +02:00
Hartmut Goebel b5801efaa3
gnu: Add python-statsd.
* gnu/packages/monitoring.scm (python-statsd): New variable.
2022-08-10 09:34:13 +02:00
Hartmut Goebel 59625e3cc9
gnu: Add python-dogpile.cache.
* gnu/packages/databases.scm (python-dogpile.cache): New variable.
2022-08-10 09:34:12 +02:00
Hartmut Goebel ee41bd8391
gnu: Add python-requests-kerberos.
* gnu/packages/python-web.scm (python-requests-kerberos): New variable.
2022-08-10 09:34:12 +02:00
Hartmut Goebel b4714ef05e
gnu: python-stestr: Update to 3.2.1.
* gnu/packages/python-check.scm (python-stestr): Update to 3.2.1.
2022-08-10 09:34:12 +02:00
Daniel Meißner b72459a861
gnu: maxima: Fix to find info files.
The Maxima command ‘describe’ allows to pick the relevant portions from
Maxima’s Texinfo docs.  However it does not support reading gzipped info
files.

* gnu/packages/maths.scm (maxima)[arguments]<phases>: Delete
'compress-documentation phase.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-08-10 15:16:53 +08:00
Maxim Cournoyer 59ee837d8b
services: elogind: Fix default behavior for lid close.
Fixes <https://issues.guix.gnu.org/57052>, which was a behavior change
introduced inadvertently in 4c698cd512.

* gnu/services/desktop.scm (<elogind-configuration>)
[handle-lid-switch-external-power]: Default to *unspecified*, which serializes
to nothing.  This matches upstream behavior, meaning that even when plugged to
a power cord, a laptop will suspend when the lid is closed.
* doc/guix.texi (Desktop Services): Update doc.

Reported-by: Cairn <cairn@pm.me>
2022-08-10 00:33:30 -04:00
Oleg Pykhalov 4b49487838
gnu: system: file-systems: Add shared flag.
* gnu/build/file-systems.scm (mount-flags->bit-mask, mount-file-system):
Handle shared flag.
* gnu/system/file-systems.scm (invalid-file-system-flags): Add shared to known
flags.
* guix/build/syscalls.scm (MS_SHARED): New variable.
* doc/guix.texi (File Systems): Document shared flag.
2022-08-10 07:12:25 +03:00
Maxim Cournoyer 97cb43e732
tests: configuration: Add a test to cover 'unset regression.
The regression was introduced with a2b89a3319,
and introduce a risk that 'unset leaks to serialized configuration files.

* tests/services/configuration.scm (maybe-symbol): New type.
(config-with-maybe-symbol): New configuration.
("symbol maybe value serialization, unspecified"): New test.

Reported-by: Attila Lendvai <attila@lendvai.name>
2022-08-09 23:14:42 -04:00
宋文武 02b69362cb
gnu: xfce: Replace 'gnome-icon-theme' with 'adwaita-icon-theme'.
This fixes <https://issues.guix.gnu.org/57067>.

* gnu/packages/xfce.scm (xfce)[inputs]: Replace gnome-icon-theme with
adwaita-icon-theme.
2022-08-10 08:50:31 +08:00
Marius Bakke 02de6a5981
gnu: freeimage: Remove input labels.
* gnu/packages/image.scm (freeimage): Reindent.
[arguments]: Use G-expression and SEARCH-INPUT-DIRECTORY.
[inputs]: Remove labels.
2022-08-10 00:29:01 +02:00
Marius Bakke f2e9f04dd9
gnu: freeimage: Update home page.
* gnu/packages/image.scm (freeimage)[home-page]: Follow redirect.
2022-08-10 00:29:01 +02:00
Marius Bakke 01a4f6672a
gnu: multipath-tools: Update to 0.9.0.
* gnu/packages/linux.scm (multipath-tools): Update to 0.9.0.
[home-page]: Change to current.
[source](uri): Likewise.
[source](snippet): Remove trailing #t.
[arguments]: Move LDFLAGS out of #:make-flags, and add in a phase.  Add
substitution for /bin/echo, and remove obsolete phases.
2022-08-10 00:29:00 +02:00
Marius Bakke 181fd74121
gnu: multipath-tools: Remove input labels.
* gnu/packages/linux.scm (multipath-tools)[arguments]: Use G-expression and
SEARCH-INPUT-FILE.
[inputs]: Remove labels.
2022-08-10 00:29:00 +02:00
Marius Bakke 131e09b95a
gnu: spdlog: Prevent test failure on busy machines.
* gnu/packages/logging.scm (spdlog)[source](modules, snippet): New fields.
2022-08-10 00:29:00 +02:00
Marius Bakke e3fc94576e
gnu: python-tlsh: Update to 4.11.2.
* gnu/packages/python-xyz.scm (python-tlsh): Update to 4.11.2.
[source](uri): Remove "v" prefix from version.
[arguments]: Add custom check phase.  Use G-expression.
[inputs]: Remove label.
2022-08-10 00:29:00 +02:00
Marius Bakke 0a9d99bc8c
gnu: v4l-utils: Remove input labels.
* gnu/packages/video.scm (v4l-utils)[inputs]: Remove labels.
2022-08-10 00:29:00 +02:00
Marius Bakke 6c2412e9d1
gnu: v4l-utils: Update to 1.22.1.
* gnu/packages/video.scm (v4l-utils): Update to 1.22.1.
2022-08-10 00:29:00 +02:00
Marius Bakke e954e708ed
gnu: ungoogled-chromium: Install crashpad handler.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Install one more
file.
2022-08-10 00:29:00 +02:00
Marius Bakke 9fda25caff
gnu: box2d: Unbundle doctest.
* gnu/packages/game-development.scm (box2d)[source](snippet): Delete doctest,
and adjust accordingly.
[native-inputs]: Add DOCTEST.
2022-08-10 00:29:00 +02:00
Marius Bakke 00962dd18f
gnu: bpftrace: Update to 0.15.0.
* gnu/packages/linux.scm (bpftrace): Update to 0.15.0.
[inputs]: Add CEREAL.
2022-08-10 00:29:00 +02:00
Marius Bakke 2fd9ca5e05
gnu: bcc: Update to 0.24.0.
* gnu/packages/linux.scm (bcc): Update to 0.24.0.
2022-08-10 00:29:00 +02:00
Marius Bakke d5986f7622
gnu: libbpf: Update to 0.8.1.
* gnu/packages/linux.scm (libbpf): Update to 0.8.1.
[inputs]: Change from LIBELF to ELFUTILS.
[arguments]: Use CC-FOR-TARGET.  Remove trailing #t.
2022-08-10 00:29:00 +02:00
Marius Bakke 78c917e9a4
gnu: liburing: Update to 2.2.
* gnu/packages/linux.scm (liburing): Update to 2.2.
2022-08-10 00:29:00 +02:00
Marius Bakke 6e2f570cde
gnu: cereal: List all licenses that apply.
* gnu/packages/serialization.scm (cereal)[license]: Add LICENSE:BOOST,
LICENSE:EXPAT, and LICENSE:NON-COPYLEFT.
2022-08-10 00:28:59 +02:00
Marius Bakke 0b55b036c1
gnu: cereal: Update to 1.3.2.
* gnu/packages/serialization.scm (cereal): Update to 1.3.2.
[arguments]: Use G-expression.
(cereal-1.3.0): New variable.
* gnu/packages/bioinformatics.scm (salmon)[inputs]: Change from CEREAL to
CEREAL-1.3.0.
* gnu/packages/engineering.scm (prusa-slicer)[inputs]: Likewise.
2022-08-10 00:28:59 +02:00
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