Commit graph

134978 commits

Author SHA1 Message Date
Ludovic Courtès
f594d1bb80
doc: Expound on ‘guix-home-service-type’.
* doc/guix.texi (Guix Home Service): Reword intro.  Tweak example to be
closer to reality.
(Declaring the Home Environment): Link to ‘guix-home-service-type’.
(Invoking guix home): Likewise.

Change-Id: I0355a6da9b9a28818eb0738854381671a6a1f652
2024-04-17 12:13:03 +02:00
Richard Sent
59bb53823e
services: Add the Guix Home service.
This patch adds a Guix Home service, which allows for configuring/deploying an
operating-system declaration with an associated home-environment.

* gnu/services/guix.scm: Add guix-home-service and guix-home-shepherd-service
* gnu/home/services/shepherd.scm: Don't attempt to launch user shepherd when
the system shepherd runs guix-home-<user>
* doc/guix.texi: Add documentation for guix-home-service
* gnu/tests/guix.scm: Add a test to verify guix-home-service-type is able to
activate a home environment

Change-Id: Ifbcc0878d934aa4abe34bb2123b5081fb432aa8e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:03 +02:00
Jean-Pierre De Jesus DIAZ
9f8e92cc7d
gnu: ath9k-htc-firmware: Split package.
* gnu/local.mk (dist_patch_DATA): Remove ath9k-htc-firmware-objcopy.patch.
* gnu/packages/firmware.scm (ath9k-htc-firmware): Remove.
(ath9k-htc-ar7010-firmware, ath9k-htc-ar9271-firmware): New variables.
* gnu/packages/patches/ath9k-htc-firmware-objcopy.patch: Delete file.
* gnu/system.scm (%base-firmware): Use new ath9k packages.

Change-Id: I86259e398427abd139c1f310a95bb15e2c03cee3
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
4c88ffdb65
gnu: cross-binutils: Use binutils-2.33 for ath9k.
* gnu/packages/cross-base.scm (cross-binutils-package): New procedure.
* gnu/packages/cross-base.scm (cross-binutils): Select binutils default
value with cross-binutils-package.
* gnu/packages/firmware.scm (ath9k-htc-firmware) <native-inputs>: Do not
explicitly set the #:xbinutils keyword argument.

Change-Id: I0eb25eb2b494241c205286837bfa79a61de8e0b7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
f97f5312cc
gnu: ath9k-htc-firmware: Use xtensa-ath9k-elf.
* gnu/packages/firmware.scm (ath9k-htc-firmware): Use the
xtensa-ath9k-elf target for the cross toolchain.

Change-Id: Ic1a7c4088312290a86a508f371f4f0e784e301a5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
c3aba93823
gnu: ath9k-htc-firmware: Allow using other targets.
* gnu/packages/firmware.scm (ath9k-htc-firmware): Override the TARGET
environment variable in the configure script to use xtensa-elf.
* gnu/packages/patches/ath9k-htc-firmware-objcopy.patch: Adapt to use
TARGET environment variable for objcopy.

Change-Id: Ia44f0f25dde532b90168f2f2456412a43ac9af24
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
af181ac5d1
gnu: ath9k-htc-firmware: Remove binary blobs.
* gnu/packages/firmware.scm (ath9k-htc-firmware) <source>: Add snippet
to remove bundled binary files.

Change-Id: I2f0592d03039ff9d5a5f3a79b0c62566164f3762
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
9a60894156
guix: Add xtensa-ath9k-elf platform.
* Makefile.am (MODULES): Add guix/platforms/xtensa.scm.
* guix/platforms/xtensa.scm (xtensa-ath9k-elf): New variable.
* doc/guix.texi: Add xtensa-ath9k-elf documentation.

Change-Id: I51eef245142ed58613340c16d4bf7266e6bf6adb
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
9d5356dbc3
doc: Add documentation for x86_64-linux-gnux32.
* doc/guix.texi: Add documentation for x86_64-linux-gnux32.

