Commit graph

107890 commits

Author SHA1 Message Date
Maxim Cournoyer 8221cb6d2a
doc: Fix typo.
* doc/guix.texi (Cross-Compilation): Replace "penaly" with "penalty".
Replace "few users" with "fewer users".
2023-01-18 21:40:07 -05: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
Leo Famulari 3340ef47ff
gnu: linux-libre 5.15: Update to 5.15.89.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.89.
(linux-libre-5.15-pristine-source): Update hash.
2023-01-18 19:37:10 -05:00
Leo Famulari a2da19d798
gnu: linux-libre: Update to 6.1.7.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.7.
(linux-libre-6.1-pristine-source): Update hash.
2023-01-18 19:37:03 -05:00
Leo Famulari a43f3e0697
gnu: Syncthing: Update to 1.23.0.
* gnu/packages/syncthing.scm (syncthing): Update to 1.23.0.
[arguments]: Build with Go 1.19.
2023-01-18 17:30:42 -05:00
Mădălin Ionel Patrașcu fda2d75d8d
gnu: Add r-breakpointr.
* gnu/packages/bioconductor.scm (r-breakpointr): New variable.
2023-01-18 22:43:58 +01:00
Mădălin Ionel Patrașcu 4f7ef3f528
gnu: Add r-breakpointrdata.
* gnu/packages/bioconductor.scm (r-breakpointrdata): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-01-18 22:43:58 +01:00
Tobias Geerinckx-Rice f088763356
gnu: sudo: Update to 1.9.12p2 [fixes CVE-2023-22809].
* gnu/packages/admin.scm (sudo): Update to 1.9.12p2.
2023-01-15 01:00:00 +01:00
David Thompson 323d868ceb
gnu: git-annex: Patch 'git-annex webapp' to use hardcoded lsof.
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Substitute "lsof" in
'patch-webapp' phase.
[inputs]: Add lsof.
2023-01-18 09:21:12 -05:00
Guillaume Le Vaillant 8bf8b59101
gnu: qdmr: Update to 0.11.1.
* gnu/packages/radio.scm (qdmr): Update to 0.11.1.
2023-01-18 15:19:54 +01:00
Guillaume Le Vaillant de0b9cc531
gnu: Add gr-dsd.
* gnu/packages/radio.scm (gr-dsd): New variable.
2023-01-18 15:19:54 +01:00
Andrew Tropin a43c524252
gnu: qtwayland: Fix crashes from excessive number of frame callbacks.
QWaylandWindow::handleUpdate could create thousands of pending frame
callbacks, causing compositor to terminate client connection.
https://bugreports.qt.io/browse/QTBUG-81504

* gnu/packages/patches/qtwayland-dont-recreate-callbacks.patch: New file.
* gnu/packages/patches/qtwayland-cleanup-callbacks.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/qt.scm (qtwayland)[source](patches): Add patches.
2023-01-18 17:48:01 +04:00
Tobias Geerinckx-Rice ae071e21f3
gnu: gdcm: Fix recursive Git source hash.
The hash being used covered only the gdcm repository, not the gdcmdata
submodule.

* gnu/packages/bioinformatics.scm (gdcm)[source]: Update hash.

Reported by civodul in #guix.
2023-01-15 01:00:00 +01:00
Greg Hogan e4db832a0e
gnu: openjdk: Update to 19.
* gnu/packages/java.scm (openjdk): Update to 19.
(openjdk19): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-01-18 11:51:55 +02:00
Tobias Geerinckx-Rice 51f8a7aced
gnu: git: Update to 2.39.1 [fixes CVE-2022-41903 & CVE-2022-23521].
* gnu/packages/version-control.scm (git): Update to 2.39.1.

Reported by HexMachina in #guix.
2023-01-15 01:00:08 +01:00
Sergey Trofimov ecda67a577
gnu: openmw: Use ffmpeg-4.
I've noticed, that openmw is not playable as it hangs on clicking any
menu item.  It seems the issue is known and fixed upstream, but a new
version is not released yet.

* gnu/packages/game-development.scm (openmw)[inputs]: Replace FFMPEG
with FFMEG-4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:21 +01:00
Hilton Chain 8d4c893ab5
gnu: Add bees.
* gnu/packages/patches/bees-beesd-honor-destdir-on-installation.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/file-systems.scm (bees): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:21 +01:00
florhizome f2deb6c18a
gnu: Add swaynotificationcenter
* gnu/packages/wm.scm (swaynotificationcenter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:21 +01:00
dan 37916ba175
gnu: Add raylib.
* gnu/packages/game-development.scm (raylib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:21 +01:00
Timotej Lazar 1df9ec6feb
gnu: cifs-utils: Update to 7.0 [fixes CVE-2022-27239].
* gnu/packages/samba.scm (cifs-utils): Update to 7.0.
[arguments]: Use new style. Drop unneeded phase 'install-man-pages.
[inputs]: Drop labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:21 +01:00
Tor-björn Claesson 2bdbd962e3
gnu: gdcm: Update to 3.0.20.
* gnu/packages/bioinformatics.scm (gdcm): Update to 3.0.20.
[home-page, license]: Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-17 16:05:20 +01:00
Ludovic Courtès c4a8762e52
debug-link: Protect against dangling symlinks.
Fixes <https://issues.guix.gnu.org/60584>.
Reported by Greg Hogan <code@greghogan.com>
and Sébastien Rey-Coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr>.

* guix/build/debug-link.scm (find-elf-files): Wrap 'elf-file?' call in 'catch'.
2023-01-17 16:05:20 +01:00
Ludovic Courtès 79b11cafcf
doc: Use the right cross-reference command.
* doc/guix.texi (Package Transformation Options): Use @pxref, not @ref.
2023-01-17 16:05:20 +01:00
Mark H Weaver 306737c679
gnu: icecat: Update to 102.7.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2022-46871, CVE-2022-46877, CVE-2023-23598,
CVE-2023-23599, CVE-2023-23601, CVE-2023-23602, CVE-2023-23603, and
CVE-2023-23605.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2023-01-17 10:01:41 -05:00
Sharlatan Hellseher 1428e20284
gnu: Add cl-classimp.
* gnu/packages/lisp-xyz.scm (cl-classimp, ecl-classimp, sbcl-classimp): New
  variables.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2023-01-17 15:04:49 +01:00
Sharlatan Hellseher 6393f01ab0
gnu: Add assimp-5.0.
* gnu/packages/graphics.scm (assimp-5.0): New variable.
2023-01-17 14:39:06 +01:00
Andrew Tropin 29efa2791d
gnu: emacs-telega-server: Use tdlib instead of tdlib-1.8.0.
* gnu/packages/emacs-xyz.scm (emacs-telega-server): Use tdlib instead of
tdlib-1.8.0.
2023-01-17 14:46:01 +04:00