test-dependencies, insane.bbclass: improve the message
PATCH 1/8 test-dependencies, insane.bbclass: improve the message
--- meta/classes/insane.bbclass | 2 +- scripts/test-dependencies.sh | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-)
meta/classes/insane.bbclass +1 -1
@@ -794,7 +794,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d): break if rdep_data and 'PN' in rdep_data and rdep_data['PN'] in taskdeps: continue - error_msg = "%s rdepends on %s but its not a build dependency?" % (pkg, rdepend) + error_msg = "%s rdepends on %s, but it isn't a build dependency?" % (pkg, rdepend) sane = package_qa_handle_error("build-deps", error_msg, d) return sane
scripts/test-dependencies.sh +5 -3
@@ -244,9 +244,11 @@ compare_deps() { else missing_deps= for dep in ${max_deps}; do - echo "${min_deps}" | grep -q " ${dep} " || missing_deps="${missing_deps} ${dep}" - echo # to get rid of dots on last line - echo "WARN: ${recipe}: ${package} rdepends on ${dep} but its not a build dependency?" | tee -a ${OUTPUT_FILE} + if ! echo "${min_deps}" | grep -q " ${dep} " ; then + missing_deps="${missing_deps} ${dep}" + echo # to get rid of dots on last line + echo "WARN: ${recipe}: ${package} rdepends on ${dep}, but it isn't a build dependency?" | tee -a ${OUTPUT_FILE} + fi done if [ -n "${missing_deps}" ] ; then echo ${recipe} >> ${OUTPUTC}/failed-recipes.log
Signature · 1 line
2.0.4
PATCH 2/8 gst-fluendo*: add --disable-debug only to gst-fluendo-mp3
* fixes following QA warnings:
gst-fluendo-mpegdemux-0.10.72: gst-fluendo-mpegdemux: configure was
passed unrecognised options: --disable-debug
[unknown-configure-option]--- meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.19.bb | 3 +++ meta/recipes-multimedia/gstreamer/gst-fluendo.inc | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.19.bb +3 -0
@@ -5,6 +5,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=259a43dd1c9854b71fc396f74699f4d2" LICENSE_FLAGS = "commercial" +GSTREAMER_DEBUG ?= "--disable-debug" +EXTRA_OECONF += "${GSTREAMER_DEBUG}" + acpaths = "-I ${S}/common/m4 -I ${S}/m4" SRC_URI[md5sum] = "5d95a9a216dd15bc5c00c9414061115c"
meta/recipes-multimedia/gstreamer/gst-fluendo.inc +1 -2
@@ -11,5 +11,4 @@ FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a" -GSTREAMER_DEBUG ?= "--disable-debug" -EXTRA_OECONF = "${GSTREAMER_DEBUG} --disable-valgrind" +EXTRA_OECONF = "--disable-valgrind"
Signature · 1 line
2.0.4
PATCH 3/8 mpeg2dec: add PACKAGECONFIG for x11 and fix dependencies
In reply to Martin Jansa* the configure script checks for Xext and Xv when X/libvo is enabled
* fixes following warnings:
WARN: mpeg2dec: mpeg2dec rdepends on libxext but it isn't a build dependency?
WARN: mpeg2dec: mpeg2dec rdepends on libxv but it isn't a build dependency?
--- meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb +4 -3
@@ -6,8 +6,6 @@ LICENSE_FLAGS = "commercial" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://include/mpeg2.h;beginline=1;endline=22;md5=ead62602d4638329d3b5b86a55803154" -DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" - PR = "r2" SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \
@@ -18,7 +16,10 @@ SRC_URI[sha256sum] = "c74a76068f8ec36d4bb59a03bf1157be44118ca02252180e8b358b0b5e inherit autotools pkgconfig -EXTRA_OECONF = "--enable-shared --disable-sdl --with-x" +EXTRA_OECONF = "--enable-shared --disable-sdl" + +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" +PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxv" PACKAGES = "mpeg2dec-dbg mpeg2dec mpeg2dec-doc libmpeg2 libmpeg2-dev libmpeg2convert libmpeg2convert-dev libmpeg2-staticdev libmpeg2convert-staticdev"
Signature · 1 line
2.0.4
PATCH 4/8 libarchive: add PACKAGECONFIG for nettle
In reply to Martin Jansa* fixes following floating dependencies:
libarchive/libarchive/latest lost dependency on nettle libarchive/libarchive-bin/latest lost dependency on libxml2 nettle
--- meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/libarchive/libarchive_3.1.2.bb +1 -0
@@ -27,6 +27,7 @@ PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat," PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo," +PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle," SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \ file://libarchive-CVE-2013-0211.patch \
Signature · 1 line
2.0.4
PATCH 5/8 piglit: add dependency on libxrender
In reply to Martin Jansa* fixes floating dependency:
piglit/piglit/latest lost dependency on libxrender
--- meta/recipes-graphics/piglit/piglit_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/piglit/piglit_git.bb +1 -1
@@ -11,7 +11,7 @@ PV = "1.0+gitr${SRCPV}" S = "${WORKDIR}/git" -DEPENDS = "virtual/libx11 waffle virtual/libgl libglu python-mako-native python-numpy-native" +DEPENDS = "virtual/libx11 libxrender waffle virtual/libgl libglu python-mako-native python-numpy-native" # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.0.4
PATCH 6/8 midori: add dependency on libxscrnsaver
In reply to Martin Jansa* fixes floating dependency:
midori/midori/latest lost dependency on libxscrnsaver
--- meta/recipes-sato/midori/midori_0.5.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/midori/midori_0.5.5.bb +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "A lightweight web browser" HOMEPAGE = "http://www.twotoasts.de/index.php?/pages/midori_summary.html" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" -DEPENDS = "webkit-gtk libsoup-2.4 openssl python-native python-docutils-native librsvg-native libnotify libunique" +DEPENDS = "webkit-gtk libsoup-2.4 openssl python-native python-docutils-native librsvg-native libnotify libunique libxscrnsaver" SRC_URI = "http://www.midori-browser.org/downloads/${BPN}_${PV}_all_.tar.bz2 \ "
Signature · 1 line
2.0.4
PATCH 7/8 directfb: add PACKAGECONFIG for drmkms and tiff
In reply to Martin Jansa* fixes following floating dependencies:
directfb/directfb/latest lost dependency on libdrm libdrm-kms liblzma tiff
--- meta/recipes-graphics/directfb/directfb.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-graphics/directfb/directfb.inc +2 -0
@@ -25,6 +25,8 @@ inherit autotools binconfig-disabled pkgconfig PACKAGECONFIG ??= "" PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper" +PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" +PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" EXTRA_OECONF = "\ --with-gfxdrivers=none \
Signature · 1 line
2.0.4
PATCH 8/8 guile: add dependency on ncurses and readline
In reply to Martin Jansa* fixes floating dependency:
guile/guile/latest lost dependency on ncurses-libncurses readline
--- meta/recipes-devtools/guile/guile_2.0.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/guile/guile_2.0.11.bb +1 -1
@@ -31,7 +31,7 @@ SRC_URI[sha256sum] = "aed0a4a6db4e310cbdfeb3613fa6f86fddc91ef624c1e3f8937a6304c6 inherit autotools gettext pkgconfig texinfo BBCLASSEXTEND = "native" -DEPENDS = "libunistring bdwgc gmp libtool libffi" +DEPENDS = "libunistring bdwgc gmp libtool libffi ncurses readline" # add guile-native only to the target recipe's DEPENDS DEPENDS_append_class-target = " guile-native libatomics-ops"
Signature · 1 line
2.0.4
Re: [PATCH 5/8] piglit: add dependency on libxrender
In reply to Martin JansaQuoted 2 lines · Martin Jansa
* fixes floating dependency:
piglit/piglit/latest lost dependency on libxrender
ping
Quoted 22 lines
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-graphics/piglit/piglit_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-graphics/piglit/piglit_git.bb +1
-1@@ -11,7 +11,7 @@ PV = "1.0+gitr${SRCPV}" S = "${WORKDIR}/git" -DEPENDS = "virtual/libx11 waffle virtual/libgl libglu python-mako-native python-numpy-native" +DEPENDS = "virtual/libx11 libxrender waffle virtual/libgl libglu python-mako-native python-numpy-native" # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11"Signature · 1 line
2.0.4
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 5/8] piglit: add dependency on libxrender
Quoted 5 lines · Martin Jansa
Quoted 2 lines · Martin Jansa
* fixes floating dependency:
piglit/piglit/latest lost dependency on libxrenderping
This didn't apply cleanly which is likely why it didn't get applied last time. I've fixed it up.
Cheers,
Richard