Commit graph

125020 commits

Author SHA1 Message Date
Sharlatan Hellseher 815d0c00d5
gnu: python-fitsio: Update to 1.2.0.
* gnu/packages/astronomy.scm (python-fitsio): Update to 1.2.0.
[arguments]{phases}: Swap 'unbundle-cfitsio to 'set-env as there is
support for system CFitsio library provided.
[inputs]: Add zlib.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 8b6d84a81c
gnu: python-crds: Update to 11.17.4.
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.4.
[propagated-inputs]: Remove python-lxml.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 85e1945e13
gnu: python-bayesicfitting: Update to 3.2.0.
* gnu/packages/astronomy.scm (python-bayesicfitting): Update to 3.2.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 0f44e4fe25
gnu: python-sunpy: Enable more tests.
* gnu/packages/astronomy.scm (python-sunpy): Enable tests detecting
python-cdflib metadata. Update annotation for still disabled tests.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 4cef9cb160
gnu: python-cdflib: Fix version detection.
* gnu/packages/astronomy.scm (python-cdflib): Fix version detection
during build Wheel package.
[arguments]: Add new phase 'set-env-version.
[native-inputs]: Add python-setuptools-scm.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 03c7b82cf6
gnu: python-cdflib: Update to 1.1.0.
* gnu/packages/astronomy.scm (python-cdflib): Update to 1.1.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 6e44f200a2
gnu: python-astropy-healpix: Update to 1.0.0.
* gnu/packages/astronomy.scm (python-astropy-healpix): Update to 1.0.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:18 +01:00
Sharlatan Hellseher 9afbbfc8ab
gnu: splash: Update to 3.8.4.
* gnu/packages/astronomy.scm (splash): Update to 3.8.4.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Sharlatan Hellseher baa5222979
gnu: libxisf: Extend description.
* gnu/packages/astronomy.scm (libxisf)[description]: Explain acronym.
Add essential links to the mentioned standard and the service.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Sharlatan Hellseher c8be9fb5aa
gnu: libxisf: Update to 0.2.9.
* gnu/packages/astronomy.scm (libxisf): Update to 0.2.9.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
fanquake 22b4c8d719
gnu: python-coloful: Update to 0.5.5.
* gnu/packages/python-xyz.scm (python-colorful): Update to 0.5.5.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
fanquake 47fe9da5d3
gnu: python-pyotp: Update to 2.9.0.
* gnu/packages/python-crypto.scm (python-pyotp): Update to 2.9.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Parnikkapore 8bc78fc86b
gnu: gajim: Clean up formatting.
* gnu/packages/messaging.scm (gajim): Clean up formatting.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Parnikkapore b0938affbb
gnu: python-nbxmpp: Clean up formatting.
* gnu/packages/messaging.scm (python-nbxmpp): Clean up formatting.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Parnikkapore 79261203fd
gnu: gajim-openpgp: Update to 1.5.0.
* gnu/packages/messaging.scm (gajim-openpgp): Update to 1.5.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Parnikkapore d1412b1fb3
gnu: gajim-omemo: Update to 2.9.0.
* gnu/packages/messaging.scm (gajim-omemo): Update to 2.9.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Parnikkapore e99e0e0816
gnu: gajim: Update to 1.7.3.
* gnu/packages/messaging.scm (gajim): Update to 1.7.3.
[arguments]: Switch to "python -m build".  To use pyproject-build-system,
support for backend-path is needed.  Add metadata build and install phase.
Switch to "python -m unittest" as test method, following upstream
recommendation.  Generate gdk-pixbuf cache and include result in wrapper.
Allows Gajim to run in pure environments.
[native-search-paths]: Update.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Parnikkapore 9d7daaf10f
gnu: python-nbxmpp: Update to 4.2.2.
Gajim will not build at this commit.

* gnu/packages/messaging.scm (python-nbxmpp): Update to 4.2.2.
[arguments]: Specify "python -m unittest" as test method.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:14 +01:00
Clément Lassieur 2c9009f9fe
gnu: transmission: Fix loading icons in pure environments.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Add a 'wrap-program'
phase that sets GDK_PIXBUF_MODULE_FILE.
2023-09-27 13:03:45 +02:00
Tobias Geerinckx-Rice 15fdeaeb2d
gnu: alex4: Remove non-free package.
Its readme.txt goes out of its way to licence only ‘source code’ under
the GPL2+, a reading supposedly confirmed by the author:

https://libregamewiki.org/Talk:Alex_the_Allegator_4

However, we don't need to rely on the authenticity of that claim: the
game data is clearly not licenced, and is required to run the binary.
Without it, the game segfaults.

* gnu/packages/games.scm (alex4): Remove variable.

Fixes <https://issues.guix.gnu.org/65881>.
2023-09-24 02:00:00 +02:00
Maxim Cournoyer 06dc36ffb7
doc: Update bug-reference configuration snippet.
* doc/contributing.texi (The Perfect Setup)
<Viewing Bugs within Emacs>: Properly quote Elisp functions.  Add 'require'
directives.  Set BUG-REFERENCE-URL-FORMAT so the configuration is
self-contained.

Suggested-by: Mekeor Melire <mekeor@posteo.de>
2023-09-26 14:06:04 -04:00
Ludovic Courtès ba21eeb565
tests: Assume ‘git’ is always available.
* tests/channels.scm (gpg+git-available?): Check for ‘gpg-command’
only.
Remove all ‘test-skip’ statements.
* tests/derivations.scm: Likewise.
* tests/git-authenticate.scm: Likewise.
* tests/git.scm: Likewise.
* tests/import-git.scm: Likewise.
2023-09-26 17:36:59 +02:00
Ludovic Courtès 13b0cf85eb
git-download: Use “builtin:git-download” when available.
Fixes <https://issues.guix.gnu.org/63331>.

Longer-term this will remove Git from the derivation graph when its sole
use is to perform a checkout for a fixed-output derivation, thereby
breaking dependency cycles that can arise in these situations.

* guix/git-download.scm (git-fetch): Rename to…
(git-fetch/in-band): … this.  Deal with GIT or GUILE being #f.
(git-fetch/built-in, built-in-builders*, git-fetch): New procedures.
* tests/builders.scm ("git-fetch, file URI"): New test.
2023-09-26 17:36:58 +02:00
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