me
/
guix
Archived
1
0
Fork 0
Commit Graph

124997 Commits (c4a1d69a6966aea71114c1aba0eab161139ff6fe)

Author SHA1 Message Date
Ludovic Courtès c4a1d69a69
perform-download: Use the ‘git’ command captured at configure time.
* guix/scripts/perform-download.scm (perform-git-download): Pass #:git-command
to ‘git-fetch-with-fallback’.
2023-09-26 17:36:58 +02:00
Ludovic Courtès f651a35969
build: Add dependency on Git.
* configure.ac: Check for ‘git’ and substitute ‘GIT’.
* guix/config.scm.in (%git): New variable.
* guix/self.scm (compiled-guix): Define ‘git’ and pass it to
‘make-config.scm’.
(make-config.scm): Add #:git; emit a ‘%git’ variable.
* doc/guix.texi (Requirements): Add it.
2023-09-26 17:36:58 +02:00
Ludovic Courtès 95f2123135
daemon: Add “git-download” built-in builder.
The new builder makes it possible to break cycles that occurs when the
fixed-output derivation for the source of a dependency of ‘git’ would
itself depend on ‘git’.

* guix/scripts/perform-download.scm (perform-git-download): New
procedure.
(perform-download): Move fixed-output derivation check to…
(guix-perform-download): … here.  Invoke ‘perform-download’ or
‘perform-git-download’ depending on what ‘derivation-builder’ returns.
* nix/libstore/builtins.cc (builtins): Add “git-download”.
* tests/derivations.scm ("built-in-builders"): Update.
("'git-download' built-in builder")
("'git-download' built-in builder, invalid hash")
("'git-download' built-in builder, invalid commit")
("'git-download' built-in builder, not found"): New tests.
2023-09-26 17:36:58 +02:00
Ludovic Courtès 9d0e2002a5
perform-download: Remove unused one-argument clause.
Code in ‘builtins.cc’ only ever invokes ‘guix perform-download’ with two
arguments.

* guix/scripts/perform-download.scm (guix-perform-download): Remove
unused one-argument clause.
(perform-download): Make ‘output’ parameter mandatory; remove ‘output*’
variable.
2023-09-26 17:36:58 +02:00
Ludovic Courtès c7ed1e0160
git-download: Honor the ‘GUIX_DOWNLOAD_FALLBACK_TEST’ environment variable.
* guix/git-download.scm (git-fetch): Honor ‘%download-fallback-test’.
2023-09-26 17:36:58 +02:00
Ludovic Courtès 811b249397
git-download: Move fallback code to (guix build git).
* guix/build/git.scm (git-fetch-with-fallback): New procedure, with code
taken from…
* guix/git-download.scm (git-fetch): … here.
[modules]: Remove modules that are no longer directly used in ‘build’.
[build]: Use ‘git-fetch-with-fallback’.
2023-09-26 17:36:57 +02:00
Ludovic Courtès 7f3ebd6dbc
tests: Adjust ‘guix graph --path’ test to latest Emacs changes.
This is a followup to 3349a50d70.

* tests/guix-graph.sh: Adjust ‘path’.
2023-09-26 17:36:57 +02:00
Maxim Cournoyer 4d904f2b16
gnu: imgui: Update to 1.89.9.
* gnu/packages/toolkits.scm (imgui): Update to 1.89.9.
2023-09-26 11:30:52 -04:00
dan 031784f9f9
gnu: Add tracy.
* gnu/packages/profiling.scm (tracy): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-26 11:30:52 -04:00
dan bdce0646ae
gnu: Add tracy-wayland.
* gnu/packages/profiling.scm (tracy-wayland): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-26 11:30:52 -04:00
Maxim Cournoyer e5f27fdfb3
gnu: glfw: Patch dlopen calls.
* gnu/packages/gl.scm (glfw) [arguments]: Add #:modules and #:phases argument.
[inputs]: New field.
2023-09-26 11:30:51 -04:00
Maxim Cournoyer bf946ad591
gnu: imgui: Enable freetype support.
* gnu/packages/toolkits.scm (imgui) [arguments]: Add -DIMGUI_ENABLE_FREETYPE
to make flags.
[inputs]: Add freetype.
2023-09-26 11:30:51 -04:00
Maxim Cournoyer 219922a694
gnu: capstone: Update to 5.0.1.
* gnu/packages/engineering.scm (capstone): Update to 5.0.1.
2023-09-26 11:30:51 -04:00
Maxim Cournoyer cd22a80e43
gnu: gtypist: Install the gtypist-mode Emacs major mode.
* gnu/packages/games.scm (gtypist) [source]: Delete trailing #t in snippet.
[native-inputs]: Add emacs-minimal.
2023-09-26 11:30:51 -04:00
Efraim Flashner b2887da40c
multiqc: Don't propagate inputs.
* gnu/packages/bioinformatics.scm (multiqc)[propagated-inputs]: Move all
packages ...
[inputs]: ... to here.
2023-09-26 13:36:02 +03:00
Clément Lassieur 27ec9eeceb
gnu: transmission: Restore HTML files in the default output.
This fixes transmission-daemon.

