| Submitter | Phil Blundell |
|---|---|
| Date | Sept. 26, 2012, 12:49 p.m. |
| Message ID | <1348663741.31293.114.camel@phil-desktop> |
| Download | mbox | patch |
| Permalink | /patch/37279/ |
| State | New |
| Headers | show |
Comments
It's a bit late for this oe-core cycle I suspect, if we'd been tracking the 2.33. releases that would be a different story, so maybe we'll do that next time... Also from glancing at the NEWS, we should be able to drop some of the cross-compile patches. Did you investigate this or just refresh the patches? Ross
On Wed, 2012-09-26 at 15:12 +0100, Burton, Ross wrote: > It's a bit late for this oe-core cycle I suspect, if we'd been > tracking the 2.33. releases that would be a different story, so maybe > we'll do that next time... > > Also from glancing at the NEWS, we should be able to drop some of the > cross-compile patches. Did you investigate this or just refresh the > patches? Which patches were you thinking of specifically? I don't think there are many that we apply which are actually related to cross-compiling. p.
On 26 September 2012 15:28, Phil Blundell <philb@gnu.org> wrote: > Which patches were you thinking of specifically? I don't think there > are many that we apply which are actually related to cross-compiling. no-libelf and no-dbus. Looking at the patches we are carrying, it's quite comic. Two patches which are carried with no understanding of why... Ross
On Wed, 2012-09-26 at 15:39 +0100, Burton, Ross wrote: > On 26 September 2012 15:28, Phil Blundell <philb@gnu.org> wrote: > > Which patches were you thinking of specifically? I don't think there > > are many that we apply which are actually related to cross-compiling. > > no-libelf and no-dbus. > > Looking at the patches we are carrying, it's quite comic. Two patches > which are carried with no understanding of why... no-dbus isn't anything to do with cross-compiling as such, it's to avoid an extra build dependency on dbus. I've no idea what exactly no-libelf is trying to accomplish though it does also look like it's intended to prevent an extra library dependency. p.
On Wed, Sep 26, 2012 at 03:44:28PM +0100, Phil Blundell wrote: > On Wed, 2012-09-26 at 15:39 +0100, Burton, Ross wrote: > > On 26 September 2012 15:28, Phil Blundell <philb@gnu.org> wrote: > > > Which patches were you thinking of specifically? I don't think there > > > are many that we apply which are actually related to cross-compiling. > > > > no-libelf and no-dbus. > > > > Looking at the patches we are carrying, it's quite comic. Two patches > > which are carried with no understanding of why... > > no-dbus isn't anything to do with cross-compiling as such, it's to avoid > an extra build dependency on dbus. I've no idea what exactly no-libelf > is trying to accomplish though it does also look like it's intended to > prevent an extra library dependency. yes, see 2929e7d590862d9649458c90804e79a1dce40423 where it was introduced > > p. > > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Patch
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch b/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch index 4ff7b80..67dfeca 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch @@ -7,17 +7,6 @@ Upstream-Status: Inappropriate [patches for test code] diff -ruN glib-2.30.0-orig/tests/threadpool-test.c glib-2.30.0/tests/threadpool-test.c --- glib-2.30.0-orig/tests/threadpool-test.c 2009-04-01 07:04:21.000000000 +0800 +++ glib-2.30.0/tests/threadpool-test.c 2010-11-16 12:28:09.002172678 +0800 -@@ -5,8 +5,8 @@ - - #include <glib.h> - --#define DEBUG_MSG(x) --/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); */ -+/* #define DEBUG_MSG(x) */ -+#define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); - - #define WAIT 5 /* seconds */ - #define MAX_THREADS 10 @@ -130,10 +130,10 @@ test_count_threads () == 0) break; diff --git a/meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch b/meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch index 1e65643..f5b8384 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch @@ -5,21 +5,23 @@ Upstream-Status: Inappropriate [configuration] RP 2012/2/25 -Index: glib-2.30.2/configure.ac -=================================================================== ---- glib-2.30.2.orig/configure.ac 2012-02-25 14:50:07.444242397 +0000 -+++ glib-2.30.2/configure.ac 2012-02-25 14:51:28.096240485 +0000 -@@ -3769,10 +3769,9 @@ - # Check for libdbus1 - Optional - is only used in the GDBus test cases +--- glib-2.34.0/configure.ac~ 2012-09-25 12:06:14.383311239 +0100 ++++ glib-2.34.0/configure.ac 2012-09-25 12:07:28.584958144 +0100 +@@ -3500,10 +3500,13 @@ # # 1.2.14 required for dbus_message_set_serial --PKG_CHECK_MODULES(DBUS1, -- dbus-1 >= 1.2.14, -- [AC_DEFINE(HAVE_DBUS1, 1, [Define if dbus-1 is available]) have_dbus1=yes], -- have_dbus1=no) -+DBUS1_CFLAGS= -+DBUS1_LIBS= -+$have_dbus1=no - AC_SUBST(DBUS1_CFLAGS) - AC_SUBST(DBUS1_LIBS) - AM_CONDITIONAL(HAVE_DBUS1, [test "x$have_dbus1" = "xyes"]) + AS_IF([ test x$enable_modular_tests = xyes], [ +- PKG_CHECK_MODULES(DBUS1, +- dbus-1 >= 1.2.14, +- [AC_DEFINE(HAVE_DBUS1, 1, [Define if dbus-1 is available]) have_dbus1=yes], +- have_dbus1=no) ++# PKG_CHECK_MODULES(DBUS1, ++# dbus-1 >= 1.2.14, ++# [AC_DEFINE(HAVE_DBUS1, 1, [Define if dbus-1 is available]) have_dbus1=yes], ++# have_dbus1=no) ++ DBUS1_CFLAGS= ++ DBUS1_LIBS= ++ have_dbus1=no + AC_SUBST(DBUS1_CFLAGS) + AC_SUBST(DBUS1_LIBS) + ]) diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.34.0.bb similarity index 90% rename from meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb rename to meta/recipes-core/glib-2.0/glib-2.0_2.34.0.bb index 10c0b61..85d093e 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.34.0.bb @@ -1,6 +1,6 @@ require glib.inc -PR = "r6" +PR = "r0" PE = "1" DEPENDS += "libffi python-argparse-native zlib" @@ -16,8 +16,8 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://nodbus.patch \ file://nolibelf.patch \ " -SRC_URI[md5sum] = "bf84fefd9c1a5b5a7a38736f4ddd674a" -SRC_URI[sha256sum] = "a5d742a4fda22fb6975a8c0cfcd2499dd1c809b8afd4ef709bda4d11b167fae2" +SRC_URI[md5sum] = "d80aef668f981b5dcf157633d13081c0" +SRC_URI[sha256sum] = "f69b112f8848be35139d9099b62bc81649241f78f6a775516f0d4c9b47f65144" SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch" BBCLASSEXTEND = "native nativesdk"
Signed-off-by: Phil Blundell <pb@pbcl.net> --- v2: now with correct SRC_URI checksums .../60_wait-longer-for-threads-to-die.patch | 11 ------- meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch | 34 +++++++++++--------- .../{glib-2.0_2.32.4.bb => glib-2.0_2.34.0.bb} | 6 ++-- 3 files changed, 21 insertions(+), 30 deletions(-) rename meta/recipes-core/glib-2.0/{glib-2.0_2.32.4.bb => glib-2.0_2.34.0.bb} (90%)