1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00
Commit graph

332 commits

Author SHA1 Message Date
Efraim Flashner
6ee1897ee0
gnu: grub-efi: Enable test suite.
* gnu/packages/bootloaders.scm (grub-efi)[native-inputs]: For some
architectures add an ovmf package matching their architecture.  Only
remove the inherited native-inputs on other architectures.
[arguments]: Enable the tests when not cross-building and when
qemu-minimal is present.  On some architectures add a phase to patch the
location of the OVMF firmware.
(grub-efi32)[arguments]: Adjust the new inherited phase to use the
correct OVMF firmware.
[native-inputs]: Adjust the native-inputs on x86_64-linux and
aarch64-linux to use their 32bit ovmf package counterparts.

Co-Authored-by: Esther Flashner <esther@flashner.co.il>
Change-Id: I84441884fea9fde21e148bc23fd50f3f1d018e5b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-07-03 20:40:00 +03:00
Andreas Enge
b7fc28345c
gnu: dtc: Update to 1.7.2.
* gnu/packages/bootloaders.scm (dtc): Update to 1.7.2.
[source]: Remove patch.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
* gnu/packages/patches/dtc-meson-cell-overflow.patch: Remove file.

Change-Id: Icb2865ec02a6e0d930ba440f2cb7bd535fef0eae
2025-06-13 18:58:54 +02:00
Greg Hogan
56f940e72f
gnu: Rename valgrind-next to valgrind.
* gnu/packages/valgrind.scm (valgrind/pinned): Make public.
(valgrind): Delete.
(valgrind-next): Rename to valgrind.
(valgrind/interactive): Inherit from valgrind.
* gnu/packages/audio.scm (codec2),
* gnu/packages/bootloaders.scm (dtc),
* gnu/packages/chromium.scm (ungoogled-chromium),
* gnu/packages/crates-io.scm (rust-crabgrind-0.1),
* gnu/packages/crates-tls.scm (rust-rustls-pki-types-1),
* gnu/packages/file-systems.scm (bindfs),
* gnu/packages/gnome.scm (libratbag, gnome-software),
* gnu/packages/high-availability.scm (pacemaker),
* gnu/packages/linux.scm (multipath-tools),
* gnu/packages/machine-learning.scm (python-pytorch),
* gnu/packages/mpi.scm (openmpi-4),
* gnu/packages/music.scm (stargate),
* gnu/packages/perl-check.scm (perl-test-runvalgrind),
* gnu/packages/prolog.scm (trealla),
* gnu/packages/qt.scm (qtwebengine-5, qt-creator),
* gnu/packages/robotics.scm (aseba),
* gnu/packages/ruby.scm (ruby-ruby-memcheck),
* gnu/packages/spreadsheet.scm (sc-im),
* gnu/packages/web.scm (jq): Rename valgrind to valgrind/pinned.

Change-Id: I9dec25abce643ef6d815a2cc50414c4f65f1e8d3
2025-05-13 16:35:39 +00:00
Gabriel Wicki
ac2d792aae
gnu: Fix small typos.
String-separating double-quotes should be separated with white space.

* gnu/packages/bootloaders.scm(u-boot-rpi-arm64-efi): Fix typo.
* gnu/packages/linphone.scm(ortp): Fix typo.
* gnu/packages/tex.scm(texlive-omegaware-bin): Fix typo.

Change-Id: I83aa0f6862b265dd3e396e7c0b2db924915293dd
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-08 22:08:12 +09:00
Vagrant Cascadian
25fc7f4fdd
gnu: Add arm-trusted-firmware-rk3588.
* gnu/packages/firmware.scm (arm-trusted-firmware-rk3588): New variable.
* gnu/packages/bootloaders.scm (make-u-boot-rockchip-package): Support
'rk3588.
2025-03-23 10:34:54 -07:00
Vagrant Cascadian
e37d407e6c
gnu: u-boot: Update to 2025.01.
* gnu/packages/bootloaders.scm (u-boot): Update to 2025.01.
(u-boot-sandbox): Disable MBEDTLS_LIB.
2025-03-09 14:45:44 -07:00
Ludovic Courtès
478e3e85c5
gnu: bootloaders: Remove top-level circular dependency with firmware.scm.
Fixes a circular dependency in ‘make-u-boot-rockchip-package’ that
became apparent with 6e41ca397d.

