Commit graph

125620 commits

Author SHA1 Message Date
Liliana Marie Prikler 9bac1cad27
gnu: webkitgtk-with-libsoup2: Use keyword arguments for GTK3.
This fixes an error commit ee748c1df0, where
webkitgtk-with-libsoup2 would be built for GTK4 – a contradiction, as
GTK4 builds require libsoup3.  See also <https://bugs.gnu.org/66480#47>.

* gnu/packages/webkit.scm (webkitgtk-with-libsoup2)[arguments]: Use
package-arguments of webkitgtk-for-gtk3 rather than webkitgtk.

Co-authored-by: Vivien Kraus <vivien@planete-kraus.eu>
2023-10-23 00:20:16 +02:00
Liliana Marie Prikler 574047a600
gnu: nautilus: Update to 44.2.1.
* gnu/packages/gnome.scm (nautilus): Update to 44.2.1.
2023-10-23 00:16:59 +02:00
Liliana Marie Prikler ee748c1df0
gnu: Make webkitgtk-next the new webkitgtk.
As of version 2.42.0, the WebKit 6.0 typelib is considered stable.
With GNOME itself moving to GTK4 as time marches on, we should reflect
the fact that this is the preferred Webkit for future applications.

* gnu/packages/webkit.scm (webkitgtk-next): Remove variable.  Inline logic…
(webkitgtk): … here.  Move old value …
(webkitgtk-for-gtk3): … here.
(webkitgtk-with-libsoup2): Inherit from webkitgtk-for-gtk3.
* gnu/packages/geo.scm (gnome-maps): Adjust accordingly.
* gnu/packages/gnome.scm (gnome-initial-setup, sushi)
(cambalache, devhelp, devhelp-with-libsoup2, gnome-online-accounts)
(gnome-online-accounts-3.44, evolution-data-server, evolution-data-server-3.44)
(lollypop, evolution, gnome-boxes, geary, komikku): Likewise.
* gnu/packages/guile-xyz.scm (guile-gi, nomad): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Likewise.
* gnu/packages/mail.scm (balsa): Likewise.
* gnu/packages/mate.scm (atril): Likewise.
* gnu/packages/music.scm (ctrlr): Likewise.
* gnu/packages/rednotebook.scm (rednotebook): Likewise.
* gnu/packages/syndication.scm (gfeeds): Likewise.
* gnu/packages/telegram.scm (telegram-desktop): Likewise.
* gnu/packages/vnc.scm (remmina): Likewise.
* gnu/packages/web-browsers.scm (nyxt): Likewise.
2023-10-23 00:15:38 +02:00
Liliana Marie Prikler b4c907adb4
gnu: webkitgtk: Update to 2.42.1.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.42.1.
[inputs]: Add libjxl.
2023-10-21 21:52:32 +02:00
Liliana Marie Prikler 14ea0a7ee9
gnu: gnome-bluetooth: Update to 42.6.
* gnu/packages/gnome.scm (gnome-bluetooth): Update to 42.6.
2023-10-21 21:52:32 +02:00
Liliana Marie Prikler cc84687312
gnu: bluefish: Update to 2.2.14.
* gnu/packages/gnome.scm (bluefish): Update to 2.2.14.
2023-10-21 21:52:32 +02:00
Liliana Marie Prikler aadfe59209
gnu: gspell: Update to 1.12.2.
* gnu/packages/gnome.scm (gspell): Update to 1.12.2.
2023-10-21 21:52:32 +02:00
Liliana Marie Prikler 3b5961c8df
gnu: tracker-miners: Update to 3.6.1.
* gnu/packages/gnome.scm (tracker-miners): Update to 3.6.1.
2023-10-21 21:52:30 +02:00
Liliana Marie Prikler a7be930240
gnu: Remove gnome-todo.
* gnu/packages/gnome.scm (gnome-todo): Delete variable.
2023-10-13 20:37:36 +02:00
Liliana Marie Prikler 93a69ccbc5
gnu: workrave: Use new input style.
* gnu/packages/gnome.scm (workrave)[native-inputs]: Drop labels.
2023-10-13 20:37:36 +02:00
Liliana Marie Prikler cf8514ca42
gnu: workrave: Update to 1.10.52.
* gnu/packages/gnome.scm (workrave): Update to 1.10.52.
2023-10-13 20:37:36 +02:00
Liliana Marie Prikler f61d1d63d8
gnu: gthumb: Use new input style.
* gnu/packages/gnome.scm (gthumb)[inputs, native-inputs]: Drop labels.
2023-10-13 20:37:36 +02:00
Liliana Marie Prikler d5ea7441be
gnu: gthumb: Update to 3.12.4.
* gnu/packages/gnome.scm (gthumb): Update to 3.12.4.
2023-10-13 20:37:35 +02:00
Liliana Marie Prikler 1468bf8db5
gnu: gnome-mahjongg: Update to 3.40.0.
* gnu/packages/gnome.scm (gnome-mahjongg): Update to 3.40.0.
2023-10-13 20:37:35 +02:00
Liliana Marie Prikler 9f04e18065
gnu: gitg: Update to 44.
* gnu/packages/gnome.scm (gitg): Update to 44.
[source]: Remove “gitg-fix-positional-argument.patch”.
[inputs]: Add gpgme and libhandy.
* gnu/packages/patches/gitg-fix-positional-argument.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
2023-10-13 20:37:35 +02:00
Liliana Marie Prikler 4d182aaf0f
gnu: libhandy: Update to 1.8.2.
* gnu/packages/gnome.scm (libhandy): Update to 1.8.2.
2023-10-13 20:37:35 +02:00
Liliana Marie Prikler ff3ba62c47
gnu: libgit2-glib: Update to 1.2.0.
* gnu/packages/gnome.scm (libgit2-glib): Update to 1.2.0.
2023-10-13 20:37:34 +02:00
Vivien Kraus b701a7018d
gnu: upower: Update to 1.90.2.
Upower has an extra hardware description file for use with udev.  It should be
installed under upower’s output, not eudev’s.

