me
/
guix
Archived
1
0
Fork 0
Commit Graph

97560 Commits (9cebf247e7eb05b86a092532cdb775e45536f5e0)

Author SHA1 Message Date
Mădălin Ionel Patrașcu a46f753051
gnu: Add r-missforest.
* gnu/packages/cran.scm (r-missforest): New variable.
2023-01-22 08:56:51 +01:00
Mădălin Ionel Patrașcu 63b7039cc1
gnu: Add r-baseline.
* gnu/packages/cran.scm (r-baseline): New variable.
2023-01-22 08:56:50 +01:00
Ricardo Wurmus 3a00c606c1
gnu: Add r-gwidgets2tcltk.
* gnu/packages/cran.scm (r-gwidgets2tcltk): New variable.
2023-01-22 08:56:50 +01:00
Ricardo Wurmus 5e5debf58c
gnu: Add r-gwidgets2.
* gnu/packages/cran.scm (r-gwidgets2): New variable.
2023-01-22 08:56:50 +01:00
Maxim Cournoyer bbc8f4c29e
gnu: cheese: Move bash-minimal from propagated-inputs to inputs.
* gnu/packages/gnome.scm (cheese) [propagated-inputs]: Move bash-minimal to...
[inputs]: ... here.
2023-01-22 00:26:10 -05:00
Maxim Cournoyer 201fb6c63b
gnu: cheese: Wrap GST_PRESET_PATH to find GstVP8Enc.prs.
Before this fix, cheese would complain like so:

   (cheese:15094): cheese-WARNING **: Can't find vp8enc preset: "Profile
   Realtime", using alternate preset: "Cheese Realtime". If you see this, make a
   bug report!

If you've run cheese before, make sure to run "rm -rf
~/.local/share/gstreamer-1.0" to make the fix effective.

* gnu/packages/gnome.scm (cheese) [phases]: Set the GST_PRESET_PATH
environment variable in the wrap phase.
2023-01-22 00:26:10 -05:00
Maxim Cournoyer d10c8f5ef1
gnu: cheese: Sort inputs.
* gnu/packages/gnome.scm (cheese): Sort inputs.
2023-01-22 00:26:06 -05:00
Maxim Cournoyer 1a97e68de9
gnu: cheese: Use gexps.
* gnu/packages/gnome.scm (cheese) [arguments]: Use gexps.
[phases] {wrap-cheese}: Delete extraneous INPUTS binding.
2023-01-21 16:44:43 -05:00
Maxim Cournoyer 895389583b
gnu: cheese: Update to 43.0.
* gnu/packages/gnome.scm (cheese): Update to 43.0.
2023-01-21 16:43:36 -05:00
Simon Tournier ba17b160ed
gnu: Remove reposurgeon.
This package is broken since 2018 and an update requires Go modules.

