me
/
guix
Archived
1
0
Fork 0
Commit Graph

100809 Commits (cc3cc72d859cc514bd62027898b497116dd28459)

Author SHA1 Message Date
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
Marius Bakke eb52b240eb
gnu: Add missing copyright line.
This is a follow-up to commit 3e0abde17b.

* gnu/tests/virtualization.scm: Add copyright header for myself.
2022-08-29 21:21:40 +02:00
Marius Bakke 3e0abde17b
tests: libvirt: Ensure the default network can be started.
* gnu/tests/virtualization.scm (run-libvirt-test): Run commands to create and
start the default network.
2022-08-29 21:15:58 +02:00
Lars-Dominik Braun acbf2f9def
gnu: libvirt: Use absolute dnsmasq.
Fixes <https://bugs.gnu.org/57272>.
Reported by Lars-Dominik Braun <lars@6xq.net>.

* gnu/packages/virtualization.scm (libvirt)[arguments]: Substitute the
absolute dnsmasq file name.  Disable one test.

Co-authored-by: Marius Bakke <marius@gnu.org>
2022-08-29 21:15:58 +02:00
Konrad Hinsen 9529384c92
gnu: snakemake-7: Convert dependencies to propagated-inputs
* gnu/packages/python-xyz.scm (snakemake-7)[inputs]: Change to ...
[propagated-inputs]: ... this, to ensure that "python -m snakemake"
works (because snakemake uses it internally).

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:59 +02:00
Konrad Hinsen 6a31fb6e7b
gnu: snakemake-6: Convert dependencies to propagated-inputs
* gnu/packages/python-xyz.scm (snakemake-6)[inputs]: Change to ...
[propagated-inputs]: ... this, to ensure that "python -m snakemake"
works (because snakemake uses it internally).

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:59 +02:00
Konrad Hinsen 5831155175
gnu: snakemake-7: Fix cluster execution bug
* gnu/packages/python-xyz.scm (snakemake-7)[arguments]: Revise the patch for
the cluster execution script

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Maxime Devos 52aa21cc9a
gnu: gnupg: Use mirror URL.
In commit 38747a27f3, the package switched from
a mirror:// URL to a ftp:// URL, but there doesn't appear to have been any
particular reason for that.

* gnu/packages/gnupg.scm (gnupg)[source]{uri}: Use a mirror:// again.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Michael Rohleder 309935a016
gnu: uncrustify: Update to 0.75.1.
* gnu/packages/code.scm (uncrustify): Update to 0.75.1.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Michael Rohleder ed9558b17a
gnu: rr: Update to 5.6.0.
* gnu/packages/debug.scm (rr): Update to 5.6.0.
[arguments]<#:configure-flags>: Add -rpath to zlib to satisfy
validate-runpath.
[inputs]: Add zlib.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Luis Felipe 72cfcf1735
gnu: Add python-django-cleanup.
* gnu/packages/django.scm (python-django-cleanup): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Clément Lassieur 6e83d294ce
gnu: emacs-clang-format: Remove inherited propagated inputs.
* gnu/packages/llvm.scm (emacs-clang-format)[propagated-inputs]: Remove them.
2022-08-29 18:05:39 +02:00
Marius Bakke be01b13fb7
gnu: zathura-pdf-mupdf: Remove input labels.
* gnu/packages/pdf.scm (zathura-pdf-mupdf)[inputs]: Remove labels.
2022-08-29 17:49:58 +02:00
Marius Bakke 7c9cf349f3
gnu: zathura-pdf-mupdf: Update to 0.3.9.
* gnu/packages/pdf.scm (zathura-pdf-mupdf): Update to 0.3.9.
[inputs]: Add GUMBO-PARSER and TESSERACT-OCR.
[arguments]: Remove obsolete configure flag.  Adjust mupdf substitutions.
2022-08-29 17:49:58 +02:00
Pierre-Henry Fröhring f26b9d5ced
gnu: mupdf: Update to 1.20.3.
* Copy/paste is fixed.

The build now uses the patched version of freeglut that is included in the
thirdparty directory so that copy/paste works.

* gnu/packages/pdf.scm (mupdf)[source](snippet): Preserve freeglut.
[inputs]: Add LIBXRANDR and LIBXI.
[arguments]: Explicitly add configure flags for system libraries.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 17:49:58 +02:00
Marius Bakke 608f9efc34
gnu: tesseract-ocr: Propagate leptonica.
* gnu/packages/ocr.scm (tesseract-ocr)[inputs]: Move LEPTONICA ...
[propagated-inputs]: ... here.
2022-08-29 17:49:58 +02:00
Remco van 't Veer 83c86fa446
gnu: ruby: Replace with 2.7.6 [security fixes].
Includes fixes for: CVE-2022-28739, CVE-2021-41816, and CVE-2021-41817.

