unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser.
@ 2015-01-01  1:47 宋文武
  2015-01-01  1:47 ` [PATCH 2/2] gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple 宋文武
  2015-01-02 21:10 ` [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: 宋文武 @ 2015-01-01  1:47 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/xml.scm (perl-xml-simple): Move XML::Parser from 'inputs'
  to 'propagated-inputs'.
---
 gnu/packages/xml.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 63d0ef2..76366db 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -179,7 +179,7 @@ module.")
               (base32
                "0jj3jiray1l4pi9wkjcpxjc3v431whdwx5aqnhgdm4i7h3817zsw"))))
     (build-system perl-build-system)
-    (inputs
+    (propagated-inputs
      `(("perl-xml-parser" ,perl-xml-parser)))
     (license (package-license perl))
     (synopsis "Perl module for easy reading/writing of XML files")
-- 
2.1.2

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

* [PATCH 2/2] gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple.
  2015-01-01  1:47 [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser 宋文武
@ 2015-01-01  1:47 ` 宋文武
  2015-01-02 21:11   ` Ludovic Courtès
  2015-01-02 21:10 ` [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: 宋文武 @ 2015-01-01  1:47 UTC (permalink / raw)
  To: guix-devel

Fixes <http://bugs.gnu.org/19367>.

* gnu/packages/gnome.scm (icon-naming-utils)[arguments]: New field.
---
 gnu/packages/gnome.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1ff9e85..a2ef712 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -312,6 +312,18 @@ for settings shared by various components of the GNOME desktop.")
     (inputs
      `(("perl" ,perl)
        ("perl-xml-simple" ,perl-xml-simple)))
+    (arguments
+     '(#:phases
+       (alist-cons-after
+        'install 'set-load-paths
+        ;; Tell 'icon-name-mapping' where XML::Simple is.
+        (lambda* (#:key outputs #:allow-other-keys)
+          (let* ((out  (assoc-ref outputs "out"))
+                 (prog (string-append out "/libexec/icon-name-mapping")))
+            (wrap-program
+             prog
+             `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
+        %standard-phases)))
     (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
     (synopsis
      "Utility to implement the Freedesktop Icon Naming Specification")
-- 
2.1.2

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

* Re: [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser.
  2015-01-01  1:47 [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser 宋文武
  2015-01-01  1:47 ` [PATCH 2/2] gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple 宋文武
@ 2015-01-02 21:10 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-01-02 21:10 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/xml.scm (perl-xml-simple): Move XML::Parser from 'inputs'
>   to 'propagated-inputs'.

OK, thanks!

Ludo'.

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

* Re: [PATCH 2/2] gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple.
  2015-01-01  1:47 ` [PATCH 2/2] gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple 宋文武
@ 2015-01-02 21:11   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-01-02 21:11 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> Fixes <http://bugs.gnu.org/19367>.
>
> * gnu/packages/gnome.scm (icon-naming-utils)[arguments]: New field.

LGTM, thanks!

Ludo’.

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

end of thread, other threads:[~2015-01-02 21:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-01  1:47 [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser 宋文武
2015-01-01  1:47 ` [PATCH 2/2] gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple 宋文武
2015-01-02 21:11   ` Ludovic Courtès
2015-01-02 21:10 ` [PATCH 1/2] gnu: perl-xml-simple: Propagate XML::Parser Ludovic Courtès

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).