aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-25 14:55:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-26 10:53:54 +0000
commit4642ae91cee2978956a61cf15df7ea62e3eb1726 (patch)
treea8f7a3402fad22fd43f24143a03612ab608ac6a1 /meta/recipes-core/glib-2.0/glib-2.0
parentc44e51f281101c8933679f679e3d4a75a41bedf7 (diff)
downloadopenembedded-core-contrib-4642ae91cee2978956a61cf15df7ea62e3eb1726.tar.gz
openembedded-core-contrib-4642ae91cee2978956a61cf15df7ea62e3eb1726.tar.bz2
openembedded-core-contrib-4642ae91cee2978956a61cf15df7ea62e3eb1726.zip
glib: Drop dbus dependency, it isn't useful
dbus is only needed for some of the glib tests which we don't use. We can therefore drop the dependency and gain some small parallelism gains. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch23
1 files changed, 23 insertions, 0 deletions
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
new file mode 100644
index 00000000000..1486203cf5d
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch
@@ -0,0 +1,23 @@
+Disable dbus dependency. Autodetecting isn't deterministic, we don't have the DEPENDS
+and we don't want to built this piece so hardcode it off.
+
+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
+ #
+ # 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"])