* [for-dylan][PATCH 01/33] (lib)telepathy*: add missing dependency on libxslt-native
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 02/33] gst-plugins-bad: inherit gsettings Martin Jansa
` (31 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* do_configure fails without:
| configure:13590: error: xsltproc (from the libxslt source package) is required
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb | 2 +-
meta/recipes-connectivity/telepathy/telepathy-glib_0.20.1.bb | 3 +--
meta/recipes-connectivity/telepathy/telepathy-idle_0.1.14.bb | 3 +--
.../telepathy/telepathy-mission-control_5.14.0.bb | 4 +---
meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb | 1 +
5 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb b/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb
index 7d0ef79..f13e709 100644
--- a/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb
+++ b/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb
@@ -4,7 +4,7 @@ communication, including instant messaging, voice calls and video calls. It \
abstracts differences between protocols to provide a unified interface for \
applications."
HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
-DEPENDS = "glib-2.0 dbus dbus-glib telepathy-glib"
+DEPENDS = "glib-2.0 dbus dbus-glib telepathy-glib libxslt-native"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
file://src/tp-conn.c;beginline=1;endline=19;md5=4c58069f77d601cc59200bce5396c7cb"
diff --git a/meta/recipes-connectivity/telepathy/telepathy-glib_0.20.1.bb b/meta/recipes-connectivity/telepathy/telepathy-glib_0.20.1.bb
index a0c3103..85071c0 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-glib_0.20.1.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-glib_0.20.1.bb
@@ -1,9 +1,8 @@
SUMMARY = "Telepathy Framework glib-base helper library"
DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection managers"
HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
-DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib"
+DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib libxslt-native"
LICENSE = "LGPLv2.1+"
-PR = "r0"
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz \
file://pkgconfig.patch"
diff --git a/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.14.bb b/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.14.bb
index 02250ea..4edcb3b 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.14.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.14.bb
@@ -1,11 +1,10 @@
SUMMARY = "Telepathy IRC connection manager"
DESCRIPTION = "Telepathy implementation of the Internet Relay Chat protocols."
HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
-DEPENDS = "glib-2.0 dbus telepathy-glib openssl"
+DEPENDS = "glib-2.0 dbus telepathy-glib openssl libxslt-native"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://src/idle.c;beginline=1;endline=19;md5=b06b1e2594423111a1a7910b0eefc7f9"
-PR = "r0"
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
file://fix-svc-gtk-doc.h-target.patch"
diff --git a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.14.0.bb b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.14.0.bb
index b758dd9..23e4c97 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.14.0.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.14.0.bb
@@ -4,12 +4,10 @@ LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
file://src/request.h;beginline=1;endline=21;md5=f80534d9af1c33291b3b79609f196eb2"
SECTION = "libs"
-DEPENDS = "libtelepathy dbus-glib gconf"
+DEPENDS = "libtelepathy dbus-glib gconf libxslt-native"
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-${PV}.tar.gz"
-PR = "r0"
-
inherit autotools pkgconfig pythonnative
PACKAGES =+ " \
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
index f83bb2c..5a02d81 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
@@ -4,6 +4,7 @@ LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822"
+DEPENDS = "libxslt-native"
RDEPENDS_${PN} += "python-dbus"
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 02/33] gst-plugins-bad: inherit gsettings
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 01/33] (lib)telepathy*: add missing dependency on libxslt-native Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 03/33] gst-plugins-base: add missing dependency on glib-2.0-native Martin Jansa
` (30 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* do_configure fails without native glib-compile-schemas:
| checking for glib-compile-schemas... no
| configure: error: glib-compile-schemas not found.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
index 87f338f..68451f2 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
@@ -10,7 +10,7 @@ DEPENDS += "gst-plugins-base curl"
PR = "r4"
-inherit gettext
+inherit gettext gsettings
EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \
--with-plugins=wavpack,mpegvideoparse --disable-vdpau --disable-apexsink \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 03/33] gst-plugins-base: add missing dependency on glib-2.0-native
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 01/33] (lib)telepathy*: add missing dependency on libxslt-native Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 02/33] gst-plugins-bad: inherit gsettings Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 04/33] taglib: add missing dependency on zlib Martin Jansa
` (29 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* glib-genmarshal is needed during do_compile:
| /bin/bash: line 1: glib-genmarshal: command not found
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb
index 462c54d..f4a5d49 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv libsm libice', '', d)}"
-DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora util-linux tremor"
+DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora util-linux tremor glib-2.0-native"
SRC_URI += "file://gst-plugins-base-tremor.patch \
file://configure.ac-fix-subparse-plugin.patch"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 04/33] taglib: add missing dependency on zlib
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (2 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 03/33] gst-plugins-base: add missing dependency on glib-2.0-native Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 05/33] quota: inherit pkgconfig Martin Jansa
` (28 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* without target zlib it tries to use native one:
| /OE/sysroots/x86_64-linux/usr/lib/libz.so: could not read symbols: File in wrong format
| collect2: error: ld returned 1 exit status
| make[2]: *** [taglib/libtag.so.1.12.0] Error 1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-support/taglib/taglib_1.8.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/taglib/taglib_1.8.bb b/meta/recipes-support/taglib/taglib_1.8.bb
index 76d2e51..4c151b7 100644
--- a/meta/recipes-support/taglib/taglib_1.8.bb
+++ b/meta/recipes-support/taglib/taglib_1.8.bb
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \
file://taglib/audioproperties.h;beginline=1;endline=24;md5=9df2c7399519b7310568a7c55042ecee"
+DEPENDS = "zlib"
+
PR = "r1"
# http://developer.kde.org/~wheeler/files/src/taglib-${PV}.tar.gz
SRC_URI = "https://github.com/downloads/taglib/taglib/taglib-1.8.tar.gz \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 05/33] quota: inherit pkgconfig
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (3 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 04/33] taglib: add missing dependency on zlib Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 06/33] libpam: " Martin Jansa
` (27 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* missing dependency on pkgconfig-native was causing
that PKG_CHECK_MODULES(DBUS, dbus-1) stayed unexpanded in
configure script:
checking for ext2fs_initialize in -lext2fs... yes
quota/4.01-r1/quota-tools/configure: line 3746: syntax error near unexpected token `DBUS,'
quota/4.01-r1/quota-tools/configure: line 3746: ` PKG_CHECK_MODULES(DBUS, dbus-1)'
Configure failed. The contents of all config.log files follows to aid debugging
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/quota/quota_4.01.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/quota/quota_4.01.bb b/meta/recipes-extended/quota/quota_4.01.bb
index 80159a9..f3c8fbe 100644
--- a/meta/recipes-extended/quota/quota_4.01.bb
+++ b/meta/recipes-extended/quota/quota_4.01.bb
@@ -17,7 +17,7 @@ S = "${WORKDIR}/quota-tools"
DEPENDS = "gettext-native e2fsprogs"
-inherit autotools gettext
+inherit autotools gettext pkgconfig
EXTRA_OEMAKE += 'STRIP=""'
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 06/33] libpam: inherit pkgconfig
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (4 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 05/33] quota: inherit pkgconfig Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 07/33] systemtap: " Martin Jansa
` (26 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* missing dependency on pkgconfig-native was causing
that PKG_CHECK_MODULES(DBUS, dbus-1) stayed unexpanded in
configure script:
checking for dbm_store in -lndbm... no
libpam/1.1.6-r2/Linux-PAM-1.1.6/configure:
line 14217: syntax error near unexpected token `libtirpc,'
libpam/1.1.6-r2/Linux-PAM-1.1.6/configure:
line 14217: ` PKG_CHECK_MODULES(libtirpc, libtirpc,'
Configure failed. The contents of all config.log files follows to aid
debugging
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/pam/libpam_1.1.6.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 79fe022..ba377ad 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -38,7 +38,7 @@ PR = "r2"
S = "${WORKDIR}/Linux-PAM-${PV}"
-inherit autotools gettext
+inherit autotools gettext pkgconfig
PACKAGES += "${PN}-runtime ${PN}-xtests"
FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 07/33] systemtap: inherit pkgconfig
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (5 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 06/33] libpam: " Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 08/33] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils Martin Jansa
` (25 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* systemtap-native was failing with undefined AC_DEFINE
configure.ac:56: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 22f8959..9bba5a9 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -20,7 +20,7 @@ STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
EXTRA_OECONF += "${STAP_DOCS} "
-inherit autotools gettext
+inherit autotools gettext pkgconfig
BBCLASSEXTEND = "native nativesdk"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 08/33] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (6 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 07/33] systemtap: " Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 09/33] wget: Add missing DEPENDS on zlib Martin Jansa
` (24 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* eglibc-collateral.inc inhibits all default deps, but do_package needs
objcopy:
ERROR: objcopy failed with exit code 127 (cmd was
'i586-webos-linux-objcopy' --only-keep-debug
'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so'
'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so')
ERROR: Function failed: split_and_strip_files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-core/eglibc/eglibc-locale.inc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index 3d6382d..68418d3 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -3,6 +3,11 @@ include eglibc-collateral.inc
BPN = "eglibc"
LOCALEBASEPN = "${MLPREFIX}eglibc"
+# eglibc-collateral.inc inhibits all default deps, but do_package needs objcopy
+# ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so')
+# ERROR: Function failed: split_and_strip_files
+DEPENDS_class-target = "virtual/${TARGET_PREFIX}binutils"
+
# Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION
# is set. The idea is to avoid running localedef on the target (at first boot)
# to decrease initial boot time and avoid localedef being killed by the OOM
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 09/33] wget: Add missing DEPENDS on zlib
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (7 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 08/33] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 10/33] libarchive: Fix build dependencies Martin Jansa
` (23 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: Hongxu Jia <hongxu.jia@windriver.com>
Create a new build enviroment, build wget failed
...
configure:34512: checking for libssl
configure:34542: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/jiahongxu/yocto/build-20130613-qemu/tmp/sysroots/qemux86 -o conftest - O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl -lssl /home/jiahongxu/yocto/build- 20130613-qemu/tmp/sysroots/qemux86/lib/libcrypto.so -lz >&5
/home/jiahongxu/yocto/build-20130613-qemu/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lz collect2: error: ld returned 1 exit status
...
From log as we known, the reason is link zlib failed, it isn't
explicitly in wget's DEPENDS. Add zlib to wget's DEPENDS.
[YOCTO #4749]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-extended/wget/wget.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 2787068..a7f99d7 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more."
SECTION = "console/network"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-DEPENDS = "openssl"
+DEPENDS = "openssl zlib"
INC_PR = "r16"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 10/33] libarchive: Fix build dependencies
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (8 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 09/33] wget: Add missing DEPENDS on zlib Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 11/33] bdwgc-native: Add missing pkgconfig DEPENDS Martin Jansa
` (22 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: Mark Hatle <mark.hatle@windriver.com>
Move to using the PACKAGECONFIG mechanism to select configure options and
dependencies. Without this the system will attempt to discover various
dependencies, and usually does so incorrectly.
We also ensure that the nativesdk version does not inherit any of the
DISTRO_FEATURES. We shouldn't need acl or xattr support for nativesdk.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-extended/libarchive/libarchive_2.8.5.bb | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
index 5cf13e6..06989d3 100644
--- a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
+++ b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
@@ -5,7 +5,25 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=4255e2e6f0349a4ac8fbd68459296e46"
PR = "r0"
-DEPENDS = "libxml2"
+PACKAGECONFIG ?= "libxml2 zlib bz2"
+
+PACKAGECONFIG_class-target += "\
+ ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
+"
+
+PACKAGECONFIG_class-nativesdk += "largefile"
+
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
+PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
+PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
+PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib,"
+PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,bzip2,"
+PACKAGECONFIG[xz] = "--with-lzmadec --with-lzma,--without-lzmadec --without-lzma,xz,"
+PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
+PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2,"
+PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat,"
SRC_URI = "http://libarchive.googlecode.com/files/libarchive-${PV}.tar.gz \
file://0001-Patch-from-upstream-revision-1990.patch \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 11/33] bdwgc-native: Add missing pkgconfig DEPENDS
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (9 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 10/33] libarchive: Fix build dependencies Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 12/33] gst-plugins-bad: element selection rationalisation Martin Jansa
` (21 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes configure errors like:
| configure.ac:70: error: possibly undefined macro: AC_MSG_ERROR
| If this token and others are legitimate, please use m4_pattern_allow.
| See the Autoconf documentation.
| configure.ac:358: error: possibly undefined macro: AS_IF
Reproduced with bitbake bdwgc-native pkgconfig-native -c clean; bitbake bdwgc-native
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-support/bdwgc/bdwgc_7.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/bdwgc/bdwgc_7.2.bb b/meta/recipes-support/bdwgc/bdwgc_7.2.bb
index a0a5bff..f7914e4 100644
--- a/meta/recipes-support/bdwgc/bdwgc_7.2.bb
+++ b/meta/recipes-support/bdwgc/bdwgc_7.2.bb
@@ -37,5 +37,5 @@ S = "${WORKDIR}/gc-${PV}"
ARM_INSTRUCTION_SET = "arm"
-inherit autotools
+inherit autotools pkgconfig
BBCLASSEXTEND = "native nativesdk"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 12/33] gst-plugins-bad: element selection rationalisation
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (10 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 11/33] bdwgc-native: Add missing pkgconfig DEPENDS Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 13/33] gcc: add build directory to include directories Martin Jansa
` (20 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: Ross Burton <ross.burton@intel.com>
Using --with-plugins means you only get the elements you enable, so we were
dropping vast numbers of useful plugins such as the MPEG muxers.
Instead, follow gst-plugins-base by using PACKAGECONFIG to enable/disable
plugins with optional dependencies.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../gstreamer/gst-plugins-bad_0.10.23.bb | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
index 68451f2..7e80ce4 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
@@ -6,18 +6,24 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
file://gst/tta/crc32.h;beginline=12;endline=29;md5=71a904d99ce7ae0c1cf129891b98145c"
-DEPENDS += "gst-plugins-base curl"
+DEPENDS += "gst-plugins-base"
PR = "r4"
inherit gettext gsettings
-EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \
- --with-plugins=wavpack,mpegvideoparse --disable-vdpau --disable-apexsink \
- --disable-orc --disable-neon"
+EXTRA_OECONF += "--disable-experimental \
+ --disable-sdl --disable-cdaudio --disable-directfb \
+ --disable-vdpau --disable-apexsink"
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'librsvg', '', d)}"
-PACKAGECONFIG[librsvg] = "--enable-rsvg,--disable-rsvg,librsvg,"
+PACKAGECONFIG ??= "bzip curl \
+ ${@base_contains('DISTRO_FEATURES', 'x11', 'rsvg', '', d)}"
+
+PACKAGECONFIG[bzip] = "--enable-bz2,--disable-bz2,bzip2"
+PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
+PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg,"
+PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
+PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
ARM_INSTRUCTION_SET = "arm"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 13/33] gcc: add build directory to include directories
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (11 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 12/33] gst-plugins-bad: element selection rationalisation Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 14/33] gst-plugins-bad: add few more PACKAGECONFIGs Martin Jansa
` (19 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: "Roy.Li" <rongqing.li@windriver.com>
Add build directory to include directories by -I${B}/include which will
be searched before standard system include directories.
Both libunwind and gcc supply unwind.h, once gcc use libunwind's unwind.h,
the compiling will fail.
This patch is generally not applicable to the upstream as they do not
use libunwind.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/gcc/gcc_4.7.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/gcc/gcc_4.7.bb b/meta/recipes-devtools/gcc/gcc_4.7.bb
index 9954375..f68c67a 100644
--- a/meta/recipes-devtools/gcc/gcc_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc_4.7.bb
@@ -2,4 +2,4 @@ require recipes-devtools/gcc/gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ "
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 14/33] gst-plugins-bad: add few more PACKAGECONFIGs
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (12 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 13/33] gcc: add build directory to include directories Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 15/33] quota: obey 'tcp-wrappers' PACKAGECONFIG Martin Jansa
` (18 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
index 7e80ce4..dceb12c 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
@@ -24,6 +24,16 @@ PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg,"
PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
+PACKAGECONFIG[mms] = "--enable-libmms,--disable-libmms,libmms"
+PACKAGECONFIG[cog] = "--enable-cog,--disable-cog,libpng"
+PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2"
+PACKAGECONFIG[jp2k] = "--enable-jp2k,--disable-jp2k,jasper"
+PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
+PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus"
+PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1"
+PACKAGECONFIG[vp8] = "--enable-vp8,--disable-vp8,libvpx"
+PACKAGECONFIG[ass] = "--enable-assrender,--disable-assrender,libass"
+PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft"
ARM_INSTRUCTION_SET = "arm"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 15/33] quota: obey 'tcp-wrappers' PACKAGECONFIG
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (13 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 14/33] gst-plugins-bad: add few more PACKAGECONFIGs Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 16/33] xkeyboard-config: add missing dependency on util-macros Martin Jansa
` (17 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-extended/quota/quota_4.01.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-extended/quota/quota_4.01.bb b/meta/recipes-extended/quota/quota_4.01.bb
index f3c8fbe..9835f06 100644
--- a/meta/recipes-extended/quota/quota_4.01.bb
+++ b/meta/recipes-extended/quota/quota_4.01.bb
@@ -21,6 +21,9 @@ inherit autotools gettext pkgconfig
EXTRA_OEMAKE += 'STRIP=""'
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = "--with-tcpwrappers,--without-tcpwrappers,tcp-wrappers"
+
do_install() {
oe_runmake prefix=${D}${prefix} install
}
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 16/33] xkeyboard-config: add missing dependency on util-macros
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (14 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 15/33] quota: obey 'tcp-wrappers' PACKAGECONFIG Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 17/33] ccache: add zlib dependency Martin Jansa
` (16 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* build fails without it
configure.ac:7: error: must install xorg-macros 1.12 or later before
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/xorg-lib/xkeyboard-config_2.8.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.8.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.8.bb
index ccb9f74..8579b24 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.8.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.8.bb
@@ -17,7 +17,7 @@ SRC_URI[md5sum] = "e66d567d85a954d589c5723fb0e1f3dd"
SRC_URI[sha256sum] = "4e1cf5468d488aaf320ddfd439e03cbda0b213550fd734026d23138e4b2078ae"
SECTION = "x11/libs"
-DEPENDS = "intltool-native virtual/gettext"
+DEPENDS = "intltool-native virtual/gettext util-macros"
PR = "r0"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 17/33] ccache: add zlib dependency
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (15 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 16/33] xkeyboard-config: add missing dependency on util-macros Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 18/33] cups: add PACKAGECONFIG for acl Martin Jansa
` (15 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* when it's not detected in sysroot it uses bundled version
* add explicit dependency to make it deterministic
* PACKAGECONFIG wasn't used because configure doesn't have an
option to select which one should be used
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/ccache/ccache.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/ccache/ccache.inc b/meta/recipes-devtools/ccache/ccache.inc
index 29ac409..087cb7d 100644
--- a/meta/recipes-devtools/ccache/ccache.inc
+++ b/meta/recipes-devtools/ccache/ccache.inc
@@ -7,6 +7,8 @@ HOMEPAGE = "http://ccache.samba.org"
SECTION = "devel"
LICENSE = "GPLv3+"
+DEPENDS = "zlib"
+
SRC_URI = "http://samba.org/ftp/ccache/ccache-${PV}.tar.xz"
inherit autotools
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 18/33] cups: add PACKAGECONFIG for acl
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (16 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 17/33] ccache: add zlib dependency Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 19/33] directfb: add PACKAGECONFIG for jpeg2000 Martin Jansa
` (14 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* acl is autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/cups/cups16.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups16.inc
index 914c3f9..b7fcb1d 100644
--- a/meta/recipes-extended/cups/cups16.inc
+++ b/meta/recipes-extended/cups/cups16.inc
@@ -13,6 +13,7 @@ inherit autotools binconfig
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}"
PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
EXTRA_OECONF = " \
--enable-gnutls \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 19/33] directfb: add PACKAGECONFIG for jpeg2000
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (17 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 18/33] cups: add PACKAGECONFIG for acl Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 20/33] distcc: add PACKAGECONFIG for popt Martin Jansa
` (13 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/directfb/directfb.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
index 97a4c55..7295c35 100644
--- a/meta/recipes-graphics/directfb/directfb.inc
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -23,6 +23,9 @@ LDFLAGS_append =" -lts -lm"
inherit autotools binconfig pkgconfig
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
+
EXTRA_OECONF = "\
--with-gfxdrivers=none \
--enable-libmpeg3=no \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 20/33] distcc: add PACKAGECONFIG for popt
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (18 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 19/33] directfb: add PACKAGECONFIG for jpeg2000 Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 21/33] grub: add PACKAGECONFIG for grub-mount Martin Jansa
` (12 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/distcc/distcc_3.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb b/meta/recipes-devtools/distcc/distcc_3.1.bb
index cb5d696..3571732 100644
--- a/meta/recipes-devtools/distcc/distcc_3.1.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.1.bb
@@ -11,8 +11,10 @@ DEPENDS = "avahi"
GTKCONFIG = "gtk"
GTKCONFIG_libc-uclibc = ""
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)}"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)} popt"
PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
+# use system popt by default
+PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
RRECOMMENDS_${PN} = "avahi-daemon"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 21/33] grub: add PACKAGECONFIG for grub-mount
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (19 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 20/33] distcc: add PACKAGECONFIG for popt Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 22/33] mailx: remove support for autodetection of krb5 Martin Jansa
` (11 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* fuse is autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-bsp/grub/grub_2.00.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb
index 8d224242..5153b6a 100644
--- a/meta/recipes-bsp/grub/grub_2.00.bb
+++ b/meta/recipes-bsp/grub/grub_2.00.bb
@@ -33,6 +33,9 @@ FILES_${PN}-dbg += "${libdir}/${BPN}/i386-pc/.debug"
inherit autotools
inherit gettext
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse"
+
EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \
--enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 22/33] mailx: remove support for autodetection of krb5
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (20 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 21/33] grub: add PACKAGECONFIG for grub-mount Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 23/33] minicom: add configure option and PACKAGECONFIG for lockdev Martin Jansa
` (10 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot and makeconfig doesn't allow
to explicitly define what's expected
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../explicitly.disable.krb5.support.patch | 46 ++++++++++++++++++++++
meta/recipes-extended/mailx/mailx_12.5.bb | 1 +
2 files changed, 47 insertions(+)
create mode 100644 meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch
diff --git a/meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch b/meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch
new file mode 100644
index 0000000..8c7178b
--- /dev/null
+++ b/meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch
@@ -0,0 +1,46 @@
+krb5 support is autodetected from sysroot making builds undeterministic
+feel free to improve this to support explicitly enabling/disabling it
+
+Upstream-Status: Penging
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
+--- a/makeconfig 2013-07-21 15:06:11.177792334 +0200
++++ b/makeconfig 2013-07-21 15:07:20.028793994 +0200
+@@ -424,36 +424,6 @@
+ }
+ !
+
+-<$tmp2.c link_check gssapi 'for GSSAPI in libgss' \
+- '#define USE_GSSAPI' '-lgss' ||
+- <$tmp2.c link_check gssapi 'for GSSAPI in libgssapi_krb5' \
+- '#define USE_GSSAPI' '-lgssapi_krb5' ||
+- link_check gssapi 'for GSSAPI in libgssapi_krb5, old-style' \
+- '#define USE_GSSAPI
+-#define GSSAPI_OLD_STYLE' '-lgssapi_krb5' <<\! || \
+- link_check gssapi 'for GSSAPI in libgssapi' \
+- '#define USE_GSSAPI
+-#define GSSAPI_REG_INCLUDE' '-lgssapi' <<\%
+-#include <gssapi/gssapi.h>
+-#include <gssapi/gssapi_generic.h>
+-
+-int main(void)
+-{
+- gss_import_name(0, 0, gss_nt_service_name, 0);
+- gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
+- return 0;
+-}
+-!
+-#include <gssapi.h>
+-
+-int main(void)
+-{
+- gss_import_name(0, 0, GSS_C_NT_HOSTBASED_SERVICE, 0);
+- gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
+- return 0;
+-}
+-%
+-
+ cat >$tmp2.c <<\!
+ #include "config.h"
+ #ifdef HAVE_NL_LANGINFO
diff --git a/meta/recipes-extended/mailx/mailx_12.5.bb b/meta/recipes-extended/mailx/mailx_12.5.bb
index 2a08113..f6734c7 100644
--- a/meta/recipes-extended/mailx/mailx_12.5.bb
+++ b/meta/recipes-extended/mailx/mailx_12.5.bb
@@ -14,6 +14,7 @@ DEPENDS = "openssl"
SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \
${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}-1.diff.gz;name=patch \
+ file://explicitly.disable.krb5.support.patch \
"
SRC_URI[archive.md5sum] = "29a6033ef1412824d02eb9d9213cb1f2"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 23/33] minicom: add configure option and PACKAGECONFIG for lockdev
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (21 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 22/33] mailx: remove support for autodetection of krb5 Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 24/33] ltp: add acl, openssl dependency Martin Jansa
` (9 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../minicom-2.6.2/allow.to.disable.lockdev.patch | 21 +++++++++++++++++++++
meta/recipes-extended/minicom/minicom_2.6.2.bb | 7 ++++++-
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-extended/minicom/minicom-2.6.2/allow.to.disable.lockdev.patch
diff --git a/meta/recipes-extended/minicom/minicom-2.6.2/allow.to.disable.lockdev.patch b/meta/recipes-extended/minicom/minicom-2.6.2/allow.to.disable.lockdev.patch
new file mode 100644
index 0000000..f5c0889
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom-2.6.2/allow.to.disable.lockdev.patch
@@ -0,0 +1,21 @@
+Upstream-Status: Pending
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
+--- a/configure.in 2013-02-06 18:18:13.000000000 +0100
++++ b/configure.in 2013-07-21 15:31:27.614828894 +0200
+@@ -40,7 +40,13 @@
+ fi
+
+ PKG_PROG_PKG_CONFIG
+-if test -n "$PKG_CONFIG"; then
++
++AC_ARG_ENABLE([lockdev],
++ AS_HELP_STRING([--enable-lockdev],
++ [Enable lockdev support (def: enabled)]),
++ [], [enable_lockdev="yes"])
++
++if test -n "$PKG_CONFIG" && test "x$enable_lockdev" = xyes; then
+ PKG_CHECK_MODULES([LOCKDEV], [lockdev], AC_DEFINE([HAVE_LOCKDEV],[1],[Define if you have lockdev]),[:])
+ fi
+
diff --git a/meta/recipes-extended/minicom/minicom_2.6.2.bb b/meta/recipes-extended/minicom/minicom_2.6.2.bb
index 0d65e80..558867d 100644
--- a/meta/recipes-extended/minicom/minicom_2.6.2.bb
+++ b/meta/recipes-extended/minicom/minicom_2.6.2.bb
@@ -8,11 +8,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \
PR = "r0"
-SRC_URI = "http://alioth.debian.org/frs/download.php/3869/minicom-${PV}.tar.gz"
+SRC_URI = "http://alioth.debian.org/frs/download.php/3869/minicom-${PV}.tar.gz \
+ file://allow.to.disable.lockdev.patch \
+"
SRC_URI[md5sum] = "203c56c4b447f45e2301b0cc4e83da3c"
SRC_URI[sha256sum] = "f3cf215f7914ffa5528e398962176102ad74df27ba38958142f56aa6d15c9168"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[lockdev] = "--enable-lockdev,--disable-lockdev,lockdev"
+
inherit autotools gettext
do_install() {
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 24/33] ltp: add acl, openssl dependency
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (22 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 23/33] minicom: add configure option and PACKAGECONFIG for lockdev Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 25/33] patch: add PACKAGECONFIG for attr Martin Jansa
` (8 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* when it's not detected in sysroot it uses bundled version
* add explicit dependency to make it deterministic
* PACKAGECONFIG wasn't used because configure doesn't have an
option to select which one should be used
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/ltp/ltp_20120903.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/ltp/ltp_20120903.bb b/meta/recipes-extended/ltp/ltp_20120903.bb
index 87c45b0..522757d 100644
--- a/meta/recipes-extended/ltp/ltp_20120903.bb
+++ b/meta/recipes-extended/ltp/ltp_20120903.bb
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
-DEPENDS = "attr libaio libcap"
+DEPENDS = "attr libaio libcap acl openssl"
PR = "r2"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 25/33] patch: add PACKAGECONFIG for attr
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (23 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 24/33] ltp: add acl, openssl dependency Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 26/33] python-imaging: add PACKAGECONFIG for lcms Martin Jansa
` (7 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/patch/patch.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index 332b97a..b49226a 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -9,5 +9,8 @@ S = "${WORKDIR}/patch-${PV}"
inherit autotools update-alternatives
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[attr] = "--enable-xattr,--disable-xattr,attr"
+
ALTERNATIVE_${PN} = "patch"
ALTERNATIVE_PRIORITY = "100"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 26/33] python-imaging: add PACKAGECONFIG for lcms
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (24 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 25/33] patch: add PACKAGECONFIG for attr Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 27/33] socat: add PACKAGECONFIG for tcp-wrappers Martin Jansa
` (6 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../allow.to.disable.some.features.patch | 65 ++++++++++++++++++++++
.../python/python-imaging_1.1.7.bb | 10 +++-
2 files changed, 74 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
diff --git a/meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch b/meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
new file mode 100644
index 0000000..4960ed4
--- /dev/null
+++ b/meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
@@ -0,0 +1,65 @@
+At least lcms wasn't deterministicly detected from sysroot.
+
+This will allow to export LCMS_ENABLED=False when lcms isn't in PACKAGECONFIG.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
+diff -uNr Imaging-1.1.7.orig/setup.py Imaging-1.1.7/setup.py
+--- Imaging-1.1.7.orig/setup.py 2013-07-22 10:17:02.081457075 +0200
++++ Imaging-1.1.7/setup.py 2013-07-22 13:10:09.029707492 +0200
+@@ -39,6 +39,12 @@
+ TIFF_ROOT = None
+ FREETYPE_ROOT = os.environ['STAGING_LIBDIR'], os.environ['STAGING_INCDIR']
+ LCMS_ROOT = None
++TCL_ENABLED = os.getenv('TCL_ENABLED', "True")
++JPEG_ENABLED = os.getenv('JPEG_ENABLED', "True")
++ZLIB_ENABLED = os.getenv('ZLIB_ENABLED', "True")
++TIFF_ENABLED = os.getenv('TIFF_ENABLED', "True")
++FREETYPE_ENABLED = os.getenv('FREETYPE_ENABLED', "True")
++LCMS_ENABLED = os.getenv('LCMS_ENABLED', "True")
+
+ # FIXME: add mechanism to explicitly *disable* the use of a library
+
+@@ -220,22 +226,22 @@
+ zlib = jpeg = tiff = freetype = tcl = tk = lcms = None
+ feature = feature()
+
+- if find_include_file(self, "zlib.h"):
++ if ZLIB_ENABLED == 'True' and find_include_file(self, "zlib.h"):
+ if find_library_file(self, "z"):
+ feature.zlib = "z"
+ elif sys.platform == "win32" and find_library_file(self, "zlib"):
+ feature.zlib = "zlib" # alternative name
+
+- if find_include_file(self, "jpeglib.h"):
++ if JPEG_ENABLED == 'True' and find_include_file(self, "jpeglib.h"):
+ if find_library_file(self, "jpeg"):
+ feature.jpeg = "jpeg"
+ elif sys.platform == "win32" and find_library_file(self, "libjpeg"):
+ feature.jpeg = "libjpeg" # alternative name
+
+- if find_library_file(self, "tiff"):
++ if TIFF_ENABLED == 'True' and find_library_file(self, "tiff"):
+ feature.tiff = "tiff"
+
+- if find_library_file(self, "freetype"):
++ if FREETYPE_ENABLED == 'True' and find_library_file(self, "freetype"):
+ # look for freetype2 include files
+ freetype_version = 0
+ for dir in self.compiler.include_dirs:
+@@ -256,11 +262,11 @@
+ if dir:
+ add_directory(self.compiler.include_dirs, dir, 0)
+
+- if find_include_file(self, "lcms.h"):
++ if LCMS_ENABLED == 'True' and find_include_file(self, "lcms.h"):
+ if find_library_file(self, "lcms"):
+ feature.lcms = "lcms"
+
+- if _tkinter and find_include_file(self, "tk.h"):
++ if TCL_ENABLED == 'True' and _tkinter and find_include_file(self, "tk.h"):
+ # the library names may vary somewhat (e.g. tcl84 or tcl8.4)
+ version = TCL_VERSION[0] + TCL_VERSION[2]
+ if find_library_file(self, "tcl" + version):
diff --git a/meta/recipes-devtools/python/python-imaging_1.1.7.bb b/meta/recipes-devtools/python/python-imaging_1.1.7.bb
index de0e975..e100358 100644
--- a/meta/recipes-devtools/python/python-imaging_1.1.7.bb
+++ b/meta/recipes-devtools/python/python-imaging_1.1.7.bb
@@ -7,23 +7,31 @@ SRCNAME = "Imaging"
PR = "r5"
SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
- file://0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch"
+ file://0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch \
+ file://allow.to.disable.some.features.patch"
SRC_URI[md5sum] = "fc14a54e1ce02a0225be8854bfba478e"
SRC_URI[sha256sum] = "895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
S = "${WORKDIR}/${SRCNAME}-${PV}"
+# There isn't enable/disable option, and lcms is in meta-oe, at least make it explicit when enabled
+# setup.py already has FIXME: add mechanism to explicitly *disable* the use of a library
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[lcms] = ",,lcms"
+
inherit distutils
do_compile() {
export STAGING_LIBDIR=${STAGING_LIBDIR}
export STAGING_INCDIR=${STAGING_INCDIR}
+ export LCMS_ENABLED=${@base_contains('PACKAGECONFIG', 'lcms', 'True', 'False', d)}
distutils_do_compile
}
do_install() {
export STAGING_LIBDIR=${STAGING_LIBDIR}
export STAGING_INCDIR=${STAGING_INCDIR}
+ export LCMS_ENABLED=${@base_contains('PACKAGECONFIG', 'lcms', 'True', 'False', d)}
distutils_do_install
install -d ${D}${datadir}/doc/${BPN}/html/
install -m 0644 ${S}/README ${D}${datadir}/doc/${BPN}/
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 27/33] socat: add PACKAGECONFIG for tcp-wrappers
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (25 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 26/33] python-imaging: add PACKAGECONFIG for lcms Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 28/33] sudo: add PACKAGECONFIG for zlib Martin Jansa
` (5 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-connectivity/socat/socat_1.7.2.1.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-connectivity/socat/socat_1.7.2.1.bb b/meta/recipes-connectivity/socat/socat_1.7.2.1.bb
index 950e1e5..8aff4de 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.2.1.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.2.1.bb
@@ -18,6 +18,9 @@ SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2;name=s
SRC_URI[src.md5sum] = "7ddfea7e9e85f868670f94d3ea08358b"
SRC_URI[src.sha256sum] = "faea2ed6c63bb97a59237fd43b7c35ad248317297e8bfeb2e6f2ec1e6bc58277"
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
+
EXTRA_OECONF = " --disable-termios "
inherit autotools
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 28/33] sudo: add PACKAGECONFIG for zlib
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (26 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 27/33] socat: add PACKAGECONFIG for tcp-wrappers Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 29/33] gst-plugins-good: add PACKAGECONFIG for jpeg, wavpack, gdkpixbuf, v4l, bzip2, orc Martin Jansa
` (4 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/sudo/sudo.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index e778485..cc31c5e 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -13,6 +13,9 @@ LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=d25a8240ca6decdecb9990789e593130 \
inherit autotools
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
+
EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
do_configure_prepend () {
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 29/33] gst-plugins-good: add PACKAGECONFIG for jpeg, wavpack, gdkpixbuf, v4l, bzip2, orc
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (27 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 28/33] sudo: add PACKAGECONFIG for zlib Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 30/33] gettext: disable nls when INHIBIT_DEFAULT_DEPS is set Martin Jansa
` (3 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
index e630f67..8868ba7 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
@@ -7,11 +7,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
PR = "r8"
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} jpeg"
PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
-
-DEPENDS += "gst-plugins-base gconf cairo jpeg libpng zlib libid3tag flac \
+PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
+PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
+PACKAGECONFIG[gdkpixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
+PACKAGECONFIG[v4l] = "--with-libv4l2,--without-libv4l2,libv4l"
+PACKAGECONFIG[bzip2] = "--enable-bz2,--disable-bz2,bzip2"
+PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
+
+DEPENDS += "gst-plugins-base gconf cairo libpng zlib libid3tag flac \
speex libsoup-2.4"
inherit gettext gconf
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 30/33] gettext: disable nls when INHIBIT_DEFAULT_DEPS is set
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (28 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 29/33] gst-plugins-good: add PACKAGECONFIG for jpeg, wavpack, gdkpixbuf, v4l, bzip2, orc Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 31/33] weston: backport patch for libunwind configure option and disable it Martin Jansa
` (2 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* for example in gcc-runtime DEPENDS_GETTEXT from gettext.bbclass isn't
used because gcc-runtime recipes also set INHIBIT_DEFAULT_DEPS,
explicitly disable NLS when DEPENDS_GETTEXT is empty
* this is causing undeterministic build
if you compare i586-oe-linux/libstdc++-v3/config.log in WORKDIR when building
gcc-runtime before and after building gettext-native you'll see that msgfmt
isn't found in one of them and gcc-runtime-locale-{de,fr} packages
aren't created, there is only one file in them:
gcc-runtime-locale-de/usr/share/locale/de/LC_MESSAGES/libstdc++.mo
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/classes/gettext.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass
index 95818c6..17c894f 100644
--- a/meta/classes/gettext.bbclass
+++ b/meta/classes/gettext.bbclass
@@ -10,8 +10,8 @@ def gettext_dependencies(d):
def gettext_oeconf(d):
if oe.utils.inherits(d, 'native', 'cross'):
return '--disable-nls'
- # Remove the NLS bits if USE_NLS is no.
- if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'nativesdk', 'cross-canadian'):
+ # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set
+ if (d.getVar('USE_NLS', True) == 'no' or d.getVar('INHIBIT_DEFAULT_DEPS', True)) and not oe.utils.inherits(d, 'nativesdk', 'cross-canadian'):
return '--disable-nls'
return "--enable-nls"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 31/33] weston: backport patch for libunwind configure option and disable it
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (29 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 30/33] gettext: disable nls when INHIBIT_DEFAULT_DEPS is set Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 32/33] mesa: inherit gettext Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 33/33] gst-plugins-gl: add explicit dependency on libpng Martin Jansa
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* it's autodetected from sysroot and runtime dependency on libunwind isn't
deterministic
* master has weston 1.1.0 which already has this option and also explicitly
disables libunwind
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
...utotools-Add-a-libunwind-configure-switch.patch | 40 ++++++++++++++++++++++
meta/recipes-graphics/wayland/weston_1.0.6.bb | 3 +-
2 files changed, 42 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-graphics/wayland/weston/0001-autotools-Add-a-libunwind-configure-switch.patch
diff --git a/meta/recipes-graphics/wayland/weston/0001-autotools-Add-a-libunwind-configure-switch.patch b/meta/recipes-graphics/wayland/weston/0001-autotools-Add-a-libunwind-configure-switch.patch
new file mode 100644
index 0000000..faf9680
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston/0001-autotools-Add-a-libunwind-configure-switch.patch
@@ -0,0 +1,40 @@
+From cc802f5f34c6ea4fe66f70225830c97ef7abbfc3 Mon Sep 17 00:00:00 2001
+From: Quentin Glidic <sardemff7+git@sardemff7.net>
+Date: Wed, 3 Apr 2013 20:19:45 +0200
+Subject: [PATCH] autotools: Add a libunwind configure switch
+
+Upstream-Status: Backport from 1.1 (5daccc373eddf94086fcc4662c38605de6356c6c)
+
+Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ configure.ac | 12 +++++++-----
+ 1 file changed, 7 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 71d0978..1e76ded 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -251,12 +251,14 @@ fi
+ AC_SUBST(GCC_CFLAGS)
+ AC_SUBST(GCC_CXXFLAGS)
+
+-PKG_CHECK_MODULES(LIBUNWIND, libunwind,
+- [have_libunwind=yes], [have_libunwind=no])
+-if test "x$have_libunwind" = xyes; then
+- AC_DEFINE(HAVE_LIBUNWIND, 1, [Have libunwind support])
++AC_ARG_ENABLE(libunwind, AS_HELP_STRING([ --disable-libunwind],
++ [Disable libunwind usage for backtraces]),,
++ enable_libunwind=yes)
++if test "x$enable_libunwind" = xyes; then
++ PKG_CHECK_MODULES(LIBUNWIND, libunwind)
++ AC_DEFINE(HAVE_LIBUNWIND, 1, [Have libunwind support])
+ fi
+-AM_CONDITIONAL(HAVE_LIBUNWIND, [test "x$have_libunwind" = xyes])
++AM_CONDITIONAL(HAVE_LIBUNWIND, [test "x$enable_libunwind" = xyes])
+
+ WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
+
+--
+1.8.3.2
+
diff --git a/meta/recipes-graphics/wayland/weston_1.0.6.bb b/meta/recipes-graphics/wayland/weston_1.0.6.bb
index cb41e05..9dea495 100644
--- a/meta/recipes-graphics/wayland/weston_1.0.6.bb
+++ b/meta/recipes-graphics/wayland/weston_1.0.6.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \
file://src/compositor.c;endline=23;md5=aa98a8db03480fe7d500d0b1f4b8850c"
SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+ file://0001-autotools-Add-a-libunwind-configure-switch.patch \
file://weston.png \
file://weston.desktop"
SRC_URI[md5sum] = "63202129d66d5514e572814da5dfa1f7"
@@ -17,7 +18,7 @@ DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
DEPENDS += "wayland mesa virtual/egl"
EXTRA_OECONF = "--disable-android-compositor --enable-setuid-install"
-EXTRA_OECONF += "--disable-tablet-shell --disable-xwayland"
+EXTRA_OECONF += "--disable-tablet-shell --disable-xwayland --disable-libunwind"
EXTRA_OECONF += "--enable-simple-clients --enable-clients --disable-simple-egl-clients"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 32/33] mesa: inherit gettext
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (30 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 31/33] weston: backport patch for libunwind configure option and disable it Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
2013-08-15 7:23 ` [for-dylan][PATCH 33/33] gst-plugins-gl: add explicit dependency on libpng Martin Jansa
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
* build in clean tmpdir fails with:
| make[6]: Entering directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool'
| Updating (de) de/LC_MESSAGES/options.mo from de.po.
| Updating (es) es/LC_MESSAGES/options.mo from es.po.
| Updating (nl) nl/LC_MESSAGES/options.mo from nl.po.
| Updating (fr) fr/LC_MESSAGES/options.mo from fr.po.
| /bin/bash: line 4: msgfmt: command not found
| make[6]: *** [de/LC_MESSAGES/options.mo] Error 127
| Updating (sv) sv/LC_MESSAGES/options.mo from sv.po.
| make[6]: *** Waiting for unfinished jobs....
| /bin/bash: line 4: msgfmt: command not found
| make[6]: *** [es/LC_MESSAGES/options.mo] Error 127
| /bin/bash: line 4: msgfmt: command not found
| make[6]: *** [nl/LC_MESSAGES/options.mo] Error 127
| /bin/bash: line 4: msgfmt: command not found
| /bin/bash: line 4: msgfmt: command not found
| make[6]: *** [fr/LC_MESSAGES/options.mo] Error 127
| make[6]: *** [sv/LC_MESSAGES/options.mo] Error 127
| make[6]: Leaving directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index c37ad69..c3c76d7 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -18,7 +18,7 @@ DEPENDS = "expat makedepend-native flex-native bison-native"
PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
-inherit autotools pkgconfig pythonnative
+inherit autotools pkgconfig pythonnative gettext
EXTRA_OECONF = "--disable-glu \
--disable-glw \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread* [for-dylan][PATCH 33/33] gst-plugins-gl: add explicit dependency on libpng
2013-08-15 7:23 [for-dylan][PATCH 00/33] Backports for deterministic dependencies Martin Jansa
` (31 preceding siblings ...)
2013-08-15 7:23 ` [for-dylan][PATCH 32/33] mesa: inherit gettext Martin Jansa
@ 2013-08-15 7:23 ` Martin Jansa
32 siblings, 0 replies; 34+ messages in thread
From: Martin Jansa @ 2013-08-15 7:23 UTC (permalink / raw)
To: openembedded-core
From: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
index a6c74fb..213e799 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "48340b6a4b8abce16344a7bc33e74a94fdcce4f57ef6342cdf2f941c42
SRC_URI += " file://0001-conditional-gl-framebuffer-undefined-use.patch"
-DEPENDS += "gst-plugins-base virtual/libgles2 virtual/egl jpeg"
+DEPENDS += "gst-plugins-base virtual/libgles2 virtual/egl jpeg libpng"
inherit gettext gconf
--
1.8.3.2
^ permalink raw reply related [flat|nested] 34+ messages in thread