Skip to contentSkip to conversation

meta: fix rdepends for util packages

PATCH New Robert Yang 1 participant 8 messages Aug 18, 2014

lore
Share & tools
lore
#0 lore raw

cover meta: fix rdepends for util packages

These patches fix the PKG-util/-misc/-bin/-dev's RDEPENDS issue, they may not work well for ipk or deb without these fixes.

// Robert

The following changes since commit d0be4b37743492fc9c178fd6f9ef73a5eb2fd9c3:

chrpath: Drop warning from darwn builds (2014-08-17 10:01:30 +0100)

are available in the git repository at:

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

Robert Yang (7):
apr: add bash to RDEPENDS_apr-dev
dtc: add bash to RDEPENDS_dtc-misc
gst-plugins-base: add perl to RDEPENDS_gst-plugins-base-apps
rpm: add perl to RDEPENDS_rpm-build
aspell: add perl to RDEPENDS_aspell-utils
syslinux: add perl to RDEPENDS_syslinux-misc
lttng-ust: add python-core to RDEPENDS_lttng-ust-bin

 meta/recipes-devtools/rpm/rpm_5.4+cvs.bb           |    4 +---
 meta/recipes-devtools/rpm/rpm_5.4.14.bb            |    4 +---
 meta/recipes-devtools/syslinux/syslinux_6.01.bb    |    1 +
 meta/recipes-kernel/dtc/dtc.inc                    |    2 ++
 meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb       |    1 +
 .../gstreamer/gst-plugins-package.inc              |    2 ++
 meta/recipes-support/apr/apr_1.5.1.bb              |    1 +
 meta/recipes-support/aspell/aspell_0.60.6.1.bb     |    2 ++
 8 files changed, 11 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/7 apr: add bash to RDEPENDS_apr-dev

Bashsim in apr-dev/usr/share/build-1/libtool:
possible bashism in apr-dev/usr/share/build-1/libtool line 1004 ($RANDOM):

        my_tmpdir="${my_template}-${RANDOM-0}$$"
possible bashism in apr-dev/usr/share/build-1/libtool line 3797 (should be '.', not 'source'):
                  dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
possible bashism in apr-dev/usr/share/build-1/libtool line 8237 (shopt):
                test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
possible bashism in apr-dev/usr/share/build-1/libtool line 8240 (shopt):
                    shopt -s nocaseglob
possible bashism in apr-dev/usr/share/build-1/libtool line 9255 (should be VAR="${VAR}foo"):
               rpath+=" $flag"
---
 meta/recipes-support/apr/apr_1.5.1.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/apr/apr_1.5.1.bb +1 -0
index 2720b52..17dddbc 100644
@@ -37,6 +37,7 @@ do_configure_prepend() {
 }
 
 FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
+RDEPENDS_${PN}-dev += "bash"
 
 #for some reason, build/libtool.m4 handled by buildconf still be overwritten
 #when autoconf, so handle it again.
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/7 dtc: add bash to RDEPENDS_dtc-misc

In reply to Robert Yang

Bash script:
dtc-misc/usr/bin/dtdiff

There are two files in this pacakge, another one is (binary):
dtc-misc/usr/bin/convert-dtsv0

---
 meta/recipes-kernel/dtc/dtc.inc |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-kernel/dtc/dtc.inc +2 -0
index 3eca25f..13f5508 100644
@@ -16,3 +16,5 @@ S = "${WORKDIR}/git"
 
 PACKAGES =+ "${PN}-misc"
 FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
+
+RDEPENDS_${PN}-misc += "bash"
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/7 gst-plugins-base: add perl to RDEPENDS_gst-plugins-base-apps

In reply to Robert Yang

Perl script:
gst-plugins-base-apps/usr/bin/gst-visualise-0.10

There are two files in this pacakge, another one is (binary):
gst-plugins-base-apps/usr/bin/gst-discoverer-0.10

---
 .../gstreamer/gst-plugins-package.inc              |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc +2 -0
index 0503b34..7bb5678 100644
@@ -50,6 +50,8 @@ ALLOW_EMPTY_${PN}-staticdev = "1"
 PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib"
 FILES_${PN}-apps = "${bindir}"
 
+RDEPENDS_${PN}-apps += "perl"
+
 FILES_${PN} = "${datadir}/gstreamer-${LIBV}"
 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
 FILES_${PN}-glib = "${datadir}/glib-2.0"
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 4/7 rpm: add perl to RDEPENDS_rpm-build

In reply to Robert Yang

Perl scripts:
rpm-build/usr/lib64/rpm/http.req rpm-build/usr/lib64/rpm/php.prov rpm-build/usr/lib64/rpm/osgideps.pl rpm-build/usr/lib64/rpm/perl.prov rpm-build/usr/lib64/rpm/bin/api-sanity-autotest.pl rpm-build/usr/lib64/rpm/php.req rpm-build/usr/lib64/rpm/perldeps.pl rpm-build/usr/lib64/rpm/perl.req

