[oe] [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1

Eric Bénard eric at eukrea.com
Wed Dec 29 19:44:40 UTC 2010


On 29/12/2010 19:58, Khem Raj wrote:
> On Wed, Dec 29, 2010 at 9:58 AM, Martin Jansa<martin.jansa at gmail.com>  wrote:
>> Signed-off-by: Martin Jansa<Martin.Jansa at gmail.com>
>
> Acked-by: Khem Raj<raj.khem at gmail.com>
>
>> ---
>>   recipes/dbus/dbus.inc               |    2 +-
>>   recipes/glib-2.0/glib-2.0_2.26.1.bb |    4 ++--
>>   2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/recipes/dbus/dbus.inc b/recipes/dbus/dbus.inc
>> index 73fc426..c235f74 100644
>> --- a/recipes/dbus/dbus.inc
>> +++ b/recipes/dbus/dbus.inc
>> @@ -2,7 +2,7 @@ DESCRIPTION = "A message bus system for inter-process communication"
>>   HOMEPAGE = "http://dbus.freedesktop.org"
>>   SECTION = "base"
>>   LICENSE = "GPLv2+ AFLv2.1"
>> -DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"
>> +DEPENDS = "expat virtual/libintl libsm libice virtual/libx11"
>>
>>   INC_PR = "r19"
>>
>> diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
>> index d95f894..5f7dbce 100644
>> --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
>> +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
>> @@ -6,9 +6,9 @@ UNIX-like platforms, Windows, OS/2 and BeOS."
>>   LICENSE = "LGPLv2+"
>>   SECTION = "libs"
>>   PRIORITY = "optional"
>> -DEPENDS = "glib-2.0-native gtk-doc zlib"
>> +DEPENDS = "glib-2.0-native gtk-doc zlib dbus"
>>   DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
>> -                            pkgconfig-native"
>> +                            pkgconfig-native dbus-native"
>>

dbus dependency is not needed for glib-2.26.1. Compilation fails only on one 
test program (in gio/test) which is enabled because configure calls pkgconfig 
to detect dbus and OE's pkgconfig detects dbus-1.pc which was installed by 
dbus-native because PKG_CONFIG_PATH contains both native and non native 
directories.

A patch to workaround this in glib will come in a few minutes.

Eric




More information about the Openembedded-devel mailing list