* gnu/packages/ruby.scm (ruby-2.7-fixed): New variable.
(ruby-2.7)[replacement]: Graft.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 16:55:30 +02:00
Remco van 't Veer 939c998160
gnu: ruby: Update to 3.1.2 [security fixes].
Includes fixes for: CVE-2022-28738, and CVE-2022-28739.

* gnu/packages/ruby.scm (ruby-3.1): Update to 3.1.2.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 16:55:30 +02:00
Remco van 't Veer 2654acea27
gnu: ruby: Update to 3.0.4 [security fixes].
Includes fixes for: CVE-2022-28738, CVE-2022-28739, CVE-2021-41819,
CVE-2021-41816, and CVE-2021-41817.

* gnu/packages/ruby.scm (ruby-3.0): Update to 3.0.4.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 16:55:30 +02:00
Remco van 't Veer a500e1a061
gnu: ruby: Update to 2.6.10 [security fixes].
Includes fixes for: CVE-2022-28739, CVE-2021-41819, CVE-2021-41817,
CVE-2021-31810, CVE-2021-32066, CVE-2021-28965, CVE-2020-25613, and
CVE-2020-10933.

* gnu/packages/ruby.scm (ruby-2.6): Update to 2.6.10.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 16:55:30 +02:00
Marius Bakke 8ab7125265
gnu: Remove ruby@2.5.
* gnu/packages/ruby.scm (ruby-2.5): Remove variable.
2022-08-29 16:55:30 +02:00
Marius Bakke ae9b3d7cf1
gnu: Remove ruby@2.4.
* gnu/packages/ruby.scm (ruby-2.4): Remove variable.
2022-08-29 16:55:30 +02:00
Efraim Flashner f4f225e482
gnu: accountsservice: Adjust inputs.
This fixes the builds of gdm and some other packages.

* gnu/packages/freedesktop.scm (accountsservice)[inputs]: Move polkit ...
[propagated-inputs]: ... to here.
2022-08-29 17:18:14 +03:00
jgart 3aac843826
gnu: Add cl-safe-read.
* gnu/packages/lisp-xyz.scm (cl-safe-read, ecl-safe-read, sbcl-safe-read): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-08-29 16:02:09 +02:00
Nikolay Korotkiy cc6c079230
gnu: cmus: Update to 2.10.0.
* gnu/packages/music.scm (cmus): Update to 2.10.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-08-29 16:25:08 +03:00
Nicolas Goaziou a52473e219
gnu: wireshark: Update to 3.6.7.
* gnu/packages/networking.scm (wireshark): Update to 3.6.7.
2022-08-29 10:32:42 +02:00
Efraim Flashner de66e21580
gnu: r-keggrest: Update to 1.36.3.
* gnu/packages/bioconductor.scm (r-keggrest): Update to 1.36.3.
2022-08-29 11:26:56 +03:00
Andrew Tropin 75d7317290
gnu: fennel: Update to 1.2.0.
* gnu/packages/lua.scm (fennel): Update to 1.2.0.
[arguments]: Migrate to gexps.
2022-08-29 09:55:44 +03:00
Maxim Cournoyer 0ea62e84a7
services: Add lightdm-service-type.
* gnu/services/lightdm.scm: New service.
* tests/services/lightdm.scm: Test it.
* doc/guix.texi (X Window): Document it.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.

Co-authored-by: L p R n d n <guix@lprndn.info>
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2022-08-28 22:28:47 -04:00
Maxim Cournoyer 42fee6d0f1
build: marionette: Add support for Tesseract OCR.
* gnu/build/marionette.scm (invoke-ocrad-ocr): New procedure.
(invoke-tesseract-ocr): Likewise.
(marionette-screen-text): Rename the #:ocrad argument to #:ocr.  Dispatch the
matching OCR invocation procedure.
(wait-for-screen-text): Rename the #:ocrad argument to #:ocr.
* gnu/tests/base.scm (run-basic-test): Adjust accordingly.
* gnu/tests/install.scm (enter-luks-passphrase): Likewise.
(enter-luks-passphrase-for-home): Likewise.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer 697b797160
marionette: Improve the error message of 'wait-for-screen-text'.
* gnu/build/marionette.scm (wait-for-screen-text): Return the last OCR'd text
when the predicate fails to match instead of the not useful predicate object.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer b096b939f7
gnu: lightdm: Apply patch to fix color depth issue with VNC.
* gnu/packages/patches/lightdm-vnc-color-depth.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer a4fd1840ab
gnu: lightdm: Apply patch to allow using VNC options.
* gnu/packages/patches/lightdm-arguments-ordering.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer da3c784c68
gnu: lightdm: Apply patch to fix a problem with VNC integration.
* gnu/packages/patches/lightdm-vncserver-check.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer 0e76781df4
gnu: lightdm-gtk-greeter: Adjust --enable-at-spi-command value.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[configure-flags]: Add the '--launch-immediately' option to the
at-spi-bus-launcher to match what is used in the source.
2022-08-28 22:10:19 -04:00