* [PATCH V2 0/1] docbook-xsl-stylesheets: add perl to RDEPENDS
@ 2014-10-31 8:59 Chong Lu
2014-10-31 8:59 ` [PATCH V2 1/1] " Chong Lu
0 siblings, 1 reply; 2+ messages in thread
From: Chong Lu @ 2014-10-31 8:59 UTC (permalink / raw)
To: openembedded-core
Change since v1:
use patch instead of sed command
The following changes since commit f19b4e995ea47f9243f152b39337330307453c9f:
bitbake: bitbake: clarify startup message (2014-10-30 13:39:52 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib chonglu/doc
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/doc
Chong Lu (1):
docbook-xsl-stylesheets: add perl to RDEPENDS
...-stylesheets-no-bashism-in-docbook-xsl-up.patch | 24 ++++++++++++++++++++++
.../docbook-xml/docbook-xsl-stylesheets_1.78.1.bb | 2 ++
2 files changed, 26 insertions(+)
create mode 100644 meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH V2 1/1] docbook-xsl-stylesheets: add perl to RDEPENDS
2014-10-31 8:59 [PATCH V2 0/1] docbook-xsl-stylesheets: add perl to RDEPENDS Chong Lu
@ 2014-10-31 8:59 ` Chong Lu
0 siblings, 0 replies; 2+ messages in thread
From: Chong Lu @ 2014-10-31 8:59 UTC (permalink / raw)
To: openembedded-core
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]
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
...-stylesheets-no-bashism-in-docbook-xsl-up.patch | 24 ++++++++++++++++++++++
.../docbook-xml/docbook-xsl-stylesheets_1.78.1.bb | 2 ++
2 files changed, 26 insertions(+)
create mode 100644 meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch
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 0000000..0559a5c
--- /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 @@
+docbook-xsl-stylesheets: no bashism in docbook-xsl-update
+
+The checkbashisms shows there is no bashism, so use /bin/sh.
+
+Upstream-Status: Pending
+
+Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
+---
+ tools/bin/docbook-xsl-update | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/bin/docbook-xsl-update b/tools/bin/docbook-xsl-update
+index aba0016..cc73aa2 100755
+--- a/tools/bin/docbook-xsl-update
++++ b/tools/bin/docbook-xsl-update
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ # vim: number
+
+ # docbook-xsl-update - Update environment to latest docbook-xsl snapshot
+--
+1.9.1
+
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 39528c8..95498da 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"
SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \
file://docbook-xsl.xml \
+ file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \
"
SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771"
@@ -63,5 +64,6 @@ docbook_xsl_stylesheets_sysroot_preprocess () {
sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml
}
+RDEPENDS_${PN} += "perl"
FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml"
FILES_${PN}-doc = "${datadir}/doc/*"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-31 9:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 8:59 [PATCH V2 0/1] docbook-xsl-stylesheets: add perl to RDEPENDS Chong Lu
2014-10-31 8:59 ` [PATCH V2 1/1] " Chong Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox