Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/8] test-dependencies, insane.bbclass: improve the message
@ 2014-08-09 16:07 Martin Jansa
  2014-08-09 16:07 ` [PATCH 2/8] gst-fluendo*: add --disable-debug only to gst-fluendo-mp3 Martin Jansa
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:07 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/classes/insane.bbclass  | 2 +-
 scripts/test-dependencies.sh | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 55bfaf2..3dd2e7f 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -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
diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh
index ecbb710..2bcc2ca 100755
--- a/scripts/test-dependencies.sh
+++ b/scripts/test-dependencies.sh
@@ -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
-- 
2.0.4



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

* [PATCH 2/8] gst-fluendo*: add --disable-debug only to gst-fluendo-mp3
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
@ 2014-08-09 16:07 ` Martin Jansa
  2014-08-09 16:07 ` [PATCH 3/8] mpeg2dec: add PACKAGECONFIG for x11 and fix dependencies Martin Jansa
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:07 UTC (permalink / raw)
  To: openembedded-core

* fixes following QA warnings:
  gst-fluendo-mpegdemux-0.10.72: gst-fluendo-mpegdemux: configure was
    passed unrecognised options: --disable-debug
    [unknown-configure-option]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 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(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.19.bb b/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.19.bb
index 47dbc34..9e68288 100644
--- a/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.19.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.19.bb
@@ -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"
diff --git a/meta/recipes-multimedia/gstreamer/gst-fluendo.inc b/meta/recipes-multimedia/gstreamer/gst-fluendo.inc
index c7e6595..feaf1c7 100644
--- a/meta/recipes-multimedia/gstreamer/gst-fluendo.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-fluendo.inc
@@ -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"
-- 
2.0.4



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

* [PATCH 3/8] mpeg2dec: add PACKAGECONFIG for x11 and fix dependencies
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
  2014-08-09 16:07 ` [PATCH 2/8] gst-fluendo*: add --disable-debug only to gst-fluendo-mp3 Martin Jansa
@ 2014-08-09 16:07 ` Martin Jansa
  2014-08-09 16:07 ` [PATCH 4/8] libarchive: add PACKAGECONFIG for nettle Martin Jansa
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:07 UTC (permalink / raw)
  To: openembedded-core

* 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?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb b/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
index 1211284..cede2bf 100644
--- a/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
+++ b/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
@@ -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"
 
-- 
2.0.4



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

* [PATCH 4/8] libarchive: add PACKAGECONFIG for nettle
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
  2014-08-09 16:07 ` [PATCH 2/8] gst-fluendo*: add --disable-debug only to gst-fluendo-mp3 Martin Jansa
  2014-08-09 16:07 ` [PATCH 3/8] mpeg2dec: add PACKAGECONFIG for x11 and fix dependencies Martin Jansa
@ 2014-08-09 16:07 ` Martin Jansa
  2014-08-09 16:08 ` [PATCH 5/8] piglit: add dependency on libxrender Martin Jansa
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:07 UTC (permalink / raw)
  To: openembedded-core

* fixes following floating dependencies:
  libarchive/libarchive/latest lost dependency on  nettle
  libarchive/libarchive-bin/latest lost dependency on  libxml2 nettle

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
index 2a2d0f9..96e2d50 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
@@ -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 \
-- 
2.0.4



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

* [PATCH 5/8] piglit: add dependency on libxrender
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
                   ` (2 preceding siblings ...)
  2014-08-09 16:07 ` [PATCH 4/8] libarchive: add PACKAGECONFIG for nettle Martin Jansa
@ 2014-08-09 16:08 ` Martin Jansa
  2014-08-16 18:19   ` Martin Jansa
  2014-08-09 16:08 ` [PATCH 6/8] midori: add dependency on libxscrnsaver Martin Jansa
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:08 UTC (permalink / raw)
  To: openembedded-core

* fixes floating dependency:
  piglit/piglit/latest lost dependency on  libxrender

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-graphics/piglit/piglit_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index 64289ed..32e73af 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -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"
-- 
2.0.4



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

* [PATCH 6/8] midori: add dependency on libxscrnsaver
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
                   ` (3 preceding siblings ...)
  2014-08-09 16:08 ` [PATCH 5/8] piglit: add dependency on libxrender Martin Jansa
@ 2014-08-09 16:08 ` Martin Jansa
  2014-08-09 16:08 ` [PATCH 7/8] directfb: add PACKAGECONFIG for drmkms and tiff Martin Jansa
  2014-08-09 16:08 ` [PATCH 8/8] guile: add dependency on ncurses and readline Martin Jansa
  6 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:08 UTC (permalink / raw)
  To: openembedded-core

