Commit graph

129458 commits

Author SHA1 Message Date
Troy Figiel 5137af3e20
gnu: Add python-jaraco-text.
* gnu/packages/python-xyz.scm (python-jaraco-text): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel 2de3f4d43c
gnu: Add python-zc-lockfile.
* gnu/packages/python-web.scm (python-zc-lockfile): New variable.
2024-01-09 10:19:43 +01:00
Troy Figiel 687a1fdaae
gnu: Add python-pytest-dotenv.
* gnu/packages/check.scm (python-pytest-dotenv): New variable.
2024-01-09 10:19:43 +01:00
Troy Figiel 755a995710
gnu: Add python-python-snappy.
* gnu/packages/python-compression.scm (python-python-snappy): New variable.
2024-01-09 10:19:43 +01:00
Troy Figiel 74c5a6afa6
gnu: Add python-hdf5storage.
* gnu/packages/python-xyz.scm (python-hdf5storage): New variable.

Change-Id: If54c5f4b634658854bbe9312dce194643fe23733
2024-01-09 10:19:42 +01:00
Zheng Junjie 53d9190efd
gnu: glew: Fix cross-compiling.
* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling, add
cmake-minimal-cross.
[arguments]: Adjust 'fix-cross-compiling to find llvm.
* gnu/packages/llvm.scm (llvm-for-mesa)
[arguments]<#:configure-flags>: When cross-compiling, set
-DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE,
remove -DLLVM_LINK_LLVM_DYLIB.*.
<#:phases>: When cross-compiling, remove the 'delete-static-libraries phase.

