summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-10-27 16:48:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-02 16:18:27 +0000
commit5d94d29f553456268351b26065cc69eb19e71b87 (patch)
tree6e9a8651524e8417f96e83595e83c8fa387d5bdf /meta/recipes-core/dbus
parent74bb195f9f72d4f281f4c11f03ca46aee95ccd55 (diff)
downloadpoky-5d94d29f553456268351b26065cc69eb19e71b87.tar.gz
recipes-core: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 5193485a42dfb3396d0f12aaa7732c5db29d7338) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dbus')
-rw-r--r--meta/recipes-core/dbus/dbus-glib.inc4
-rw-r--r--meta/recipes-core/dbus/dbus.inc12
2 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib.inc b/meta/recipes-core/dbus/dbus-glib.inc
index 3469a4f2b1..dff30c7564 100644
--- a/meta/recipes-core/dbus/dbus-glib.inc
+++ b/meta/recipes-core/dbus/dbus-glib.inc
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \
8SECTION = "base" 8SECTION = "base"
9 9
10DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" 10DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus"
11DEPENDS_virtclass-native = "glib-2.0-native dbus-native" 11DEPENDS_class-native = "glib-2.0-native dbus-native"
12 12
13SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ 13SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \
14 file://no-examples.patch \ 14 file://no-examples.patch \
@@ -24,7 +24,7 @@ PACKAGECONFIG[tests] = "--enable-tests,,,"
24 24
25EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \ 25EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \
26 --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" 26 --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
27EXTRA_OECONF_virtclass-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" 27EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml"
28 28
29PACKAGES += "${PN}-bash-completion ${PN}-tests-dbg ${PN}-tests" 29PACKAGES += "${PN}-bash-completion ${PN}-tests-dbg ${PN}-tests"
30 30
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 550eb0ab3b..d165cdd878 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
7 file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5" 7 file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5"
8X11DEPENDS = "virtual/libx11 libsm" 8X11DEPENDS = "virtual/libx11 libsm"
9DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" 9DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
10DEPENDS_virtclass-native = "expat-native virtual/libintl-native" 10DEPENDS_class-native = "expat-native virtual/libintl-native"
11DEPENDS_virtclass-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" 11DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11"
12 12
13INC_PR = "r5" 13INC_PR = "r5"
14 14
@@ -34,7 +34,7 @@ DEBIANNAME_${PN} = "dbus-1"
34PACKAGES =+ "${PN}-lib ${PN}-systemd" 34PACKAGES =+ "${PN}-lib ${PN}-systemd"
35 35
36OLDPKGNAME = "dbus-x11" 36OLDPKGNAME = "dbus-x11"
37OLDPKGNAME_virtclass-nativesdk = "" 37OLDPKGNAME_class-nativesdk = ""
38 38
39# for compatibility 39# for compatibility
40RPROVIDES_${PN} = "${OLDPKGNAME}" 40RPROVIDES_${PN} = "${OLDPKGNAME}"
@@ -64,7 +64,7 @@ pkg_postinst_dbus() {
64} 64}
65 65
66EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" 66EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}"
67EXTRA_OECONF_X_virtclass-native = "--without-x --disable-x11-autolaunch" 67EXTRA_OECONF_X_class-native = "--without-x --disable-x11-autolaunch"
68 68
69EXTRA_OECONF = "--disable-tests \ 69EXTRA_OECONF = "--disable-tests \
70 --disable-checks \ 70 --disable-checks \
@@ -105,7 +105,7 @@ do_install() {
105 ln -sf /dev/null ${D}/${systemd_unitdir}/system/dbus-1.service 105 ln -sf /dev/null ${D}/${systemd_unitdir}/system/dbus-1.service
106} 106}
107 107
108do_install_virtclass-native() { 108do_install_class-native() {
109 autotools_do_install 109 autotools_do_install
110 110
111 # for dbus-glib-native introspection generation 111 # for dbus-glib-native introspection generation
@@ -117,7 +117,7 @@ do_install_virtclass-native() {
117 ./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml 117 ./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
118} 118}
119 119
120do_install_virtclass-nativesdk() { 120do_install_class-nativesdk() {
121 autotools_do_install 121 autotools_do_install
122} 122}
123BBCLASSEXTEND = "native nativesdk" 123BBCLASSEXTEND = "native nativesdk"