* gnu/packages/bootloaders.scm (make-u-boot-rockchip-package): Remove
‘atf’ variable.  Move ‘match’ form to the ‘inputs’ field.  In
‘set-environment’ phase, use ‘search-input-file’.

Change-Id: Ic42453efb8c2ef50a5f902998129bb8d6f0defdc
2025-03-05 00:28:48 +01:00
Herman Rimm
6e41ca397d
gnu: bootloader: Add orangepi-zero2w bootloader.
* gnu/bootloader/u-boot.scm (u-boot-orangepi-zero2w-bootloader): Add
variable.
* gnu/packages/bootloaders.scm (u-boot-orangepi-zero2w): Add variable.
* gnu/packages/firmware.scm (arm-trusted-firmware-sun50i-h616): Add
variable.

Change-Id: Idb43fdabac51b3301f3bea24fec72bfa29636489
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-03-04 14:23:10 -08:00
Vagrant Cascadian
c1ec9e8d53
gnu: u-boot-rockpro64-rk3399: Drop obsolete phase.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399): Drop obsolete
'patch-header phase.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-03-04 10:19:49 -08:00
Herman Rimm
ae30bf6332
gnu: Add make-u-boot-rockchip-package procedure.
* gnu/packages/bootloaders.scm (make-u-boot-rockchip-package): Add.
(u-boot-orangepi-r1-plus-lts-rk3328, u-boot-puma-rk3399,
u-boot-rock64-rk3328, u-boot-firefly-rk3399, u-boot-rockpro64-rk3399,
u-boot-pinebook-pro-rk3399): Use procedure.

Change-Id: I0d7632e46cfed312f8b2843c6fafc912077bc241
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-03-04 10:19:46 -08:00
Herman Rimm
7edd5fdf23
gnu: u-boot-rockpro64-rk3399: Remove obsolete substitute.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]:
Merge substitutes.  Remove non-matching substitute.

Change-Id: I27dbc51c0eb95de9e1474c966a4e97f7cff26009
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-03-04 10:19:43 -08:00
Denis 'GNUtoo' Carikli
12890e2412
gnu: Add grub-emu.
* gnu/packages/bootloaders.scm (grub-emu): New variable.

Change-Id: Ia70246841e612b1fe1cb70001b9a6420cb7a63ea
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-23 23:50:22 +01:00
Vagrant Cascadian
d320124771
gnu: grub-minimal, grub-efi: Reduce unused native-inputs.
"qemu" was removed in e9c1ea84fc in the code
though the commit message claims to have removed "qemu-minimal". If that
worked, it may have been broken by switching away from labels in
b9c38f26f1.

* gnu/packages/bootloaders.scm (grub-minimal)[native-inputs]: Remove
qemu-minimal.
(grub-efi)[native-inputs]: Remove qemu-minimal.
2025-02-11 11:45:01 -08:00
Herman Rimm
a775968063
gnu: u-boot: Use downstream-package-name.
* gnu/packages/bootloaders.scm (u-boot): Use downstream-package-name.

Change-Id: I7226519a676ba201be3a95078112b6514a201731
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Herman Rimm
1a62f687e5
gnu: bootloaders: u-boot-sandbox: Reformat.
* gnu/packages/bootloaders.scm (u-boot-sandbox): Wrap at 72 columns.

