gnu: libgudev: Update to 238. * gnu/packages/gnome.scm (libgudev): Update to 238.
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.
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.
services: udev: Rewrite udev-rule to use file->udev-rule. * gnu/services/base.scm (udev-rule): Use file->udev-rule.
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.
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>
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>
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>
Merge branch 'master' into gnome-team
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.
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.
gnu: povray: Update to 3.7.0.10. * gnu/packages/graphics.scm (povray): Update to 3.7.0.10. [source]: Simplify snippet.
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.
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.
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>
gnu: Add font-orbitron. * gnu/packages/fonts.scm (font-orbitron): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add tree-sitter-scala. * gnu/packages/tree-sitter.scm (tree-sitter-scala): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add tree-sitter-lua. * gnu/packages/tree-sitter.scm (tree-sitter-lua): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add smithforth. * gnu/packages/forth (smithforth): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add python-beziers. * gnu/packages/fontutils.scm (python-beziers): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>