* gnu/packages/version-control.scm (reposurgeon): Delete variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-21 15:05:35 -05:00
Arun Isaac 900d33527c
gnu: guile2.2-xapian: Replace guile-lib with guile2.2-lib.
* gnu/packages/guile-xyz.scm (guile2.2-xapian)[propagated-inputs]: Replace
guile-lib with guile2.2-lib.
2023-01-21 11:06:20 +00:00
Nicolas Goaziou eb5e0f2865
gnu: emacs-jarchive: Update to 0.10.0.
* gnu/packages/emacs-xyz.scm (emacs-jarchive): Update to 0.10.0.
2023-01-21 00:00:34 +01:00
Nicolas Goaziou 2470de4690
gnu: emacs-inspector: Update to 0.14.
* gnu/packages/emacs-xyz.scm (emacs-inspector): Update to 0.14.
2023-01-21 00:00:33 +01:00
Nicolas Goaziou f8d77c2f8c
gnu: emacs-auctex: Update to 13.1.8.
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 13.1.8.
2023-01-21 00:00:33 +01:00
Nicolas Goaziou ce438bd3a5
gnu: emacs-compat: Update to 29.1.2.0.
* gnu/packages/emacs-xyz.scm (emacs-compat): Update to 29.1.2.0.
2023-01-21 00:00:32 +01:00
Cayetano Santos via Guix-patches via 23c3c747fd
gnu: emacs-biblio: Update to 0.2-1.517ec18.
* gnu/packages/emacs-xyz.scm (emacs-biblio): Update to 0.2-1.517ec18.
[propagated-inputs]: Add EMACS-SEQ.
2023-01-21 00:00:32 +01:00
Cayetano Santos via Guix-patches via 8b9d671c68
gnu: Add emacs-org-board.
* gnu/packages/emacs-xyz.scm (emacs-org-board): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-21 00:00:31 +01:00
Cayetano Santos via Guix-patches via fe47725df1
gnu: emacs-org-present: Update to 0.1-1.4ec04e1.
* gnu/packages/emacs-xyz.scm (emacs-org-present): Update to 0.1-1.4ec04e1.
[propagated-inputs]: Add EMACS-ORG.
[synopsis]: Remove final full stop.
[description]: Improve typography.
[license]: Use GPL3+.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-21 00:00:31 +01:00
Tobias Geerinckx-Rice f00782294a
gnu: libusb-compat: Omit static library.
* gnu/packages/libusb.scm (libusb-compat)[arguments]:
Add --disable-static to #:configure-flags.
2023-01-15 01:00:20 +01:00
Tobias Geerinckx-Rice a2ed30856b
gnu: libusb-compat: Update to 0.1.8.
* gnu/packages/libusb.scm (libusb-compat): Update to 0.1.8.
[native-inputs]: Add autoconf, automake, and libtool.
2023-01-15 01:00:20 +01:00
Tobias Geerinckx-Rice 4b7faf6912
gnu: conntrack-tools: Update to 1.4.7.
* gnu/packages/linux.scm (conntrack-tools): Update to 1.4.7.
2023-01-15 01:00:20 +01:00
Tobias Geerinckx-Rice 4e4ea85c26
gnu: lirc: Remove obsolete trailing #t.
* gnu/packages/lirc.scm (lirc)[arguments]:
Don't explicitly return #t from phases.
2023-01-15 01:00:19 +01:00
Tobias Geerinckx-Rice ec3226c398
gnu: lirc: Update to 0.10.2.
* gnu/packages/lirc.scm (lirc): Update to 0.10.2.
[arguments]: Add a new 'build-reproducibly phase to partially replace…
* gnu/packages/patches/lirc-reproducible-build.patch: …this updated file.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice ea37595a7c
gnu: lirc: Build reproducibly.
* gnu/packages/lirc.scm (lirc)[arguments]: Add a new 'omit-pip-sourceball phase.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice 598e43c9df
gnu: nftables: Update to 1.0.6.
* gnu/packages/linux.scm (nftables): Update to 1.0.6.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice 8a36ec67fc
gnu: fdm: Update to 2.2.
* gnu/packages/mail.scm (fdm): Update to 2.2.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice 0dd03c4c0d
gnu: getmail6: Update to 6.18.11.
* gnu/packages/mail.scm (getmail6): Update to 6.18.11.
2023-01-15 01:00:00 +01:00
Ludovic Courtès cdc76466e4
gnu: guix-jupyter: Remove hard-coded Guile effective version.
* gnu/packages/package-management.scm (guix-jupyter)[arguments]: In
'sed-kernel-json' phase, remove hard-coded "3.0".
2023-01-20 12:17:54 +01:00
Ludovic Courtès ed279c941f
gnu: guix-jupyter: Re-enable parallel tests.
This reverts d09f3f82b8, which turned out
to be unnecessary.

* gnu/packages/package-management.scm (guix-jupyter)[arguments]: Remove
 #:parallel-tests? #f.
2023-01-20 12:17:54 +01:00
Ludovic Courtès 0f15cc49e1
gnu: guix-jupyter: Remove input labels.
* gnu/packages/package-management.scm (guix-jupyter)[inputs]: Remove
labels.
2023-01-20 12:17:54 +01:00
Ludovic Courtès b60f3941b9
gnu: guix-jupyter: Define 'HOME' prior to 'check' phase.
Fixes <https://issues.guix.gnu.org/57077>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages/package-management.scm (guix-jupyter)[arguments]: Add
'define-home' phase.
2023-01-20 12:17:54 +01:00
Navid Afkhami 43b7a033e3
gnu: Add r-tsis.
* gnu/packages/bioinformatics.scm (r-tsis): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-01-20 11:06:43 +01:00
Navid Afkhami ddfe68ebbe
gnu: Add r-doubletcollection.
* gnu/packages/bioinformatics.scm (r-doubletcollection): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-01-20 11:02:37 +01:00
Navid Afkhami 072f605c12
gnu: Add r-scds.
* gnu/packages/bioconductor.scm (r-scds): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-01-20 11:01:31 +01:00
Simon Tournier c31d8adcb0
gnu: Add r-numbat.
* gnu/packages/bioconductor.scm (r-numbat): New variable.
2023-01-20 10:44:28 +01:00
Simon Tournier 2a2165a18e
gnu: Add r-roptim.
* gnu/packages/cran.scm (r-roptim): New variable.
2023-01-20 10:44:28 +01:00
Simon Tournier f145afd16f
gnu: Add r-scistreer.
* gnu/packages/bioconductor.scm (r-scistreer): New variable.
2023-01-20 10:44:27 +01:00
Simon Tournier a7f1a1c0f0
gnu: Add python-vireosnp.
* gnu/packages/bioinformatics.scm (python-vireosnp): New variable.
2023-01-20 10:40:59 +01:00
Arne Babenhauserheide 0d169401cb
gnu: java-logback-classic: Fix build.
* gnu/packages/java.scm (java-logback-classic)[arguments]: Use input name
"java-javaee-servletapi" instead of "servlet".

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-01-20 09:38:44 +01:00
Tobias Geerinckx-Rice da9af8c72f
gnu: dovecot-pigeonhole: Update to 0.5.20.
‘No changes - release done to keep version numbers synced.’

