Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/7] meta: fix rdepends for util packages
@ 2014-08-18  6:11 Robert Yang
  2014-08-18  6:11 ` [PATCH 1/7] apr: add bash to RDEPENDS_apr-dev Robert Yang
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/7] apr: add bash to RDEPENDS_apr-dev
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  2014-08-18  6:11 ` [PATCH 2/7] dtc: add bash to RDEPENDS_dtc-misc Robert Yang
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-support/apr/apr_1.5.1.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb
index 2720b52..17dddbc 100644
--- a/meta/recipes-support/apr/apr_1.5.1.bb
+++ b/meta/recipes-support/apr/apr_1.5.1.bb
@@ -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.
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/7] dtc: add bash to RDEPENDS_dtc-misc
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
  2014-08-18  6:11 ` [PATCH 1/7] apr: add bash to RDEPENDS_apr-dev Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  2014-08-18  6:11 ` [PATCH 3/7] gst-plugins-base: add perl to RDEPENDS_gst-plugins-base-apps Robert Yang
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-kernel/dtc/dtc.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
index 3eca25f..13f5508 100644
--- a/meta/recipes-kernel/dtc/dtc.inc
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -16,3 +16,5 @@ S = "${WORKDIR}/git"
 
 PACKAGES =+ "${PN}-misc"
 FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
+
+RDEPENDS_${PN}-misc += "bash"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/7] gst-plugins-base: add perl to RDEPENDS_gst-plugins-base-apps
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
  2014-08-18  6:11 ` [PATCH 1/7] apr: add bash to RDEPENDS_apr-dev Robert Yang
  2014-08-18  6:11 ` [PATCH 2/7] dtc: add bash to RDEPENDS_dtc-misc Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  2014-08-18  6:11 ` [PATCH 4/7] rpm: add perl to RDEPENDS_rpm-build Robert Yang
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../gstreamer/gst-plugins-package.inc              |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
index 0503b34..7bb5678 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
@@ -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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/7] rpm: add perl to RDEPENDS_rpm-build
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
                   ` (2 preceding siblings ...)
  2014-08-18  6:11 ` [PATCH 3/7] gst-plugins-base: add perl to RDEPENDS_gst-plugins-base-apps Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  2014-08-18  6:11 ` [PATCH 5/7] aspell: add perl to RDEPENDS_aspell-utils Robert Yang
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 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(-)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb b/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
index 27d01dd..d2dec5f 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
@@ -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}"
 
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
index 8fec656..0c9ef5b 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
@@ -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}"
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 5/7] aspell: add perl to RDEPENDS_aspell-utils
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
                   ` (3 preceding siblings ...)
  2014-08-18  6:11 ` [PATCH 4/7] rpm: add perl to RDEPENDS_rpm-build Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  2014-08-18  6:11 ` [PATCH 6/7] syslinux: add perl to RDEPENDS_syslinux-misc Robert Yang
  2014-08-18  6:11 ` [PATCH 7/7] lttng-ust: add python-core to RDEPENDS_lttng-ust-bin Robert Yang
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-support/aspell/aspell_0.60.6.1.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/aspell/aspell_0.60.6.1.bb b/meta/recipes-support/aspell/aspell_0.60.6.1.bb
index 56dabd3..a4f0e14 100644
--- a/meta/recipes-support/aspell/aspell_0.60.6.1.bb
+++ b/meta/recipes-support/aspell/aspell_0.60.6.1.bb
@@ -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*"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 6/7] syslinux: add perl to RDEPENDS_syslinux-misc
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
                   ` (4 preceding siblings ...)
  2014-08-18  6:11 ` [PATCH 5/7] aspell: add perl to RDEPENDS_aspell-utils Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  2014-08-18  6:11 ` [PATCH 7/7] lttng-ust: add python-core to RDEPENDS_lttng-ust-bin Robert Yang
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-devtools/syslinux/syslinux_6.01.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb
index 7885390..20afae9 100644
--- a/meta/recipes-devtools/syslinux/syslinux_6.01.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_6.01.bb
@@ -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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 7/7] lttng-ust: add python-core to RDEPENDS_lttng-ust-bin
  2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
                   ` (5 preceding siblings ...)
  2014-08-18  6:11 ` [PATCH 6/7] syslinux: add perl to RDEPENDS_syslinux-misc Robert Yang
@ 2014-08-18  6:11 ` Robert Yang
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Yang @ 2014-08-18  6:11 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb
index 1468fc1..71ea5bc 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb
@@ -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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-18  6:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18  6:11 [PATCH 0/7] meta: fix rdepends for util packages Robert Yang
2014-08-18  6:11 ` [PATCH 1/7] apr: add bash to RDEPENDS_apr-dev Robert Yang
2014-08-18  6:11 ` [PATCH 2/7] dtc: add bash to RDEPENDS_dtc-misc Robert Yang
2014-08-18  6:11 ` [PATCH 3/7] gst-plugins-base: add perl to RDEPENDS_gst-plugins-base-apps Robert Yang
2014-08-18  6:11 ` [PATCH 4/7] rpm: add perl to RDEPENDS_rpm-build Robert Yang
2014-08-18  6:11 ` [PATCH 5/7] aspell: add perl to RDEPENDS_aspell-utils Robert Yang
2014-08-18  6:11 ` [PATCH 6/7] syslinux: add perl to RDEPENDS_syslinux-misc Robert Yang
2014-08-18  6:11 ` [PATCH 7/7] lttng-ust: add python-core to RDEPENDS_lttng-ust-bin Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox