summaryrefslogtreecommitdiff
path: root/gnu/packages/freedesktop.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-03-23 22:48:06 +0900
committerChristopher Baines <mail@cbaines.net>2025-04-11 12:42:47 +0100
commit41c40bc1cf8a3dbcf4ee4dd2a1915ea1f89d5ba3 (patch)
tree9bb87065051aac5570fd18a04ec7706e812d0923 /gnu/packages/freedesktop.scm
parent383f7f5c89caf4342a7af6f88cad1d41e3af74ff (diff)
gnu: localed: Update to 257.4.
* gnu/packages/freedesktop.scm (localed): Update to 257.4. [source]: Streamline snippet; no longer adjust to use /var/run instead of /run. [arguments] <#:phases>: Adjust set-xkeyboard-config-file-name phase. * gnu/packages/patches/localed-xorg-keyboard.patch: Rebase patch. Change-Id: I3853ee2b64b7f48ea4592aa206ecee86a7164185
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r--gnu/packages/freedesktop.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 8e955dd417..f1e31424d3 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1060,7 +1060,7 @@ This library provides just sd-bus (and the busctl utility).")
;; that it would make more sense to maintain a fork of the bits we need.
(package
(name "localed")
- (version "241")
+ (version "257.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1068,18 +1068,11 @@ This library provides just sd-bus (and the busctl utility).")
(commit (string-append "v" version))))
(sha256
(base32
- "0sy91flzbhpq58k7v0294pa2gxpr0bk27rcnxlbhk2fi6nc51d28"))
+ "06fackmig43p9xx1155vrr5bx8a6a1cfb958x5acxvvahi8lkg7a"))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
- ;; Connect to the right location for our D-Bus daemon.
- (substitute* '("src/basic/def.h"
- "src/libsystemd/sd-bus/sd-bus.c"
- "src/stdio-bridge/stdio-bridge.c")
- (("/run/dbus/system_bus_socket")
- "/var/run/dbus/system_bus_socket"))
-
;; Don't insist on having systemd as PID 1 (otherwise
;; 'localectl' would exit without doing anything.)
(substitute* "src/shared/bus-util.c"
@@ -1143,7 +1136,7 @@ This library provides just sd-bus (and the busctl utility).")
(substitute* "src/locale/localectl.c"
(("/usr/share/X11/xkb/rules")
(string-append xkb "/share/X11/xkb/rules")))
- (substitute* "src/basic/def.h"
+ (substitute* "src/shared/kbd-util.c"
(("/usr/share/keymaps")
(string-append kbd "/share/keymaps"))))))
(replace 'install