* gnu/packages/mail.scm (dovecot-pigeonhole): Update to 0.5.20.
2023-01-15 01:00:30 +01:00
Tobias Geerinckx-Rice e2d2f516b2
gnu: dovecot: Update to 2.3.20.
* gnu/packages/mail.scm (dovecot): Update to 2.3.20.
2023-01-15 01:00:30 +01:00
Tobias Geerinckx-Rice 1dde14e6d3
gnu: man-pages: Update to 6.02.
* gnu/packages/man.scm (man-pages): Update to 6.02.
2023-01-15 01:00:30 +01:00
Tobias Geerinckx-Rice 060b6ffbb4
gnu: libvterm: Update to 0.3.1.
* gnu/packages/terminals.scm (libvterm): Update to 0.3.1.
2023-01-15 01:00:30 +01:00
Tobias Geerinckx-Rice 3dbf8c1699
gnu: libupnp: Update to 1.14.15.
* gnu/packages/upnp.scm (libupnp): Update to 1.14.15.
2023-01-15 01:00:29 +01:00
Tobias Geerinckx-Rice bc7c609ff5
gnu: diffstat: Update to 1.65.
* gnu/packages/version-control.scm (diffstat): Update to 1.65.
2023-01-15 01:00:29 +01:00
Tobias Geerinckx-Rice 33c03a9d8e
gnu: motion: Update to 4.5.1.
* gnu/packages/video.scm (motion): Update to 4.5.1.
2023-01-15 01:00:29 +01:00
Tobias Geerinckx-Rice a81f89ba39
gnu: lagrange: Update to 1.14.2.
* gnu/packages/web-browsers.scm (lagrange): Update to 1.14.2.
2023-01-15 01:00:29 +01:00
André Batista 4e9cb45da0
gnu: tor: Update to 0.4.7.13 [fixes TROVE-2022-002].
* gnu/packages/tor.scm (tor): Update to 0.4.7.13.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-01-15 01:00:02 +01:00
Tobias Geerinckx-Rice 35955bafc5
gnu: go-github-com-itchyny-gojq: Update to 0.12.11.
* gnu/packages/web.scm (go-github-com-itchyny-gojq): Update to 0.12.11.
2023-01-15 01:00:02 +01:00
Tobias Geerinckx-Rice 92b6f227a0
gnu: nginx-documentation: Update to 1.23.3-2916-178f55cf631a.
* gnu/packages/web.scm (nginx-documentation): Update to 1.23.3-2916-178f55cf631a.
2023-01-15 01:00:02 +01:00
Tobias Geerinckx-Rice 9f5a248fc9
gnu: nginx: Update to 1.23.3.
* gnu/packages/web.scm (nginx): Update to 1.23.3.
2023-01-15 01:00:02 +01:00
Tobias Geerinckx-Rice 9a15bcd949
gnu: berry: Update to 0.1.12.
* gnu/packages/wm.scm (berry): Update to 0.1.12.
2023-01-15 01:00:02 +01:00
Tobias Geerinckx-Rice c580a62059
gnu: arandr: Remove input labels.
* gnu/packages/xdisorg.scm (arandr)[inputs, native-inputs]:
Remove input labels.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice b35c1e5415
gnu: arandr: Truth is obsolete.
* gnu/packages/xdisorg.scm (arandr)[source, arguments]:
Remove trailing #t.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice 0e4afd4c86
gnu: arandr: Update to 0.1.11.
* gnu/packages/xdisorg.scm (arandr): Update to 0.1.11.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice 6569bf924f
gnu: mcelog: Update to 191.
* gnu/packages/linux.scm (mcelog): Update to 191.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice a611b99fe9
gnu: ipset: Update to 7.17.
* gnu/packages/linux.scm (ipset): Update to 7.17.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice d35689f2fc
gnu: mimalloc: Update to 2.0.9.
* gnu/packages/c.scm (mimalloc): Update to 2.0.9.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice 7caa81e0a8
gnu: console-setup: Update to 1.212.
* gnu/packages/xorg.scm (console-setup): Update to 1.212.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice 49f8d936ad
gnu: bolt: Update to 0.9.5.
* gnu/packages/linux.scm (bolt): Update to 0.9.5.
2023-01-15 01:00:01 +01:00
Tobias Geerinckx-Rice 0c29d994fd
gnu: btrfs-progs: Update to 6.1.2.
* gnu/packages/linux.scm (btrfs-progs): Update to 6.1.2.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice c67c31b097
gnu: lesspipe: Update to 2.07.
* gnu/packages/less.scm (lesspipe): Update to 2.07.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice 7c63c11c15
gnu: minisign: Update to 0.11.
* gnu/packages/crypto.scm (minisign): Update to 0.11.
2023-01-15 01:00:00 +01:00
Tobias Geerinckx-Rice b2d0ba2b30
gnu: lightspark: Update to 0.8.6.1.
* gnu/packages/animation.scm (lightspark): Update to 0.8.6.1.
2023-01-15 01:00:00 +01:00
Sughosha 3846ceec4e
gnu: Add petri-foo.
* gnu/packages/music.scm (petri-foo): New public variable.
* gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch
* gnu/local.mk (GNU_SYSTEM_MODULES): Add the new patch file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:50 +01:00
Nicolas Graves f59df2f488
gnu: python-eventlet: Exclude broken test.
* gnu/packages/python-xyz.scm (python-eventlet):
  [arguments] Exclude broken test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:50 +01:00
