From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH. Date: Thu, 20 Aug 2015 16:41:43 +0800 Message-ID: <1440060104-29551-1-git-send-email-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSLPA-0004Da-AF for guix-devel@gnu.org; Thu, 20 Aug 2015 04:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSLP6-0002tB-6K for guix-devel@gnu.org; Thu, 20 Aug 2015 04:41:00 -0400 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:34060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSLP6-0002sz-01 for guix-devel@gnu.org; Thu, 20 Aug 2015 04:40:56 -0400 Received: by pacrn3 with SMTP id rn3so2600943pac.1 for ; Thu, 20 Aug 2015 01:40:54 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/glib.scm (itstool): Change 'propagated-inputs' to 'inputs'. [arguments]: New field. --- gnu/packages/glib.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 88c61b6..59d64e9 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -315,10 +315,18 @@ The intltool collection can be used to do these things: (base32 "0fh34wi52i0qikgvlmrcpf1vx6gc1xqdad4539l4d9hikfsrz45z")))) (build-system gnu-build-system) - (propagated-inputs + (inputs `(("libxml2" ,libxml2) ("python2-libxml2" ,python2-libxml2) ("python-2" ,python-2))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after + 'install 'wrap-program + (lambda _ + (wrap-program (string-append %output "/bin/itstool") + `("PYTHONPATH" = (,(getenv "PYTHONPATH"))))))))) (home-page "http://www.itstool.org") (synopsis "Tool to translate XML documents with PO files") (description -- 2.4.3