Change-Id: I408d57ae5ae3e9b1449633b82c41aba0d40ded06
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Giacomo Leidi
320f28390f
import: github: Recognize more URLs.
Fixes <https://issues.guix.gnu.org/66396>.

This allows more packages to be refreshed, such as launchmon, love,
retux, preseq, edgar, antlr3, and runc.

* guix/import/github.scm (updated-github-url)[updated-url]: Add
additional heuristics to Github url updater.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I6409b3f61872a954f53480afd63b307d16d0b9c0
2024-04-17 12:13:01 +02:00
Yuval Langer
c872b3bc39
gnu: Add guile-rsv.
* gnu/packages/guile-xyz.scm (guile-rsv): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Idede9ef290db92c95ea29f8ad35c9e3a9cdbfa62
2024-04-17 12:13:01 +02:00
Ludovic Courtès
9f1ef20114
linux-initrd: Gracefully handle lack of “modules.builtin” file.
Fixes a regression introduced in
8f8ec56052, whereby passing a “fake”
kernel package would no longer work.

Fixes <https://issues.guix.gnu.org/70239>.

* gnu/system/linux-initrd.scm (flat-linux-module-directory)[build-exp]:
Gracefully handle lack of “modules.builtin” file.

Reported-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I3acf48123b20f0b6a3b9cc0bf22f76cec3e64361
2024-04-17 12:13:01 +02:00
Ludovic Courtès
d33965908d
vm: Always use a native emulator in ‘guix system vm’.
Suggested by Zheng Junjie <zhengjunjie@iscas.ac.cn>.

* gnu/system/vm.scm (system-qemu-image/shared-store-script)[qemu-exec]:
Wrap first element in ‘with-parameters’.

Change-Id: Iab9905aaa7e80bad0372c1ee7c3ea88a89564f8f
2024-04-17 12:13:01 +02:00
John Kehayias
b47ae1ecc4
gnu: make-gcc-toolchain: Add gcc:lib.
* gnu/packages/commencement.scm (make-gcc-toolchain)[inputs]: Add gcc:lib.

Change-Id: I327a2403d5d14dd545981e8e9dbfd7df24c9357e
2024-04-16 21:06:57 -04:00
Simon Tournier
24b82ad3aa
gnu: gcc-toolchain: Do not use gcc-final.
* gnu/packages/commencement.scm (gcc-toolchain): Bind to the default
gcc-toolchain-11 being consitent with others.
(gcc-toolchain-11): Make it from gcc-11.
(gcc-toolchain-aka-gcc): Bind to gcc-toolchain.
2024-04-16 21:06:54 -04:00
John Kehayias
2d5736cc3e
Merge branch 'mesa-updates'
Key updates:
cairo 1.16.0 -> 1.18.0
libdrm 2.4.117 -> 2.4.120
mesa 23.3.2 -> 24.0.3
sdl2 2.28.5 -> 2.30.1
vulkan packages 1.3.231.1 -> 1.3.280.0
openexr 3.1.3 -> 3.2.4

Change-Id: Iece081158251d1d5836f6b264ba232dc751c9fe2
2024-04-16 20:58:06 -04:00
Janneke Nieuwenhuizen
dbfb691c5b
maint: Use "ustar" format for tarball again.
This is a follow-up to commit
    b0c33b1997
    maint: Use reproducible timestamps and name for tarball.

* Makefile.am (am__tar): Add --format=ustar.

Change-Id: I1e499c413703105704f49a84868ec10de69846fb
2024-04-17 00:06:09 +02:00
Tom Willemse
f073cea41b
gnu: emacs-nginx-mode: Update to 1.1.10.
* gnu/packages/emacs-xyz.scm (emacs-nginx-mode): Update to 1.1.10.

Change-Id: I72010506d3590ffd15b6e30ba32995f49d3262d3
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:50:10 +01:00
Christopher Baines
99e7a93d57
gnu: Add comment to the bottom of version-control.scm.
This will hopefully discourage patches which add new packages to the bottom of
files, as this increases the likelihood of conflicts when applying patches.