* fixes floating dependency:
  midori/midori/latest lost dependency on  libxscrnsaver

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-sato/midori/midori_0.5.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/midori/midori_0.5.5.bb b/meta/recipes-sato/midori/midori_0.5.5.bb
index b359037..a9379e7 100644
--- a/meta/recipes-sato/midori/midori_0.5.5.bb
+++ b/meta/recipes-sato/midori/midori_0.5.5.bb
@@ -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 \
 "
-- 
2.0.4



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

* [PATCH 7/8] directfb: add PACKAGECONFIG for drmkms and tiff
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
                   ` (4 preceding siblings ...)
  2014-08-09 16:08 ` [PATCH 6/8] midori: add dependency on libxscrnsaver Martin Jansa
@ 2014-08-09 16:08 ` Martin Jansa
  2014-08-09 16:08 ` [PATCH 8/8] guile: add dependency on ncurses and readline Martin Jansa
  6 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:08 UTC (permalink / raw)
  To: openembedded-core

* fixes following floating dependencies:
  directfb/directfb/latest lost dependency on  libdrm libdrm-kms liblzma tiff

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-graphics/directfb/directfb.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
index 51dc09b..3dd0a5b 100644
--- a/meta/recipes-graphics/directfb/directfb.inc
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -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 \
-- 
2.0.4



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

* [PATCH 8/8] guile: add dependency on ncurses and readline
  2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
                   ` (5 preceding siblings ...)
  2014-08-09 16:08 ` [PATCH 7/8] directfb: add PACKAGECONFIG for drmkms and tiff Martin Jansa
@ 2014-08-09 16:08 ` Martin Jansa
  6 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-08-09 16:08 UTC (permalink / raw)
  To: openembedded-core

* fixes floating dependency:
  guile/guile/latest lost dependency on  ncurses-libncurses readline

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/guile/guile_2.0.11.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb
index d19460a..5b1e061 100644
--- a/meta/recipes-devtools/guile/guile_2.0.11.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.11.bb
@@ -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"
 
-- 
2.0.4



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

* Re: [PATCH 5/8] piglit: add dependency on libxrender
  2014-08-09 16:08 ` [PATCH 5/8] piglit: add dependency on libxrender Martin Jansa
@ 2014-08-16 18:19   ` Martin Jansa
  2014-08-17  8:57     ` Richard Purdie
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2014-08-16 18:19 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

On Sat, Aug 09, 2014 at 06:08:00PM +0200, Martin Jansa wrote:
> * fixes floating dependency:
>   piglit/piglit/latest lost dependency on  libxrender

ping

> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/recipes-graphics/piglit/piglit_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
> index 64289ed..32e73af 100644
> --- a/meta/recipes-graphics/piglit/piglit_git.bb
> +++ b/meta/recipes-graphics/piglit/piglit_git.bb
> @@ -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"
> -- 
> 2.0.4
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [PATCH 5/8] piglit: add dependency on libxrender
  2014-08-16 18:19   ` Martin Jansa
@ 2014-08-17  8:57     ` Richard Purdie
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2014-08-17  8:57 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Sat, 2014-08-16 at 20:19 +0200, Martin Jansa wrote:
> On Sat, Aug 09, 2014 at 06:08:00PM +0200, Martin Jansa wrote:
> > * fixes floating dependency:
> >   piglit/piglit/latest lost dependency on  libxrender
> 
> ping

This didn't apply cleanly which is likely why it didn't get applied last
time. I've fixed it up.

Cheers,

Richard



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

end of thread, other threads:[~2014-08-17  8:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-09 16:07 [PATCH 1/8] test-dependencies, insane.bbclass: improve the message Martin Jansa
2014-08-09 16:07 ` [PATCH 2/8] gst-fluendo*: add --disable-debug only to gst-fluendo-mp3 Martin Jansa
2014-08-09 16:07 ` [PATCH 3/8] mpeg2dec: add PACKAGECONFIG for x11 and fix dependencies Martin Jansa
2014-08-09 16:07 ` [PATCH 4/8] libarchive: add PACKAGECONFIG for nettle Martin Jansa
2014-08-09 16:08 ` [PATCH 5/8] piglit: add dependency on libxrender Martin Jansa
2014-08-16 18:19   ` Martin Jansa
2014-08-17  8:57     ` Richard Purdie
2014-08-09 16:08 ` [PATCH 6/8] midori: add dependency on libxscrnsaver Martin Jansa
2014-08-09 16:08 ` [PATCH 7/8] directfb: add PACKAGECONFIG for drmkms and tiff Martin Jansa
2014-08-09 16:08 ` [PATCH 8/8] guile: add dependency on ncurses and readline Martin Jansa

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