Change-Id: If10dec7695e62604e080230e10f2b8d7167f660b
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:42 +01:00
David Elsing b26926189e
guix: import: Optionally import necessary yanked crates.
* doc/guix.texi (Invoking guix import): Mention '--allow-yanked'.
* guix/import/crate.scm (make-crate-sexp): Add yanked? argument. For
yanked packages, use the full version suffixed by "-yanked" for
generated variable names and add a comment and package property.
(crate->guix-package): Add allow-yanked? argument and if it is set to #t,
allow importing yanked crates if no other version matching the
requirements exists.
[find-package-version]: Packages previously marked as yanked are only
included if allow-yanked? is #t and then take the lowest priority.
[find-crate-version]: If allow-yanked? is #t, also consider yanked
versions with the lowest priority.
[dependency-name+version]: Rename to ...
[dependency-name+version+yanked] ...this. Honor allow-yanked? and choose
between an existing package and an upstream package.  Exit with an error
message if no version fulfilling the requirement is found.
[version*]: Exit with an error message if the crate version is not found.
(cargo-recursive-import): Add allow-yanked? argument.
* guix/read-print.scm: Export <comment>.
* guix/scripts/import/crate.scm: Add "--allow-yanked".
* tests/crate.scm: Add test 'crate-recursive-import-only-yanked-available'.
[sort-map-dependencies]: Adjust accordingly.
[remove-yanked-info]: New variable.
Adjust test 'crate-recursive-import-honors-existing-packages'.
(test-bar-dependencies): Add yanked dev-dependencies.
(test-leaf-bob-crate): Add yanked versions.
(rust-leaf-bob-3.0.2-yanked): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I175d89b39774e6b57dcd1f05bf68718d23866bb7
2024-01-09 09:38:38 +02:00
David Elsing 53add91be6
tests: Mock find-packages-by-name in crate importer test.
* tests/crate.scm: Import only sha256 from (gcrypt hash) as gcrypt-sha256 to
prevent a name collision. Rename test 'cargo-recursive-import' to
'crate-recursive-import' and 'cargo-recursive-import-hoors-existing-packages'
to 'crate-recursive-import-honors-existing-packages'. Mock
find-packages-by-name from (gnu packages). Adjust test to import fake 'bar'
crate instead of doctool.
(test-bar-crate): New variable.
(test-bar-dependencies): New variable.
(test-root-crate): Adjust sha256 -> gcrypt-sha256.
(test-doctool-crate,test-doctool-dependencies): Remove variables.
(rust-leaf-bob-3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-01-09 09:38:38 +02:00
David Elsing 9f44ff2bb4
import: crate: Optionally import dev-dependencies recursively.
If --recursive-dev-dependencies is specified, development dependencies
are also included for all recursively imported packages.

* doc/guix.texi (Invoking guix import): Mention --recursive-dev-dependencies.
* guix/import/crate.scm (crate-recursive-import): Add
recursive-dev-dependencies? argument.
* guix/scripts/import/crate.scm (show-help, guix-import-crate): Add
"--recursive-dev-dependencies".
* tests/crate.scm: Test both #f and #t for #:recursive-dev-dependencies?
in the 'cargo-recursive-import' test.
(test-root-dependencies): Add intermediate-c as dev-dependency.
(test-intermediate-c-crate, test-intermediate-c-dependencies): New
variables.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Iae89794681155d77f128733120e60f03bc297717
2024-01-09 09:38:38 +02:00
David Elsing 4b0aa65c0a
gnu: import: Fix memoization in crate-recursive-import.
* guix/import/crate.scm (crate-recursive-import): Apply memoize outside the
lambda passed to recursive-import in order to actually use the memoization.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-01-09 09:38:38 +02:00
Wilko Meyer c18052f5d0
gnu: linux-libre 5.10: Update to 5.10.206.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.206.
(linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Id7c119c07c08308150354ffc593ec9bd9c13fa46
2024-01-09 00:28:49 -05:00
Wilko Meyer 3a8e676f97
gnu: linux-libre 5.15: Update to 5.15.146.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.146.
(linux-libre-5.15-pristine-source, deblob-scripts-5.15): Update hashes.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Idb7ede0fc8d4bca3edcd267e6d215dfb98ff5c94
2024-01-09 00:28:48 -05:00
Wilko Meyer aa97de83a0
gnu: linux-libre 6.1: Update to 6.1.71.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.71.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Ifabe9ec0d18d940b10e29f14e00878a89e8767a7
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 00:28:48 -05:00
Wilko Meyer 7029d2c781
gnu: linux-libre 6.6: Update to 6.6.10.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.10.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: Ie6295d69e1d732436c43e603b63cb1516bf73ace
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 00:28:44 -05:00
Ludovic Courtès 3eac1c82f7
services: bitlbee: Use ‘make-inetd-constructor’ unconditionally.
This construct was introduced in Shepherd 0.9.0.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Use
‘make-inetd-constructor’ unconditionally.

Change-Id: Id1b79077d60609c7f95439ee0d097dfe6e66dd2e
2024-01-08 23:14:46 +01:00
Ludovic Courtès 1964531ce5
home: services: shepherd: Use the 0.10.x interface.
* gnu/home/services/shepherd.scm (home-shepherd-configuration-file):
Pass ‘register-services’ a list.  Call ‘start-in-the-background’
unconditionally.

Change-Id: Id7ba005949653a9ac065c47eddb425df4f4792aa
2024-01-08 23:14:46 +01:00
Ludovic Courtès 477d4f7d24
services: shepherd: Use the 0.10.x GOOPS-less interface.
* gnu/services/shepherd.scm (%default-modules): Remove (oop goops).
(shepherd-service-file): Use (service …) instead of (make <service> …).
Use ‘actions’ instead of ‘make-actions’.
(scm->go): Remove use of (oop goops).
(shepherd-configuration-file): Pass ‘register-services’ a list.
Use ‘start-in-the-background’ unconditionally.

Change-Id: I0ad1ba32e339c56ee31e59f160b53d3581277d97
2024-01-08 23:14:46 +01:00
Ludovic Courtès b973480dc9
system: hurd: Use the Shepherd 0.10.x.
* gnu/system.scm (hurd-default-essential-services): Remove reference to
‘shepherd-0.8’.
* gnu/system/hurd.scm (%base-packages/hurd): Replace ‘shepherd-0.8’ with
‘shepherd-0.10’.

Change-Id: I9f1800693cda456286450d3d0bb6f7e3da85d55e
2024-01-08 23:14:46 +01:00
Ludovic Courtès 4e0b93ce73
tests: childhurd: Increase SSH connection timeout.
* gnu/tests/virtualization.scm (run-childhurd-test)[run-command-over-ssh]:
Pass #:timeout.

Change-Id: I44bb3673457275fe3a8ec0af2e364292727f53a8
2024-01-08 23:14:46 +01:00
Ludovic Courtès 6c561e7593
services: openssh: Add dependency on ‘networking’.
* gnu/services/ssh.scm (openssh-shepherd-service): Add ‘networking’ to
‘requirement’.

Change-Id: I14c48fe40cce86810a544de6bb7f925bc360653a
2024-01-08 23:14:45 +01:00
Ludovic Courtès 766ac72dba
gnu: guile-fibers: Apply upstream patch fixing libevent timers.
* gnu/packages/patches/guile-fibers-libevent-timeout.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/guile-xyz.scm (guile-fibers)[source]: Use it.

Change-Id: I872ffe5b193087234d29eed399d6db518c5af4d5
2024-01-08 23:13:53 +01:00
Oleg Pykhalov 519e1e3eb8
scripts: system: Build layered images.
* guix/scripts/system.scm (show-help, %docker-format-options, %options,
%default-options, show-docker-format-options,
show-docker-format-options/detailed, process-action): Handle '--max-layers'
option.
* gnu/system/image.scm (system-docker-image): Same.
* gnu/image.scm (<image>)[max-layers]: New record field.

Change-Id: I2726655aefd6688b976057fd5a38e9972ebfc292
2024-01-08 21:22:44 +03:00
Oleg Pykhalov 0cf75c9b2f
guix: pack: Build layered images.
* guix/scripts/pack.scm (docker-image, guix-pack, %default-options,
%docker-format-options, show-docker-format-options/detailed): Handle
'--max-layers' option.
* doc/guix.texi (Invoking guix pack): Document this.

Change-Id: I90660b2421fcdde891f003469fe2e2edaac7da41
2024-01-08 21:04:44 +03:00
Oleg Pykhalov d3d3eedf7f
guix: docker: Build layered images.
* guix/docker.scm (%docker-image-max-layers): New variable.
(size-sorted-store-items, create-empty-tar): New procedures.
(config, manifest, build-docker-image): Build layered images.

Change-Id: I4c8846bff0a3ceccb77e6bdf95d4942e5c3efe41
2024-01-08 21:04:44 +03:00
Oleg Pykhalov bdf0ba4ca1
tests: docker-system: Increase image size.
* gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase
'disk-image-size'.

Change-Id: If88588d8981efdfdc539460900f1cbb9a663f9cb
2024-01-08 21:04:44 +03:00
Graham James Addis 7d5168a2af
guix: pack: Add '--entry-point-argument' option.
* guix/scripts/pack.scm:
(entry-point-argument-spec-option-parser): New procedure.
(docker-image, %default-options, %docker-format-options,
show-docker-format-options/detailed, %options, show-docker-format-options,
guix-pack): Handle '--entry-point-argument' option.
* doc/guix.texi: (Invoking guix pack): Document this

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
Change-Id: I1124feff6af39dcc63c85fd6cc7ad50f398489dc
2024-01-08 21:04:44 +03:00
John Kehayias 7a7c8920ae
Merge branch 'mesa-updates'
Change-Id: I671d2733eac4c021eed191fc6bb61ea5492c3740
2024-01-08 12:04:58 -05:00
Oleg Pykhalov 9018c6af49
gnu: obs: Fix VLC plugin.
* gnu/packages/video.scm (obs)[arguments]<#:phases>: Wrap LD_LIBRARY_PATH.

Change-Id: If22b5294284ea500da0e6d9ee4d4bbcc765c6771
2024-01-08 13:55:39 +03:00
Efraim Flashner 728d471d73
gnu: json-glib: Fix cross-compiling.
* gnu/packages/gnome.scm (json-glib)[native-inputs]: Only add more
inputs when not cross-compiling.

Change-Id: I987f382f02d9f7b79b6e281d1f6f6824c1b2dfd3
2024-01-08 08:14:59 +02:00
John Kehayias d9dee5ea2f
Merge branch 'master' into mesa-updates
Change-Id: I0b92a95109688a1a4c50572bc25a4e5676e0921e
2024-01-07 21:27:27 -05:00
Nicolas Goaziou 3de361d9c9
gnu: fet: Update to 6.15.0.
* gnu/packages/education.scm (fet): Update to 6.15.0.

Change-Id: Iec5ed880fd09dcc63e1650ceffc0f072c1236190
2024-01-07 22:54:54 +01:00
Mathieu Othacehe 560cc91e46
Revert "gnu: mesa: Build asahi driver on aarch64."
This reverts commit cd9c908234.
Move it to mesa-updates.
2024-01-07 22:34:15 +01:00
Andy Tai e7403acb34
gnu: swig-next: Update to 4.2.0
* gnu/packages/swig.scm (swig-next): Update to 4.2.0

Change-Id: Ic6580f0d2c3ab578de6bc0bd9a98c61b28cc1cd6
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 21:05:18 +01:00
Andy Tai 0a9fd5536a
gnu: parallel: Update to 20231222
* gnu/packages/parallel.scm (parallel): Update to 20231222

Change-Id: I4a32d93e7d7d5e79280d8d804701bb4a7ed57bb9
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 21:02:36 +01:00
Roman Scherer cd9c908234
gnu: mesa: Build asahi driver on aarch64.
* gnu/packages/gl.scm (mesa): Build asahi driver on aarch64.

Change-Id: I597e70732b9ebd18960131f1b664b2dc83683b8e
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 21:02:07 +01:00
Andy Tai fdafa8060f
gnu: icewm: Update to 3.4.5
* gnu/packages/wm.scm (icewm): Update to 3.4.5

Change-Id: Ibf30644fbc01dd89378f41f978201e84e0ca39ad
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 21:01:38 +01:00
Tomas Volf 63bafb05bc
doc: Delete trailing whitespace.
* doc/guix.texi: Delete trailing whitespace.

Change-Id: Ibf99a551f890044b8ce5772bdebb8a0b02ab1c21
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 20:56:45 +01:00
Mathieu Othacehe 51735eac1c
gnu: dtc: Update to 1.7.0.
Enable the python bindings and switch to the meson build system that handles
the python bindings better than the Makefile build system here.

* gnu/packages/patches/dtc-meson-cell-overflow.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (dtc): Update to 1.7.0.
[build-system]: Switch to the meson-build-system.
[arguments]: Remove #:make-flags. Add a new 'preparations phase. Do not edit
the Makefile in the 'patch-pkg-config phase. Remove the 'configure phase.

Change-Id: Ie61c920829ab3a8c32f4924c694dba6bda807711
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 20:52:04 +01:00
Hilton Chain ccce23bd81
gnu: Add font-cardo.
* gnu/packages/fonts.scm (font-cardo): New variable.

Change-Id: I60edadc74c33690bb14dff209979a57f22dd5277
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:56:48 +01:00
Hilton Chain b920ee31a6
gnu: font-sarasa-gothic: Update to 1.0.3.
* gnu/packages/fonts.scm (font-sarasa-gothic): Update to 1.0.3.
[source]: Update the URI.

Change-Id: I227632d725fb341199c738a5aa6ac17e7ea635cb
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:53:40 +01:00
kiasoc5 2b5fcd70d0
gnu: txt2tags: Update to 3.9.
* gnu/packages/textutils.scm (txt2tags): Update to 3.9.

Change-Id: Ia825f5807c87941504feffdb317594f5b1fa62ef
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:49:02 +01:00
Andy Tai 1fb02d45eb
gnu: s7: Update to 618de30.
* gnu/packages/lisp.scm (s7): Update to commit 618de30.

Change-Id: I34d92b77a4e8de84f18de0ce7af984928e338282
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:38:20 +01:00
Georgios Athanasiou 9c634835e5
gnu: Add guile-yamlpp.
* gnu/packages/guile-xyz.scm (guile-yamlpp): New variable.

Change-Id: I54694eeea17e414df4d7778a2e119f3f995c20e4
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:29:23 +01:00
Mattia Bunel 224499f2d4
gnu: Add laszip.
* gnu/packages/geo.scm (laszip): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: I8baf25f1d51c9ac90bcea4a1e9a564e21e0a9ee6
2024-01-07 19:25:46 +01:00
Tomas Volf a5d5c5b357
gnu: ovmf: Update to 202311.
* gnu/packages/firmware.scm (ovmf): Update to 202311.

Change-Id: I32b6d7587b37211b0de6a118024cb4f854ce112d
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:23:00 +01:00
Tomas Volf 0c75999d19
gnu: cgit: Update to 1.2.3-793c420.
* gnu/packages/version-control.scm (cgit): Update to
793c420897e18eb3474c751d54cf4e0983f85433.
[inputs]: Update git to 2.43.0.

Change-Id: I3441e9e2837d22ae208f5cccc53d815cc3e0f042
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:22:16 +01:00
Tomas Volf 7b58443bc5
Update mailmap.
* .mailmap: Add entry for Tomas Volf.

Change-Id: I0a8b43b3b7f71c3020f96118adcbad8937a290fb
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:07:18 +01:00
Ludovic Courtès 5f8a993aa8
gnu: mkvtoolnix: Remove input labels and use gexps.
* gnu/packages/video.scm (mkvtoolnix)[native-inputs]: Remove labels.
[arguments]: Use gexps and ‘this-package-input’ & co.

Change-Id: I12b6638cd78c8c957ac9856c0e19025f4941847e
2024-01-07 16:56:00 +01:00
Antoine Côté 5d97fdb608
gnu: mkvtoolnix: Update to 80.0.
* gnu/packages/video.scm (mkvtoolnix): Update to 80.0.
[inputs]: Add GMP and QTSVG.  Replace QT*-5 by their non-suffixed
variant.
[native-inputs]: Likewise, and change to RUBY-3.2.

Change-Id: If01ce578c9f9ac50e1c99e96c110687e8872177c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-07 16:56:00 +01:00
Antoine Côté ce4fbea7bb
gnu: libmatroska: Update to 1.7.1.
* gnu/packages/video.scm (libmatroska): Update to 1.7.1.

Change-Id: Ia2c943743636f0a01b1446be871b6dcd663ad0d3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-07 16:56:00 +01:00