If there are more specific ways that packages should be arranged in specific
modules, this message can be updated accordingly.

* gnu/packages/version-control.scm: Add comment at end of file.

Change-Id: I3d20a6fd957d9cfee9d7b4a4c7979c4202a0fe3a
2024-04-16 22:50:06 +01:00
Ashish SHUKLA
a45b2c7c63
gnu: Add fnc.
* gnu/packages/version-control.scm (fnc): New variable.

Change-Id: Idf1cb254c3ae18bacb86bf020511a5d34e2d3684
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:45:30 +01:00
Vinicius Monego
b0fbb70521
gnu: Add python-verde.
* gnu/packages/geo.scm (python-verde): New variable.

Change-Id: I0d176a05a993b19224d22489dd3a8eca19e4f2e0
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:34:48 +01:00
Giacomo Leidi
e5e8b4e52d
gnu: Add brillo.
* gnu/packages/hardware.scm (brillo): New variable.

Change-Id: Ic66118b9b792b0bc81bbeffb72236953da0f0772
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:34:05 +01:00
Timotej Lazar
0ffd6d2582
gnu: Add qmmp.
* gnu/packages/music.scm (qmmp): New variable.

Change-Id: Id5548eaeb73904120473397cac74ef7a5f10ecec
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:26:42 +01:00
Andy Tai
7bead512e2
gnu: fltk: Update to 1.3.9.
* gnu/packages/fltk.scm (fltk): Update to 1.3.9.

Change-Id: Ic766550a4f15a147d8079ebecf0c59152aefa9f0
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:25:23 +01:00
Nicolas Graves via Guix-patches via
6a6dde5058
gnu: Add latexml.
* gnu/packages/markup.scm (latexml): New variable.

Reviewed-by: Steve George <steve@futurile.net>

Change-Id: If7199a8b74b990ad29718adcb905a5ed31882cf5
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:20:40 +01:00
Nicolas Graves via Guix-patches via
6feab2a48c
gnu: Add perl-image-size.
* gnu/packages/perl.scm (perl-image-size): New variable.

Change-Id: Ib2b11b74451b156c4380b91334ae37032e6bb6fd
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:20:38 +01:00
Mark H Weaver
969c970f38
gnu: icecat: Update to 115.10.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2024-2609, CVE-2024-3302, CVE-2024-3852,
CVE-2024-3854, CVE-2024-3857, CVE-2024-3859, CVE-2024-3861,
CVE-2024-3863, and CVE-2024-3864.

