Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/8] 21-May-Consolidated Pull
@ 2011-05-21 18:37 Saul Wold
  2011-05-21 18:37 ` [PATCH 1/8] gail: Add LIC_FILES_CHKSUM Saul Wold
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:37 UTC (permalink / raw)
  To: openembedded-core

Richard,

This has a couple of fixes that are bound for M1, and will be cherry-picked
there once in oe-core / poky master.

The GCC Version update to 4.6 along with a corresponding change to eglibc 2.13
has been build tested and will be QA'ed as part of RC1 in 1.1 m1.

Thanks
	Sau!


The following changes since commit 54ecf8e3992b8a01c2e5bd16720e1819b71b68bd:

  packagedata: don't choke on empty PACKAGES (2011-05-20 17:41:34 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib.git sgw/stage
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage

Khem Raj (2):
  opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS
  distcc_2.18.3.bb: Fix compilation on uclibc

Saul Wold (6):
  gail: Add LIC_FILES_CHKSUM
  update-alternatives-dpkg: Update to dpkg base 1.15.8.7
  puzzles: update to r9173
  tcmode-default: set *GCCVERSION to 4.6 for all Arches
  tcmode-default: Update Eglibc to 2.13
  package_rpm.bbclass: create method for createrepo cmd

 meta/classes/package_rpm.bbclass                   |    6 +++++-
 meta/conf/distro/include/tcmode-default.inc        |    6 +-----
 meta/recipes-devtools/distcc/distcc_2.18.3.bb      |   17 ++++++++++++-----
 meta/recipes-devtools/opkg/opkg/headerfix.patch    |   19 -------------------
 meta/recipes-devtools/opkg/opkg_svn.bb             |    3 +--
 .../update-alternatives-dpkg.inc                   |    6 ++++--
 .../update-alternatives-dpkg_1.13.22.bb            |    7 -------
 .../update-alternatives-dpkg_1.15.8.7.bb           |   13 +++++++++++++
 meta/recipes-gnome/gnome/gail_1.20.0.bb            |   10 +++++++---
 .../puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} |    0
 10 files changed, 43 insertions(+), 44 deletions(-)
 delete mode 100644 meta/recipes-devtools/opkg/opkg/headerfix.patch
 delete mode 100644 meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
 create mode 100644 meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb
 rename meta/recipes-sato/puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} (100%)

-- 
1.7.3.4




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

* [PATCH 1/8] gail: Add LIC_FILES_CHKSUM
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
@ 2011-05-21 18:37 ` Saul Wold
  2011-05-21 18:37 ` [PATCH 2/8] update-alternatives-dpkg: Update to dpkg base 1.15.8.7 Saul Wold
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:37 UTC (permalink / raw)
  To: openembedded-core

[YOCTO #1042]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-gnome/gnome/gail_1.20.0.bb |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gail_1.20.0.bb b/meta/recipes-gnome/gnome/gail_1.20.0.bb
index 2e9f857..ab6aa1f 100644
--- a/meta/recipes-gnome/gnome/gail_1.20.0.bb
+++ b/meta/recipes-gnome/gnome/gail_1.20.0.bb
@@ -1,10 +1,14 @@
-LICENSE = "LGPL"
-SECTION = "x11/libs"
-PR = "r1"
 DESCRIPTION = "GNOME Accessibility Implementation Library"
+SECTION = "x11/libs"
+
 DEPENDS = "gtk+"
 PROVIDES = "virtual/gail"
 
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
+
+PR = "r1"
+
 inherit gnome
 
 EXTRA_OECONF = "--disable-gtk-doc"
-- 
1.7.3.4




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

* [PATCH 2/8] update-alternatives-dpkg: Update to dpkg base 1.15.8.7
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
  2011-05-21 18:37 ` [PATCH 1/8] gail: Add LIC_FILES_CHKSUM Saul Wold
@ 2011-05-21 18:37 ` Saul Wold
  2011-05-21 18:37 ` [PATCH 3/8] puzzles: update to r9173 Saul Wold
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:37 UTC (permalink / raw)
  To: openembedded-core

