Skip to contentSkip to conversation

xmlto: fix depends for native

PATCH In review Robert Yang 1 participant 3 messages Aug 8, 2016 – Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

cover xmlto: fix depends for native

The following changes since commit c4dda05cb9755cb865c1d1bd142196f8a9f45d3d:

Revert "packagegroup-core-x11-base.bb: replace pointercal with pointercal-xinput" (2016-08-04 20:54:57 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/xml
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/xml

Robert Yang (1):
xmlto: fix depends for native

 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 xmlto: fix depends for native

xmlto-native requires xsltproc which is provided by libxslt to run. Fixed:
xmlto: Can't continue, xsltproc tool not found or not executable.

---
 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +1 -1
index 886e7b4..d6f2e92 100644
@@ -20,9 +20,9 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \
                   util-linux \
                   libxml2 \
                   bash \
+                  libxslt \
 "
 RDEPENDS_${PN}_append_class-target = " \
-                  libxslt-bin \
                   coreutils \
 "
 CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=${bindir}/tail"
Signature · 1 line
2.9.0
#2 lore raw

After talked with Ming, we should use his patch:
xmlto: adds libxslt to DEPENDS

My patch moved libxslt-bin from RDEPENDS_${PN}_append_class-target to RDEPENDS_${PN} but renamed to libxslt, which will cause libxslt to be installed on target but not libxslt-bin.

// Robert

Quoted 25 lines · Robert Yang

xmlto-native requires xsltproc which is provided by libxslt to run. Fixed:
xmlto: Can't continue, xsltproc tool not found or not executable.

---
  meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +1 -1
index 886e7b4..d6f2e92 100644
@@ -20,9 +20,9 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \
                    util-linux \
                    libxml2 \
                    bash \
+                  libxslt \
  "
  RDEPENDS_${PN}_append_class-target = " \
-                  libxslt-bin \
                    coreutils \
  "
  CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=${bindir}/tail"