* gnu/packages/bittorrent.scm (transmission)[arguments]: remove "transmission"
directory from the 'move-gui' procedure.
2023-09-26 11:08:33 +02:00
Maxim Cournoyer fafd3caef0
gnu: aalib: Really build the shared library on powerpc64le-linux.
Fixes <https://issues.guix.gnu.org/57134>.

The old build scripts were buggy and causing a static library to be produced
instead, which would fail to be linked by gst-plugins-good.

* gnu/packages/video.scm (aalib) [native-inputs]: Remove labels.
[arguments]: Use gexps.
<configure-flags>: New argument.
<phases>: Remove update-config-scripts and configure override.
Add force-autoreconf.

Reported-by: Marcel van der Boom <marcel@van-der-boom.nl>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-25 13:45:58 -04:00
Maxim Cournoyer 713f959d49
gnu: edk2-tools: Update to 202308.
* gnu/packages/firmware.scm (edk2-tools): Update to 202308.
[arguments] <make-flags>: Add CC.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-25 13:43:52 -04:00
Maxim Cournoyer c428246bcd
doc: Add new 'Circular Module Dependencies' section.
* doc/contributing.texi (Circular Module Dependencies): New subsection.

Series-version: 2
Series-to: 65860@debbugs.gnu.org
Patch-cc: mhw@netris.org
Cover-letter:
Resolve a circular module dependencies in embedded modules
This series is the culmination of at least a day of effort tracking down the
source of a module dependency cycle (!).  The last commit adds some guidelines
in the hope to avoid a repeat (perhaps 'lint' could be taught to
automate these checks).
END
2023-09-25 10:33:04 -04:00
Maxim Cournoyer 35c1df5bd6
gnu: embedded: Turn packages using top-level variables into procedures.
Fixes <https://issues.guix.gnu.org/65716>.

