Commit graph

125599 commits

Author SHA1 Message Date
Vivien Kraus
c2c29eb1b4
services: udev: Rewrite udev-rule to use file->udev-rule.
* gnu/services/base.scm (udev-rule): Use file->udev-rule.
2023-10-10 21:59:24 +02:00
Vivien Kraus
cde1becfab
gnu: eudev: Update to 3.2.14.
Eudev now has a hardware database /etc/udev/hwdb.bin made up of descriptions
installed in the /lib/udev/hwdb.d directory of each package, and more
generally, UDEV_HWDB_PATH.  This database index is compiled with udevadm hwdb
--update.  The udev-service-type collects the files and compiles the index.
Previously, the hardware description files provided by eudev would be compiled
into $prefix/etc/udev/hwdb.bin in the eudev output.

* gnu/packages/linux.scm (eudev): Update to 3.2.14.
[modules]: Import (guix build utils).
[#:phases] <allow-eudev-hwdb>: New phase.
<install-in-lib>: New phase.
<build-hwdb>: Remove phase.
[#:configure-flags]: Set sysconfdir to avoid a prefix.
[native-search-paths]: Add UDEV_HWDB_PATH.
* gnu/packages/patches/eudev-rules-directory.patch: Rebase it.
2023-10-10 21:59:24 +02:00
Vivien Kraus
d6462be6a8
gnu: gnome-control-center: Update to 44.3.
Some previous fixes have been merged upstream. The gnome version is now read
from a dbus service, and passwd is already searched in /run/setuid-programs.

In order to let the tests run, we use the same tests environment as
gnome-shell.

* gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. Apply
gnome-control-center-firmware-security.patch.
[#:phases]<patch-paths>: Adjust accordingly.
<skip-gtk-update-icon-cache>: Adjust accordingly.
<check>: Override the check phase to run under dbus.
[native-inputs]: Add setxkbmap.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-09 21:54:16 +02:00
Vivien Kraus
3066ad29cc
gnu: gnome-control-center: Add gnome-control-center-firmware-security.patch.
This patch disables the firmware panel for future gnome-control-center
versions.

* gnu/packages/patches/gnome-control-center-firmware-security.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-09 21:54:16 +02:00
Vivien Kraus
6c2a6033b4
gnu: dbus-service: Make the session bus available under /run/dbus.
According to https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3101, glib
now searches for the session bus socket in runstatedir. The dbus service must
thus have its socket in /run/dbus.

For interoperability with the dbus standard, /run/dbus is also symlinked to
/var/run/dbus.

* gnu/services/dbus.scm (dbus-activation): Symlink /run/dbus to /var/run/dbus.
(%dbus-accounts): Run dbus in /run/dbus.
(dbus-root-service-type): Save the pid file in /run/dbus.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-09 21:51:29 +02:00
Liliana Marie Prikler
24fee2615c
Merge branch 'master' into gnome-team 2023-10-09 21:21:29 +02:00
Clément Lassieur
7937c8827b
gnu: icu4c-73-promise: Fix broken test.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/gnuzilla.scm (icu4c-73-promise)[source]: Add patch.
* gnu/packages/patches/icu4c-fix-TestHebrewCalendarInTemporalLeapYear.patch:
New file.
2023-10-09 18:11:07 +02:00
Efraim Flashner
87ffb3d3fb
gnu: isync: Patch path to openssl binary.
* gnu/packages/mail.scm (isync)[arguments]: Add a phase to patch the
path to the openssl binary for mbsync-get-cert.
2023-10-09 15:30:49 +03:00
Ricardo Wurmus
00feb9865a
gnu: povray: Update to 3.7.0.10.
* gnu/packages/graphics.scm (povray): Update to 3.7.0.10.
[source]: Simplify snippet.
2023-10-09 11:40:26 +02:00
Ricardo Wurmus
6e99158abb
gnu: povray: Drop input labels.
* gnu/packages/graphics.scm (povray)[inputs]: Remove all input labels.
[arguments]: Use G-expression to avoid the use of %build-inputs.
2023-10-09 11:40:26 +02:00
John Kehayias
321979a153
gnu: imgui@1.86: Adjust make-flags.
* gnu/packages/toolkits.scm (imgui-1.86)[arguments]: Remove the
"-DIMGUI_ENABLE_FREETYPE" make-flag which breaks the display of mangohud, the
only dependent.  The "-DImDrawIdx=unsigned int" make-flag was previously
removed, so we can do both by filtering make-flags starting with "-D".
[inputs]: Remove freetype.
2023-10-09 00:05:57 -04:00
Bruno Victal
40a1254b05
gnu: mympd: Update to 12.0.4.
* gnu/packages/mpd.scm (mympd): Update to 12.0.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Luis Felipe
0be2108d40
gnu: Add font-orbitron.
* gnu/packages/fonts.scm (font-orbitron): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Karl Hallsby
0be51fe03b
gnu: Add tree-sitter-scala.
* gnu/packages/tree-sitter.scm (tree-sitter-scala): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
john muhl
a44569899a
gnu: Add tree-sitter-lua.
* gnu/packages/tree-sitter.scm (tree-sitter-lua): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
B. Wilson
f59c31deaf
gnu: Add smithforth.
* gnu/packages/forth (smithforth): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Rikard Nordgren
e1dcf86a35
gnu: Add python-beziers.
* gnu/packages/fontutils.scm (python-beziers): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Nicolas Graves
e9c0bb0341
gnu: python-distributed: Disable failing tests.
* gnu/packages/python-science.scm (python-distributed): Disable failing tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Ludovic Courtès
96b40c3eba
doc: Fix typo.
* doc/guix.texi (GNU Privacy Guard): Fix typo.
2023-10-08 23:43:49 +02:00
Ludovic Courtès
aa65f31ed2
disarchive-manifest: Add one manifest entry per tarball.
This works around a situation where ‘cuirass remote-worker’ now builds
with max-jobs = 1 (Cuirass commit
980ef610989895be5ac2ba7f9d1901e5c7f22934).  The effect is that all
.dis.drv would be performed sequentially, on a single machine (‘cuirass
remote-server’ is unable to distribute those derivations to several
machines because it only “sees” the ‘disarchive-collection’ derivation).
This would take a lot of time and force a rebuild of all of *.dis.drv
every time because their build results would not be retrieved by the
‘remote-server’ process.

* etc/disarchive-manifest.scm (disarchive-collection): Remove.
<top level>: Define ‘disarchives’.  Append it to the entries of the
manifest.
2023-10-08 23:43:49 +02:00
Ludovic Courtès
002c5bec07
accounts: Ensure ‘last-change’ field of shadow entries is never zero.
* gnu/build/accounts.scm (passwd->shadow): Add ‘max’ call so NOW is
greater than or equal to 1.
2023-10-08 23:43:49 +02:00
Efraim Flashner
9b77bd0b9b
gnu: vim: Update to 9.0.2001.
* gnu/packages/vim.scm (vim): Update to 9.0.2001.
[arguments]: Skip another test.
2023-10-08 10:19:08 +03:00
Liliana Marie Prikler
577fd21122
gnu: mpd-mpc: Install bash completions in correct location.
* gnu/packages/mpd.scm (mpd-mpc)[#:phases]: Add ‘move-completion’.
2023-10-08 08:48:15 +02:00
Liliana Marie Prikler
2e0ed79118
gnu: emacs-next-minimal: Apply Guix patches.
* gnu/packages/patches/emacs-next-native-comp-driver-options.patch: Add file.
* gnu/packages/patches/emacs-next-exec-path.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Register them here.
* gnu/packages/emacs.scm (emacs-next-minimal)[origin](patches): Include the
same patches as emacs-minimal, save for the variants specific to emacs-next
introduced above.

Co-Authored-By: Nicolas Graves <ngraves@ngraves.fr>
Fixes: ‘emacs-next’ is almost unusable <https://bugs.gnu.org/66227>
2023-10-08 08:40:57 +02:00
jgart
6e63530954
gnu: python-glymur: Update to 0.12.8.
* gnu/packages/python-xyz.scm (python-glymur): Update to 0.12.8.
[native-inputs]: Add python-scikit-image.
2023-10-07 23:31:35 -05:00
Bruno Victal
00a28bc435
services: configuration: Add some commonly used predicates.
* gnu/services/configuration.scm (list-of-packages?, list-of-symbols?): New
predicate.
* gnu/services/audio.scm (list-of-symbol?): Remove.
* gnu/services/telephony.scm (string-list?): Remove.
(serialize-string-list): Rename to …
(serialize-list-of-strings): … this.
(account-fingerprint-list?, jami-account-list?): Use list-of.
* doc/guix.texi: Update it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:06 -04:00
Bruno Victal
3872ecf274
doc: Rewrite define-configuration.
Rewrite this section to make it easier to document later syntactical
changes.

* doc/guix.texi (Complex Configurations): Rewrite define-configuration
documentation. Fix simple serializer example.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
dd65564db0
services: fstrim-service-type: Serialize with SRFI-171 transducers.
* gnu/services/linux.scm (serialize-fstrim-configuration): Refactor to use
base-transducer.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
a7994ed58d
services: configuration: Use transducers within serialize-configuration.
Introduces 'base-transducer', a SRFI-171 based transducer that can be used as a
starting point for writing custom configuration record serializing procedures.

This also fixes the symbol maybe-value serialization test case.

* gnu/services/configuration.scm (empty-serializer?): New predicate.
(base-transducer, tfilter-maybe-value): New procedure.
(serialize-configuration): Adapt to use base-transducer.

* gnu/services/telephony.scm (jami-account->alist): Use transducers to skip
fields that are unserializable or whose field maybe-value is unset.

* tests/services/configuration.scm: Remove test-expect-fail.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
1b29e5db8f
services: configuration: Simplify normalize-extra-args.
* gnu/services/configuration.scm
(define-configuration-helper, normalize-extra-args): Use #f instead of %unset-value.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:04 -04:00
Sergio Pastor Pérez
e328a5f746
gnu: Add gnome-shell-extension-night-theme-switcher.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 11:29:47 -04:00
Guillaume Le Vaillant
b566e1a98a
gnu: gqrx: Update to 2.17.
* gnu/packages/radio.scm (gqrx): Update to 2.17.
2023-10-07 11:51:43 +02:00
jgart
84431a30ea
gnu: python-openai: Update to 0.28.1.
* gnu/packages/python-web.scm (python-openai): Update to 0.28.1.
2023-10-07 00:04:07 -05:00
pinoaffe
6d5a75c70e
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase.  Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.

Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-06 21:39:44 -03:00
pinoaffe
ced91adcc0
gnu: Add fontobene-qt5.
* gnu/packages/fontutils.scm (fontobene-qt5): New variable.

Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-06 21:34:22 -03:00
Wilko Meyer
add2a22ad7
gnu: exim: Update to 4.96.1 [security updates].
Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116, CVE-2023-42117,
CVE-2023-42118, and CVE-2023-42119.  See
<https://www.exim.org/static/doc/security/CVE-2023-zdi.txt> for more details.

* gnu/packages/mail.scm (exim): Update to 4.96.1.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-10-06 17:04:50 -04:00
jgart
ad10bbe563
gnu: python-pudb: Update to 2023.1.
* gnu/packages/python-xyz.scm (python-pudb): Update to 2023.1.
2023-10-06 14:46:26 -05:00
Ricardo Wurmus
88ff6feca1
gnu: Add r-webchem.
* gnu/packages/cran.scm (r-webchem): New variable.
2023-10-06 16:37:16 +02:00
Ricardo Wurmus
9d4339afb1
build-system/minify: Use esbuild.
* guix/build-system/minify.scm (default-uglify-js): Replace this procedure...
(default-esbuild): ...with this new procedure.
(lower): Use it, and add "esbuild" to build inputs.
* guix/build/minify-build-system.scm (minify): Invoke esbuild instead of
setting up a pipe to uglifyjs.
* gnu/packages/cran.scm (r-shiny)[native-inputs]: Replace node-uglify-js with
esbuild.
* gnu/packages/statistics.scm (r-dt)[native-inputs]: Same.
2023-10-06 16:37:16 +02:00
Ricardo Wurmus
b19dfb9d3a
gnu: Add linasm.
* gnu/packages/maths.scm (linasm): New variable.
2023-10-06 16:37:16 +02:00
Efraim Flashner
a7e6b4c98b
gnu: openjdk-12: Fix building on aarch64-linux.
* gnu/packages/java.scm (openjdk-12)[arugments]: When building for
aarch64-linux add a phase to remove a duplicate line.
2023-10-06 16:21:44 +03:00
Ricardo Wurmus
8d27ef1ed3
gnu: r-dt: Update to 0.30.
* gnu/packages/statistics.scm (r-dt): Update to 0.30.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
326775b345
gnu: r-hunspell: Update to 3.0.3.
* gnu/packages/cran.scm (r-hunspell): Update to 3.0.3.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
33f4951444
gnu: r-aplot: Update to 0.2.2.
* gnu/packages/cran.scm (r-aplot): Update to 0.2.2.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
a7b7b9bad3
gnu: r-chk: Update to 0.9.1.
* gnu/packages/cran.scm (r-chk): Update to 0.9.1.
2023-10-06 13:01:48 +02:00
Ricardo Wurmus
900f67dea6
gnu: r-sungeo: Update to 1.1.1.
* gnu/packages/cran.scm (r-sungeo): Update to 1.1.1.
[propagated-inputs]: Remove r-fasterize; add r-stringr and r-terra.
2023-10-06 13:01:48 +02:00
David Elsing
1b5067c0d0
gnu: Add suitesparse-umfpack.
* gnu/packages/maths.scm (suitesparse-umfpack): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:47 +02:00
David Elsing
383d54282e
gnu: Add suitesparse-spqr.
* gnu/packages/maths.scm (suitesparse-spqr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:47 +02:00
David Elsing
b278336180
gnu: Add suitesparse-spex.
* gnu/packages/maths.scm (suitesparse-spex): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:47 +02:00
David Elsing
7302412676
gnu: Add suitesparse-mongoose.
* gnu/packages/maths.scm (suitesparse-mongoose): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-06 12:26:46 +02:00