3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

127 commits

Author SHA1 Message Date
Josselin Poiret
8a8bd15bfa
gnu: fwupd: Update to 1.8.14.
* gnu/packages/firmware.scm (fwupd): Update to 1.8.14.  Also, change two
files' timestamp because they are zipped up by Python.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-28 21:04:03 +02:00
Josselin Poiret
2a4fa1d127
gnu: opensbi: Build with default gcc, with microarch rv64g.
* gnu/packages/firmware.scm (make-opensbi-package): Remove specific #:xgcc for
the cross-toolchain, there is not reason for it now.  Also set the microarch to
rv64g, so that it builds.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-26 22:19:26 +02:00
e22a6ed8f8
gnu: make-openbios-package: Enable building from aarch64, riscv64.
* gnu/packages/firmware.scm (make-openbios-package)[source]: Add patch
to correctly detect aarch64 and riscv64 build hosts.
(openbios-qemu-ppc)[arguments]: Remove aarch64 workaround for #:system.
* gnu/packages/patches/openbios-aarch64-riscv64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-03-09 15:10:16 +02:00
7b1dd1e9ea
gnu: make-openbios-package: Enable setting configure-flags.
* gnu/packages/firmware.scm (make-openbios-package)[arguments]: Adjust
custom 'configure phase to apply configure-flags.
2023-03-09 15:10:13 +02:00
042b92edb2
gnu: make-openbios-package: Update to 1.1-1.af97fd7.
* gnu/packages/firmware.scm (make-openbios-package): Update to
1.1-1.af97fd7.
[source]: Remove patch.
[native-inputs]: Build with gcc-10. Add fcode-utils.
* gnu/packages/patches/openbios-gcc-warnings.patch: Remove file.
* ngu/local.mk (dist_patch_DATA): Remove it.
2023-02-20 10:52:20 +02:00
8fa5e0acec
gnu: Add fcode-utils.
* gnu/packages/firmware.scm (fcode-utils): New variable.
2023-02-20 10:52:20 +02:00
cc588fb854
gnu: sgabios: Don't build for a specific target.
* gnu/packages/firmware.scm (sgabios)[arguments]: Set target to #f since
we're building a firmware file.
2023-02-08 09:26:19 +02:00
03ce4e2c13
gnu: seabios: Don't build for a specific target.
* gnu/packages/firmware.scm (seabios)[arguments]: Set target to #f since
we're producing a firmware file.
2023-02-08 09:26:19 +02:00
b84a6cd08c
gnu: openbios-qemu-ppc: Don't build for a specific target.
* gnu/packages/firmware.scm (openbios-qemu-ppc)[arguments]: Set target
to #f since we're producing a firmware file and not a binary.
2023-02-08 09:26:19 +02:00
6598e4c56b
gnu: openbios-qemu-ppc: Fix building on aarch64-linux.
* gnu/packages/firmware.scm (openbios-qemu-ppc)[arguments]: When
building from aarch64-linux build for armhf-linux.
2023-02-08 09:26:18 +02:00
Maxim Cournoyer
4276283b30
gnu: make-arm-trusted-firmware: Simplify build.
Reuse knowledge from recent U-Boot modifications to streamline the package
definition.

* gnu/packages/firmware.scm (make-arm-trusted-firmware): Change optional
argument ARCH to keyword TRIPLET.  Default to aarch64-linux-gnu.
[arguments]: Use gexps.  Add a #:target argument.  Streamline how the
CROSS_COMPILE make flag is computed.
[native-inputs]: Delete field.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:25 -05:00
Marius Bakke
ffb9813aee
gnu: ovmf-arm: Fix syntax error on armhf-linux.
* gnu/packages/firmware.scm (ovmf-arm)[arguments]: Don't add an empty set-env
phase when building for armhf-linux.
2023-01-13 03:19:40 +01:00
Marius Bakke
2a93b66882
gnu: ovmf-aarch64: Fix syntax error on aarch64-linux.
* gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Don't add an empty
set-env phase when building for aarch64.
2023-01-13 03:19:39 +01:00
Maxim Cournoyer
c39b0461d4
gnu: ath9k-htc-firmware: Fix deprecation warnings.
* gnu/packages/firmware.scm (ath9k-htc-firmware): Invoke cross-binutils using
keyword arguments.
2023-01-05 21:49:25 -05:00
Marius Bakke
c8e836991d
gnu: Add opensbi-qemu.
* gnu/packages/firmware.scm (opensbi-qemu): New variable.
2022-12-25 14:15:59 +01:00
Marius Bakke
699aef4bc6
gnu: opensbi: Use the same source file name regardless of variant.
* gnu/packages/firmware.scm (make-opensbi-package)[source](file-name): Don't
use the NAME variable which changes depending on the variant.
2022-12-25 14:15:59 +01:00
Marius Bakke
53a1fce25a
gnu: Add openbios-qemu-ppc.
* gnu/packages/firmware.scm (make-openbios-package): New procedure.
(openbios-qemu-ppc): New variable.
* gnu/packages/patches/openbios-gcc-warnings.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-12-25 14:15:59 +01:00
9923100a42
gnu: sgabios: Fix build on cross-build architectures.
* gnu/packages/firmware.scm (sgabios)[arguments]: When cross-building
add a make-flag to use the correct objcopy.
2022-12-23 13:56:11 +02:00
Marius Bakke
368e00cce0
gnu: Add sgabios.
* gnu/packages/firmware.scm (sgabios): New variable.
2022-12-22 16:50:47 +01:00
Marius Bakke
209aed9511
gnu: Install QEMU firmare files to 'share/qemu'.
This paves the way for using a native search path in the future.

