diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:27 +0000 |
commit | 5d94d29f553456268351b26065cc69eb19e71b87 (patch) | |
tree | 6e9a8651524e8417f96e83595e83c8fa387d5bdf /meta/recipes-core/dbus | |
parent | 74bb195f9f72d4f281f4c11f03ca46aee95ccd55 (diff) | |
download | poky-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.inc | 4 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 12 |
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 \ | |||
8 | SECTION = "base" | 8 | SECTION = "base" |
9 | 9 | ||
10 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" | 10 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" |
11 | DEPENDS_virtclass-native = "glib-2.0-native dbus-native" | 11 | DEPENDS_class-native = "glib-2.0-native dbus-native" |
12 | 12 | ||
13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ | 13 | SRC_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 | ||
25 | EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \ | 25 | EXTRA_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" |
27 | EXTRA_OECONF_virtclass-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" | 27 | EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" |
28 | 28 | ||
29 | PACKAGES += "${PN}-bash-completion ${PN}-tests-dbg ${PN}-tests" | 29 | PACKAGES += "${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" |
8 | X11DEPENDS = "virtual/libx11 libsm" | 8 | X11DEPENDS = "virtual/libx11 libsm" |
9 | DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" | 9 | DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" |
10 | DEPENDS_virtclass-native = "expat-native virtual/libintl-native" | 10 | DEPENDS_class-native = "expat-native virtual/libintl-native" |
11 | DEPENDS_virtclass-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" | 11 | DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" |
12 | 12 | ||
13 | INC_PR = "r5" | 13 | INC_PR = "r5" |
14 | 14 | ||
@@ -34,7 +34,7 @@ DEBIANNAME_${PN} = "dbus-1" | |||
34 | PACKAGES =+ "${PN}-lib ${PN}-systemd" | 34 | PACKAGES =+ "${PN}-lib ${PN}-systemd" |
35 | 35 | ||
36 | OLDPKGNAME = "dbus-x11" | 36 | OLDPKGNAME = "dbus-x11" |
37 | OLDPKGNAME_virtclass-nativesdk = "" | 37 | OLDPKGNAME_class-nativesdk = "" |
38 | 38 | ||
39 | # for compatibility | 39 | # for compatibility |
40 | RPROVIDES_${PN} = "${OLDPKGNAME}" | 40 | RPROVIDES_${PN} = "${OLDPKGNAME}" |
@@ -64,7 +64,7 @@ pkg_postinst_dbus() { | |||
64 | } | 64 | } |
65 | 65 | ||
66 | EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" | 66 | EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" |
67 | EXTRA_OECONF_X_virtclass-native = "--without-x --disable-x11-autolaunch" | 67 | EXTRA_OECONF_X_class-native = "--without-x --disable-x11-autolaunch" |
68 | 68 | ||
69 | EXTRA_OECONF = "--disable-tests \ | 69 | EXTRA_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 | ||
108 | do_install_virtclass-native() { | 108 | do_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 | ||
120 | do_install_virtclass-nativesdk() { | 120 | do_install_class-nativesdk() { |
121 | autotools_do_install | 121 | autotools_do_install |
122 | } | 122 | } |
123 | BBCLASSEXTEND = "native nativesdk" | 123 | BBCLASSEXTEND = "native nativesdk" |