Nicolas Graves 7a36e8e218
gnu: python-eventlet: Manage broken tests with nosetests.
* gnu/packages/python-xyz.scm (python-eventlet):
  [arguments] Manage broken tests with nosetests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:49 +01:00
Nicolas Graves 8803cb9eb9
gnu: python-gevent: Update to 22.10.2.
* gnu/packages/python-xyz.scm (python-gevent): Update to 22.10.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:49 +01:00
Nicolas Graves bdbe7cbe81
gnu: python-greenlet: Update to 2.0.1.
* gnu/packages/python-xyz.scm (python-greenlet): Update to 2.0.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:49 +01:00
Morgan Smith c5586ceee8
gnu: Fix home-page typos
* gnu/packages/accessibility.scm (espeakup): ttps -> https
* gnu/packages/emacs-xyz.scm (emacs-soap-client): httpa -> https
* gnu/packages/gstreamer.scm (esounds): Remove newline

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:49 +01:00
Morgan Smith 287e282236
gnu: hledger: Install documentation.
* gnu/packages/finance.scm (hledger)[phases]: Add install-doc phase

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:49 +01:00
Vivien Kraus b9d676e0ee
gnu: nettle: Fix mingw cross-compilation.
* gnu/packages/nettle.scm (nettle-2) [move-static-libraries]: .dll.a files are
not static libraries.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-19 17:54:49 +01:00
Ludovic Courtès 88854b1a4e
gnu: gnulib: Refer to "gcc" as provided via implicit package inputs.
Fixes <https://issues.guix.gnu.org/60947>.

Previously, with the #+(file-append gcc "/bin/gcc") reference, the
resulting derivation would end up referring to the grafted GCC when
grafts are enabled, and to the ungrafted one otherwise.  As a result, a
different derivation would be produced depending on whether grafts are
enabled.

* gnu/packages/build-tools.scm (gnulib-checkout)[arguments]: Refer to
"gcc", not #+(file-append gcc "/bin/gcc").
2023-01-19 17:54:49 +01:00
Ludovic Courtès 825c2c5174
gnu: guile-next: Really depend on self.
Previously, when cross-compiling, "self" would point to GUILE-3.0
because it came from (package-native-inputs guile-3.0).