* gnu/packages/bootloaders.scm (ipxe-qemu)[arguments]: Install firmware files
to 'share/qemu' instead of 'share/firmware'.
* gnu/packages/firmware.scm (seabios-qemu)[arguments]: Likewise.
* gnu/packages/virtualization.scm (qemu)[arguments]: Adjust accordingly.
2022-12-22 16:50:47 +01:00
Marius Bakke
ffc0037458
gnu: SeaBIOS: Split QEMU variants out to separate package.
* gnu/packages/firmware.scm (seabios)[arguments]: Move custom build and
install phases out to ...
(seabios-qemu): ... this new variable.
* gnu/packages/virtualization.scm (qemu)[inputs]: Change from SEABIOS to
SEABIOS-QEMU.
2022-12-22 16:50:47 +01:00
228db28165
gnu: seabios: Enable for all architectures.
* gnu/packages/firmware.scm (seabios)[native-inputs]: When not building
from an i686-linux or x86_64-linux machine add cross-gcc and
cross-binutils for i686-linux-gnu.
[arguments]: When not building from an i686-linux or x86_64-linux
machine adjust the Makefile to find the cross build tools needed.
[supported-architectures]: Remove field.
2022-12-21 17:33:22 +02:00
7fb27b5441
gnu: seabios: Limit to i686-linux and x86_64-linux.
* gnu/packages/firmware.scm (seabios)[supported-systems]: New field.
2022-12-20 17:12:07 +02:00
Marius Bakke
040c43d78a
gnu: Add edk2-tools.
* gnu/packages/firmware.scm (edk2-tools): New variable.
2022-12-20 15:29:11 +01:00
Marius Bakke
b2fc209b2c
gnu: SeaBIOS: Prettify version string.
* gnu/packages/firmware.scm (seabios)[arguments]: Display version as
"1.16.1/GNU Guix" instead of "1.16.1-guix".
2022-12-19 23:08:22 +01:00
Marius Bakke
145aa7f04b
gnu: SeaBIOS: Build in parallel.
* gnu/packages/firmware.scm (seabios)[arguments]: Use N-PAR-FOR-EACH to build
the various targets.
2022-12-19 23:08:21 +01:00
Marius Bakke
5877dc88a2
gnu: SeaBIOS: Build more BIOSen.
* gnu/packages/firmware.scm (seabios)[arguments]: Build the "128k" and
"microvm" BIOSen expected by QEMU.  Fix installation of vgabios.
2022-12-19 23:08:21 +01:00
Marius Bakke
16f2cc5a8f
gnu: SeaBIOS: Remove pre-generated code.
* gnu/packages/firmware.scm (seabios)[source](modules, snippet): New fields.
[native-inputs]: Add ACPICA.
[arguments]: Add build-iasl phase.
2022-12-19 23:08:21 +01:00
Marius Bakke
6ea7d25396
gnu: SeaBIOS: Use G-expression.
* gnu/packages/firmware.scm (seabios)[arguments]: Rewrite as gexp.
2022-12-19 23:08:20 +01:00
Marius Bakke
ec76f45d30
gnu: SeaBIOS: Simplify build.
* gnu/packages/firmware.scm (seabios)[arguments]: Don't install bios.bin
twice.  Drop redundant append step.
2022-12-17 17:08:51 +01:00
Marius Bakke
f7793ce0e0
gnu: SeaBIOS: Build verbosely.
* gnu/packages/firmware.scm (seabios)[arguments]: Add "V=1" to #:make-flags.
2022-12-17 17:08:50 +01:00
Marius Bakke
287f997489
gnu: SeaBIOS: Update to 1.16.1.
* gnu/packages/firmware.scm (seabios): Update to 1.16.1.
2022-12-17 17:08:50 +01:00
b3beeaa309
gnu: arm-trusted-firmware: Remove blobs in a snippet.
* gnu/packages/firmware.scm (make-arm-trusted-firmware)[source]: Add
snippet to remove binary blobs.
[arguments]: Remove related phase.
2022-11-24 22:22:39 +02:00
255450bed2
gnu: arm-trusted-firmware: Update to 2.8.
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Update to 2.8.
[arguments]: Remove trailing #t from phases. Clean up regexes.
2022-11-24 22:22:38 +02:00
Petr Hodina
ebd651c32a
gnu: fwupd: Move some inputs to propagated-inputs.
* gnu/packages/firmware.scm (fwupd)[propagated-inputs]: Move curl, gcab, glib, gusb,
libarchive, gnutls, json-glib and libjcat here from inputs.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-21 22:01:11 +01:00
Maxim Cournoyer
4d361a6b51
gnu: fwupd: Disable remotes by default.
* gnu/packages/firmware.scm (fwupd)
[configure-flags]: Add "-Dlvfs=disabled".
[phases]{ensure-all-remotes-are-disabled}: New phase.
2022-09-01 16:26:29 -04:00
Petr Hodina
23152ff70f
gnu: Add fwupd.
* gnu/packages/firmware.scm (fwupd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-31 13:04:46 +02:00
Tobias Geerinckx-Rice
5a9c2abf9e
gnu: Remove ‘open source’ from package descriptions.
Also do some (trivial) editing where appropriate.

* gnu/packages/bioconductor.scm (r-anaquin, r-rcppnumerical)
[description]: Remove superfluous ‘open source’.
* gnu/packages/debian.scm (apt-mirror)[description]: Likewise.
Add @acronym{}.  Drop obscure Ubuntu for famous Trisquel.  Reorder.
* gnu/packages/documentation.scm (scrollkeeper)[description]:
Remove superfluous ‘open systems’.  Keep ‘Open Source’ in standard name.
* gnu/packages/engineering.scm (freecad, cura-engine)[description]:
Remove superfluous ‘open source’ and excessive puffery.
* gnu/packages/firmware.scm (make-opensbi-package)
[synopsis]: Remove ‘Open Source’.  Use @acronym{}.
[description]: Fix first sentence to follow guidelines.  Use @acronym{}.
* gnu/packages/game-development.scm (ioquake3, recastnavigation):
[description]: Remove ‘open source’.
* gnu/packages/graphics.scm (skia)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-s-sysdeps)[description]: Likewise.
* gnu/packages/machine-learning.scm (onnx)[description]: Likewise.
Use @acronym{}.
* gnu/packages/ocaml.scm (ocaml-cudf)[description]: Likewise.
2022-08-14 02:00:00 +02:00
Vagrant Cascadian
b7e414982d
gnu: opensbi: Update to 1.1.
* gnu/packages/firmware.scm (make-opensbi-package): Update to 1.1.
2022-06-30 15:39:29 -07:00
Maxim Cournoyer
1589debbd9
gnu: ovmf: Use gexps.
* gnu/packages/firmware.scm (edk2-commit, edk2-version)
(edk2-origin): Delete variables.
(ovmf)[source]: Define here; it's the only user of it so far.
[native-inputs]: Move below arguments.
[phases]: Use gexps.  Delete trailing #t.
{patch-source}: New phase.
{configure}: Use 'invoke' to execute the 'edksetup.sh' script; delete
associated FIXME comment.
(ovmf-aarch64, ovmf-arm): Adjust accordingly.
2022-06-16 21:52:49 -04:00
11590bff50
gnu: make-opensbi-package: Fix native building.
* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: When not
cross-compiling set CC to gcc.
2022-02-07 11:36:04 +02:00
Marius Bakke
a59f4d111d
gnu: arm-trusted-firmware-rk3399: Remove input labels.
* gnu/packages/firmware.scm (arm-trusted-firmware-rk3399)[native-inputs]:
Use (modify-inputs ...).
2022-01-18 19:35:54 +01:00
Marius Bakke
f11578e8d9
gnu: arm-trusted-firmware: Remove input labels.
* gnu/packages/firmware.scm (make-arm-trusted-firmware)[native-inputs]: Remove
labels.
2022-01-18 19:35:54 +01:00
Marius Bakke
0c469c041e
gnu: Add arm-trusted-firmware-imx8mq.
* gnu/packages/firmware.scm (arm-trusted-firmware-imx8mq): New public variable.
2022-01-18 19:35:54 +01:00
Marius Bakke
0c727de7cc
gnu: arm-trusted-firmware: Use the default compiler.
* gnu/packages/firmware.scm (make-arm-trusted-firmware)[native-inputs]: Remove
GCC-9.
2022-01-18 19:35:54 +01:00
Tobias Geerinckx-Rice
e9f210a0d0
gnu: eg25-manager: Update to 0.4.2.
* gnu/packages/firmware.scm (eg25-manager): Update to 0.4.2.
2022-01-09 21:58:34 +01:00
Vagrant Cascadian
036ee2638c
gnu: opensbi: Update URLs.
* gnu/packages/firmware.scm (make-opensbi-package)[source]: Update URL.
  [home-page]: Likewise.
2021-12-30 20:26:51 -08:00
Vagrant Cascadian
62b40b96b5
gnu: opensbi: Update to 1.0.
* gnu/packages/firmware.scm (make-opensbi-package): Update to 1.0.
  (opensbi-generic): New variable.
  (opensbi-qemu-generic, opensbi-sifive-fu540): Remove obsolete variables.
2021-12-30 20:11:03 -08:00
a2e580f498
gnu: make-opensbi-package: Adjust installed files.
* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: Adjust
custom 'install phase to install more files.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2021-12-30 20:10:40 -08:00
Vagrant Cascadian
c189dcd667
gnu: arm-trusted-firmware: Update to 2.6.
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Update to 2.6.
2021-12-30 19:30:48 -08:00