summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/docbook-xml
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-10-31 16:59:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-04 10:27:13 +0000
commit27754b2d1bba39f8a6f66117ac9f9c4df1ed7e8d (patch)
treea806f335e25ba473b70c0decf8e50dacc37031ec /meta/recipes-devtools/docbook-xml
parentf948dbf2e7cdd8a821905398e39b4a79f5c92a57 (diff)
downloadpoky-27754b2d1bba39f8a6f66117ac9f9c4df1ed7e8d.tar.gz
docbook-xsl-stylesheets: add perl to RDEPENDS
This solves the following warning: docbook-xsl-stylesheets-1.78.1: docbook-xsl-stylesheets requires /usr/bin/perl, /bin/bash, but no providers in its RDEPENDS [file-rdeps] (From OE-Core rev: d7a277b35bcc67050046c76fb70412101679a545) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/docbook-xml')
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch24
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb2
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch
new file mode 100644
index 0000000000..0559a5c0d2
--- /dev/null
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch
@@ -0,0 +1,24 @@
1docbook-xsl-stylesheets: no bashism in docbook-xsl-update
2
3The checkbashisms shows there is no bashism, so use /bin/sh.
4
5Upstream-Status: Pending
6
7Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
8---
9 tools/bin/docbook-xsl-update | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/tools/bin/docbook-xsl-update b/tools/bin/docbook-xsl-update
13index aba0016..cc73aa2 100755
14--- a/tools/bin/docbook-xsl-update
15+++ b/tools/bin/docbook-xsl-update
16@@ -1,4 +1,4 @@
17-#!/bin/bash
18+#!/bin/sh
19 # vim: number
20
21 # docbook-xsl-update - Update environment to latest docbook-xsl snapshot
22--
231.9.1
24
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
index 39528c89c4..95498da35e 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6eeeed43d498c22a835382533356462"
5 5
6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ 6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \
7 file://docbook-xsl.xml \ 7 file://docbook-xsl.xml \
8 file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \
8" 9"
9 10
10SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771" 11SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771"
@@ -63,5 +64,6 @@ docbook_xsl_stylesheets_sysroot_preprocess () {
63 sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml 64 sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml
64} 65}
65 66
67RDEPENDS_${PN} += "perl"
66FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml" 68FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml"
67FILES_${PN}-doc = "${datadir}/doc/*" 69FILES_${PN}-doc = "${datadir}/doc/*"