summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-28 11:53:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 07:43:32 +0100
commit5bfcd13c074a69cfb1cf9108cbccee472bad4409 (patch)
treedd7184e90b27bd4f5c36e390a1bcddaf3252e2cf
parent5b629a962d05aa1ae9d017058d078476d3675850 (diff)
downloadpoky-5bfcd13c074a69cfb1cf9108cbccee472bad4409.tar.gz
classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+
If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you see failures due to dependency problems. The work in resolving this was partially completed a while back. This adds in the markup mainly for gtk/gtk3+ recipes and means "bitbake world" will work successfully. Rather than code the gtk/gtk+ specific distro features into each recipe, a shared variable is used. (From OE-Core rev: ef967c70182eeccb59c7511d838a7ecb0b2315c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/default-distrovars.inc3
-rw-r--r--meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb3
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome_0.7.bb3
-rw-r--r--meta/recipes-devtools/python/python-pygtk_2.24.0.bb4
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_3.16.3.bb5
-rw-r--r--meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb3
-rw-r--r--meta/recipes-gnome/gtk+/gtk+.inc2
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3.inc3
-rw-r--r--meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb3
-rw-r--r--meta/recipes-gnome/gtk-theme-torturer/gtk-theme-torturer_git.bb3
-rw-r--r--meta/recipes-gnome/libglade/libglade_2.6.4.bb3
-rw-r--r--meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb5
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc3
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui_git.bb3
-rw-r--r--meta/recipes-kernel/sysprof/sysprof_git.bb3
-rw-r--r--meta/recipes-kernel/trace-cmd/kernelshark_git.bb3
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-player_git.bb4
-rw-r--r--meta/recipes-sato/gtk-engines/gtk-sato-engine.inc3
-rw-r--r--meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb4
-rw-r--r--meta/recipes-support/libfm/libfm_1.2.3.bb3
-rw-r--r--meta/recipes-support/vte/vte.inc3
21 files changed, 57 insertions, 12 deletions
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index 29b762b227..836690492b 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -47,3 +47,6 @@ DISTRO_VERSION ??= "nodistro.0"
47 47
48# Missing checksums should raise an error 48# Missing checksums should raise an error
49BB_STRICT_CHECKSUM = "1" 49BB_STRICT_CHECKSUM = "1"
50
51GTK2DISTROFEATURES = "directfb x11"
52GTK3DISTROFEATURES = "x11 wayland"
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb
index eea4d70fab..0d42b90e71 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
6 6
7require avahi.inc 7require avahi.inc
8 8
9inherit python-dir pythonnative 9inherit python-dir pythonnative distro_features_check
10ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
10 11
11PACKAGECONFIG ??= "python" 12PACKAGECONFIG ??= "python"
12PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python" 13PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python"
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
index f5575d2938..0fd1c65a3b 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
@@ -19,7 +19,8 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git \
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22inherit autotools-brokensep gtk-icon-cache pkgconfig 22inherit autotools-brokensep gtk-icon-cache pkgconfig distro_features_check
23ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
23 24
24RDEPENDS_${PN} = "connman" 25RDEPENDS_${PN} = "connman"
25 26
diff --git a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
index e4c33a803f..79b3110e30 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
@@ -26,7 +26,9 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
26 26
27EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" 27EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../"
28 28
29inherit autotools pkgconfig distutils-base 29inherit autotools pkgconfig distutils-base distro_features_check
30
31ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
30 32
31do_configure_prepend() { 33do_configure_prepend() {
32 install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ 34 install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
diff --git a/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
index 506fb25dd6..c3745c0ed1 100644
--- a/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes ca-certificates avahi libnotify gcr libwnck3 \ 5DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes ca-certificates avahi libnotify gcr libwnck3 \
6 gsettings-desktop-schemas gnome-desktop3" 6 gsettings-desktop-schemas gnome-desktop3"
7 7
8inherit gnomebase gsettings 8inherit gnomebase gsettings distro_features_check
9# libwnck3 is x11 only
10REQUIRED_DISTRO_FEATURES = "x11"
11
9SRC_URI += "file://0001-yelp.m4-drop-the-check-for-itstool.patch" 12SRC_URI += "file://0001-yelp.m4-drop-the-check-for-itstool.patch"
10SRC_URI[archive.md5sum] = "3296af4532b8019775f4b40d21a341ae" 13SRC_URI[archive.md5sum] = "3296af4532b8019775f4b40d21a341ae"
11SRC_URI[archive.sha256sum] = "d527f1770779ec22d955aeb13b148a846a26144e433ff0480c981af80e2390b1" 14SRC_URI[archive.sha256sum] = "d527f1770779ec22d955aeb13b148a846a26144e433ff0480c981af80e2390b1"
diff --git a/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb b/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb
index 1f2f06c847..aa11fa28d9 100644
--- a/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb
+++ b/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb
@@ -12,6 +12,9 @@ SRC_URI[archive.sha256sum] = "3a8f196b46eb9dbd3ba2afb8fb5fef6a8825539d449a021813
12 12
13DEPENDS += "gsettings-desktop-schemas gconf libxrandr virtual/libx11 gtk+3 glib-2.0 gnome-doc-utils gnome-common startup-notification iso-codes" 13DEPENDS += "gsettings-desktop-schemas gconf libxrandr virtual/libx11 gtk+3 glib-2.0 gnome-doc-utils gnome-common startup-notification iso-codes"
14 14
15inherit distro_features_check
16REQUIRED_DISTRO_FEATURES = "x11"
17
15EXTRA_OECONF = "--disable-desktop-docs" 18EXTRA_OECONF = "--disable-desktop-docs"
16 19
17PACKAGES =+ "libgnome-desktop3" 20PACKAGES =+ "libgnome-desktop3"
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index be5273d620..a197b9d96f 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
11SECTION = "libs" 11SECTION = "libs"
12 12
13inherit distro_features_check 13inherit distro_features_check
14ANY_OF_DISTRO_FEATURES = "directfb x11" 14ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
15 15
16X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite" 16X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite"
17DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \ 17DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index f29f0d3031..558cdd7340 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -10,7 +10,8 @@ DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf \
10 10
11LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" 11LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+"
12 12
13inherit autotools pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings 13inherit autotools pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings distro_features_check
14ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
14 15
15# This should be in autotools.bbclass, but until something elses uses it putting 16# This should be in autotools.bbclass, but until something elses uses it putting
16# it here avoids rebuilding everything. 17# it here avoids rebuilding everything.
diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
index c30454cab5..95d5e554d6 100644
--- a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
@@ -34,6 +34,9 @@ RDEPENDS_${PN}-dev = ""
34inherit gnomebase 34inherit gnomebase
35GNOME_COMPRESS_TYPE="bz2" 35GNOME_COMPRESS_TYPE="bz2"
36 36
37inherit distro_features_check
38ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
39
37python populate_packages_prepend() { 40python populate_packages_prepend() {
38 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines") 41 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
39 themes_root = os.path.join(d.getVar('datadir', True), "themes") 42 themes_root = os.path.join(d.getVar('datadir', True), "themes")
diff --git a/meta/recipes-gnome/gtk-theme-torturer/gtk-theme-torturer_git.bb b/meta/recipes-gnome/gtk-theme-torturer/gtk-theme-torturer_git.bb
index 889fd89417..b67806def9 100644
--- a/meta/recipes-gnome/gtk-theme-torturer/gtk-theme-torturer_git.bb
+++ b/meta/recipes-gnome/gtk-theme-torturer/gtk-theme-torturer_git.bb
@@ -13,6 +13,9 @@ S = "${WORKDIR}/git/gtk-theme-torturer"
13 13
14CFLAGS += "-Wl,-rpath-link,${STAGING_LIBDIR}" 14CFLAGS += "-Wl,-rpath-link,${STAGING_LIBDIR}"
15 15
16inherit distro_features_check
17ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
18
16do_install() { 19do_install() {
17 install -d ${D}${bindir} 20 install -d ${D}${bindir}
18 install -m 0755 torturer ${D}${bindir} 21 install -m 0755 torturer ${D}${bindir}
diff --git a/meta/recipes-gnome/libglade/libglade_2.6.4.bb b/meta/recipes-gnome/libglade/libglade_2.6.4.bb
index 15267cad87..553e19c601 100644
--- a/meta/recipes-gnome/libglade/libglade_2.6.4.bb
+++ b/meta/recipes-gnome/libglade/libglade_2.6.4.bb
@@ -11,7 +11,8 @@ SECTION = "libs"
11PR = "r5" 11PR = "r5"
12DEPENDS = "zlib gdk-pixbuf gtk+" 12DEPENDS = "zlib gdk-pixbuf gtk+"
13 13
14inherit autotools pkgconfig gnomebase gtk-doc 14inherit autotools pkgconfig gnomebase gtk-doc distro_features_check
15ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
15GNOME_COMPRESS_TYPE="bz2" 16GNOME_COMPRESS_TYPE="bz2"
16 17
17SRC_URI += "file://glade-cruft.patch file://no-xml2.patch file://python_environment.patch" 18SRC_URI += "file://glade-cruft.patch file://no-xml2.patch file://python_environment.patch"
diff --git a/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb b/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb
index d0f5175e5d..3ee1ae98a4 100644
--- a/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb
+++ b/meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb
@@ -13,3 +13,8 @@ PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-s
13inherit gnomebase 13inherit gnomebase
14SRC_URI[archive.md5sum] = "4538672e0d775fadedf10abeb8020047" 14SRC_URI[archive.md5sum] = "4538672e0d775fadedf10abeb8020047"
15SRC_URI[archive.sha256sum] = "f5080076346609b4c36394b879f3a86b92ced3b90a37cb54c8e9a14f00e7921c" 15SRC_URI[archive.sha256sum] = "f5080076346609b4c36394b879f3a86b92ced3b90a37cb54c8e9a14f00e7921c"
16
17inherit distro_features_check
18# libxres means x11 only
19REQUIRED_DISTRO_FEATURES = "x11"
20
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index cc1c02b553..9881c942b8 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -23,6 +23,9 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
23 23
24inherit autotools pkgconfig 24inherit autotools pkgconfig
25 25
26inherit distro_features_check
27REQUIRED_DISTRO_FEATURES = "x11"
28
26PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto" 29PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto"
27LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt" 30LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt"
28DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" 31DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util"
diff --git a/meta/recipes-kernel/oprofile/oprofileui_git.bb b/meta/recipes-kernel/oprofile/oprofileui_git.bb
index bb69d5404d..8fad099664 100644
--- a/meta/recipes-kernel/oprofile/oprofileui_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui_git.bb
@@ -2,6 +2,9 @@ require oprofileui.inc
2 2
3DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf" 3DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf"
4 4
5inherit distro_features_check
6ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
7
5SRCREV = "389e1875af4721d52c7e65cf9cfffb69b0ed6a59" 8SRCREV = "389e1875af4721d52c7e65cf9cfffb69b0ed6a59"
6PV = "0.0+git${SRCPV}" 9PV = "0.0+git${SRCPV}"
7 10
diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
index 19c3e10f7c..7d87efe7db 100644
--- a/meta/recipes-kernel/sysprof/sysprof_git.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
@@ -19,7 +19,8 @@ SRC_URI_append_mips64n32 = " file://rmb-mips.patch"
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22inherit autotools pkgconfig 22inherit autotools pkgconfig distro_features_check
23ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
23 24
24# We do not yet work for aarch64. 25# We do not yet work for aarch64.
25# 26#
diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_git.bb b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
index 9deccaefd9..563182c89f 100644
--- a/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
+++ b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
@@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
9DEPENDS = "gtk+ libxml2" 9DEPENDS = "gtk+ libxml2"
10RDEPENDS_${PN} = "trace-cmd" 10RDEPENDS_${PN} = "trace-cmd"
11 11
12inherit distro_features_check
13ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
14
12EXTRA_OEMAKE = "\ 15EXTRA_OEMAKE = "\
13 'prefix=${prefix}' \ 16 'prefix=${prefix}' \
14 'bindir_relative=${@oe.path.relative(prefix, bindir)}' \ 17 'bindir_relative=${@oe.path.relative(prefix, bindir)}' \
diff --git a/meta/recipes-multimedia/gstreamer/gst-player_git.bb b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
index 54cfbbc927..9850242567 100644
--- a/meta/recipes-multimedia/gstreamer/gst-player_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
@@ -16,7 +16,9 @@ SRCREV = "5386c5b984d40ef5434673ed62204e69aaf52645"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19inherit autotools gtk-doc lib_package pkgconfig 19inherit autotools gtk-doc lib_package pkgconfig distro_features_check
20
21ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
20 22
21do_configure_prepend() { 23do_configure_prepend() {
22 touch ${S}/ChangeLog 24 touch ${S}/ChangeLog
diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
index 4e37ff2047..fa6b2b2e75 100644
--- a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
+++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
@@ -8,6 +8,9 @@ SECTION = "x11/base"
8DEPENDS = "gtk+" 8DEPENDS = "gtk+"
9RDEPENDS_gtk-theme-sato = "gtk-sato-engine" 9RDEPENDS_gtk-theme-sato = "gtk-sato-engine"
10 10
11inherit distro_features_check
12ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
13
11PACKAGES += "gtk-theme-sato" 14PACKAGES += "gtk-theme-sato"
12FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so " 15FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so "
13FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la" 16FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la"
diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
index 91fd150e3b..c8cbd57a6e 100644
--- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
@@ -15,4 +15,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}"
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17 17
18inherit autotools pkgconfig 18inherit autotools pkgconfig distro_features_check
19
20ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
diff --git a/meta/recipes-support/libfm/libfm_1.2.3.bb b/meta/recipes-support/libfm/libfm_1.2.3.bb
index 629502f68f..b225232f39 100644
--- a/meta/recipes-support/libfm/libfm_1.2.3.bb
+++ b/meta/recipes-support/libfm/libfm_1.2.3.bb
@@ -18,7 +18,8 @@ SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344
18 18
19PR = "r1" 19PR = "r1"
20 20
21inherit autotools pkgconfig gtk-doc 21inherit autotools pkgconfig gtk-doc distro_features_check
22ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
22 23
23do_configure[dirs] =+ "${S}/m4" 24do_configure[dirs] =+ "${S}/m4"
24 25
diff --git a/meta/recipes-support/vte/vte.inc b/meta/recipes-support/vte/vte.inc
index 874062adbe..07b9e10dce 100644
--- a/meta/recipes-support/vte/vte.inc
+++ b/meta/recipes-support/vte/vte.inc
@@ -4,7 +4,8 @@ LICENSE = "LGPLv2.0"
4DEPENDS = " glib-2.0 gtk+ intltool-native ncurses gobject-introspection-stub" 4DEPENDS = " glib-2.0 gtk+ intltool-native ncurses gobject-introspection-stub"
5RDEPENDS_libvte = "vte-termcap" 5RDEPENDS_libvte = "vte-termcap"
6 6
7inherit gnome gtk-doc 7inherit gnome gtk-doc distro_features_check
8ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
8 9
9EXTRA_OECONF = "--disable-python --disable-introspection" 10EXTRA_OECONF = "--disable-python --disable-introspection"
10 11