---
 meta/recipes-devtools/rpm/rpm_5.4+cvs.bb |    4 +---
 meta/recipes-devtools/rpm/rpm_5.4.14.bb  |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb +1 -3
index 27d01dd..d2dec5f 100644
@@ -274,8 +274,6 @@ FILES_${PN}-libs = "${libdir}/librpm-*.so \
 		${libdir}/librpmbuild-*.so \
 		"
 
-RDEPENDS_${PN}-build += "bash"
-
 FILES_${PN}-build = "${prefix}/src/rpm \
 		${bindir}/rpmbuild \
 		${bindir}/rpmbuild.real \
@@ -349,7 +347,7 @@ FILES_${PN}-build = "${prefix}/src/rpm \
 RDEPENDS_${PN} = "base-files run-postinsts"
 RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN}_class-nativesdk = ""
-RDEPENDS_${PN}-build = "file"
+RDEPENDS_${PN}-build = "file bash perl"
 
 RDEPENDS_python-rpm = "${PN}"
 
meta/recipes-devtools/rpm/rpm_5.4.14.bb +1 -3
index 8fec656..0c9ef5b 100644
@@ -261,8 +261,6 @@ FILES_${PN}-libs = "${libdir}/librpm-*.so \
 		${libdir}/librpmbuild-*.so \
 		"
 
-RDEPENDS_${PN}-build += "bash"
-
 FILES_${PN}-build = "${prefix}/src/rpm \
 		${bindir}/rpmbuild \
 		${bindir}/rpmbuild.real \
@@ -336,7 +334,7 @@ FILES_${PN}-build = "${prefix}/src/rpm \
 RDEPENDS_${PN} = "base-files run-postinsts"
 RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN}_class-nativesdk = ""
-RDEPENDS_${PN}-build = "file"
+RDEPENDS_${PN}-build = "file bash perl"
 
 RDEPENDS_python-rpm = "${PN}"
 
Signature · 1 line
1.7.9.5
#5 lore raw

PATCH 5/7 aspell: add perl to RDEPENDS_aspell-utils

In reply to Robert Yang

There is a perl script:
aspell-utils/usr/bin/aspell-import

---
 meta/recipes-support/aspell/aspell_0.60.6.1.bb |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/aspell/aspell_0.60.6.1.bb +2 -0
index 56dabd3..a4f0e14 100644
@@ -15,6 +15,8 @@ PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
 
 PACKAGES += "libaspell libpspell libpspell-dev aspell-utils"
 
+RDEPENDS_${PN}-utils += "perl"
+
 FILES_${PN}-dbg += "${libdir}/aspell-0.60/.debu*"
 FILES_libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*"
 FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*"
Signature · 1 line
1.7.9.5
#6 lore raw

PATCH 6/7 syslinux: add perl to RDEPENDS_syslinux-misc

In reply to Robert Yang

These scripts are perl:
syslinux-misc/usr/bin/md5pass
syslinux-misc/usr/bin/isohybrid.pl
syslinux-misc/usr/bin/pxelinux-options
syslinux-misc/usr/bin/keytab-lilo
syslinux-misc/usr/bin/sha1pass
syslinux-misc/usr/bin/syslinux2ansi
syslinux-misc/usr/bin/mkdiskimage
syslinux-misc/usr/bin/lss16toppm
syslinux-misc/usr/bin/ppmtolss16

---
 meta/recipes-devtools/syslinux/syslinux_6.01.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/syslinux/syslinux_6.01.bb +1 -0
index 7885390..20afae9 100644
@@ -66,6 +66,7 @@ do_install() {
 PACKAGES += "${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux ${PN}-misc"
 
 RDEPENDS_${PN} += "mtools"
+RDEPENDS_${PN}-misc += "perl"
 
 FILES_${PN} = "${bindir}/syslinux"
 FILES_${PN}-extlinux = "${sbindir}/extlinux"
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH 7/7 lttng-ust: add python-core to RDEPENDS_lttng-ust-bin

In reply to Robert Yang

There is only one script lttng-gen-tp which is a python in lttng-ust-bin, and it is a python script.

And the lttng-ust doesn't have to rdepend on python.

---
 meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb +1 -0
index 1468fc1..71ea5bc 100644
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
 inherit autotools lib_package
 
 DEPENDS = "liburcu util-linux"
+RDEPENDS_${PN}-bin = "python-core"
 
 # For backwards compatibility after rename
 RPROVIDES_${PN} = "lttng2-ust"
Signature · 1 line
1.7.9.5