Before this change, simply adding the following import:

  modified   gnu/packages/firmware.scm
  @@ -42,6 +42,7 @@ (define-module (gnu packages firmware)
     #:use-module (gnu packages admin)
     #:use-module (gnu packages autotools)
     #:use-module (gnu packages assembly)
  +  #:use-module (gnu packages avr)
     #:use-module (gnu packages backup)
     #:use-module (gnu packages base)
     #:use-module (gnu packages bash)

Would cause byte compilation and/or evaluation to fail due to a circular
module dependency.

* gnu/packages/embedded.scm: Add commentary.
(gcc-arm-none-eabi-4.9, gcc-arm-none-eabi-6, newlib-arm-none-eabi)
(newlib-nano-arm-none-eabi, gcc-arm-none-eabi-7-2018-q2-update)
(newlib-arm-none-eabi-7-2018-q2-update)
(newlib-nano-arm-none-eabi-7-2018-q2-update)
(arm-none-eabi-toolchain-4.9, arm-none-eabi-nano-toolchain-4.9)
(arm-none-eabi-toolchain-6, arm-none-eabi-nano-toolchain-6)
(arm-none-eabi-toolchain-7-2018-q2-update, gdb-arm-none-eabi)
(propeller-binutils, propeller-gcc-6, propeller-gcc-4)
(propeller-gcc, propeller-toolchain, propeller-development-suite)
(gcc-vc4): Turn into procedures, prefixing the procedure name with 'make-',
and adjust all users.
(make-libstdc++-arm-none-eabi) [arguments]: Avoid an unused warning.
(arm-none-eabi-toolchain):  Rename to...
(make-arm-none-eabi-toolchain): ... this.
* gnu/packages/raspberry-pi.scm (raspi-arm-chainloader) [native-inputs]:
Replace gcc-arm-none-eabi-6 with (make-arm-none-eabi-toolchain).
* gnu/packages/axoloti.scm (axoloti-runtime)
[inputs]: Replace arm-none-eabi-nano-toolchain-4.9
with (make-arm-none-eabi-nano-toolchain-4.9).
(axoloti-patcher): Likewise.
(axoloti-patcher-next) [inputs]: Replace
arm-none-eabi-nano-toolchain-7-2018-q2-update
with (make-arm-none-eabi-nano-toolchain-7-2018-q2-update).

Series-changes: 2
- Use mlambda for procedures
2023-09-25 10:33:04 -04:00
Maxim Cournoyer d35bc00cc1
gnu: avr: Delay all cross compilation packages.
Partially addresses <https://issues.guix.gnu.org/65716>.

* gnu/packages/avr.scm: Add commentary comment.
(avr-binutils): Turn into this...
(make-avr-binutils): ... procedure.
(avr-gcc): Likewise, into...
(make-avr-gcc): ... this.  Adjust native-inputs accordingly.
(avr-toolchain): Likewise, into...
(make-avr-toolchain): ... this.
* gnu/packages/avr-xyz.scm (simavr) [propagated-inputs]: replace avr-toolchain
with a call to the 'make-avr-toolchain' procedure.

Series-changes: 2
- Use mlambda for procedures
- Fix ((make-avr-toolchain)) typo
2023-09-25 10:33:04 -04:00
Guillaume Le Vaillant 1d872a6705
gnu: Add satdump.
* gnu/packages/radio.scm (satdump): New variable.
2023-09-25 15:51:09 +02:00
Guillaume Le Vaillant 3ac33b9c67
gnu: nng: Update to 1.5.2.
* gnu/packages/networking.scm (nng): Update to 1.5.2.
  [inputs, native-inputs]: Remove labels.
  [arguments]: Update 'disable-failing-tests' phase.
2023-09-25 15:51:09 +02:00
Guillaume Le Vaillant 223ce59a98
gnu: sdrangel: Update to 7.16.0.
* gnu/packages/radio.scm (sdrangel): Update to 7.16.0.
  [inputs]: Add qtgamepad.
  [arguments]: Add 'fix-unrecognized-compiled-option' phase.
2023-09-25 15:51:09 +02:00
Arne Babenhauserheide a965ff448d
gnu: wine and wine64: Update to 8.16
* gnu/packages/wine.scm (wine-minimal): Update to 8.16.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Simon South 8ffbcfbe3f
gnu: stcgal: Update to 1.10.
* gnu/packages/embedded.scm (stcgal): Update to 1.10.
[source]: Update comment; remove obsolete snippet.
[description]: Update.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Simon South 9239c82246
gnu: sigrok-firmware-fx2lafw: Update to 0.1.7-1.96b0b47.
This brings in eight commits[0] that improve the software in small ways, most
importantly allowing it to build with the latest version of SDCC, 4.3.0
(patches to follow).  Note the project's last formal release was in 2019.

[0] http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=shortlog;h=96b0b47

* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw): Update to
0.1.7-1.96b0b47.
[source]: Switch to git-fetch.
[native-inputs]: Add autoconf, automake.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Simon South b2779b9f5c
gnu: sigrok-firmware-fx2lafw: Explicitly disable tests.
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw)[arguments]: Add
with #:tests?.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Simon South 4c44f6f08d
gnu: sigrok-firmware-fx2lafw: Adjust format.
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw): Move build-system
above native-inputs.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Simon South 5c154cf2f0
gnu: sigrok-firmware-fx2lafw: Remove input labels.
* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw)[native-inputs]:
Remove input labels.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Simon South 47087b86c4
gnu: sigrok-firmware-fx2lafw: Rely on implicit inputs.
This effectively reverts commit 79f0bd7, "gnu: sigrok-firmware-fx2lafw: Fix
build."