Change-Id: I440c05b369c0be1437a3174e055efeeda8e5fe01
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-18 14:25:03 -08:00
Herman Rimm
56c6466887
gnu: u-boot: Use search-patches.
* gnu/packages/bootloaders.scm (%u-boot-rockchip-inno-usb-patch,
%u-boot-allow-disabling-openssl-patch): Remove variables, move comments.
(u-boot)[source]: Use search-patches.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Comment.
* gnu/packages/patches/u-boot-rockchip-inno-usb.patch: Remove E-Mail
metadata.  Replace diffstat with comments.  Reapply to U-Boot v2024.10.

Change-Id: I760a2e81bddfc2a80ef149fe1ac4496cbbd937a0
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-18 14:25:01 -08:00
Herman Rimm
9e85818258
gnu: u-boot-tools: Remove extraneous native-input.
* gnu/package/bootloaders.scm (u-boot-tools)[native-inputs]: Remove
sdl2.

Change-Id: I14d8a605f5e7232f6047ddccfcbd0249ee4b661c
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-18 14:24:58 -08:00
Herman Rimm
ef50749aed
gnu: u-boot: Update to 2024.10.
* gnu/packages/bootloaders.scm (u-boot): Update to 2024.10.
[source]: Remove build-without-libcrypto patch.  Use git-fetch.
(%u-boot-build-without-libcrypto-patch): Remove variable.
(u-boot-tools)[arguments]: Enable test_spl.  Disable sandbox tests and
kwbimage.
(python-u-boot-pylib)[arguments]: Add phase to fix build file.
(make-u-boot-package)[arguments]: Disable kwbimage.
(u-boot-sandbox): Only keep CONFIG_FIT_CIPHER disabled.
[inputs]: Add efitools.
(u-boot-rockpro64-rk3399): Replace CONFIG_DM_SCSI with CONFIG_SCSI.
* gnu/packages/patches/u-boot-build-without-libcrypto.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove patch.

Change-Id: I07cb0df0431ed45af0beb05105ae948136dd9eb3
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-18 14:24:56 -08:00
Herman Rimm
8a016fa056
Revert "gnu: u-boot-tools: Fix segfault while running tests."
This reverts commit e526b8b11d.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-18 14:24:52 -08:00
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Roman Scherer
c05a9260cc
gnu: ipxe: Update to 24db39fb2983ca83ab5c6ee37cb57a4f7f6f94e6.
* gnu/packages/bootloaders.scm (ipxe): Update to 24db39fb2983ca83ab5c6ee37cb57a4f7f6f94e6.

Change-Id: I480fa8efad1e2d72e5239bf7df5fb779179ad96b
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-06 23:07:30 -08:00
Janneke Nieuwenhuizen
3d664f8301
gnu: grub: Fix build for the 64bit Hurd.
* gnu/packages/patches/grub-hurd64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[arguments]: When building for the 64bit
Hurd, use it in new "apply-hurd64-patch" stage.

Change-Id: I780f6a92418b49e5fe0d23eb1c90e155216f1428
2024-12-03 08:39:00 +01:00
Ludovic Courtès
e526b8b11d
gnu: u-boot-tools: Fix segfault while running tests.
Fixes <https://issues.guix.gnu.org/74270>.

* gnu/packages/patches/u-boot-calloc-visibility.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (u-boot): Use it.

Reported-by: Jean-Francois GUILLAUME <Jean-Francois.Guillaume@univ-nantes.fr>
Reported-by: Christopher Howard <christopher@librehacker.com>
Change-Id: Id0023e17367a80a0d1abd4a80b7d8e3a0c3cc5bc
2024-11-18 10:58:41 +01:00
Efraim Flashner
e6ec657c49
gnu: u-boot-tools: Honor the #:tests flag.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Adjust the
custom 'check and 'check-x86 phases to honor the #:tests? flag.

Change-Id: I663eba70df61569928e167ffe1af9411e405da80
2024-11-06 12:49:40 +02:00
Simon Tournier
4c99ef43f0
gnu: patman: Wrap program with git.
* gnu/packages/bootloaders.scm (patman)
[arguments]: Add 'wrap-script' phase to ensure git is always available.
[inputs]: Add git, git:send-email and guile-3.0/pinned.