A test is disabled, for calling an unimplemented bluez method.  The
conditional 'adjust-test-for-excess-precision phase is included in the new
'adjust-test-suite, so that the list of phases is always the same.

* gnu/packages/gnome.scm (upower): Update to 1.90.2.
[#:configure-flags]: Set udevhwdbdir.
[#:phases] <adjust-test-for-excess-precision>: Add this phase
unconditionnally
<disable-failing-test>: Disable test_bluetooth_hidpp_mouse.
[inputs]: Remove dbus-glib.
[native-inputs]: Add dbus.
2023-10-10 21:59:25 +02:00
Vivien Kraus ee554a35e0
gnu: libgudev: Update to 238.
* gnu/packages/gnome.scm (libgudev): Update to 238.
2023-10-10 21:59:25 +02:00
Vivien Kraus 498db4de1f
gnu: udev-service-type: accept hardware description file extensions.
The udev-configuration record now has a hardware field.

The contents of the /etc/udev directory now includes hwdb.bin, which is
computed when the system is instanciated (prior to system activation).  The
hardware description files used to generate hwdb.bin are not installed in
/etc, because they are not required at run-time.

The documentation has been reworked so as to explain why creating udev rules
or hardware needs helper functions for configuration or extension.

* gnu/services/base.scm (udev-hardware): New function.
(file->udev-hardware): New function.
(udev-hardware-service): New function.
(udev-etc): Add hwdb.d and hwdb.bin.
(module): Export udev-hardware, file->udev-hardware, and udev-hardware-service.
(<udev-configuration>): Add the native-udev field.
(udev-service-type) [extend]: Populate the hardware field.
* doc/guix.texi (Base Services)[udev-service-type]: Explain configuration and
extension values.
* doc/guix.texi (Base Services)[udev-hardware]: Document it.
[udev-hardware-service]: Same.
* doc/guix.texi (Base Services)[udev-configuration]: Document the native-udev
field.
2023-10-10 21:59:25 +02:00
Vivien Kraus 95400e5c15
services: udev: Make udev-rule helper functions generic.
* gnu/services/base.scm (udev-configurations-union): New function.
(udev-configuration-file): New function, use file->udev-configuration-file.
(file->udev-configuration-file): New function.
(udev-rules-union): Use udev-configurations-union.
(udev-rule): Use udev-configuration-file.
(file->udev-rule): Use file->udev-configuration-file.
2023-10-10 21:59:25 +02:00
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