* [PATCHES] Propagate inputs for libxml2 and libxslt
@ 2015-02-28 15:28 David Thompson
2015-02-28 17:17 ` Andreas Enge
0 siblings, 1 reply; 3+ messages in thread
From: David Thompson @ 2015-02-28 15:28 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
Two small patches below for propagating the necessary inputs for libxml2
and libxslt. These should probably be applied to core-updates, right?
Notably, these patches triggers a rebuild of subversion.
Once these patches are applied, would it be a good idea to go through
the packages that depend on libxml2 and libxslt and remove the now
propagated inputs?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-libxml2-Propagate-zlib.patch --]
[-- Type: text/x-diff, Size: 938 bytes --]
From a86da0014e02aa73b1e7554edc9c0cd580608c9d Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Fri, 27 Feb 2015 16:59:37 -0500
Subject: [PATCH 1/2] gnu: libxml2: Propagate zlib.
* gnu/packages/xml.scm (libxml2): Propagate zlib input.
---
gnu/packages/xml.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index f2b3baa..ae2227f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -65,7 +65,8 @@ things the parser might find in the XML document (like start tags).")
(build-system gnu-build-system)
(home-page "http://www.xmlsoft.org/")
(synopsis "C parser for XML")
- (inputs `(("zlib" ,zlib)))
+ (propagated-inputs
+ `(("zlib" ,zlib))) ;; -lz is in the .pc file
(native-inputs `(("perl" ,perl)
("python" ,python-2))) ; incompatible with Python 3 (print syntax)
--
2.1.4
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-libxslt-Propagate-libxml2.patch --]
[-- Type: text/x-diff, Size: 1168 bytes --]
From 44675222f65f3e539dd66ff604ab97f0ef3c55de Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Fri, 27 Feb 2015 21:12:20 -0500
Subject: [PATCH 2/2] gnu: libxslt: Propagate libxml2.
* gnu/packages/xml.scm (libxslt): Propagate libxml2.
---
gnu/packages/xml.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index ae2227f..675a3ff 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -118,9 +118,9 @@ things the parser might find in the XML document (like start tags).")
(home-page "http://xmlsoft.org/XSLT/index.html")
(synopsis "C library for applying XSLT stylesheets to XML documents")
(inputs `(("libgcrypt" ,libgcrypt)
- ("libxml2" ,libxml2)
- ("python" ,python-wrapper)
- ("zlib" ,zlib)))
+ ("python" ,python-wrapper)))
+ (propagated-inputs
+ `(("libxml2" ,libxml2))) ;; -lxml2 is in the .pc file
(description
"Libxslt is an XSLT C library developed for the GNOME project. It is
based on libxml for XML parsing, tree manipulation and XPath support.")
--
2.1.4
[-- Attachment #4: Type: text/plain, Size: 136 bytes --]
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCHES] Propagate inputs for libxml2 and libxslt
2015-02-28 15:28 [PATCHES] Propagate inputs for libxml2 and libxslt David Thompson
@ 2015-02-28 17:17 ` Andreas Enge
2015-02-28 19:37 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2015-02-28 17:17 UTC (permalink / raw)
To: David Thompson; +Cc: guix-devel
On Sat, Feb 28, 2015 at 10:28:35AM -0500, David Thompson wrote:
> Two small patches below for propagating the necessary inputs for libxml2
> and libxslt. These should probably be applied to core-updates, right?
> Notably, these patches triggers a rebuild of subversion.
>
> Once these patches are applied, would it be a good idea to go through
> the packages that depend on libxml2 and libxslt and remove the now
> propagated inputs?
I would say "yes" to all.
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCHES] Propagate inputs for libxml2 and libxslt
2015-02-28 17:17 ` Andreas Enge
@ 2015-02-28 19:37 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2015-02-28 19:37 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> On Sat, Feb 28, 2015 at 10:28:35AM -0500, David Thompson wrote:
>> Two small patches below for propagating the necessary inputs for libxml2
>> and libxslt. These should probably be applied to core-updates, right?
>> Notably, these patches triggers a rebuild of subversion.
>>
>> Once these patches are applied, would it be a good idea to go through
>> the packages that depend on libxml2 and libxslt and remove the now
>> propagated inputs?
>
> I would say "yes" to all.
Me too!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-28 19:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 15:28 [PATCHES] Propagate inputs for libxml2 and libxslt David Thompson
2015-02-28 17:17 ` Andreas Enge
2015-02-28 19:37 ` Ludovic Courtès
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.