Change-Id: Id4ebadd518f271baa087161b10455ec03d6f959b
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-09-14 21:59:47 +09:00
André Batista
de96a26096
gnu: grub; ipxe-qemu: Fix build on 32-bit x86.
* gnu/packages/bootloaders.scm (grub) [native-inputs] <binutils-i386>:
binutils' #configure-flags is a gexp instead of a simple list, so use
gexp handling procedures when setting flags.
* gnu/packages/bootloaders.scm (ipxe-qemu) [native-inputs]
  <binutils-64-bit-bfd>: Likewise.

Change-Id: If93b0a972570d75c7e26647b154be8afc76cf6e0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:45:48 +02:00
Janneke Nieuwenhuizen
6746ea2ea3
gnu: ipxe: Update to 1.21.1-2.de8a082.
This fixes

    error: in phase 'build': uncaught exception:

while building ipxe-qemu.

* gnu/packages/bootloaders.scm (ipxe): Update commit to
de8a0821c7bc737e724fa3dfb6d89dc36f591d7a.  Bump revision and timestamp.

Change-Id: I352a8451ba9da912f023802f1f31e5e311705ba2
2024-08-31 10:44:43 +02:00
Maxim Cournoyer
f59df1aa3c
build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.

The renaming was automated via the command:

  $ git grep -l %gnu-build-system-modules
    | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i

* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this.  Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.

Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31 10:42:16 +02:00
Efraim Flashner
4ee2a660e5
gnu: grub: Enable building on powerpc64le-linux.
* gnu/packages/bootloaders.scm (grub)[arguments]: Adjust configure-flags
when building for powerpc64le-linux to use clang.  When building for
powerpc64le-linux add a phase to skip 2 tests.
[native-inputs]: When building for powerpc64le-linux add clang.

Change-Id: I26ce37e7b864964ede5c9fd73a5a2d4cb89ada45
2024-07-19 00:05:01 +03:00
Efraim Flashner
447be4aff8
gnu: grub-minimal: Don't override configure-flags.
* gnu/packages/bootloaders.scm (grub-minimal)[arguments]: Don't override
inherited configure-flags.

Change-Id: I31f397ba8255389955a135976541f7d17d98e552
2024-07-19 00:04:50 +03:00
Christopher Baines
770659059b
gnu: grub: Fix use of mdadm.
Before this change, the filename used ended with sbin/mdadm/sbin/mdadm.

* gnu/packages/bootloaders.scm (grub)[arguments]: Fix the use of mdadm.

Change-Id: I911d729eb35034502715c48cdd2159aecf48d22e
2024-07-01 17:17:21 +02:00
Ludovic Courtès
b9c38f26f1
gnu: grub: Remove input labels and use gexps.
* gnu/packages/bootloaders.scm (grub)[arguments]: Use gexps.
[inputs, native-inputs]: Remove labels.
(grub-minimal, grub-coreboot, grub-efi, grub-efi32)
(grub-hybrid): Likewise.

Change-Id: I2773e6d96d170fae991d9c5db9e10196ea603371
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-24 08:51:41 -04:00
Ludovic Courtès
e6facbe069
gnu: grub: Update to 2.12.
* gnu/packages/bootloaders.scm (grub): Update to 2.12.
[source](patches): Remove ‘grub-ignore-metadata-csum-seed.patch’.
(snippet): Create ‘grub-core/extra_deps.lst’.  Replace “exit 99”
by “exit 77”.
(grub-coreboot): Update value of ‘XFAIL_TESTS’.
* doc/guix.texi (Keyboard Layout and Networking and Partitioning): Update
accordingly (it should now be fine to use LUKS2).
* gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: Ia31b3b7e0a2e7de42d30229733e9c196fcd12fd9
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-24 08:51:41 -04:00
Lars-Dominik Braun
00384aedbc
gnu: grub: Ignore metadata-csum-seed feature of ext4.
* gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/bootloaders.scm (grub): Use it.

