all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH.
@ 2015-08-20  8:41 宋文武
  2015-08-20  8:41 ` [PATCH 2/2] gnu: Add d-feet 宋文武
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: 宋文武 @ 2015-08-20  8:41 UTC (permalink / raw)
  To: guix-devel

* 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

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

end of thread, other threads:[~2015-08-22  5:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20  8:41 [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH 宋文武
2015-08-20  8:41 ` [PATCH 2/2] gnu: Add d-feet 宋文武
2015-08-22  2:05   ` Mark H Weaver
2015-08-22  5:32   ` Mark H Weaver
2015-08-20  8:47 ` [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH 宋文武
2015-08-22  2:00 ` Mark H Weaver
2015-08-22  5:44   ` 宋文武

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.