* gnu/packages/gnuzilla.scm (%icecat-base-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2024-04-16 17:01:12 -04:00
Ricardo Wurmus
921b270a44
gnu: Add prosody-cloud-notify.
* gnu/packages/messaging.scm (prosody-cloud-notify): New variable.

Change-Id: I55edcb3605fae922980163de2d29926798619624
2024-04-16 18:31:07 +02:00
Wilko Meyer
6cdb34ba90
gnu: linux-libre 4.19: Update to 4.19.312.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.312.
(linux-libre-4.19-pristine-source): Update hash.

Change-Id: I626f133eea8c23177322e242d3ccc4bfa2589baa
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:23 -04:00
Wilko Meyer
a4cc1bbf88
gnu: linux-libre 5.4: Update to 5.4.274.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.274.
(linux-libre-5.4-pristine-source): Update hash.

Change-Id: Ibc854c5a98ad71f26cef4e403b6fc0bfa2c7c1c3
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:23 -04:00
Wilko Meyer
f14f08acb5
gnu: linux-libre 5.10: Update to 5.10.215.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.215.
(linux-libre-5.10-pristine-source): Update hash.

Change-Id: Icd2173d13b527f3c7ec0f80cd22a6c8aa4ead4e5
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:22 -04:00
Wilko Meyer
d977c1160d
gnu: linux-libre 5.15: Update to 5.15.155.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.155.
(linux-libre-5.15-pristine-source): Update hashes.

Change-Id: I0c83483f92e37b598313d70e408cce38d84fd5b1
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:22 -04:00
Wilko Meyer
467583fab5
gnu: linux-libre 6.1: Update to 6.1.86.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.86.
(linux-libre-6.1-pristine-source, deblob-scripts-6.1): Update hashes.

Change-Id: Icecabfdcd8b8c76ef62aa679b4eec015869a2134
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:22 -04:00
Wilko Meyer
b6966b3978
gnu: linux-libre 6.6: Update to 6.6.27.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.27.
(linux-libre-6.6-pristine-source, deblob-scripts-6.6): Update hashes.

Change-Id: I0f21abb95d5d80bde56a1d3ad0faf4ab5fabb67f
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:22 -04:00
Wilko Meyer
6a90eccc2b
gnu: linux-libre 6.8: Update to 6.8.6.
* gnu/packages/linux.scm (linux-libre-6.8-version): Update to 6.8.6.
(linux-libre-6.8-pristine-source, deblob-scripts-6.8): Update hashes.

Change-Id: Iddefd4ac7704e80df13ceadf4935c2670a40061d
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-16 11:20:14 -04:00
Ricardo Wurmus
dbc4587fb1
gnu: Add prosody-muc-offline-delivery.
* gnu/packages/messaging.scm (prosody-muc-offline-delivery): New variable.

Change-Id: I145ea713e5b12aef5f700669fe2ffc1e017322d2
2024-04-16 12:00:53 +02:00
Ricardo Wurmus
e9393087fc
gnu: Add prosody-cloud-notify-priority-tag.
* gnu/packages/messaging.scm (prosody-cloud-notify-priority-tag): New variable.

Change-Id: I22dc032112bf537058405ef0d8f42f371502a5ea
2024-04-16 12:00:48 +02:00
Ricardo Wurmus
46ba40de97
gnu: Add prosody-cloud-notify-filters.
* gnu/packages/messaging.scm (prosody-cloud-notify-filters): New variable.

Change-Id: I3c0ea90cb44aa9f623573de98f7d79b46c696232
2024-04-16 12:00:43 +02:00
Ricardo Wurmus
582bb94637
gnu: Add prosody-cloud-notify-encrypted.
* gnu/packages/messaging.scm (prosody-cloud-notify-encrypted): New variable.

Change-Id: Ibe2c6525865ffce54191d806f0e184c814000993
2024-04-16 12:00:35 +02:00
Ricardo Wurmus
e2ec85d17d
gnu: lua-cqueues: Update to 20200726.
* gnu/packages/lua.scm (lua-cqueues): Update to 20200726.
[source]: Fetch from git repository.
[arguments]: Use G-expressions; disable two tests that need LuaJIT's ffi
module.

Change-Id: I969a9f173339d22e57fd6a5e4689889c0268c52d
2024-04-16 11:59:34 +02:00
Ricardo Wurmus
9374b0fe52
gnu: lua-ossl: Update to 20220711.
* gnu/packages/lua.scm (lua-ossl): Update to 20220711.
[source]: Fetch from git repository.
[arguments]: Use G-expressions; disable two tests.
[description]: Reflow paragraph.

Change-Id: I2640cba886362635ee4ddedd020a06b433e46e5b
2024-04-16 11:58:33 +02:00
Ricardo Wurmus
29c9ae9162
gnu: prosody-module: Update to changeset 66e7d46b1d4b.
* gnu/packages/messaging.scm (prosody-module): Update to changeset
66e7d46b1d4b.

Change-Id: Ia06e1a111e3117e7315b43c2be7ed4776ae26ac4
2024-04-16 10:29:55 +02:00
Ricardo Wurmus
4d67912265
gnu: ksoloti-runtime: Update to 1.0.12-8.
* gnu/packages/axoloti.scm (ksoloti-runtime): Update to 1.0.12-8.
[arguments]: Remove obsolete patch to Makefiles.
[inputs]: Replace dfu-util-for-axoloti with dfu-util.

Change-Id: I57c78d32d2616909ca7b9a98392655c76df5eb27
2024-04-16 00:49:34 +02:00
Ludovic Courtès
8a74bb8030
Autoload (gcrypt hash).
* guix/derivations.scm: Autoload (guix utils) and (gcrypt hash).
* guix/git.scm, guix/store.scm: Autoload (gcrypt hash).

Change-Id: I6145231d41c61f2d8c36e28f29e91074910bdd15
2024-04-15 22:36:42 +02:00
Ludovic Courtès
ee975926ec
Autoload (guix build syscalls).
* guix/discovery.scm, guix/git.scm, guix/nar.scm,
guix/scripts.scm, guix/scripts/build.scm: Autoload (guix build syscalls).
* guix/packages.scm: Autoload (guix build utils).

Change-Id: Ia7703b5f46e55fbfadff63b13c35bfe097ce2220
2024-04-15 22:36:42 +02:00
Ludovic Courtès
657107cb90
ui: Delay use of (guix build syscalls).
This ensures (guix build syscalls) is loaded only when needed.

* guix/ui.scm (%text-width): Unconditionally alias ‘*line-width*’.
Remove initialization.
<top level>: Remove code for Guile < 2.2.7.
(package->recutils): Change default #:width to (terminal-columns).

Change-Id: I990a1b5b0f20a6243e47e314d1d3d4f8298b7151
2024-04-15 22:36:42 +02:00
Ludovic Courtès
44de6d3990
guix: Delay loading of (gnutls).
(web …) modules pull in (gnutls) indirectly.  Arrange to load them
lazily, thereby reducing I/O and allocations when GnuTLS is not needed
such as when running ‘guix describe’ or ‘guix shell’ on a cache hit.

* guix/download.scm: Autoload (web uri).
* guix/scripts/describe.scm: Likewise.
* guix/store.scm: Likewise.
(%default-substitute-urls): Remove ‘resolve-interface’ call and use
https URLs unconditionally.

Change-Id: Ide470c556a14866e8740966d25821df487a79859
2024-04-15 22:36:42 +02:00
Ludovic Courtès
54be7795b5
utils: Don’t re-export ‘call-with-temporary-output-file’.
* guix/utils.scm: Remove re-export of ‘call-with-temporary-output-file’.
Autoload a number of modules.
* guix/download.scm, guix/import/hackage.scm,
guix/import/hexpm.scm, guix/import/opam.scm,
guix/import/pypi.scm, tests/cpio.scm, tests/egg.scm,
tests/opam.scm, tests/publish.scm, tests/store-database.scm,
tests/utils.scm: Adjust imports accordingly.

Change-Id: I3f5e94631397996a30be2ea4ff8b50a3371e8ee7
2024-04-15 22:36:42 +02:00
Ludovic Courtès
6dc238f261
guix system: Autoload some more.
* guix/scripts/system.scm: Autoload more modules.

Change-Id: I665857109bbfd1e3755135daacc01affcb3eb2eb
2024-04-15 22:36:42 +02:00
Ludovic Courtès
276e658943
channels: Autoload (git …) modules.
Autoloading Guile-Git is important in cases where (guix channels) is
used for little more than the <channel> definition.  This is the case,
for example, of ‘guix describe’ or ‘guix shell’.

This reduces from 177 to 121 the number of .go files loaded when
running:

  ./pre-inst-env strace -e openat -o /tmp/log.strace \
     guix describe -p /var/guix/profiles/per-user/$USER/current-guix
  grep 'openat.*\.go.* = [0-9]' < /tmp/log.strace |wc -l

Likewise, it reduces the max RSS (as measured by ‘time -f %M guix
describe -p …’) from 54 to 37 MiB.

* guix/channels.scm: Autoload (git …) modules.

Change-Id: Ia58a99c865bf0f6fe461a1e71390d075e760f8d6
2024-04-15 22:36:42 +02:00