~ruther/guix-local

c4a1d69a — Ludovic Courtès 2 years ago
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’.
f651a359 — Ludovic Courtès 2 years ago
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.
95f21231 — Ludovic Courtès 2 years ago
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.
9d0e2002 — Ludovic Courtès 2 years ago
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.
c7ed1e01 — Ludovic Courtès 2 years ago
git-download: Honor the ‘GUIX_DOWNLOAD_FALLBACK_TEST’ environment variable.

* guix/git-download.scm (git-fetch): Honor ‘%download-fallback-test’.
811b2493 — Ludovic Courtès 2 years ago
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’.
7f3ebd6d — Ludovic Courtès 2 years ago
tests: Adjust ‘guix graph --path’ test to latest Emacs changes.

This is a followup to 3349a50d700a2112a31ac4ce6cc6639d3b4cf1e2.

* tests/guix-graph.sh: Adjust ‘path’.
4d904f2b — Maxim Cournoyer 2 years ago
gnu: imgui: Update to 1.89.9.

* gnu/packages/toolkits.scm (imgui): Update to 1.89.9.
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>
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>
e5f27fdf — Maxim Cournoyer 2 years ago
gnu: glfw: Patch dlopen calls.

* gnu/packages/gl.scm (glfw) [arguments]: Add #:modules and #:phases argument.
[inputs]: New field.
bf946ad5 — Maxim Cournoyer 2 years ago
gnu: imgui: Enable freetype support.

* gnu/packages/toolkits.scm (imgui) [arguments]: Add -DIMGUI_ENABLE_FREETYPE
to make flags.
[inputs]: Add freetype.
219922a6 — Maxim Cournoyer 2 years ago
gnu: capstone: Update to 5.0.1.

* gnu/packages/engineering.scm (capstone): Update to 5.0.1.
cd22a80e — Maxim Cournoyer 2 years ago
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.
b2887da4 — Efraim Flashner 2 years ago
multiqc: Don't propagate inputs.

* gnu/packages/bioinformatics.scm (multiqc)[propagated-inputs]: Move all
packages ...
[inputs]: ... to here.
27ec9eec — Clément Lassieur 2 years ago
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.
fafd3cae — Maxim Cournoyer 2 years ago
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>
713f959d — Maxim Cournoyer 2 years ago
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>
c428246b — Maxim Cournoyer 2 years ago
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
35c1df5b — Maxim Cournoyer 2 years ago
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
Next