Commit graph

137134 commits

Author SHA1 Message Date
Richard Sent
579df5bc80
services: base: Add optional delayed mount of file-systems
Add a mechanism to only require mounting a subset of file-system entries
during early Shepherd initialization. Any file-system with additional Shepherd
service requirements (e.g. networking) is not required to provision
'file-systems.

* gnu/services/base.scm (file-system-shepherd-service): Splice
file-system-requirements into the Shepherd service requirement list.
(file-system-shepherd-services): Provision 'file-system only when file system
services without additional Shepherd requirements are started.
* gnu/system/file-systems.scm (file-system): Add shepherd-requirements field
to the file-system record. This field is used for adding additional Shepherd
requirements to a file-system Shepherd service.
* doc/guix.texi: Add documentation for file-system shepherd-requirements.

Change-Id: If0392db03d48e8820aa53df1df482c12ec72e1a5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-04 12:08:34 +02:00
Leo Famulari
5d3edff1a6
gnu: linux-libre: Update to 6.9.
* gnu/packages/linux.scm (linux-libre-version, linux-libre-gnu-revision,
linux-libre-pristine-source, linux-libre-source, linux-libre): Update to 6.9.

Change-Id: I7383faceaf4679802047752088533e5deaa0d7f1
2024-06-03 20:06:28 -04:00
Wilko Meyer
2004636a73
gnu: linux-libre 6.8: Update to 6.8.12.
* gnu/packages/linux.scm (linux-libre-6.8-version): Update to 6.8.12.
(linux-libre-6.9-pristine-source): Update hash.

Change-Id: I6237530adf58773e0cccb647494c0f981b2c2f40
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-06-03 20:06:25 -04:00
Ludovic Courtès
85ac164c41
services: nscd: Enable ‘passwd’ and ‘group’ caches by default.
This allows users to specify NSS plugins such as LDAP via the
‘name-services’ field of <nscd-configuration>.  Failing that, user code
will dlopen whatever passwd/group plugins are listed in
/etc/nsswitch.conf, which is likely to fail, typically because those are
not in $LD_LIBRARY_PATH.

* gnu/services/base.scm (%nscd-default-caches): Add ‘passwd’ and ‘group’
caches.