When cross-compiling, ./configure would see a version in 'guile-3.0.pc'
different from its own version and would thus bail out:

  building Guile 3.0.8-1.cabbage but `/gnu/store/…/bin/guile' has version 3.0.7

* gnu/packages/guile.scm (guile-next)[native-inputs]: Replace "self".
2023-01-19 17:54:48 +01:00
Ludovic Courtès 75b7082bdf
gnu: guile-next: Add '.tarball-version' file to get correct version.
So far, "guile --version" and 'guile-3.0.pc' would use "UNKNOWN" as the
version string, making the package unsuitable as a drop-in replacement
for the 'guile-3.0' package.

* gnu/packages/guile.scm (guile-next)[arguments]: Add 'set-version'
phase.
2023-01-19 17:54:48 +01:00
Andrew Tropin 26bb41d6d5
gnu: tdlib: Update to commit with fixed formatted_phone_number test.
The previously used commit was failing against formatted_phone_number test,
the 8ceeb39f5d51b49045b001b04f6f660c04f76698 has a fix for it.  The last
commit containing the fix and passing tdlib's CI was picked.

* gnu/packages/messaging.scm (tdlib): Update to commit with fixed
formatted_phone_number test.
2023-01-19 08:33:44 +04:00
Maxim Cournoyer 6ba3ed13ef
gnu: Add rpi-fbcp.
* gnu/packages/raspberry-pi.scm (rpi-fbcp): New variable.
2023-01-18 21:33:26 -05:00
Maxim Cournoyer 6c11c75702
gnu: Add raspberrypi-userland.
* gnu/packages/raspberry-pi.scm (raspberrypi-userland): New variable.
2023-01-18 21:33:22 -05:00
Maxim Cournoyer 9530ee9f9c
gnu: Add u-boot-ts7970-q-2g-1000mhz-c-bootloader.
* gnu/bootloader/u-boot.scm (u-boot-ts7970-q-2g-1000mhz-c-bootloader): New
variable.
2023-01-18 21:25:25 -05:00
Maxim Cournoyer d393e89d45
gnu: Add u-boot-ts7970-q-2g-1000mhz-c.
* gnu/packages/bootloaders.scm (u-boot-ts-mx6): New variable.
(u-boot-ts7970-q-2g-1000mhz-c): Likewise.
2023-01-18 21:25:17 -05:00
Maxim Cournoyer 6433d49ab7
gnu: Add u-boot-sandbox.
* gnu/packages/bootloaders.scm (u-boot-sandbox): New variable.
2023-01-18 21:11:15 -05:00
Maxim Cournoyer 12f1b5fe4e
gnu: u-boot-puma-rk3399: Use gexps and fix build.
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399)
[arguments]: Use gexps.
[native-inputs]: Turn into...
[inputs]: ... this, and use modify-inputs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:25 -05: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
Maxim Cournoyer ea0d3e1ec4
gnu: u-boot-rockpro64-rk3399: Use gexps and fix build.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)
[phases]: Use gexps.
[native-inputs]: Use modify-inputs and turn into...
[inputs]: ... this.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:25 -05:00
Maxim Cournoyer 4dd0378d47
gnu: u-boot-sifive-unmatched: Use gexps and remove inputs labels.
* gnu/packages/bootloaders.scm (u-boot-sifive-unmatched)
[arguments]: Use gexps.  Use search-input-file.
[inputs]: Remove labels.  Use modify-inputs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:25 -05:00
Maxim Cournoyer e7d82f4722
gnu: u-boot-rock64-rk3328: Use gexps and fix build.
* gnu/packages/bootloaders.scm (u-boot-rock64-rk3328)
[arguments]: Use gexps.
[native-inputs]: Remove input labels and use modify-inputs, and turn into...
[inputs]: ... this.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:25 -05:00
Maxim Cournoyer 126e07a28e
gnu: make-u-boot-sunxi64-package: Use gexps and fix build.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package)
[native-inputs]: Turn into...
[inputs]: ... this.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:24 -05:00
Maxim Cournoyer 3f398ea952
gnu: u-boot-firefly-rk3399: Use gexps and fix build.
* gnu/packages/bootloaders.scm (u-boot-firefly-rk3399) [arguments]: Use gexps.
[native-inputs]: Use modify-inputs and turn into...
[inputs]: ... this.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:24 -05:00
Maxim Cournoyer c9c195936d
gnu: u-boot-pinebook-pro-rk3399: Remove input labels and use gexps.
* gnu/packages/bootloaders.scm (u-boot-pinebook-pro-rk3399) [arguments]:
Remove input labels.
[native-inputs]: Use modify-inputs and turn into...
[inputs]: ... this.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:24 -05:00
Maxim Cournoyer 980abad24d
gnu: make-u-boot-package: Allow disabling cross-compilation.
* gnu/packages/bootloaders.scm (make-u-boot-package): Accept #f for the
TRIPLET argument to disable cross-compilation.  Update doc.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:24 -05:00
Maxim Cournoyer c6a8b1384d
gnu: make-uboot-package: Simplify build.
* gnu/packages/bootloaders.scm (make-u-boot-package) <same-arch?>: Rename
procedure to 'native-build?'.
[native-inputs]: Remove field.
[arguments]: Specify the #:target argument, when not natively building.
Adjust for the above renaming.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:24 -05:00
Maxim Cournoyer 680a768384
gnu: u-boot: Reduce the number of native inputs.
The extra python inputs are only needed for running the u-boot-test-tools test
suite.  This lowers the requirements for cross-building the various u-boot
packages.

* gnu/packages/bootloaders.scm (u-boot) [native-inputs]: Delete bc.
Move python-coverage, python-pycryptodomex and python-pytest to...
* gnu/packages/bootloaders.scm (u-boot-tools) [native-inputs]: ... here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:23 -05:00
Maxim Cournoyer 64e526c374
gnu: make-u-boot-package: Install .imx files.
* gnu/packages/bootloaders.scm
(make-u-boot-package) [phases] <install>: Add imx to the regexp of files
considered for installation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:23 -05:00
Maxim Cournoyer d970d6a04a
gnu: make-u-boot-package: Add a u-boot argument and use gexps.
And have that u-boot argument used as the complete base of the template, so
that a user can override it.

* gnu/packages/bootloaders.scm (make-u-boot-package): New U-BOOT argument.
Document it.
[native-inputs]: Move the native-inputs of U-BOOT first, so that the
cross compilation tools can be overridden via U-BOOT.
[arguments]: Rewrite using substitute-keyword-arguments, extending rather than
overriding most arguments.  Use gexps.  Do not bind OUTPUTS.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 21:04:23 -05:00
Maxim Cournoyer 358ae8e12e
gnu: Remove u-boot-malta.
Relates to <https://issues.guix.gnu.org/60786>.

The mips64el architecture is not currently supported, causing (guix platform)
to raise an exception when attempting to cross-build the package.

* gnu/packages/bootloaders.scm (u-boot-malta): Delete variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 20:53:15 -05:00
Maxim Cournoyer 10e51d6dde
platforms: Raise an exception when no suitable platform is found.
This was motivated by #60786, which produced a cryptic, hard to understand
backtrace.

Given the following reproducer:
    (use-modules (guix packages)
                 (gnu packages cross-base))

    (define linux-libre-headers-cross-mips64el-linux-gnuabi64
      (cross-kernel-headers "mips64el-linux-gnuabi64"))

    (package-arguments linux-libre-headers-cross-mips64el-linux-gnuabi64)

Before this change:
    ice-9/boot-9.scm:1685:16: In procedure raise-exception:
    In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f

After this change:
    ice-9/boot-9.scm:1685:16: In procedure raise-exception:
    ERROR:
      1. &platform-not-found-error: "mips64el-linux-gnuabi64"

* guix/platform.scm (&platform-not-found-error): New condition.
(platform-not-found-error?): New predicate.
(false-if-platform-not-found): New syntax.
(lookup-platform-by-system): Raise an exception when no platform is found.
Update documentation.
(lookup-platform-by-target): Likewise.
(lookup-platform-by-target-or-system): Likewise, and guard lookup calls with
false-if-platform-not-found.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Handle
lookup-platform-by-system call to preserve existing behavior.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-18 20:53:15 -05:00
Leo Famulari 0d200206ca
gnu: linux-libre 4.14: Update to 4.14.303.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.303.
(linux-libre-4.14-pristine-source): Update hash.
2023-01-18 19:37:11 -05:00
Leo Famulari 78e5d14784
gnu: linux-libre 4.19: Update to 4.19.270.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.270.
(linux-libre-4.19-pristine-source): Update hash.
2023-01-18 19:37:11 -05:00
Leo Famulari 165c8b3a8b
gnu: linux-libre 5.4: Update to 5.4.229.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.229.
(linux-libre-5.4-pristine-source): Update hash.
2023-01-18 19:37:11 -05:00
Leo Famulari 581b02d9e6
gnu: linux-libre 5.10: Update to 5.10.164.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.164.
(linux-libre-5.10-pristine-source): Update hash.
2023-01-18 19:37:10 -05:00