--- Begin Message ---
Subject: |
[PATCH] gnu: Patch path to locale in gnome-desktop. |
Date: |
Mon, 20 Nov 2017 21:04:46 +0000 |
* gnu/packages/gnome.scm (gnome-desktop)[arguments]: Add 'patch-path phase to
get libgnome-desktop to use the full path to the locale binary.
---
gnu/packages/gnome.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 25e0e8fe3..86ec22d33 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -454,6 +454,16 @@ commonly used macros.")
(base32
"0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
(build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'patch-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libc (assoc-ref inputs "libc")))
+ (substitute* "libgnome-desktop/gnome-languages.c"
+ (("\"locale\"")
+ (string-append "\"" libc "/bin/locale\"")))
+ #t))))))
(native-inputs
`(("gobject-introspection" ,gobject-introspection)
("itstool" ,itstool)
--
2.14.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#29369] [PATCH] gnu: Patch path to locale in gnome-desktop. |
Date: |
Tue, 21 Nov 2017 08:49:48 +0000 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
Ludovic Courtès writes:
> Christopher Baines <address@hidden> skribis:
>
>> * gnu/packages/gnome.scm (gnome-desktop)[arguments]: Add 'patch-path phase to
>> get libgnome-desktop to use the full path to the locale binary.
>
> Makes sense. LGTM, thank you!
Great, I've pushed this as a0fe7c06452ad89d15e38ba2b698228f4fe3a76d.
Thanks for reviewing :)
--- End Message ---