unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29369] [PATCH] gnu: Patch path to locale in gnome-desktop.
@ 2017-11-20 21:04 Christopher Baines
  2017-11-20 22:32 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2017-11-20 21:04 UTC (permalink / raw)
  To: 29369

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#29369] [PATCH] gnu: Patch path to locale in gnome-desktop.
  2017-11-20 21:04 [bug#29369] [PATCH] gnu: Patch path to locale in gnome-desktop Christopher Baines
@ 2017-11-20 22:32 ` Ludovic Courtès
  2017-11-21  8:49   ` bug#29369: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-11-20 22:32 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 29369

Christopher Baines <mail@cbaines.net> 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!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#29369: [PATCH] gnu: Patch path to locale in gnome-desktop.
  2017-11-20 22:32 ` Ludovic Courtès
@ 2017-11-21  8:49   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2017-11-21  8:49 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29369-done


Ludovic Courtès writes:

> Christopher Baines <mail@cbaines.net> 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 :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-21  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 21:04 [bug#29369] [PATCH] gnu: Patch path to locale in gnome-desktop Christopher Baines
2017-11-20 22:32 ` Ludovic Courtès
2017-11-21  8:49   ` bug#29369: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).