From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtGY-0006pt-Nm for guix-patches@gnu.org; Mon, 20 Nov 2017 16:06:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGtGU-0007jV-PJ for guix-patches@gnu.org; Mon, 20 Nov 2017 16:06:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGtGU-0007jM-LW for guix-patches@gnu.org; Mon, 20 Nov 2017 16:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGtGU-000530-DP for guix-patches@gnu.org; Mon, 20 Nov 2017 16:06:02 -0500 Subject: [bug#29369] [PATCH] gnu: Patch path to locale in gnome-desktop. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtFS-0006YQ-Ay for guix-patches@gnu.org; Mon, 20 Nov 2017 16:05:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGtFO-0006I0-Cf for guix-patches@gnu.org; Mon, 20 Nov 2017 16:04:58 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:36611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtFO-0006ET-6w for guix-patches@gnu.org; Mon, 20 Nov 2017 16:04:54 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 3A1A9154CD1 for ; Mon, 20 Nov 2017 21:04:47 +0000 (GMT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0180d784 for ; Mon, 20 Nov 2017 21:04:46 +0000 (UTC) From: Christopher Baines Date: Mon, 20 Nov 2017 21:04:46 +0000 Message-Id: <20171120210446.14503-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29369@debbugs.gnu.org * 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