Change-Id: I3bfed24b38ecf31b85ed4ac654399fca2d2e12f6
2024-05-27 19:30:22 +02:00
Zheng Junjie
08474ff6ec
gnu: Add u-boot-starfive-visionfive2.
* gnu/packages/bootloaders.scm (u-boot-starfive-visionfive2): New variable.

Change-Id: I2a7d2275b1a0f4253ffc3152c892687aae11a471
2024-05-22 11:15:30 +08:00
Efraim Flashner
daab3da504
gnu: u-boot-pine64-plus: Fix building on aarch64-linux.
* gnu/packages/bootloaders.scm (u-boot-sunxi64-packages)[arguments]:
Also search in inputs for input files.

Change-Id: Ibc0f6b0dfff5eb7c561b7361dcf0eac1839fad87
2024-03-28 17:39:42 +02:00
Herman Rimm
3e3975275b
gnu: u-boot: Update to 2024.01.
* gnu/packages/bootloaders.scm (u-boot): Update to 2024.01.
[source]: Remove patman patch, add build-without-libcrypto patch.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Remove
upstreamed diffs.
* gnu/packages/patches/u-boot-build-without-libcrypto.patch: Add file.
* gnu/packages/patches/u-boot-patman-change-id.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Add patch, remove patch.

Change-Id: I5a21d4cd645449ff669f17cdabe5313870bec46f
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-01-18 10:18:00 -08: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
Herman Rimm
88fb95903c
gnu: bootloader: Add orangepi-r1-plus-lts-rk3328 bootloader.
* gnu/bootloader/u-boot.scm (install-orangepi-r1-plus-lts-rk3328-u-boot,
  u-boot-orangepi-r1-plus-lts-rk3328-bootloader): New variables.
* gnu/packages/bootloaders.scm (u-boot-orangepi-r1-plus-lts-rk3328): New
  variable.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-12-22 16:06:03 -08:00
Herman Rimm
fad93748cd
gnu: u-boot: Update to 2023.10.
* gnu/local.mk: De-register patches.
* gnu/packages/bootloaders.scm (u-boot): Update to 2023.10.
[source]: Remove patches.
(u-boot-documentation)[inputs]: Add python-sphinx-prompt.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh.
* gnu/packages/patches/u-boot-fix-build-python-3.10.patch: Delete file.
* gnu/packages/patches/u-boot-fix-u-boot-lib-build.patch: Delete file.
* gnu/packages/patches/u-boot-rk3399-enable-emmc-phy.patch: Delete file.
* gnu/packages/patches/u-boot-rockchip-inno-usb.patch: Refresh.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch:
  Delete file.

Modifed-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-12-22 16:05:50 -08:00
Denis 'GNUtoo' Carikli
4b6f6b3e18
gnu: Add grub-coreboot
* gnu/packages/bootloaders.scm (grub-coreboot): New variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-11-24 13:34:00 -08:00
Maxim Cournoyer
f44fa21c3e
gnu: patman: Apply patch for new Change-Id setting.
* gnu/packages/bootloaders.scm (u-boot) [source]: Apply patch.
* gnu/packages/patches/u-boot-patman-change-id.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* .patman (keep_change_id): Use it.

Series-changes: 3
 - New commit
Change-Id: I33c03013f6a260b5f5d80212b7b6ebe8a3f97efa
2023-10-22 16:09:04 -04:00
Maxim Cournoyer
a6170fcd2b
gnu: Remove extraneous imports.
Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild
from the upcoming Guile.

