recipes: use class-native instead of deprecated virtclass-native.
PATCH 1/1 recipes: use class-native instead of deprecated virtclass-native.
virtclass overrides are deprecated, so use class overrides instead.
Signed-off-by Ross Burton <[email protected]>
--- meta-efl/recipes-efl/efl/azy_svn.bb | 2 +- meta-gnome/recipes-gnome/orbit2/orbit2_2.14.19.bb | 8 ++++---- meta-networking/recipes-daemons/postfix/postfix.inc | 12 ++++++------ .../recipes-devtools/autoconf-archive/autoconf-archive.inc | 8 ++++---- meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb | 2 +- meta-oe/recipes-extended/nana/nana_2.5.bb | 2 +- meta-oe/recipes-support/daemontools/daemontools_0.76.bb | 2 +- meta-oe/recipes-support/usbpath/usbpath_svn.bb | 2 +- meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb | 2 +- meta-python/recipes-devtools/python/python-lxml_3.2.5.bb | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-)
meta-efl/recipes-efl/efl/azy_svn.bb +1 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Azy is a library meant for implementing rpc clients and servers in a simple manner." DEPENDS = "pkgconfig zlib openssl eina gnutls ecore libxml2 re2c-native mysql5 azy-native glib-2.0" -DEPENDS_virtclass-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native" +DEPENDS_class-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
meta-gnome/recipes-gnome/orbit2/orbit2_2.14.19.bb +4 -4
@@ -17,12 +17,12 @@ SRC_URI[sha256sum] = "55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd BBCLASSEXTEND = "native" IDL_COMPILER_DEPENDS = "orbit2-native" -IDL_COMPILER_DEPENDS_virtclass-native = " " +IDL_COMPILER_DEPENDS_class-native = " " DEPENDS = "libidl popt ${IDL_COMPILER_DEPENDS}" -# IDL_COMPILER_DEPENDS_virtclass-native for some reason didn't work and orbit2-native +# IDL_COMPILER_DEPENDS_class-native for some reason didn't work and orbit2-native # was still in orbit2-native DEPENDS causing circular dependency -DEPENDS_virtclass-native = "libidl-native popt-native" +DEPENDS_class-native = "libidl-native popt-native" PARALLEL_MAKE = ""
@@ -38,4 +38,4 @@ LEAD_SONAME = "libORBit-2.so" inherit autotools pkgconfig gtk-doc EXTRA_OEMAKE = "IDL_COMPILER='${STAGING_BINDIR_NATIVE}/orbit-idl-2'" -EXTRA_OEMAKE_virtclass-native = " " +EXTRA_OEMAKE_class-native = " "
meta-networking/recipes-daemons/postfix/postfix.inc +6 -6
@@ -10,7 +10,7 @@ DEPENDS = "virtual/db libpcre openssl postfix-native \ ${@base_contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ " -DEPENDS_virtclass-native = "virtual/db-native openssl-native libpcre-native" +DEPENDS_class-native = "virtual/db-native openssl-native libpcre-native" LICENSE = "IPL-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=64375f37431336ea1b1b3005fe3fa354"
@@ -54,8 +54,8 @@ export AUXLIBS-ldap = "\ ${@base_contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" # no native openldap -export CCARGS-ldap_virtclass-native = "" -export AUXLIBS-ldap_virtclass-native = "" +export CCARGS-ldap_class-native = "" +export AUXLIBS-ldap_class-native = "" # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH # current openldap didn't enable SASL
@@ -63,8 +63,8 @@ export CCARGS-sasl = "\ ${@base_contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I=/usr/include/sasl', '', d)}" export AUXLIBS-sasl = "\ ${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" -export CCARGS-sasl_virtclass-native = "" -export AUXLIBS-sasl_virtclass-native = "" +export CCARGS-sasl_class-native = "" +export AUXLIBS-sasl_class-native = "" # PCRE, TLS support default export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}"
@@ -119,7 +119,7 @@ do_compile () { oe_runmake } -do_install_prepend_virtclass-native() { +do_install_prepend_class-native() { export POSTCONF="bin/postconf" }
meta-oe/recipes-devtools/autoconf-archive/autoconf-archive.inc +4 -4
@@ -3,12 +3,12 @@ HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/" SECTION = "devel" DEPENDS += "m4-native" -DEPENDS_virtclass-native = "m4-native gnu-config-native" -DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" +DEPENDS_class-native = "m4-native gnu-config-native" +DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk" RDEPENDS_${PN} = "m4 gnu-config" -RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" -RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" +RDEPENDS_${PN}_class-native = "m4-native gnu-config-native" +RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk" SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2"
meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" PR = "r3" -DEPENDS_virtclass-native = "freetype-native libpng-native jpeg-native" +DEPENDS_class-native = "freetype-native libpng-native jpeg-native" DEPENDS = "freetype libpng jpeg expat gtk+" BBCLASSEXTEND = "native"
meta-oe/recipes-extended/nana/nana_2.5.bb +1 -1
@@ -19,7 +19,7 @@ inherit autotools-brokensep pkgconfig EXTRA_OEMAKE = "DESTDIR=${D}" -do_configure_prepend_virtclass-nativesdk() { +do_configure_prepend_class-nativesdk() { sed -i -e 's:@CPP@:\$\{CXX\} \$\{CXXFLAGS\} \-E:g' ${S}/src/nana.in sed -i -e 's:@CC@:\$\{CC\} \$\{CFLAGS\} \-E:g' ${S}/src/nana-clg.in sed -i -e 's:@CXX@::g' ${S}/src/nana-c++lg.in
meta-oe/recipes-support/daemontools/daemontools_0.76.bb +1 -1
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710 S = "${WORKDIR}/admin/${BPN}-${PV}" DEPENDS += "daemontools-native" -DEPENDS_virtclass-native = "" +DEPENDS_class-native = "" do_compile() { ./package/compile
meta-oe/recipes-support/usbpath/usbpath_svn.bb +1 -1
@@ -4,7 +4,7 @@ SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://usbpath.c;endline=20;md5=0aa8c7d2af9110c78a99fbf9a504dc3f" DEPENDS = "virtual/libusb0" -DEPENDS_virtclass-native = "virtual/libusb0-native" +DEPENDS_class-native = "virtual/libusb0-native" BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=011c0d78eb6054d731c879132d7313f0" HOMEPAGE = "http://epydoc.sourceforge.net/" SRCNAME = "epydoc" DEPENDS += "python" -DEPENDS_virtclass-native += "python-native" +DEPENDS_class-native += "python-native" SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz" SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
meta-python/recipes-devtools/python/python-lxml_3.2.5.bb +1 -1
@@ -31,5 +31,5 @@ DISTUTILS_INSTALL_ARGS += " \ BBCLASSEXTEND = "native nativesdk" RDEPENDS_${PN} += "libxml2 libxslt python-compression" -RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native" +RDEPENDS_${PN}_class-native = "libxml2-native libxslt-native"
Signature · 1 line
2.1.4