Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/8] Numerous bug fixes
@ 2011-03-08  0:29 Saul Wold
  2011-03-08  0:29 ` [PATCH 1/8] gst-plugins: Added hal to DEPENDS Saul Wold
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Saul Wold <sgw@linux.intel.com>

This set address a number of bugs found during testing of
the Bernard release, they may not all be accepeted, I send 
them here for reference also.


Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: distro/oe-dist
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=distro/oe-dist

Thanks,
    Saul Wold <sgw@linux.intel.com>
---


Dexuan Cui (1):
  util-macros: fix DEPENDS in the case of native/nativesdk

Dongxiao Xu (1):
  connman: add xuser to the dbus permission list

Koen Kooi (1):
  libgpg-error: extend to nativesdk to catch up with metadata changes

Liping Ke (1):
  adt: Update to svn r596 to fix symbolic link issues

Nitin A Kamble (1):
  gcc-runtime: fix LSB library checks for libstdc++.so.6

Saul Wold (3):
  gst-plugins: Added hal to DEPENDS
  attr: Added ncurses to depends
  lsb-live image: add lsb-live and lsb-sdk-live image types

 meta/conf/bitbake.conf                             |    2 +-
 .../conf/distro/include/poky-default-revisions.inc |    1 +
 meta/conf/distro/include/poky-eglibc.inc           |    2 +-
 meta/conf/distro/include/poky-glibc.inc            |    2 +-
 meta/conf/distro/include/poky-uclibc.inc           |    2 +-
 .../connman-0.65/add_xuser_dbus_permission.patch   |   21 ++++++++++++++++++++
 meta/recipes-connectivity/connman/connman_0.65.bb  |    3 +-
 .../recipes-devtools/gcc/gcc-configure-runtime.inc |    1 +
 meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb     |    2 +-
 .../installer/adt-installer/adt_installer          |    2 +-
 .../installer/adt-installer_1.0.bb                 |    8 +++---
 .../recipes-extended/images/poky-image-lsb-live.bb |   11 ++++++++++
 .../images/poky-image-lsb-sdk-live.bb              |   11 ++++++++++
 .../xorg-util/util-macros_1.11.0.bb                |    5 ++-
 meta/recipes-multimedia/gstreamer/gst-plugins.inc  |    2 +-
 meta/recipes-support/attr/attr.inc                 |    2 +
 .../libgpg-error/libgpg-error_1.9.bb               |    5 ++-
 17 files changed, 66 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch
 create mode 100644 meta/recipes-extended/images/poky-image-lsb-live.bb
 create mode 100644 meta/recipes-extended/images/poky-image-lsb-sdk-live.bb




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

* [PATCH 1/8] gst-plugins: Added hal to DEPENDS
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08  0:29 ` [PATCH 2/8] attr: Added ncurses to depends Saul Wold
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Saul Wold <sgw@linux.intel.com>

