Skip to contentSkip to conversation

libnotify: add dbus-glib dependency

PATCH New Martin Jansa 1 participant 1 message Apr 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnotify: add dbus-glib dependency

* | No package 'dbus-glib-1' found
| configure:11865: error: Package requirements (gtk+-2.0 >= 2.18, glib-2.0 >= 2.6,

    dbus-1 >= 0.76, dbus-glib-1 >= 0.76 gmodule-2.0) were not met:

* introduced in:
commit 5c1eeb5d16566521e45947b07fdcd9f552fec45b
Author: Alexandru Palalau <[email protected]>
Date: Thu Feb 27 12:05:41 2014 +0200

libnotify: don't use gnome.bbclass

because gnome.bbclass was adding gconf->dbus-glib dependency

* it was also causing other recipes to fail when they were depending on libnotify which has dbus-glib in pkg-config and dbus-glib was missing, e.g. firefox:
| checking for libnotify >= 0.4... Package dbus-glib-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-glib-1.pc' to the PKG_CONFIG_PATH environment variable Package 'dbus-glib-1', required by 'libnotify', not found | configure: error: Library requirements (libnotify >= 0.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

---
 meta/recipes-gnome/libnotify/libnotify_0.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/libnotify/libnotify_0.6.0.bb +1 -1
index a1f2fbc..1d92b64 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
 
 PR = "r1"
 
-DEPENDS = "dbus gtk+"
+DEPENDS = "dbus gtk+ dbus-glib"
 
 inherit gnomebase
 SRC_URI[archive.md5sum] = "732c9d2cd5eb6a9069264a319d330516"
Signature · 1 line
1.9.1