diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-25 14:55:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-26 10:56:44 +0000 |
commit | e17c709b430c783229bc804310e3d34b84a5f798 (patch) | |
tree | 5b7890c72e4dfe7bd47337f35a4b979147cb7c81 /meta/recipes-core/glib-2.0/glib-2.0 | |
parent | a54932dc373ec130f7a166d144f4d5744ec52097 (diff) | |
download | poky-e17c709b430c783229bc804310e3d34b84a5f798.tar.gz |
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.
(From OE-Core rev: 4642ae91cee2978956a61cf15df7ea62e3eb1726)
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.patch | 23 |
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 0000000000..1486203cf5 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/nodbus.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Disable dbus dependency. Autodetecting isn't deterministic, we don't have the DEPENDS | ||
2 | and we don't want to built this piece so hardcode it off. | ||
3 | |||
4 | RP 2012/2/25 | ||
5 | |||
6 | Index: glib-2.30.2/configure.ac | ||
7 | =================================================================== | ||
8 | --- glib-2.30.2.orig/configure.ac 2012-02-25 14:50:07.444242397 +0000 | ||
9 | +++ glib-2.30.2/configure.ac 2012-02-25 14:51:28.096240485 +0000 | ||
10 | @@ -3769,10 +3769,9 @@ | ||
11 | # Check for libdbus1 - Optional - is only used in the GDBus test cases | ||
12 | # | ||
13 | # 1.2.14 required for dbus_message_set_serial | ||
14 | -PKG_CHECK_MODULES(DBUS1, | ||
15 | - dbus-1 >= 1.2.14, | ||
16 | - [AC_DEFINE(HAVE_DBUS1, 1, [Define if dbus-1 is available]) have_dbus1=yes], | ||
17 | - have_dbus1=no) | ||
18 | +DBUS1_CFLAGS= | ||
19 | +DBUS1_LIBS= | ||
20 | +$have_dbus1=no | ||
21 | AC_SUBST(DBUS1_CFLAGS) | ||
22 | AC_SUBST(DBUS1_LIBS) | ||
23 | AM_CONDITIONAL(HAVE_DBUS1, [test "x$have_dbus1" = "xyes"]) | ||