Patchwork consolekit: don't inherit gnome

login
register
mail settings
Submitter Ross Burton
Date March 21, 2013, 9:24 a.m.
Message ID <1363857865-16992-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/46617/
State Accepted
Commit 403d9696781852d91cfe002419c2bd48f9da933c
Headers show

Comments

Ross Burton - March 21, 2013, 9:24 a.m.
By inheriting gnome this package was build-depending on
gtk-update-icon-cache-native, gconf, gconf-native, shared-mime-info and
hicolor-icon-theme for no reason.  Change this to inherit autotools pkgconfig to
reduce the build-dependencies.

Also, add a missing dbus-glib build-dependency that was previously pulled in
through something in the gnome class.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-support/consolekit/consolekit_0.4.5.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
index f6a554f..a328108 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
@@ -8,10 +8,10 @@  LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
                     file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3"
 
-DEPENDS = "glib-2.0 dbus virtual/libx11"
+DEPENDS = "glib-2.0 dbus dbus-glib virtual/libx11"
 RDEPENDS_${PN} += "base-files"
 
-inherit gnome
+inherit autotools pkgconfig
 
 SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.bz2"
 SRC_URI[md5sum] = "f2657f93761206922d558471a936fbc3"