[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCHES] Propagate inputs for libxml2 and libxslt
From: |
David Thompson |
Subject: |
[PATCHES] Propagate inputs for libxml2 and libxslt |
Date: |
Sat, 28 Feb 2015 10:28:35 -0500 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
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?
>From a86da0014e02aa73b1e7554edc9c0cd580608c9d Mon Sep 17 00:00:00 2001
From: David Thompson <address@hidden>
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
>From 44675222f65f3e539dd66ff604ab97f0ef3c55de Mon Sep 17 00:00:00 2001
From: David Thompson <address@hidden>
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
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate
- [PATCHES] Propagate inputs for libxml2 and libxslt,
David Thompson <=