]> code.ossystems Code Review - openembedded-core.git/commitdiff
gconf: remove redundant dependencies
authorRoss Burton <ross.burton@intel.com>
Thu, 25 Feb 2016 01:02:57 +0000 (01:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:37 +0000 (11:32 +0000)
The explicit native dependencies are identical to the class-generated
dependencies so remove them.

The dbus-x11 package hasn't existed for some time and is RPROVIDEd by dbus, so
there's no need to depend on it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-gnome/gnome/gconf_3.2.6.bb

index cd1df1ae5f06bd8ac2f10cfac3264a9948a9c9cf..e50d077f08623dc49ff564f574030b3ffd7ed328 100644 (file)
@@ -4,8 +4,6 @@ LICENSE = "LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
 
 DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native gobject-introspection-stub"
-DEPENDS_class-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native gobject-introspection-stub-native"
-
 
 inherit gnomebase gtk-doc gettext
 
@@ -44,10 +42,6 @@ do_install_append_class-native() {
                GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2
 }
 
-# disable dbus-x11 when x11 isn't in DISTRO_FEATURES
-RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'dbus-x11', '', d)}"
-RDEPENDS_${PN}_class-native = ""
-
 FILES_${PN} += "${libdir}/GConf/* \
                 ${libdir}/gio/*/*.so \
                 ${datadir}/polkit* \