* gnu/packages/electronics.scm (sigrok-firmware-fx2lafw)[arguments]: Remove
with #:implicit-inputs?.
[native-inputs]: Remove all but sdcc.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Timotej Lazar 7902ea508a
gnu: bemenu: Update to 0.6.16.
* gnu/packages/xdisorg.scm (bemenu): Update to 0.6.16.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Timotej Lazar e0269ad9ca
gnu: jq: Update to 1.7.
* gnu/packages/web.scm (jq): Update to 1.7.
[home-page]: Update URL.
[source]: Simplify snippet.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:03 +01:00
Ahmad Draidi a5477e3a82
gnu: bcachefs-tools: Restyle format.
* gnu/packages/file-systems.scm (bcachefs-tools): Reformat with 'guix style'
and manually break some long lines.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Ahmad Draidi 7efa17af88
gnu: bcachefs-tools: Update to 1.2.
* gnu/packages/file-systems.scm (bcachefs-tools): Update to 1.2.
[source]: Use version instead of commit.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Hendursaga 7a563a4faf
gnu: muchsync: Update to 7.
* gnu/packages/mail.scm (muchsync): Update to 7.
[source]: Use https.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Timotej Lazar 4aa2c04395
gnu: freerdp: Update to 2.11.1.
* gnu/packages/rdesktop.scm (freerdp): Update to 2.11.1.
[inputs]: Add pcsc-lite.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Timotej Lazar bee40b70dc
gnu: syncthing: Update to 1.24.0.
* gnu/packages/syncthing.scm (syncthing): Update to 1.24.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Timotej Lazar 3ef3203ee1
gnu: dos2unix: Update to 7.5.1.
* gnu/packages/textutils.scm (dos2unix): Update to 7.5.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Denis 'GNUtoo' Carikli d953a1e5d6
gnu: kiwix-desktop: Update to 2.3.1.
* gnu/packages/web.scm (kiwix-desktop): Update to 2.3.1.
* gnu/packages/patches/kiwix-desktop-newer-libkiwix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Denis 'GNUtoo' Carikli 3fef73ed03
gnu: kiwix-tools: Update to 3.5.0.
* gnu/packages/web.scm (kiwix-tools): Update to 3.5.0.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Denis 'GNUtoo' Carikli 084de73474
gnu: kiwix-lib: Update to 13.0.0.
* gnu/packages/web.scm (kiwix-lib): Update to 13.0.0.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Denis 'GNUtoo' Carikli 46dc5977bc
gnu: libzim: Update to 8.2.1.
* gnu/packages/web.scm  (libzim): Update to 8.2.1.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:02 +01:00
Andy Tai 37ffb0f195
gnu: icewm: Update to 3.4.2.
* gnu/packages/wm.scm (icewm): Update to 3.4.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:01 +01:00
Andy Tai 2987a4993f
gnu: xnedit: Update to 1.5.1.
* gnu/packages/text-editors.scm (xnedit): Update to 1.5.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-25 11:30:01 +01:00
Christopher Baines ce22a756d0
gnu: guile-fibers: Remove version from latest package.
As I think this makes more sense, the version is only specified when you need
a specific previous release.

* gnu/packages/guile-xyz.scm (guile-fibers): Rename to guile-fibers-1.0.
(guile-fibers-1.3): Rename to guile-fibers.
(guile-fibers-1.1): Inherit from guile-fibers.
* gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: Replace
guile-fibers-1.3 with guile-fibers.
* gnu/packages/ci.scm (cuirass)[inputs]: Likewise.
* gnu/packages/gnunet.scm (gnunet-scheme)[propagated-inputs,native-inputs]:
Likewise.
* gnu/packages/package-management.scm (guix-build-coordinator)
[inputs,propagated-inputs]: Likewise.
* gnu/packages/package-management.scm (nar-herder)[inputs,propagated-inputs]:
Likewise.
* gnu/packages/web.scm (guix-data-service)[propagated-inputs]: Likewise.
2023-09-25 11:30:01 +01:00
Simon Tournier 94f3831e5b
git: Restore 'false-if-git-not-found' in 'reference-available?'.
* guix/git/scm (reference-available?): Add 'false-if-git-not-found' for the
case 'commit.
2023-09-25 12:00:18 +02:00
Ricardo Wurmus be5bec47f7
gnu: opencv: Add descriptors for xfeatures2d.
* gnu/packages/image-processing.scm (opencv)[native-inputs]: Add boost and vgg
descriptors.
[arguments]: Place descriptor files in expected locations; do not disable
xfeatures2d feature.
2023-09-24 19:32:12 +02:00
Mădălin Ionel Patrașcu e134686cea
gnu: python-pygenometracks: Remove syntax error in setup.py.
* gnu/packages/bioinformatics.scm (python-pygenometracks)[arguments]:
Add phase remove-invalid-syntax.
2023-09-24 13:50:55 +02:00
Ricardo Wurmus 670fc6ee50
etc/committer: Speed up surrounding-sexp.
The old surrounding-sexp procedure would read all S-expressions from the
beginning of the file up to the given line number and then return the last
encountered S-expression.  This is quite wasteful.  Instead we can record all
lines that begin with an S-expression and jump straight to the offset closest
to the desired line number to read the S-expression there.

* etc/committer.scm.in (lines+offsets-with-opening-parens): New procedure.
(surrounding-sexp): Use it.
2023-09-24 13:49:53 +02:00