Fixes [YOCTO #810]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-multimedia/gstreamer/gst-plugins.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
index 4edca95..d1abd36 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://gstreamer.freedesktop.org/"
 BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
 SECTION = "multimedia"
 PRIORITY = "optional"
-DEPENDS = "gstreamer"
+DEPENDS = "gstreamer hal"
 
 inherit autotools pkgconfig
 
-- 
1.7.1.1




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

* [PATCH 2/8] attr: Added ncurses to depends
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
  2011-03-08  0:29 ` [PATCH 1/8] gst-plugins: Added hal to DEPENDS Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08 18:25   ` Khem Raj
  2011-03-08  0:29 ` [PATCH 3/8] lsb-live image: add lsb-live and lsb-sdk-live image types Saul Wold
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Saul Wold <sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/attr/attr.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc
index e9467d7..c110340 100644
--- a/meta/recipes-support/attr/attr.inc
+++ b/meta/recipes-support/attr/attr.inc
@@ -2,6 +2,8 @@ DESCRIPTION = "utilities for manipulating filesystem extended attributes"
 HOMEPAGE = "http://savannah.nongnu.org/projects/attr/"
 SECTION = "libs"
 
+DEPENDS = "ncurses"
+
 LICENSE = "LGPLv2.1+ & GPLv2+"
 LICENSE_${PN} = "GPLv2+"
 LICENSE_lib${PN} = "LGPLv2.1+"
-- 
1.7.1.1




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

* [PATCH 3/8] lsb-live image: add lsb-live and lsb-sdk-live image types
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
  2011-03-08  0:29 ` [PATCH 1/8] gst-plugins: Added hal to DEPENDS Saul Wold
  2011-03-08  0:29 ` [PATCH 2/8] attr: Added ncurses to depends Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08  0:29 ` [PATCH 4/8] adt: Update to svn r596 to fix symbolic link issues Saul Wold
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Saul Wold <sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../recipes-extended/images/poky-image-lsb-live.bb |   11 +++++++++++
 .../images/poky-image-lsb-sdk-live.bb              |   11 +++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-extended/images/poky-image-lsb-live.bb
 create mode 100644 meta/recipes-extended/images/poky-image-lsb-sdk-live.bb

diff --git a/meta/recipes-extended/images/poky-image-lsb-live.bb b/meta/recipes-extended/images/poky-image-lsb-live.bb
new file mode 100644
index 0000000..baa9ea0
--- /dev/null
+++ b/meta/recipes-extended/images/poky-image-lsb-live.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "LSB Bootable Live Image"
+
+require recipes-core/images/poky-image-live.inc
+
+LABELS += "boot install"
+
+ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-lsb-${MACHINE}.ext3"
+
+LICENSE = "MIT"
+
+do_bootimg[depends] += "poky-image-lsb:do_rootfs"
diff --git a/meta/recipes-extended/images/poky-image-lsb-sdk-live.bb b/meta/recipes-extended/images/poky-image-lsb-sdk-live.bb
new file mode 100644
index 0000000..370780a
--- /dev/null
+++ b/meta/recipes-extended/images/poky-image-lsb-sdk-live.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "LSB SDK Bootable Live Image"
+
+require recipes-core/images/poky-image-live.inc
+
+LABELS += "boot install"
+
+ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-lsb-sdk-${MACHINE}.ext3"
+
+LICENSE = "MIT"
+
+do_bootimg[depends] += "poky-image-lsb-sdk:do_rootfs"
-- 
1.7.1.1




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

* [PATCH 4/8] adt: Update to svn r596 to fix symbolic link issues
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
                   ` (2 preceding siblings ...)
  2011-03-08  0:29 ` [PATCH 3/8] lsb-live image: add lsb-live and lsb-sdk-live image types Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08  0:29 ` [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk Saul Wold
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Liping Ke <liping.ke@intel.com>

See the longlinksfix patch for details but symlinks over 100 chars long
were broken in sdk tarballs and its due to problems in the inbuilt tar in
libbb in opkg. svn r596 has already fixed the problem.

Signed-off-by: Liping Ke <liping.ke@intel.com>
---
 .../conf/distro/include/poky-default-revisions.inc |    1 +
 .../installer/adt-installer/adt_installer          |    2 +-
 .../installer/adt-installer_1.0.bb                 |    8 ++++----
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc
index 5045c9e..36202a1 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -140,6 +140,7 @@ OPKGSRCREV = "596"
 SRCREV_pn-opkg ??= "${OPKGSRCREV}"
 SRCREV_pn-opkg-native ??= "${OPKGSRCREV}"
 SRCREV_pn-opkg-nativesdk ??= "${OPKGSRCREV}"
+SRCREV_pn-adt-installer ??= "${OPKGSRCREV}"
 SRCREV_pn-opkg-nogpg ??= "${OPKGSRCREV}"
 SRCREV_pn-opkg-nogpg-native ??= "${OPKGSRCREV}"
 SRCREV_pn-opkg-nogpg-nativesdk ??= "${OPKGSRCREV}"
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer
index 2448d2b..b1b4970 100755
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer
@@ -170,7 +170,7 @@ if [ ! -x "$LOCAL_OPKG_LOC/bin/opkg-cl" ]; then
   check_result
 
   echo_info "Configure opkg ...\n"
-  ./configure --prefix=$parent_folder/$LOCAL_OPKG_LOC --with-opkglibdir=$OPKG_LIBDIR --disable-curl --disable-ssl-curl --disable-gpg --disable-shave >> $parent_folder/$YOCTOADT_INSTALL_LOG_FILE
+  ./autogen.sh --prefix=$parent_folder/$LOCAL_OPKG_LOC --with-opkglibdir=$OPKG_LIBDIR --disable-curl --disable-ssl-curl --disable-gpg --disable-shave >> $parent_folder/$YOCTOADT_INSTALL_LOG_FILE
   check_result
 
   echo_info "Make opkg ...\n"
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index e865971..50290f9 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -39,7 +39,8 @@ YOCTOADT_VERSION = "${SDK_VERSION}"
 
 inherit deploy
 
-SRC_URI = "http://opkg.googlecode.com/files/opkg-0.1.8.tar.gz \
+PV = "0.1.8+svnr${SRCPV}"
+SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
            file://adt_installer \
            file://scripts/adt_installer_internal \
            file://scripts/util \
@@ -49,8 +50,6 @@ SRC_URI = "http://opkg.googlecode.com/files/opkg-0.1.8.tar.gz \
            file://opkg/conf/opkg-sdk-x86_64.conf \
            file://opkg/conf/opkg-sdk-i686.conf \
 	  "
-SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
-SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
 
 fakeroot do_deploy () {
 	cd ${WORKDIR}
@@ -59,7 +58,8 @@ fakeroot do_deploy () {
 	rm -rf ${ADT_DIR}
 	mkdir -p ${ADT_DIR}/opkg/build
 	cp -r opkg ${ADT_DIR}/
-	cp -r opkg-0.1.8 ${ADT_DIR}/opkg/build/
+	cp -r trunk ${ADT_DIR}/opkg/build/
+	mv ${ADT_DIR}/opkg/build/trunk ${ADT_DIR}/opkg/build/opkg-svn
 	cp -r scripts ${ADT_DIR}/
 	cp adt_installer ${ADT_DIR}
 	cp adt_installer.conf ${ADT_DIR}
-- 
1.7.1.1




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

* [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
                   ` (3 preceding siblings ...)
  2011-03-08  0:29 ` [PATCH 4/8] adt: Update to svn r596 to fix symbolic link issues Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08 18:47   ` Joshua Lock
  2011-03-08  0:29 ` [PATCH 5/8] connman: add xuser to the dbus permission list Saul Wold
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Dexuan Cui <dexuan.cui@intel.com>

This fixes [YOCTO #814]

Without the line fixing nativesdk, bitbake meta-toolchain-gmae would
get the following:

Missing or unbuildable dependency chain was: ['meta-toolchain-gmae', 'task-sdk-host', 'qemu-nativesdk', 'libsdl-nativesdk', 'libx11-nativesdk', 'util-macros-nativesdk', 'libgpg-error-nativesdk']
ERROR: Nothing PROVIDES 'libgpg-error-nativesdk'

[sgw: inherit gettext]
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../xorg-util/util-macros_1.11.0.bb                |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
index 2bfe514..10de96c 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
@@ -11,12 +11,13 @@ PE = "1"
 PR = "r0"
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
-DEPENDS = "gettext libgpg-error"
-DEPENDS_virtclass-native = "gettext"
+DEPENDS = "libgpg-error"
 
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
 
+inherit gettext
+
 BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI[md5sum] = "8580021f3a9e242ab09d23d62e475d53"
-- 
1.7.1.1




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

* [PATCH 5/8] connman: add xuser to the dbus permission list
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
                   ` (4 preceding siblings ...)
  2011-03-08  0:29 ` [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08 18:27   ` [poky] " Khem Raj
  2011-03-08  0:29 ` [PATCH 7/8] libgpg-error: extend to nativesdk to catch up with metadata changes Saul Wold
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Dongxiao Xu <dongxiao.xu@intel.com>

Some platform (like atom-pc) enables rootless X,
thus the connman frontend run on it need the
permission to connect with connman by dbus.
This commit grants permission to xuser.

This fixes [YOCTO #779]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 .../connman-0.65/add_xuser_dbus_permission.patch   |   21 ++++++++++++++++++++
 meta/recipes-connectivity/connman/connman_0.65.bb  |    3 +-
 2 files changed, 23 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch

diff --git a/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch b/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch
new file mode 100644
index 0000000..787d49b
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch
@@ -0,0 +1,21 @@
+Some platform (like atom-pc) enables rootless X,
+thus we need to add the xuser in the list.
+
+Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
+
+diff -ruN connman-0.65-orig/src/connman-dbus.conf connman-0.65/src/connman-dbus.conf
+--- connman-0.65-orig/src/connman-dbus.conf	2011-03-04 09:34:49.000000000 +0800
++++ connman-0.65/src/connman-dbus.conf	2011-03-04 09:35:21.000000000 +0800
+@@ -7,6 +7,12 @@
+         <allow send_interface="net.connman.Agent"/>
+         <allow send_interface="net.connman.Counter"/>
+     </policy>
++    <policy user="xuser">
++        <allow own="net.connman"/>
++        <allow send_destination="net.connman"/>
++        <allow send_interface="net.connman.Agent"/>
++        <allow send_interface="net.connman.Counter"/>
++    </policy>
+     <policy at_console="true">
+         <allow send_destination="net.connman"/>
+     </policy>
diff --git a/meta/recipes-connectivity/connman/connman_0.65.bb b/meta/recipes-connectivity/connman/connman_0.65.bb
index 0b077e1..8bb84a1 100644
--- a/meta/recipes-connectivity/connman/connman_0.65.bb
+++ b/meta/recipes-connectivity/connman/connman_0.65.bb
@@ -1,5 +1,5 @@
 require connman.inc
-PR = "r0"
+PR = "r1"
 
 EXTRA_OECONF += "\
   ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
@@ -21,6 +21,7 @@ EXTRA_OECONF += "\
 SRC_URI  = "\
   http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
   file://fix-shutdown-ap-disconnect.patch \
+  file://add_xuser_dbus_permission.patch \
   file://connman \
 "
 
-- 
1.7.1.1




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

* [PATCH 7/8] libgpg-error: extend to nativesdk to catch up with metadata changes
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
                   ` (5 preceding siblings ...)
  2011-03-08  0:29 ` [PATCH 5/8] connman: add xuser to the dbus permission list Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08  0:29 ` [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6 Saul Wold
  2011-03-08 18:55 ` [PATCH 0/8] Numerous bug fixes Richard Purdie
  8 siblings, 0 replies; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Koen Kooi <koen@dominion.thruhere.net>

libgpg-error was introduced into the dependency tree for meta-toolchain-qte without the needed nativesdk extend

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../libgpg-error/libgpg-error_1.9.bb               |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.9.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.9.bb
index 479a11f..5e474cd 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.9.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.9.bb
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
 
 SECTION = "libs"
-DEPENDS = "gettext"
 PR = "r0"
 
 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \
@@ -23,4 +22,6 @@ SRC_URI[sha256sum] = "54d9326bfbd46c705963c507953f65a40576d04b374e131008dc5b732f
 FILES_${PN} = "${libdir}/lib*.so.*"
 FILES_${PN}-dev += "${bindir}/*"
 
-inherit autotools binconfig pkgconfig
+inherit gettext autotools binconfig pkgconfig
+
+BBCLASSEXTEND = "nativesdk"
-- 
1.7.1.1




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

* [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
                   ` (6 preceding siblings ...)
  2011-03-08  0:29 ` [PATCH 7/8] libgpg-error: extend to nativesdk to catch up with metadata changes Saul Wold
@ 2011-03-08  0:29 ` Saul Wold
  2011-03-08  1:16   ` [poky] " Khem Raj
  2011-03-08 18:55 ` [PATCH 0/8] Numerous bug fixes Richard Purdie
  8 siblings, 1 reply; 17+ messages in thread
From: Saul Wold @ 2011-03-08  0:29 UTC (permalink / raw)
  To: poky, openembedded-core; +Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu

From: Nitin A Kamble <nitin.a.kamble@intel.com>

[YOCTO #795]

When we run library check of LSB on qemux86 and qemuppc, we got some failures
about 'libstdc++.so.6'.

Test environment:
Platform: Qemu-x86, Qemu-ppc
lsb image: poky-image-lsb-qemux86-test.ext3(Feb 26th, auto-build server)
Library check of LSB: 4.1.0-1

The error log:
Did not find _ZNKSt5ctypeIcE8do_widenEPKcS2_Pc (GLIBCXX_3.4) in libstdc++.so.6
Unmangled symbol name: std::ctype<char>::do_widen(char const*, char const*,
char*) const
...

 found that some weak symbols ('W') change into local ('t') during link time
and be stripped. According to compiling log, the option
"-fvisibility-inlines-hidden" is used for gcc. And this option caused some weak
symbols change into local.

see http://bugzilla.pokylinux.org/show_bug.cgi?id=795 for more information on the bug.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
---
 meta/conf/bitbake.conf                             |    2 +-
 meta/conf/distro/include/poky-eglibc.inc           |    2 +-
 meta/conf/distro/include/poky-glibc.inc            |    2 +-
 meta/conf/distro/include/poky-uclibc.inc           |    2 +-
 .../recipes-devtools/gcc/gcc-configure-runtime.inc |    1 +
 meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb     |    2 +-
 6 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index cf99a81..473306a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -463,7 +463,7 @@ export CFLAGS = "${TARGET_CFLAGS}"
 export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
 
 export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive"
-export CXXFLAGS = "${TARGET_CXXFLAGS}"
+export CXXFLAGS = "${TARGET_CXXFLAGS} ${CXXFLAGS_EXTRA}"
 export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive"
 
 export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
diff --git a/meta/conf/distro/include/poky-eglibc.inc b/meta/conf/distro/include/poky-eglibc.inc
index 3d2c362..44a0146 100644
--- a/meta/conf/distro/include/poky-eglibc.inc
+++ b/meta/conf/distro/include/poky-eglibc.inc
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "eglibc-initia
 
 TARGET_OS = "${GLIBCTARGETOS}"
 
-CXXFLAGS += "-fvisibility-inlines-hidden"
+CXXFLAGS_EXTRA += "-fvisibility-inlines-hidden"
 
 LIBC_DEPENDENCIES = "libsegfault \
 		     eglibc \
diff --git a/meta/conf/distro/include/poky-glibc.inc b/meta/conf/distro/include/poky-glibc.inc
index 4be7122..d3f28c0 100644
--- a/meta/conf/distro/include/poky-glibc.inc
+++ b/meta/conf/distro/include/poky-glibc.inc
@@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "glibc-initial
 
 TARGET_OS = "${GLIBCTARGETOS}"
 
-CXXFLAGS += "-fvisibility-inlines-hidden"
+CXXFLAGS_EXTRA += "-fvisibility-inlines-hidden"
 
 LIBC_DEPENDENCIES = "\
     libsegfault \
diff --git a/meta/conf/distro/include/poky-uclibc.inc b/meta/conf/distro/include/poky-uclibc.inc
index def9dfe..13c17f9 100644
--- a/meta/conf/distro/include/poky-uclibc.inc
+++ b/meta/conf/distro/include/poky-uclibc.inc
@@ -15,7 +15,7 @@ USE_NLS_glib-2.0 = "yes"
 
 TARGET_OS = "${UCLIBCTARGETOS}"
 
-CXXFLAGS += "-fvisibility-inlines-hidden"
+CXXFLAGS_EXTRA += "-fvisibility-inlines-hidden"
 
 IMAGE_LINGUAS = ""
 
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index 6cc11e2..d4dfbc2 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -1,5 +1,6 @@
 require gcc-configure-common.inc
 
+CXXFLAGS_EXTA = ""
 EXTRA_OECONF_PATHS = " \
     --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
     --with-gxx-include-dir=${includedir}/c++/ \
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
index 093f9bf..c1e680d 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
 
 require gcc-${PV}.inc
 require gcc-configure-runtime.inc
-- 
1.7.1.1




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

* Re: [poky] [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6
  2011-03-08  0:29 ` [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6 Saul Wold
@ 2011-03-08  1:16   ` Khem Raj
  0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2011-03-08  1:16 UTC (permalink / raw)
  To: Saul Wold; +Cc: poky, openembedded-core

On Mon, Mar 7, 2011 at 4:29 PM, Saul Wold <sgw@linux.intel.com> wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
>
> [YOCTO #795]
>
> When we run library check of LSB on qemux86 and qemuppc, we got some failures
> about 'libstdc++.so.6'.

Saul

I have provided comments to redo this patch.

>
> Test environment:
> Platform: Qemu-x86, Qemu-ppc
> lsb image: poky-image-lsb-qemux86-test.ext3(Feb 26th, auto-build server)
> Library check of LSB: 4.1.0-1
>
> The error log:
> Did not find _ZNKSt5ctypeIcE8do_widenEPKcS2_Pc (GLIBCXX_3.4) in libstdc++.so.6
> Unmangled symbol name: std::ctype<char>::do_widen(char const*, char const*,
> char*) const
> ...
>
>  found that some weak symbols ('W') change into local ('t') during link time
> and be stripped. According to compiling log, the option
> "-fvisibility-inlines-hidden" is used for gcc. And this option caused some weak
> symbols change into local.
>
> see http://bugzilla.pokylinux.org/show_bug.cgi?id=795 for more information on the bug.
>
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
> ---
>  meta/conf/bitbake.conf                             |    2 +-
>  meta/conf/distro/include/poky-eglibc.inc           |    2 +-
>  meta/conf/distro/include/poky-glibc.inc            |    2 +-
>  meta/conf/distro/include/poky-uclibc.inc           |    2 +-
>  .../recipes-devtools/gcc/gcc-configure-runtime.inc |    1 +
>  meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb     |    2 +-
>  6 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index cf99a81..473306a 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -463,7 +463,7 @@ export CFLAGS = "${TARGET_CFLAGS}"
>  export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
>
>  export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive"
> -export CXXFLAGS = "${TARGET_CXXFLAGS}"
> +export CXXFLAGS = "${TARGET_CXXFLAGS} ${CXXFLAGS_EXTRA}"
>  export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive"
>
>  export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
> diff --git a/meta/conf/distro/include/poky-eglibc.inc b/meta/conf/distro/include/poky-eglibc.inc
> index 3d2c362..44a0146 100644
> --- a/meta/conf/distro/include/poky-eglibc.inc
> +++ b/meta/conf/distro/include/poky-eglibc.inc
> @@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "eglibc-initia
>
>  TARGET_OS = "${GLIBCTARGETOS}"
>
> -CXXFLAGS += "-fvisibility-inlines-hidden"
> +CXXFLAGS_EXTRA += "-fvisibility-inlines-hidden"
>
>  LIBC_DEPENDENCIES = "libsegfault \
>                     eglibc \
> diff --git a/meta/conf/distro/include/poky-glibc.inc b/meta/conf/distro/include/poky-glibc.inc
> index 4be7122..d3f28c0 100644
> --- a/meta/conf/distro/include/poky-glibc.inc
> +++ b/meta/conf/distro/include/poky-glibc.inc
> @@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "glibc-initial
>
>  TARGET_OS = "${GLIBCTARGETOS}"
>
> -CXXFLAGS += "-fvisibility-inlines-hidden"
> +CXXFLAGS_EXTRA += "-fvisibility-inlines-hidden"
>
>  LIBC_DEPENDENCIES = "\
>     libsegfault \
> diff --git a/meta/conf/distro/include/poky-uclibc.inc b/meta/conf/distro/include/poky-uclibc.inc
> index def9dfe..13c17f9 100644
> --- a/meta/conf/distro/include/poky-uclibc.inc
> +++ b/meta/conf/distro/include/poky-uclibc.inc
> @@ -15,7 +15,7 @@ USE_NLS_glib-2.0 = "yes"
>
>  TARGET_OS = "${UCLIBCTARGETOS}"
>
> -CXXFLAGS += "-fvisibility-inlines-hidden"
> +CXXFLAGS_EXTRA += "-fvisibility-inlines-hidden"
>
>  IMAGE_LINGUAS = ""
>
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
> index 6cc11e2..d4dfbc2 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
> @@ -1,5 +1,6 @@
>  require gcc-configure-common.inc
>
> +CXXFLAGS_EXTA = ""
>  EXTRA_OECONF_PATHS = " \
>     --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
>     --with-gxx-include-dir=${includedir}/c++/ \
> diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
> index 093f9bf..c1e680d 100644
> --- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
> +++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
> @@ -1,4 +1,4 @@
> -PR = "r2"
> +PR = "r3"
>
>  require gcc-${PV}.inc
>  require gcc-configure-runtime.inc
> --
> 1.7.1.1
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



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

* Re: [PATCH 2/8] attr: Added ncurses to depends
  2011-03-08  0:29 ` [PATCH 2/8] attr: Added ncurses to depends Saul Wold
@ 2011-03-08 18:25   ` Khem Raj
  0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2011-03-08 18:25 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
  Cc: Koen Kooi, Liping Ke, Dongxiao Xu, Jingdong Lu, poky

On Mon, Mar 7, 2011 at 4:29 PM, Saul Wold <sgw@linux.intel.com> wrote:
> From: Saul Wold <sgw@linux.intel.com>
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-support/attr/attr.inc |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc
> index e9467d7..c110340 100644
> --- a/meta/recipes-support/attr/attr.inc
> +++ b/meta/recipes-support/attr/attr.inc
> @@ -2,6 +2,8 @@ DESCRIPTION = "utilities for manipulating filesystem extended attributes"
>  HOMEPAGE = "http://savannah.nongnu.org/projects/attr/"
>  SECTION = "libs"
>
> +DEPENDS = "ncurses"
> +

why does it need ncurses dependency ?


>  LICENSE = "LGPLv2.1+ & GPLv2+"
>  LICENSE_${PN} = "GPLv2+"
>  LICENSE_lib${PN} = "LGPLv2.1+"
> --
> 1.7.1.1
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



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

* Re: [poky] [PATCH 5/8] connman: add xuser to the dbus permission list
  2011-03-08  0:29 ` [PATCH 5/8] connman: add xuser to the dbus permission list Saul Wold
@ 2011-03-08 18:27   ` Khem Raj
  0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2011-03-08 18:27 UTC (permalink / raw)
  To: Saul Wold; +Cc: poky, openembedded-core

On Mon, Mar 7, 2011 at 4:29 PM, Saul Wold <sgw@linux.intel.com> wrote:
> From: Dongxiao Xu <dongxiao.xu@intel.com>
>
> Some platform (like atom-pc) enables rootless X,
> thus the connman frontend run on it need the
> permission to connect with connman by dbus.
> This commit grants permission to xuser.
>

I wonder if it should be made some sort of conditional thing like
passwordless logins are done in dropbear.

> This fixes [YOCTO #779]
>
> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
> ---
>  .../connman-0.65/add_xuser_dbus_permission.patch   |   21 ++++++++++++++++++++
>  meta/recipes-connectivity/connman/connman_0.65.bb  |    3 +-
>  2 files changed, 23 insertions(+), 1 deletions(-)
>  create mode 100644 meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch
>
> diff --git a/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch b/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch
> new file mode 100644
> index 0000000..787d49b
> --- /dev/null
> +++ b/meta/recipes-connectivity/connman/connman-0.65/add_xuser_dbus_permission.patch
> @@ -0,0 +1,21 @@
> +Some platform (like atom-pc) enables rootless X,
> +thus we need to add the xuser in the list.
> +
> +Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
> +
> +diff -ruN connman-0.65-orig/src/connman-dbus.conf connman-0.65/src/connman-dbus.conf
> +--- connman-0.65-orig/src/connman-dbus.conf    2011-03-04 09:34:49.000000000 +0800
> ++++ connman-0.65/src/connman-dbus.conf 2011-03-04 09:35:21.000000000 +0800
> +@@ -7,6 +7,12 @@
> +         <allow send_interface="net.connman.Agent"/>
> +         <allow send_interface="net.connman.Counter"/>
> +     </policy>
> ++    <policy user="xuser">
> ++        <allow own="net.connman"/>
> ++        <allow send_destination="net.connman"/>
> ++        <allow send_interface="net.connman.Agent"/>
> ++        <allow send_interface="net.connman.Counter"/>
> ++    </policy>
> +     <policy at_console="true">
> +         <allow send_destination="net.connman"/>
> +     </policy>
> diff --git a/meta/recipes-connectivity/connman/connman_0.65.bb b/meta/recipes-connectivity/connman/connman_0.65.bb
> index 0b077e1..8bb84a1 100644
> --- a/meta/recipes-connectivity/connman/connman_0.65.bb
> +++ b/meta/recipes-connectivity/connman/connman_0.65.bb
> @@ -1,5 +1,5 @@
>  require connman.inc
> -PR = "r0"
> +PR = "r1"
>
>  EXTRA_OECONF += "\
>   ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
> @@ -21,6 +21,7 @@ EXTRA_OECONF += "\
>  SRC_URI  = "\
>   http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
>   file://fix-shutdown-ap-disconnect.patch \
> +  file://add_xuser_dbus_permission.patch \
>   file://connman \
>  "
>
> --
> 1.7.1.1
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



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

* Re: [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk
  2011-03-08  0:29 ` [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk Saul Wold
@ 2011-03-08 18:47   ` Joshua Lock
  0 siblings, 0 replies; 17+ messages in thread
From: Joshua Lock @ 2011-03-08 18:47 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: poky

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

On Mon, 2011-03-07 at 16:29 -0800, Saul Wold wrote:
From: Dexuan Cui <dexuan.cui@intel.com>
> 
> This fixes [YOCTO #814]
> 
> Without the line fixing nativesdk, bitbake meta-toolchain-gmae would
> get the following:
> 
> Missing or unbuildable dependency chain was: ['meta-toolchain-gmae',
'task-sdk-host', 'qemu-nativesdk', 'libsdl-nativesdk',
'libx11-nativesdk', 'util-macros-nativesdk', 'libgpg-error-nativesdk']
> ERROR: Nothing PROVIDES 'libgpg-error-nativesdk'
> 
> [sgw: inherit gettext]
> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  .../xorg-util/util-macros_1.11.0.bb                |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
> index 2bfe514..10de96c 100644
> --- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
> +++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
> @@ -11,12 +11,13 @@ PE = "1"
>  PR = "r0"
>  
>  # ${PN} is empty so we need to tweak -dev and -dbg package
dependencies
> -DEPENDS = "gettext libgpg-error"
> -DEPENDS_virtclass-native = "gettext"
> +DEPENDS = "libgpg-error"
>  
>  RDEPENDS_${PN}-dev = ""
>  RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
>  
> +inherit gettext
> +
>  BBCLASSEXTEND = "native nativesdk"
>  
>  SRC_URI[md5sum] = "8580021f3a9e242ab09d23d62e475d53"
> 
By making this change you've introduced the requirement for native and
nativesdk variants of libgpg-error, we don't want nor need this for the
-native* builds which is why we had a line explicitly setting the
DEPENDS for native.

The right way to do this is to have a similar line for the nativesdk
DEPENDS as per the attached patch (and my josh/bernard branch on
poky-contrib).

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre

[-- Attachment #2: 0001-util-macros-fix-DEPENDS-for-nativesdk.patch --]
[-- Type: text/x-patch, Size: 975 bytes --]

From 48f856c6bdb8c7ddaf23963238ab52fb8856cdd5 Mon Sep 17 00:00:00 2001
From: Joshua Lock <josh@linux.intel.com>
Date: Tue, 8 Mar 2011 10:20:27 -0800
Subject: [PATCH] util-macros: fix DEPENDS for nativesdk

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 .../xorg-util/util-macros_1.11.0.bb                |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
index 2bfe514..e2c558c 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
@@ -13,6 +13,7 @@ PR = "r0"
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 DEPENDS = "gettext libgpg-error"
 DEPENDS_virtclass-native = "gettext"
+DEPENDS_virtclass-nativesdk = "gettext"
 
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
-- 
1.7.4


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

* Re: [PATCH 0/8] Numerous bug fixes
  2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
                   ` (7 preceding siblings ...)
  2011-03-08  0:29 ` [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6 Saul Wold
@ 2011-03-08 18:55 ` Richard Purdie
  2011-03-09  1:29   ` Paul Eggleton
  8 siblings, 1 reply; 17+ messages in thread
From: Richard Purdie @ 2011-03-08 18:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
  Cc: Koen Kooi, poky, Dongxiao Xu, Jingdong Lu, Liping Ke

On Mon, 2011-03-07 at 16:29 -0800, Saul Wold wrote:
> From: Saul Wold <sgw@linux.intel.com>
> 
> This set address a number of bugs found during testing of
> the Bernard release, they may not all be accepeted, I send 
> them here for reference also.
> 
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: distro/oe-dist
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=distro/oe-dist
> 
> Thanks,
>     Saul Wold <sgw@linux.intel.com>
> ---
> 
> 
> Dexuan Cui (1):
>   util-macros: fix DEPENDS in the case of native/nativesdk

I think Joshua Lock is going to come up with a better patch for this as
this patch inadvertently adds in libgpg-error dependencies for native
and nativesdk which we don't want.

> Dongxiao Xu (1):
>   connman: add xuser to the dbus permission list

Merged.

> Koen Kooi (1):
>   libgpg-error: extend to nativesdk to catch up with metadata changes

Not needed with Joshua's patch.

> Liping Ke (1):
>   adt: Update to svn r596 to fix symbolic link issues

Merged.

> Nitin A Kamble (1):
>   gcc-runtime: fix LSB library checks for libstdc++.so.6

Waiting for an updated version based on Khem's comments.

> Saul Wold (3):
>   gst-plugins: Added hal to DEPENDS
>   attr: Added ncurses to depends
>   lsb-live image: add lsb-live and lsb-sdk-live image types

Merged. I'd like to drop the hal dependency if someone can send me a
patch which disables it and everything works.

Cheers,

Richard
 




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

* Re: [PATCH 0/8] Numerous bug fixes
  2011-03-08 18:55 ` [PATCH 0/8] Numerous bug fixes Richard Purdie
@ 2011-03-09  1:29   ` Paul Eggleton
  2011-03-09  4:55     ` [poky] " Khem Raj
  2011-03-09  7:48     ` Koen Kooi
  0 siblings, 2 replies; 17+ messages in thread
From: Paul Eggleton @ 2011-03-09  1:29 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer, Richard Purdie; +Cc: poky

[-- Attachment #1: Type: Text/Plain, Size: 412 bytes --]

On Tuesday 08 March 2011 18:55:44 Richard Purdie wrote:
> > Saul Wold (3):
> >   gst-plugins: Added hal to DEPENDS
> >   attr: Added ncurses to depends
> >   lsb-live image: add lsb-live and lsb-sdk-live image types
> 
> Merged. I'd like to drop the hal dependency if someone can send me a
> patch which disables it and everything works.

Patch attached to do this (against oe-core) .

Cheers,
Paul

[-- Attachment #2: 0001-gst-plugins-good-remove-dependency-on-hal.patch --]
[-- Type: text/x-patch, Size: 2102 bytes --]

From d6f52ebf89e8413f8e24bbc9ab58a0d0e5c45c09 Mon Sep 17 00:00:00 2001
From: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Wed, 9 Mar 2011 01:21:25 +0000
Subject: [PATCH] gst-plugins-good: remove dependency on hal

Disable hal usage at configure time to avoid dependency on hal (which is
deprecated). Only affects "halelements" which is of no use without hal.

Fixes [YOCTO #810] and reverts changes from c6b0c5720fa.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 .../gstreamer/gst-plugins-good_0.10.26.bb          |    4 ++--
 meta/recipes-multimedia/gstreamer/gst-plugins.inc  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb
index 78b24fe..ac47ecf 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb
@@ -7,11 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
 DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \
 	    speex"
-PR = "r0"
+PR = "r1"
 
 inherit gettext
 
-EXTRA_OECONF += "--disable-aalib --disable-esd --disable-shout2 --disable-libcaca --without-check"
+EXTRA_OECONF += "--disable-aalib --disable-esd --disable-shout2 --disable-libcaca --disable-hal --without-check"
 
 do_configure_prepend() {
 	# This m4 file contains nastiness which conflicts with libtool 2.2.2
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
index d1abd36..4edca95 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://gstreamer.freedesktop.org/"
 BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
 SECTION = "multimedia"
 PRIORITY = "optional"
-DEPENDS = "gstreamer hal"
+DEPENDS = "gstreamer"
 
 inherit autotools pkgconfig
 
-- 
1.7.1


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

* Re: [poky] [PATCH 0/8] Numerous bug fixes
  2011-03-09  1:29   ` Paul Eggleton
@ 2011-03-09  4:55     ` Khem Raj
  2011-03-09  7:48     ` Koen Kooi
  1 sibling, 0 replies; 17+ messages in thread
From: Khem Raj @ 2011-03-09  4:55 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: poky, Patches and discussions about the oe-core layer

On 3/8/2011 5:29 PM, Paul Eggleton wrote:
> On Tuesday 08 March 2011 18:55:44 Richard Purdie wrote:
>>> Saul Wold (3):
>>>    gst-plugins: Added hal to DEPENDS
>>>    attr: Added ncurses to depends
>>>    lsb-live image: add lsb-live and lsb-sdk-live image types
>>
>> Merged. I'd like to drop the hal dependency if someone can send me a
>> patch which disables it and everything works.
>
> Patch attached to do this (against oe-core) .
>

patch looks sane to me. We will need Koen to Ack it.

> Cheers,
> Paul
>
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky




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

* Re: [poky] [PATCH 0/8] Numerous bug fixes
  2011-03-09  1:29   ` Paul Eggleton
  2011-03-09  4:55     ` [poky] " Khem Raj
@ 2011-03-09  7:48     ` Koen Kooi
  1 sibling, 0 replies; 17+ messages in thread
From: Koen Kooi @ 2011-03-09  7:48 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: poky, Patches and discussions about the oe-core layer


Op 9 mrt 2011, om 02:29 heeft Paul Eggleton het volgende geschreven:

> On Tuesday 08 March 2011 18:55:44 Richard Purdie wrote:
>>> Saul Wold (3):
>>>  gst-plugins: Added hal to DEPENDS
>>>  attr: Added ncurses to depends
>>>  lsb-live image: add lsb-live and lsb-sdk-live image types
>> 
>> Merged. I'd like to drop the hal dependency if someone can send me a
>> patch which disables it and everything works.
> 
> Patch attached to do this (against oe-core) .


Looks good to me:

Acked-by: Koen Kooi <koen@dominion.thruhere.net>

> 
> Cheers,
> Paul
> <0001-gst-plugins-good-remove-dependency-on-hal.patch>_______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky




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

end of thread, other threads:[~2011-03-09  7:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08  0:29 [PATCH 0/8] Numerous bug fixes Saul Wold
2011-03-08  0:29 ` [PATCH 1/8] gst-plugins: Added hal to DEPENDS Saul Wold
2011-03-08  0:29 ` [PATCH 2/8] attr: Added ncurses to depends Saul Wold
2011-03-08 18:25   ` Khem Raj
2011-03-08  0:29 ` [PATCH 3/8] lsb-live image: add lsb-live and lsb-sdk-live image types Saul Wold
2011-03-08  0:29 ` [PATCH 4/8] adt: Update to svn r596 to fix symbolic link issues Saul Wold
2011-03-08  0:29 ` [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk Saul Wold
2011-03-08 18:47   ` Joshua Lock
2011-03-08  0:29 ` [PATCH 5/8] connman: add xuser to the dbus permission list Saul Wold
2011-03-08 18:27   ` [poky] " Khem Raj
2011-03-08  0:29 ` [PATCH 7/8] libgpg-error: extend to nativesdk to catch up with metadata changes Saul Wold
2011-03-08  0:29 ` [PATCH 8/8] gcc-runtime: fix LSB library checks for libstdc++.so.6 Saul Wold
2011-03-08  1:16   ` [poky] " Khem Raj
2011-03-08 18:55 ` [PATCH 0/8] Numerous bug fixes Richard Purdie
2011-03-09  1:29   ` Paul Eggleton
2011-03-09  4:55     ` [poky] " Khem Raj
2011-03-09  7:48     ` Koen Kooi

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