* gnu/packages/admin.scm: Remove extraneous imports.
* gnu/packages/avr.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/bootloaders.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/linphone.scm: Likewise.
* gnu/packages/telephony.scm: Likewise.
* gnu/packages/cran.scm: Likewise.
* gnu/packages/kde.scm: Likewise.
* gnu/packages/libcanberra.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/mes.scm: Likewise.
* gnu/packages/mingw.scm: Likewise.
* gnu/packages/serialization.scm: Likewise.
* gnu/packages/sync.scm: Likewise.
* gnu/packages/syncthing.scm: Likewise.
* gnu/packages/terminals.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/emulators.scm: Likewise.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-09-17 16:22:03 -04:00
Maxim Cournoyer
c7c500dd61
gnu: patman: Fix execution.
Before this change, patman would fail at run time with "AttributeError: module
'patman.__main__' has no attribute 'run_patman'" since the last U-Boot update.

* gnu/packages/bootloaders.scm (patman) [arguments]
<phases>: New patch-pyproject.toml phase.
2023-09-01 01:19:22 -04:00
Tobias Geerinckx-Rice
789f7e9a3d
gnu: fuse@3: Bind to default FUSE variable.
* gnu/packages/linux.scm (fuse): Rename this…
(fuse-2): …to this, and…
(fuse-3): …rename this…
(fuse): …to this!
(fuse-static): Rename this…
(fuse-2-static): …to this.
Adjust all users.
2023-07-23 02:00:00 +02:00
Ludovic Courtès
0ab46ef3f9
gnu: bootloaders: Avoid top-level circular references.
Fixes <https://issues.guix.gnu.org/64745>.

The regression was introduced in
ed5dc3a25d: at the top level,
bootloaders.scm and firmware.scm would depend on each other, leading to
unbound variables when loaded, depending on the order in which they got
loaded.

* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Expect
'scp-firmware' to be a promise; force it in 'native-inputs'.
(u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Wrap the 3rd
argument to 'make-u-boot-sunxi64-package' into 'delay'.

Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-20 23:49:48 +02:00
Maxim Cournoyer
cf1216d876
gnu: patman: Add python-u-boot-pylib to inputs.
* gnu/packages/bootloaders.scm (patman) [inputs]: Add python-u-boot-pylib.
[phases]: Remove 'sanity-check.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-07-19 22:54:44 -07:00
Maxim Cournoyer
ffbcc113df
gnu: Add python-u-boot-pylib.
* gnu/packages/bootloaders.scm (python-u-boot-pylib): New variable.
* gnu/packages/patches/u-boot-fix-u-boot-lib-build.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-07-19 22:54:34 -07:00
Vagrant Cascadian
ed5dc3a25d
gnu: u-boot: Add crust firmware to pinebook, pine64_plus and pine64-lts.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Take argument
for System Control Processor (SCP) firmware.
[native-inputs]: Add SCP firmware.
[phases]: Adjust 'set-environment to also set SCP variable.
(u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Pass appropriate
crust firmware as the SCP firmware.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-19 22:54:20 -07:00
Vagrant Cascadian
b0d47d9e18
gnu: u-boot: Update to 2023.07.02.
* gnu/packages/patches/u-boot-infodocs-target.patch: Delete file.
* gnu/packages/patches/u-boot-patman-guix-integration.patch: Delete file.
* gnu/local.mk: De-register patches.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: Refresh.
* gnu/packages/bootloaders.scm (u-boot): Update to 2023.07.02.
[native-inputs]: Add python-pyelftools.
[source]: Remove patches.
(u-boot-tools)[phases]: Update substitution for python3-coverage.
Adjust 'patch to catch more openssl incompatibilities.
Split lines in 'patch phase.
[native-inputs]: Add python-filelock and python-pytest-xdist.
(make-u-boot-sunxi64-package): Set SCP environment variable.
(u-boot-sifive-unleashed): Update to use opensbi.
(u-boot-puma-rk3399)[inputs]: Add arm-trusted-firmware-rk3399 to
package-inputs instead of native-inputs.
(u-boot-rockpro64-rk3399): Disable CONFIG_SPL_FIT_SIGNATURE in config.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-19 22:54:08 -07:00