[YOCTO #1062]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../update-alternatives-dpkg.inc                   |    6 ++++--
 .../update-alternatives-dpkg_1.13.22.bb            |    7 -------
 .../update-alternatives-dpkg_1.15.8.7.bb           |   13 +++++++++++++
 3 files changed, 17 insertions(+), 9 deletions(-)
 delete mode 100644 meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
 create mode 100644 meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb

diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
index 9b53df8..63bfe95 100644
--- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
+++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
@@ -5,10 +5,12 @@ programs fulfilling the same or similar functions and how they can be installed
 time."
 LICENSE = "GPL"
 SECTION = "base"
-SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz"
+SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2"
 S = "${WORKDIR}/dpkg-${PV}"
 PACKAGE_ARCH = "all"
-PR = "r2"
+PR = "r0"
+
+inherit gettext
 
 do_patch () {
     cat ${S}/scripts/update-alternatives.pl | \
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
deleted file mode 100644
index 5d38d5d..0000000
--- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require update-alternatives-dpkg.inc
-
-PROVIDES += "virtual/update-alternatives"
-RPROVIDES_${PN} += "update-alternatives"
-EXTRA_RDEPENDS = "perl dpkg"
-EXTRA_RDEPENDS_virtclass-native = ""
-RDEPENDS_${PN} += "${EXTRA_RDEPENDS}"
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb
new file mode 100644
index 0000000..15f3ced
--- /dev/null
+++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb
@@ -0,0 +1,13 @@
+require update-alternatives-dpkg.inc
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI[md5sum] = "d1731d4147c1ea3b537a4d094519a6dc"
+SRC_URI[sha256sum] = "1ec1376471b04717a4497e5d7a27cd545248c92116898ce0c53ced8ea94267b5"
+
+
+PROVIDES += "virtual/update-alternatives"
+RPROVIDES_${PN} += "update-alternatives"
+EXTRA_RDEPENDS = "perl dpkg"
+EXTRA_RDEPENDS_virtclass-native = ""
+RDEPENDS_${PN} += "${EXTRA_RDEPENDS}"
-- 
1.7.3.4




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

* [PATCH 3/8] puzzles: update to r9173
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
  2011-05-21 18:37 ` [PATCH 1/8] gail: Add LIC_FILES_CHKSUM Saul Wold
  2011-05-21 18:37 ` [PATCH 2/8] update-alternatives-dpkg: Update to dpkg base 1.15.8.7 Saul Wold
@ 2011-05-21 18:37 ` Saul Wold
  2011-05-23 12:03   ` Phil Blundell
  2011-05-21 18:38 ` [PATCH 4/8] tcmode-default: set *GCCVERSION to 4.6 for all Arches Saul Wold
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:37 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-sato/puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} (100%)

diff --git a/meta/recipes-sato/puzzles/puzzles_r9163.bb b/meta/recipes-sato/puzzles/puzzles_r9173.bb
similarity index 100%
rename from meta/recipes-sato/puzzles/puzzles_r9163.bb
rename to meta/recipes-sato/puzzles/puzzles_r9173.bb
-- 
1.7.3.4




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

* [PATCH 4/8] tcmode-default: set *GCCVERSION to 4.6 for all Arches
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
                   ` (2 preceding siblings ...)
  2011-05-21 18:37 ` [PATCH 3/8] puzzles: update to r9173 Saul Wold
@ 2011-05-21 18:38 ` Saul Wold
  2011-05-21 18:38 ` [PATCH 5/8] tcmode-default: Update Eglibc to 2.13 Saul Wold
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:38 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/conf/distro/include/tcmode-default.inc |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index ae6f272..4541508 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -18,10 +18,6 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
 GCCVERSION ?= "4.6.0"
 SDKGCCVERSION ?= "4.6.0"
-GCCVERSION_mips ?= "4.5.1"
-SDKGCCVERSION_mips ?= "4.5.1"
-GCCVERSION_ppc ?= "4.5.1"
-SDKGCCVERSION_ppc ?= "4.5.1"
 BINUVERSION ?= "2.21"
 GLIBCVERSION ?= "2.10.1"
 EGLIBCVERSION ?= "2.12"
-- 
1.7.3.4




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

* [PATCH 5/8] tcmode-default: Update Eglibc to 2.13
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
                   ` (3 preceding siblings ...)
  2011-05-21 18:38 ` [PATCH 4/8] tcmode-default: set *GCCVERSION to 4.6 for all Arches Saul Wold
@ 2011-05-21 18:38 ` Saul Wold
  2011-05-21 18:38 ` [PATCH 6/8] package_rpm.bbclass: create method for createrepo cmd Saul Wold
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:38 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/conf/distro/include/tcmode-default.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 4541508..d279231 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -20,7 +20,7 @@ GCCVERSION ?= "4.6.0"
 SDKGCCVERSION ?= "4.6.0"
 BINUVERSION ?= "2.21"
 GLIBCVERSION ?= "2.10.1"
-EGLIBCVERSION ?= "2.12"
+EGLIBCVERSION ?= "2.13"
 LINUXLIBCVERSION ?= "2.6.37.2"
 
 # Temporary preferred version overrides for PPC
-- 
1.7.3.4




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

* [PATCH 6/8] package_rpm.bbclass: create method for createrepo cmd
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
                   ` (4 preceding siblings ...)
  2011-05-21 18:38 ` [PATCH 5/8] tcmode-default: Update Eglibc to 2.13 Saul Wold
@ 2011-05-21 18:38 ` Saul Wold
  2011-05-21 18:38 ` [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS Saul Wold
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:38 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/package_rpm.bbclass |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 1d8c686..666eb54 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -15,6 +15,10 @@ python package_rpm_install () {
 	bb.fatal("package_rpm_install not implemented!")
 }
 
+package_createrepo () {
+	createrepo ${DEPLOY_DIR_RPM}
+}
+
 RPMCONF_TARGET_BASE = "${DEPLOY_DIR_RPM}/solvedb"
 RPMCONF_HOST_BASE = "${DEPLOY_DIR_RPM}/solvedb-sdk"
 #
@@ -816,6 +820,6 @@ python do_package_write_rpm () {
 do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}"
 addtask package_write_rpm before do_package_write after do_package
 
-PACKAGEINDEXES += "package_update_index_rpm; createrepo ${DEPLOY_DIR_RPM};"
+PACKAGEINDEXES += "package_update_index_rpm; package_createrepo"
 PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot"
 PACKAGEINDEXDEPS += "createrepo-native:do_populate_sysroot"
-- 
1.7.3.4




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

* [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
                   ` (5 preceding siblings ...)
  2011-05-21 18:38 ` [PATCH 6/8] package_rpm.bbclass: create method for createrepo cmd Saul Wold
@ 2011-05-21 18:38 ` Saul Wold
  2011-05-21 23:06   ` Khem Raj
  2011-05-21 18:38 ` [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc Saul Wold
  2011-05-22  3:51 ` [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
  8 siblings, 1 reply; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:38 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

Remove headerfix.patch, its already applied upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/opkg/opkg/headerfix.patch |   19 -------------------
 meta/recipes-devtools/opkg/opkg_svn.bb          |    3 +--
 2 files changed, 1 insertions(+), 21 deletions(-)
 delete mode 100644 meta/recipes-devtools/opkg/opkg/headerfix.patch

diff --git a/meta/recipes-devtools/opkg/opkg/headerfix.patch b/meta/recipes-devtools/opkg/opkg/headerfix.patch
deleted file mode 100644
index b3515a0..0000000
--- a/meta/recipes-devtools/opkg/opkg/headerfix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Without this, the FILE reference in this header can cause compile issues.
-
-RP - 29/1/10
-
-Upstream-Status: Pending
-
-Index: trunk/libopkg/pkg_dest.h
-===================================================================
---- trunk.orig/libopkg/pkg_dest.h	2010-01-29 09:37:22.000000000 +0000
-+++ trunk/libopkg/pkg_dest.h	2010-01-29 09:37:33.000000000 +0000
-@@ -18,6 +18,8 @@
- #ifndef PKG_DEST_H
- #define PKG_DEST_H
- 
-+#include <stdio.h>
-+
- typedef struct pkg_dest pkg_dest_t;
- struct pkg_dest
- {
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
index 5964a47..3f2c22b 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -11,7 +11,6 @@ RREPLACES_${PN} = "opkg-nogpg"
 
 SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
            file://add_vercmp.patch \
-           file://headerfix.patch \
 "
 
 S = "${WORKDIR}/trunk"
@@ -34,7 +33,7 @@ do_install_append() {
 pkg_postinst_${PN} () {
 #!/bin/sh
 if [ "x$D" != "x" ]; then
-	install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
+	install -d $D/${sysconfdir}/rcS.d
 	# this happens at S98 where our good 'ole packages script used to run
 	echo "#!/bin/sh
 opkg-cl configure
-- 
1.7.3.4




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

* [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
                   ` (6 preceding siblings ...)
  2011-05-21 18:38 ` [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS Saul Wold
@ 2011-05-21 18:38 ` Saul Wold
  2011-05-21 23:06   ` Khem Raj
  2011-05-22  3:51 ` [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
  8 siblings, 1 reply; 15+ messages in thread
From: Saul Wold @ 2011-05-21 18:38 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

We enable gtk/gnome in distcc that code uses loadavg()
a function unimplemented in uclibc. Therefore for uclibc
we disable gnome and gtk+ features in distcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/distcc/distcc_2.18.3.bb |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
index 1f5c2af..34b04a5 100644
--- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb
+++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
@@ -6,7 +6,10 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 PR = "r6"
 
-DEPENDS = "avahi gtk+"
+DEPENDS = "avahi ${GTKDEP}"
+GTKDEP_libc-uclibc = ""
+GTKDEP = "gtk+"
+
 RRECOMMENDS_${PN} = "avahi-daemon"
 
 # Upstream change this patch periodically so store locally
@@ -24,17 +27,21 @@ inherit autotools pkgconfig update-rc.d
 
 INITSCRIPT_NAME = "distcc"
 
-EXTRA_OECONF = " --with-gtk "
-
+EXTRA_OECONF_libc-glibc = " --with-gtk "
+EXTRA_OECONF_libc-uclibc = " --without-gtk --without-gnome "
 do_install_append() {
     install -d ${D}${sysconfdir}/init.d/
     install -d ${D}${sysconfdir}/default
     install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
     install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
+    ${DESKTOPINSTALL}
+}
+DESKTOPINSTALL = ""
+DESKTOPINSTALL_libc-glibc () {
+    install -d ${D}${datadir}/distcc/
     install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
 }
-
-PACKAGES += "distcc-distmon-gnome"
+PACKAGES_append_libc-glibc = " distcc-distmon-gnome"
 
 FILES_${PN} = " ${sysconfdir} \
 		${bindir}/distcc \
-- 
1.7.3.4




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

* Re: [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS
  2011-05-21 18:38 ` [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS Saul Wold
@ 2011-05-21 23:06   ` Khem Raj
  0 siblings, 0 replies; 15+ messages in thread
From: Khem Raj @ 2011-05-21 23:06 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

On Sat, May 21, 2011 at 11:38 AM, Saul Wold <sgw@linux.intel.com> wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> Remove headerfix.patch, its already applied upstream
>

This patch had reviews to be addressed which I have done
the patch is updated in pull branch. Use that one

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/opkg/opkg/headerfix.patch |   19 -------------------
>  meta/recipes-devtools/opkg/opkg_svn.bb          |    3 +--
>  2 files changed, 1 insertions(+), 21 deletions(-)
>  delete mode 100644 meta/recipes-devtools/opkg/opkg/headerfix.patch
>
> diff --git a/meta/recipes-devtools/opkg/opkg/headerfix.patch b/meta/recipes-devtools/opkg/opkg/headerfix.patch
> deleted file mode 100644
> index b3515a0..0000000
> --- a/meta/recipes-devtools/opkg/opkg/headerfix.patch
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -Without this, the FILE reference in this header can cause compile issues.
> -
> -RP - 29/1/10
> -
> -Upstream-Status: Pending
> -
> -Index: trunk/libopkg/pkg_dest.h
> -===================================================================
> ---- trunk.orig/libopkg/pkg_dest.h      2010-01-29 09:37:22.000000000 +0000
> -+++ trunk/libopkg/pkg_dest.h   2010-01-29 09:37:33.000000000 +0000
> -@@ -18,6 +18,8 @@
> - #ifndef PKG_DEST_H
> - #define PKG_DEST_H
> -
> -+#include <stdio.h>
> -+
> - typedef struct pkg_dest pkg_dest_t;
> - struct pkg_dest
> - {
> diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
> index 5964a47..3f2c22b 100644
> --- a/meta/recipes-devtools/opkg/opkg_svn.bb
> +++ b/meta/recipes-devtools/opkg/opkg_svn.bb
> @@ -11,7 +11,6 @@ RREPLACES_${PN} = "opkg-nogpg"
>
>  SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
>            file://add_vercmp.patch \
> -           file://headerfix.patch \
>  "
>
>  S = "${WORKDIR}/trunk"
> @@ -34,7 +33,7 @@ do_install_append() {
>  pkg_postinst_${PN} () {
>  #!/bin/sh
>  if [ "x$D" != "x" ]; then
> -       install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
> +       install -d $D/${sysconfdir}/rcS.d
>        # this happens at S98 where our good 'ole packages script used to run
>        echo "#!/bin/sh
>  opkg-cl configure
> --
> 1.7.3.4
>
>



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

* Re: [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc
  2011-05-21 18:38 ` [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc Saul Wold
@ 2011-05-21 23:06   ` Khem Raj
  2011-05-22  3:17     ` Saul Wold
  0 siblings, 1 reply; 15+ messages in thread
From: Khem Raj @ 2011-05-21 23:06 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

On Sat, May 21, 2011 at 11:38 AM, Saul Wold <sgw@linux.intel.com> wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> We enable gtk/gnome in distcc that code uses loadavg()
> a function unimplemented in uclibc. Therefore for uclibc
> we disable gnome and gtk+ features in distcc
>


This patch had reviews to be addressed which I have done
the patch is updated in pull branch. Use that one

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/distcc/distcc_2.18.3.bb |   17 ++++++++++++-----
>  1 files changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
> index 1f5c2af..34b04a5 100644
> --- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb
> +++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
> @@ -6,7 +6,10 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>  PR = "r6"
>
> -DEPENDS = "avahi gtk+"
> +DEPENDS = "avahi ${GTKDEP}"
> +GTKDEP_libc-uclibc = ""
> +GTKDEP = "gtk+"
> +
>  RRECOMMENDS_${PN} = "avahi-daemon"
>
>  # Upstream change this patch periodically so store locally
> @@ -24,17 +27,21 @@ inherit autotools pkgconfig update-rc.d
>
>  INITSCRIPT_NAME = "distcc"
>
> -EXTRA_OECONF = " --with-gtk "
> -
> +EXTRA_OECONF_libc-glibc = " --with-gtk "
> +EXTRA_OECONF_libc-uclibc = " --without-gtk --without-gnome "
>  do_install_append() {
>     install -d ${D}${sysconfdir}/init.d/
>     install -d ${D}${sysconfdir}/default
>     install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
>     install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
> +    ${DESKTOPINSTALL}
> +}
> +DESKTOPINSTALL = ""
> +DESKTOPINSTALL_libc-glibc () {
> +    install -d ${D}${datadir}/distcc/
>     install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
>  }
> -
> -PACKAGES += "distcc-distmon-gnome"
> +PACKAGES_append_libc-glibc = " distcc-distmon-gnome"
>
>  FILES_${PN} = " ${sysconfdir} \
>                ${bindir}/distcc \
> --
> 1.7.3.4
>
>



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

* Re: [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc
  2011-05-21 23:06   ` Khem Raj
@ 2011-05-22  3:17     ` Saul Wold
  0 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-22  3:17 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 05/21/2011 04:06 PM, Khem Raj wrote:
> On Sat, May 21, 2011 at 11:38 AM, Saul Wold<sgw@linux.intel.com>  wrote:
>> From: Khem Raj<raj.khem@gmail.com>
>>
>> We enable gtk/gnome in distcc that code uses loadavg()
>> a function unimplemented in uclibc. Therefore for uclibc
>> we disable gnome and gtk+ features in distcc
>>
>
>
> This patch had reviews to be addressed which I have done
> the patch is updated in pull branch. Use that one
>
I will pull the lastest into my sgw/stage branch.  When I did the pull, 
I thought things were completed, I guess bad timing on my part.

Sau!


>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>> ---
>>   meta/recipes-devtools/distcc/distcc_2.18.3.bb |   17 ++++++++++++-----
>>   1 files changed, 12 insertions(+), 5 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
>> index 1f5c2af..34b04a5 100644
>> --- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb
>> +++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
>> @@ -6,7 +6,10 @@ LICENSE = "GPLv2"
>>   LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>>   PR = "r6"
>>
>> -DEPENDS = "avahi gtk+"
>> +DEPENDS = "avahi ${GTKDEP}"
>> +GTKDEP_libc-uclibc = ""
>> +GTKDEP = "gtk+"
>> +
>>   RRECOMMENDS_${PN} = "avahi-daemon"
>>
>>   # Upstream change this patch periodically so store locally
>> @@ -24,17 +27,21 @@ inherit autotools pkgconfig update-rc.d
>>
>>   INITSCRIPT_NAME = "distcc"
>>
>> -EXTRA_OECONF = " --with-gtk "
>> -
>> +EXTRA_OECONF_libc-glibc = " --with-gtk "
>> +EXTRA_OECONF_libc-uclibc = " --without-gtk --without-gnome "
>>   do_install_append() {
>>      install -d ${D}${sysconfdir}/init.d/
>>      install -d ${D}${sysconfdir}/default
>>      install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
>>      install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
>> +    ${DESKTOPINSTALL}
>> +}
>> +DESKTOPINSTALL = ""
>> +DESKTOPINSTALL_libc-glibc () {
>> +    install -d ${D}${datadir}/distcc/
>>      install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
>>   }
>> -
>> -PACKAGES += "distcc-distmon-gnome"
>> +PACKAGES_append_libc-glibc = " distcc-distmon-gnome"
>>
>>   FILES_${PN} = " ${sysconfdir} \
>>                 ${bindir}/distcc \
>> --
>> 1.7.3.4
>>
>>



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

* Re: [PATCH 0/8] 21-May-Consolidated Pull
  2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
                   ` (7 preceding siblings ...)
  2011-05-21 18:38 ` [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc Saul Wold
@ 2011-05-22  3:51 ` Saul Wold
  8 siblings, 0 replies; 15+ messages in thread
From: Saul Wold @ 2011-05-22  3:51 UTC (permalink / raw)
  To: openembedded-core

On 05/21/2011 11:37 AM, Saul Wold wrote:
> Richard,
>
> This has a couple of fixes that are bound for M1, and will be cherry-picked
> there once in oe-core / poky master.
>
> The GCC Version update to 4.6 along with a corresponding change to eglibc 2.13
> has been build tested and will be QA'ed as part of RC1 in 1.1 m1.
>
> Thanks
> 	Sau!
>
>
> The following changes since commit 54ecf8e3992b8a01c2e5bd16720e1819b71b68bd:
>
>    packagedata: don't choke on empty PACKAGES (2011-05-20 17:41:34 +0100)
>
> are available in the git repository at:
>    git://git.openembedded.org/openembedded-core-contrib.git sgw/stage
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage
>
> Khem Raj (2):
>    opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS
>    distcc_2.18.3.bb: Fix compilation on uclibc
>
I have updated sgw/stage with the changes from Khem's latest branch.

Sau!

> Saul Wold (6):
>    gail: Add LIC_FILES_CHKSUM
>    update-alternatives-dpkg: Update to dpkg base 1.15.8.7
>    puzzles: update to r9173
>    tcmode-default: set *GCCVERSION to 4.6 for all Arches
>    tcmode-default: Update Eglibc to 2.13
>    package_rpm.bbclass: create method for createrepo cmd
>
>   meta/classes/package_rpm.bbclass                   |    6 +++++-
>   meta/conf/distro/include/tcmode-default.inc        |    6 +-----
>   meta/recipes-devtools/distcc/distcc_2.18.3.bb      |   17 ++++++++++++-----
>   meta/recipes-devtools/opkg/opkg/headerfix.patch    |   19 -------------------
>   meta/recipes-devtools/opkg/opkg_svn.bb             |    3 +--
>   .../update-alternatives-dpkg.inc                   |    6 ++++--
>   .../update-alternatives-dpkg_1.13.22.bb            |    7 -------
>   .../update-alternatives-dpkg_1.15.8.7.bb           |   13 +++++++++++++
>   meta/recipes-gnome/gnome/gail_1.20.0.bb            |   10 +++++++---
>   .../puzzles/{puzzles_r9163.bb =>  puzzles_r9173.bb} |    0
>   10 files changed, 43 insertions(+), 44 deletions(-)
>   delete mode 100644 meta/recipes-devtools/opkg/opkg/headerfix.patch
>   delete mode 100644 meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
>   create mode 100644 meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb
>   rename meta/recipes-sato/puzzles/{puzzles_r9163.bb =>  puzzles_r9173.bb} (100%)
>



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

* Re: [PATCH 3/8] puzzles: update to r9173
  2011-05-21 18:37 ` [PATCH 3/8] puzzles: update to r9173 Saul Wold
@ 2011-05-23 12:03   ` Phil Blundell
  2011-05-23 14:32     ` Richard Purdie
  0 siblings, 1 reply; 15+ messages in thread
From: Phil Blundell @ 2011-05-23 12:03 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sat, 2011-05-21 at 11:37 -0700, Saul Wold wrote:
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  .../puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} |    0
>  1 files changed, 0 insertions(+), 0 deletions(-)
>  rename meta/recipes-sato/puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} (100%)

No doubt the patch is fine, but why is this recipe in oe-core at all?
It doesn't seem to fit any reasonable definition of "core" functionality
that I can immediately think of.

p.





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

* Re: [PATCH 3/8] puzzles: update to r9173
  2011-05-23 12:03   ` Phil Blundell
@ 2011-05-23 14:32     ` Richard Purdie
  0 siblings, 0 replies; 15+ messages in thread
From: Richard Purdie @ 2011-05-23 14:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, 2011-05-23 at 13:03 +0100, Phil Blundell wrote:
> On Sat, 2011-05-21 at 11:37 -0700, Saul Wold wrote:
> > Signed-off-by: Saul Wold <sgw@linux.intel.com>
> > ---
> >  .../puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} |    0
> >  1 files changed, 0 insertions(+), 0 deletions(-)
> >  rename meta/recipes-sato/puzzles/{puzzles_r9163.bb => puzzles_r9173.bb} (100%)
> 
> No doubt the patch is fine, but why is this recipe in oe-core at all?
> It doesn't seem to fit any reasonable definition of "core" functionality
> that I can immediately think of.

This is a discussion that the TSC had. Somehow we need the ensure we had
the ability to test oe-core easily and extensively and sato is a pretty
contained way to do that. Originally I'd expected sato to get split into
its own layer but we didn't do that for this reason.

Cheers,

Richard








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

end of thread, other threads:[~2011-05-23 14:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-21 18:37 [PATCH 0/8] 21-May-Consolidated Pull Saul Wold
2011-05-21 18:37 ` [PATCH 1/8] gail: Add LIC_FILES_CHKSUM Saul Wold
2011-05-21 18:37 ` [PATCH 2/8] update-alternatives-dpkg: Update to dpkg base 1.15.8.7 Saul Wold
2011-05-21 18:37 ` [PATCH 3/8] puzzles: update to r9173 Saul Wold
2011-05-23 12:03   ` Phil Blundell
2011-05-23 14:32     ` Richard Purdie
2011-05-21 18:38 ` [PATCH 4/8] tcmode-default: set *GCCVERSION to 4.6 for all Arches Saul Wold
2011-05-21 18:38 ` [PATCH 5/8] tcmode-default: Update Eglibc to 2.13 Saul Wold
2011-05-21 18:38 ` [PATCH 6/8] package_rpm.bbclass: create method for createrepo cmd Saul Wold
2011-05-21 18:38 ` [PATCH 7/8] opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS Saul Wold
2011-05-21 23:06   ` Khem Raj
2011-05-21 18:38 ` [PATCH 8/8] distcc_2.18.3.bb: Fix compilation on uclibc Saul Wold
2011-05-21 23:06   ` Khem Raj
2011-05-22  3:17     ` Saul Wold
2011-05-22  3:51 ` [PATCH 0/8] 21-May-Consolidated Pull Saul Wold

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