Change-Id: I9c03346a1de2710685f7801eccd2e08007427f5d
2024-06-03 23:00:10 +02:00
Artyom Bologov
53db1ed94e
gnu: guile-gsl: Update to 0.0.1-2.d33de92.
* gnu/packages/guile-xyz.scm (guile-gsl): Update to 0.0.1-2.d33de92.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03 22:58:53 +02:00
Herman Rimm
510ad5d93c
import: utils: End package descriptions with period.
* guix/import/utils.scm (beautify-description): Append period to last
words which do not end with one.
* tests/crate.scm: Append period to descriptions.
* tests/elm.scm: Append period to descriptions.
* tests/gem.scm: Append period to descriptions.
* tests/hexpm.scm: Append period to descriptions.
* tests/minetest.scm: Append period to descriptions.
* tests/pypi.scm: Append period to descriptions.
* tests/import-utils.scm ("beautify-description: transform fragment into
sentence"): Likewise.

Change-Id: I0b12c4d94cb26cf62fab5b7cbf7885e66ff6c10f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03 22:58:53 +02:00
Herman Rimm
e62fd9004b
import: crate: Include a main verb in crate importer descriptions.
* guix/import/crate.scm (make-crate-sexp): Start description with
'This package provides '.
* tests/crate.scm: Set descriptions to "This package provides summary".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: If0f47a68f986b9e878fd5caa3e365c5ad863089a
2024-06-03 22:58:53 +02:00
Herman Rimm
1fa2b64ded
import: crate: Beautify crate importer synopses.
* guix/import/crate.scm (make-crate-sexp): Use beautify-synopsis.

Change-Id: I4e30e043d34da7a3c355e098f155c0c75b619063
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03 22:58:53 +02:00
Ludovic Courtès
e8ab4ccaa7
style: Fix conversion of ‘unquote-splicing’ by ‘-S arguments’.
* guix/scripts/style.scm (unquote->ungexp): Add missing comma for
‘ungexp-splicing’.
* tests/style.scm ("gexpify arguments, substitute-keyword-arguments +
unquote-splicing"): New test.

Change-Id: I17dcdd9b4812d54ddba1137e369360706b137bb4
2024-06-03 22:58:52 +02:00
Arun Isaac
2f56845b33
gnu: mumi: Update to 0.2.0.
* gnu/packages/mail.scm (mumi): Update to 0.2.0.

Change-Id: I312edaf870ecaa114f828086fd9807aa549fb84d
2024-06-03 19:40:48 +01:00
Liliana Marie Prikler
ad7505d16f
gnu: gtk: Fix build on i686-linux.
* gnu/packages/gtk.scm (gtk)[#:phases]<patch>: Add section dedicated to
failures on i686-linux.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-03 19:56:30 +02:00
Liliana Marie Prikler
2c6b046227
gnu: gnome-builder: Fix build.
* gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add ‘patch-source’.
2024-06-03 19:56:30 +02:00
Liliana Marie Prikler
682d5f4ac0
gnu: qemu: Disable more tests.
* gnu/packages/virtualization.scm (qemu)[disable-unusable-tests]: Also disable
qtest/ahci-test and qemu-iotests/copy-before-write.
2024-06-03 19:56:29 +02:00
Liliana Marie Prikler
9a481e0504
gnu: qtbase: Ignore tst_qsqlthread.
* gnu/packages/qt.scm (qtbase)[check]: Add “tst_qsqlthread” to the list of
ignored tests.
2024-06-03 19:56:29 +02:00
Liliana Marie Prikler
a06e59a677
gnu: gst-plugins-bad: Ignore elements_netsim test.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[adjust-tests]: Add
“elements/netsim.c” to the list of ignored test files.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-03 19:56:29 +02:00
Liliana Marie Prikler
d2ef6ab0ad
gnu: wpewebkit: Update to 2.44.1.
* gnu/packages/webkit.scm (wpewebkit): Update to 2.44.1.
2024-06-03 19:56:29 +02:00
Liliana Marie Prikler
5105b07d47
gnu: webkitgtk: Update to 2.44.1.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.44.1.
[#:configure-flags]: Add “-DUSE_LIBBACKTRACE=OFF”.
[#:phases]: Refer to $prefix/share/doc
instead of the now unused $prefix/share/gtk-doc.
(webkitgtk-for-gtk3)[#:configure-flags]: Add 0“-DUSE_GTK4=OFF”.
Retain “-DENABLE_INTROSPECTION=ON”.
2024-06-03 19:56:29 +02:00
Liliana Marie Prikler
6b09647bab
gnu: gtk: Update to 4.14.2.
* gnu/packages/gtk.scm (gtk): Update to 4.14.2.
[#:phases]<patch>: Disable new test failures.
[inputs]: Add shaderc.
2024-06-03 19:56:29 +02:00
Vivien Kraus
be9c02ae6a
gnu: vala: Update to 0.56.16.
* gnu/packages/gnome.scm (vala): Update to 0.56.16.

Change-Id: Ia5c0c608642d4505efef52d882a51bb83c3dd539
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-06-03 19:56:29 +02:00
Vivien Kraus
2e641645e2
gnu: gtkmm@3: Update to 3.24.9.
* gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.9.

Change-Id: I63e4cf6d040ff7d147965d5320ab818ff553456b
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-06-03 19:56:29 +02:00
Guillaume Le Vaillant
879fc9b3f0
gnu: cl-cf: Update to 1.0-4.0186b2a.
* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-4.0186b2a.

Change-Id: I8dd52856fcbe70205751ece561c0261aa04881e2
2024-06-03 17:02:20 +02:00
Andre A. Gomes
ca7cce471a
gnu: nyxt: Update to 3.11.7.
* gnu/packages/web-browsers.scm (nyxt): Update to 3.11.7.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-06-03 16:57:47 +02:00
Andre A. Gomes
78ecc653b8
gnu: cl-quri: Update to 0.7.0-0.03ecaf3.
* gnu/packages/lisp-xyz.scm (sbcl-quri): Update to 0.7.0-0.03ecaf3.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I688d5d696ac88eff16fa806c4dab747b58653201
2024-06-03 16:57:02 +02:00
Efraim Flashner
1615084a9a
gnu: spirv-llvm-translator: Rewrite using g-exps.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Rewrite
using g-expressions.

Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
2024-06-03 11:07:34 +03:00
Efraim Flashner
865920e01e
gnu: spirv-llvm-translator: Skip tests on most platforms.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Only run
tests when not cross-compiling and for x86_64-linux.

Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
2024-06-03 11:06:23 +03:00
Efraim Flashner
2dfe45e12e
gnu: spirv-llvm-translator: Build shared library.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Adjust
configure-flags to link the executable to the shared library location
and enable building the shared libraries.

Change-Id: I0f44e1562957fb7e6c2e6f7a10dceed8f32ca7ce
2024-06-03 08:21:54 +03:00
Florian Pelz
834a419524
nls: Update translations.
* po/doc/guix-cookbook.sv.po: New file.
* po/doc/local.mk: Add 'sv' cookbook.
* po/doc/po4a.cfg (po4a_langs): Add 'sv'.
* doc/local.mk: Add 'sv' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Add 'sv'.
* doc/guix-cookbook.texi (Top): Mention 'sv' cookbook.

Change-Id: Ibfeb7254f583f1c8827e8c2756bbb02880bcba46
2024-06-03 00:27:12 +02:00
gemmaro
368e58afcb
self: Use po4a instead of po4a-translate.
* guix/self.scm (translate-tmp-texi): Use po4a instead of po4a-translate.
This eliminates the po4a-translate warning; "po4a-translate is deprecated.
The unified po4a(1) program is more convenient and less error prone."

Change-Id: Id85c7478b1b237f31010994fcd2d38765993c1ad
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro
f65bd477b0
build: Use the po4a command for the translation generation.
* configure.ac (Documentation translation): Remove the po4a-translate command.
This command has been replaced by the po4a command and are not used from
anywhere.
* doc/local.mk ($(srcdir)/%D%/guix.%.texi, $(srcdir)/%D%/guix-cookbook.%.texi)
($(srcdir)/%D%/contributing.%.texi): Use the po4a command instead of the
po4a-translate for the translation generation.  This eliminates the warning of
po4a-translate; "po4a-translate is deprecated.  The unified po4a(1) program is
more convenient and less error prone."
(PO4A_PARAMS): Remove the Texinfo format option.  This option is specified in
the configuration file (po/doc/po4a.cfg).
(dummy_pot): Add a variable for the temporary POT file location.

Change-Id: I542b934c3c03b8701e9f86823191224f8b0ccf81
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro
2d4af52470
build: Update the POT creation task with the po4a command.
* configure.ac (Documentation translation): Add the po4a program and remove
the po4a-updatepo program.  The PO4A defined here can be used in
Makefiles (e.g. po/doc/local.mk below).  The po4a command integrates the
functionality of po4a-updatepo and is currently recommended for use [1].  The
po4a-updatepo command has been replaced by the po4a command and are not used
from anywhere.
* po/doc/local.mk (%D%/%.pot): Use a po4a command instead of the po4a-updatepo
for the POT generation.  This eliminates the warning of po4a-updatepo;
"po4a-updatepo is deprecated.  The unified po4a(1) program is more convenient
and less error prone."  Here, the file paths are passed using variables.  This
is because the po4a command needs to be executed for each language and each
file.  Dummy values are passed for those that are not needed to update the POT
file.
* po/doc/po4a.cfg: Add a po4a config file for the POT generation.  The po4a
command requires a configulation file.

[1] https://po4a.org/man/man7/po4a.7.php.en#lbAS

Change-Id: Ica39a0d1f77b6a64d37c592ac2e693319443d3c5
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro
77c79bf5da
build: Align the Automake status lines of the po4a and the PO xref.
* Makefile.am (AM_V_PO4A_0, AM_V_POXREF_0): Align the Automake status lines of
the po4a and the PO xref, since the common width is 10 characters.

Change-Id: Ic8c32f73294ba6e4ca71ab4aa889a558e4d7fcee
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
Florian Pelz
5c4742663b
doc: cookbook: Fix direnv example.
When replacing `guix environment' with `guix shell',
I forgot to add a `--development' argument.

Follow-up to 9c3a8a380b.

* doc/guix-cookbook.texi (Environment management)
[Guix environment via direnv]: Fix example.

Change-Id: I0a0df33b3b547bfc3ada10c4648e593be6608070
2024-06-03 00:27:11 +02:00
Picnoir
2e53fa5346
gnu: Add nsncd.
* gnu/packages/nss.scm (nsncd): New variable. Introducing Nsncd, a non-caching
alternative of Glibc Nscd.

Change-Id: I18ba7ffbb6fb59c4928829bb98a8da4e6963e587
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:26 +02:00
Picnoir
31b39cee2c
gnu: Add rust-slog-async-2-8.
* gnu/packages/crates-io.scm (rust-slog-async-2-8): New variable. Required by
Nsncd.

Change-Id: I9f1a6041c92760b481acc30c0bddd28330b98b2c
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir
78f09fb7c4
gnu: Add rust-temp-env-0.3.
* gnu/packages/crates-io.scm (rust-temp-env-0.3): New variable. Required by
Nsncd.

Change-Id: I0cf5084339b889aa6fdaeeeca7b6be2ffcdcb48c
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir
abfef465b2
gnu: Add rust-dns-lookup-2.
* gnu/packages/crates-io.scm (rust-dns-lookup-2): New variable. Required by
Nsncd.

Change-Id: I66a8488c93cc0c119417270db93733424a791069
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir
aed9a0e96e
gnu: Add rust-nix-0.28.
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable. Required by Nsncd.

Change-Id: I51964d3be9cfb5e78b727a1a9e400fb61e57321f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir
2c2ec117c7
gnu: Add rust-libc-0.2.153.
* gnu/packages/crates-io.scm (rust-libc-0.2.153): New variable. Required by
rust-nix 0.18.

Change-Id: I95c6663b0262f3e893c38ed51c34176144e4f750
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Ludovic Courtès
0362b504aa
gnu: knot: Remove input labels.
* gnu/packages/dns.scm (knot)[inputs]: Remove labels.

Change-Id: I03be6db350b939f8a17c8a2e572dda62b16b48af
2024-06-02 20:52:25 +02:00
Ludovic Courtès
162015abc0
gnu: knot: Build against libbpf 0.8.
Commit 12d2a6e5a6 introduced a regression
whereby ./configure would error out for lack of libxdp.

* gnu/packages/dns.scm (knot)[inputs]: Replace LIBBPF with LIBBPF-0.8.

Change-Id: Ifeeacc27705d4d617ee0c58672f22d5f9de06389
2024-06-02 20:52:25 +02:00
Ludovic Courtès
5245e081fc
gnu: libbpf: Reintroduce 0.8.1.
This version was removed in 12d2a6e5a6.

* gnu/packages/linux.scm (libbpf-0.8): New variable.

Change-Id: I99a323667ce86671caf3fc0227379fbba073c0a1
2024-06-02 20:52:24 +02:00
Suhail Singh
c9f00f04c6
gnu: emacs-org: Update to 9.6.30.
* gnu/packages/emacs-xyz.scm (emacs-org): Update to 9.6.30.

Change-Id: I3049798cce9d903c4bee14c930d7862872bb8774
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:24 +02:00
Ludovic Courtès
20e7b89218
services: darkstat: Depend on ‘user-processes’.
* gnu/services/monitoring.scm (darkstat-shepherd-service): Add
‘user-processes’ to ‘requirement’.

Change-Id: I6abaefd88c6075a0379e5867838653765dfaa08e
2024-06-02 20:52:24 +02:00
Ludovic Courtès
3298ec0200
services: avahi: Use socket activation and log to stderr.
* gnu/services/avahi.scm (avahi-shepherd-service): Change to systemd
style.  Remove ‘--daemonize’ option and #:pid-file.  Add #:lazy-start?
and #:log-file.

Change-Id: I1915243f057ff3bbe281f46f17826f24b124f659
2024-06-02 20:52:24 +02:00
Ludovic Courtès
b9b0f0a995
services: dbus: Log to stderr rather than syslog.
* gnu/services/dbus.scm (dbus-shepherd-service): Remove ‘--syslog-only’
option and pass #:log-file unconditionally.

Change-Id: I9e42f241e08b95ff01e9ad69551bc2c7ce869d6d
2024-06-02 20:52:24 +02:00
Ludovic Courtès
49e9c9ec3e
services: tor: Log to stderr rather than syslog.
* gnu/services/networking.scm (tor-configuration->torrc): Change ‘Log’
directive to ‘stderr’.
(tor-shepherd-service): Remove /dev/log file system mapping.

Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0
2024-06-02 20:52:24 +02:00
Ludovic Courtès
8f0878da8d
services: nscd: ‘log-file’ defaults to #f.
* gnu/services/base.scm (<nscd-configuration>)[log-file]: Default to #f.
* doc/guix.texi (Base Services): Clarify documentation.

Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4
2024-06-02 20:52:24 +02:00
Oleg Pykhalov
bc06affabc
services: nix: Fix activation.
This commit follows 797be0ea5c.

Reported by kiasoc5 <kiasoc5@disroot.org> at
<https://lists.gnu.org/archive/html/help-guix/2024-05/msg00185.html>.

* gnu/services/nix.scm (nix-activation): Avoid provisioning the store if it
already exists.

Change-Id: I159e8af5d7bd6ce62857b356d6e9ac68fe16acf4
2024-06-02 18:04:34 +03:00
Andrew Tropin
eac5171246
Revert "services: home: Use pairs instead of lists."
This reverts commit dbeef44f3c.

Despite the more semantically correct data type, it doesn't follow the style
of the most services and also breaks user-facing API.

Change-Id: Ib4ef4e9cd2f53ac853a5b7c7c90e57c35c99a5ea
2024-06-02 15:06:16 +04:00
Ludovic Courtès
d82e36591e
gnu: cuirass: Update to Update to e4b4206.
* gnu/packages/ci.scm (cuirass): Update to e4b4206.

Change-Id: I8265b24e716c1941ee48c0aa33b0569dc6e269ba
2024-06-02 12:05:10 +02:00