summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-11-11 16:32:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-08 10:20:51 +0000
commit642e92f2cd67980a731ba21b570d8d1c6f4798e0 (patch)
treeccae9a0f45db187759a1fcc536ddfc20a51c2dcb /meta
parent96eac69636d2c345cdd50b19262f157335d53380 (diff)
downloadpoky-642e92f2cd67980a731ba21b570d8d1c6f4798e0.tar.gz
package_regex.inc: split entries with odd-even versioning into their own recipes
(From OE-Core rev: 5ddaba1fb833d0408cef5f58f786513b9293c30a) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/upstream-version-is-even.bbclass5
-rw-r--r--meta/conf/distro/include/package_regex.inc51
-rw-r--r--meta/recipes-core/dbus/dbus-test_1.8.20.bb2
-rw-r--r--meta/recipes-core/dbus/dbus_1.8.20.bb2
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc2
-rw-r--r--meta/recipes-core/glib-networking/glib-networking_2.46.1.bb2
-rw-r--r--meta/recipes-devtools/perl/perl.inc2
-rw-r--r--meta/recipes-devtools/vala/vala.inc2
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_3.16.3.bb2
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb2
-rw-r--r--meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.16.2.bb2
-rw-r--r--meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb2
-rw-r--r--meta/recipes-gnome/gtk+/gtk+.inc4
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3.inc2
-rw-r--r--meta/recipes-gnome/gtk+/gtk-icon-utils-native_3.18.2.bb2
-rw-r--r--meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb4
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.40.11.bb2
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-3.0.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk-1.0.inc2
-rw-r--r--meta/recipes-graphics/cogl/cogl-1.0.inc2
-rw-r--r--meta/recipes-graphics/pango/pango.inc2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0.inc2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.8.5.bb2
-rw-r--r--meta/recipes-support/atk/at-spi2-atk_2.18.1.bb2
-rw-r--r--meta/recipes-support/atk/at-spi2-core_2.18.1.bb2
-rw-r--r--meta/recipes-support/atk/atk_2.18.0.bb2
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.52.1.bb2
-rw-r--r--meta/recipes-support/p11-kit/p11-kit_0.22.1.bb2
-rw-r--r--meta/recipes-support/vte/vte.inc2
33 files changed, 43 insertions, 79 deletions
diff --git a/meta/classes/upstream-version-is-even.bbclass b/meta/classes/upstream-version-is-even.bbclass
new file mode 100644
index 0000000000..89556ed7d4
--- /dev/null
+++ b/meta/classes/upstream-version-is-even.bbclass
@@ -0,0 +1,5 @@
1# This class ensures that the upstream version check only
2# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
3# This scheme is used by Gnome and a number of other projects
4# to signify stable releases vs development releases.
5UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
diff --git a/meta/conf/distro/include/package_regex.inc b/meta/conf/distro/include/package_regex.inc
index e681e67afb..ea628209cd 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -208,57 +208,6 @@ GITTAGREGEX_pn-xinetd = "xinetd-(?P<pver>(?!20030122).+)"
208# Blacklist debian-specific tags 208# Blacklist debian-specific tags
209GITTAGREGEX_pn-xf86-video-omapfb = "(?P<pver>\d+(\.\d+)+)(?!-)" 209GITTAGREGEX_pn-xf86-video-omapfb = "(?P<pver>\d+(\.\d+)+)(?!-)"
210 210
211# GNOME related.
212#
213# GNOME2_STABLE picks stable releases in the 2.x series (so not 2.90 onwards,
214# which were GNOME 3 betas.
215#
216# GNOME_STABLE picks the latest stable release.
217
218GNOME2_STABLE = "(?P<pver>2\.([0-8]*[02468])+(\.\d+)+)"
219GNOME_STABLE = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
220
221REGEX_pn-glib-2.0 = "${GNOME_STABLE}"
222REGEX_pn-atk = "${GNOME_STABLE}"
223REGEX_pn-at-spi2-core = "${GNOME_STABLE}"
224REGEX_pn-at-spi2-atk = "${GNOME_STABLE}"
225REGEX_pn-gdk-pixbuf = "${GNOME_STABLE}"
226REGEX_pn-pango = "${GNOME_STABLE}"
227REGEX_pn-gtk+ = "${GNOME2_STABLE}"
228REGEX_pn-gtk+3 = "${GNOME_STABLE}"
229REGEX_pn-gtk-engines = "${GNOME2_STABLE}"
230REGEX_pn-gtk-icon-utils-native = "${GNOME2_STABLE}"
231REGEX_pn-glib-networking = "${GNOME_STABLE}"
232REGEX_pn-librsvg = "${GNOME_STABLE}"
233REGEX_pn-libsoup-2.4 = "${GNOME_STABLE}"
234REGEX_pn-vala = "${GNOME_STABLE}"
235REGEX_pn-clutter-1.0 = "${GNOME_STABLE}"
236REGEX_pn-clutter-gtk-1.0 = "${GNOME_STABLE}"
237REGEX_pn-clutter-gst-3.0 = "${GNOME_STABLE}"
238REGEX_pn-cogl-1.0 = "${GNOME_STABLE}"
239REGEX_pn-adwaita-icon-theme = "${GNOME_STABLE}"
240REGEX_pn-vte = "${GNOME_STABLE}"
241REGEX_pn-epiphany = "${GNOME_STABLE}"
242REGEX_pn-webkitgtk = "${GNOME_STABLE}"
243REGEX_pn-p11-kit = "${GNOME_STABLE}"
244REGEX_pn-gnome-desktop3 = "${GNOME_STABLE}"
245
246# not GNOME related but uses same even-minor-release-is-stable logic
247REGEX_pn-dbus = "${GNOME_STABLE}"
248REGEX_pn-dbus-test = "${GNOME_STABLE}"
249
250# same logic applies to gstreamer releases
251REGEX_pn-gstreamer1.0 = "${GNOME_STABLE}"
252REGEX_pn-gstreamer1.0-libav = "${GNOME_STABLE}"
253REGEX_pn-gstreamer1.0-plugins-bad = "${GNOME_STABLE}"
254REGEX_pn-gstreamer1.0-plugins-base = "${GNOME_STABLE}"
255REGEX_pn-gstreamer1.0-plugins-good = "${GNOME_STABLE}"
256REGEX_pn-gstreamer1.0-plugins-ugly = "${GNOME_STABLE}"
257REGEX_pn-gstreamer1.0-rtsp-server = "${GNOME_STABLE}"
258
259# and perl
260REGEX_pn-perl = "${GNOME_STABLE}"
261
262# Keep old gcc versions at their major versions 211# Keep old gcc versions at their major versions
263REGEX_pn-gcc-source-4.9.3 = "gcc-(?P<pver>4\.9\.\d+).tar" 212REGEX_pn-gcc-source-4.9.3 = "gcc-(?P<pver>4\.9\.\d+).tar"
264REGEX_pn-gcc-source-4.8.4 = "gcc-(?P<pver>4\.8\.\d+).tar" 213REGEX_pn-gcc-source-4.8.4 = "gcc-(?P<pver>4\.8\.\d+).tar"
diff --git a/meta/recipes-core/dbus/dbus-test_1.8.20.bb b/meta/recipes-core/dbus/dbus-test_1.8.20.bb
index 704070bf20..f5400a0f26 100644
--- a/meta/recipes-core/dbus/dbus-test_1.8.20.bb
+++ b/meta/recipes-core/dbus/dbus-test_1.8.20.bb
@@ -24,7 +24,7 @@ SRC_URI[sha256sum] = "5c4fbf4c64621c96e871da91d2b729a5b00536e116d3c4612a469d924b
24S="${WORKDIR}/dbus-${PV}" 24S="${WORKDIR}/dbus-${PV}"
25FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:" 25FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:"
26 26
27inherit autotools pkgconfig gettext ptest 27inherit autotools pkgconfig gettext ptest upstream-version-is-even
28 28
29EXTRA_OECONF_X = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" 29EXTRA_OECONF_X = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}"
30EXTRA_OECONF_X_class-native = "--without-x" 30EXTRA_OECONF_X_class-native = "--without-x"
diff --git a/meta/recipes-core/dbus/dbus_1.8.20.bb b/meta/recipes-core/dbus/dbus_1.8.20.bb
index 207a018c25..c0ad48b33c 100644
--- a/meta/recipes-core/dbus/dbus_1.8.20.bb
+++ b/meta/recipes-core/dbus/dbus_1.8.20.bb
@@ -22,7 +22,7 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
22SRC_URI[md5sum] = "b49890bbabedab3a1c3f4f73c7ff8b2b" 22SRC_URI[md5sum] = "b49890bbabedab3a1c3f4f73c7ff8b2b"
23SRC_URI[sha256sum] = "5c4fbf4c64621c96e871da91d2b729a5b00536e116d3c4612a469d924b1b703a" 23SRC_URI[sha256sum] = "5c4fbf4c64621c96e871da91d2b729a5b00536e116d3c4612a469d924b1b703a"
24 24
25inherit useradd autotools pkgconfig gettext update-rc.d 25inherit useradd autotools pkgconfig gettext update-rc.d upstream-version-is-even
26 26
27INITSCRIPT_NAME = "dbus-1" 27INITSCRIPT_NAME = "dbus-1"
28INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ." 28INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ."
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index ae0eb79727..6e3cf56666 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -27,7 +27,7 @@ PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
27LEAD_SONAME = "libglib-2.0.*" 27LEAD_SONAME = "libglib-2.0.*"
28FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext" 28FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext"
29 29
30inherit autotools gettext gtk-doc pkgconfig ptest-gnome 30inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even
31 31
32S = "${WORKDIR}/glib-${PV}" 32S = "${WORKDIR}/glib-${PV}"
33 33
diff --git a/meta/recipes-core/glib-networking/glib-networking_2.46.1.bb b/meta/recipes-core/glib-networking/glib-networking_2.46.1.bb
index b56e75744b..c980a09ed7 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.46.1.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.46.1.bb
@@ -22,7 +22,7 @@ PACKAGECONFIG[pkcs11] = "--with-pkcs11,--without-pkcs11,p11-kit"
22 22
23EXTRA_OECONF = "--without-gnome-proxy" 23EXTRA_OECONF = "--without-gnome-proxy"
24 24
25inherit gnomebase gettext 25inherit gnomebase gettext upstream-version-is-even
26 26
27FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-1/services/" 27FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-1/services/"
28FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/" 28FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/"
diff --git a/meta/recipes-devtools/perl/perl.inc b/meta/recipes-devtools/perl/perl.inc
index 0d9716c235..3313a9436b 100644
--- a/meta/recipes-devtools/perl/perl.inc
+++ b/meta/recipes-devtools/perl/perl.inc
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
6 file://Artistic;md5=2e6fd2475335af892494fe1f7327baf3" 6 file://Artistic;md5=2e6fd2475335af892494fe1f7327baf3"
7 7
8SRC_URI = "http://www.cpan.org/src/5.0/${BP}.tar.xz" 8SRC_URI = "http://www.cpan.org/src/5.0/${BP}.tar.xz"
9
10inherit upstream-version-is-even
diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
index 63056fde4c..c98244b5b5 100644
--- a/meta/recipes-devtools/vala/vala.inc
+++ b/meta/recipes-devtools/vala/vala.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
11SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" 11SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
12 12
13SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz" 13SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
14inherit autotools pkgconfig 14inherit autotools pkgconfig upstream-version-is-even
15 15
16FILES_${PN} += "${datadir}/${BPN}-${SHRT_VER}/vapi ${libdir}/${BPN}-${SHRT_VER}/" 16FILES_${PN} += "${datadir}/${BPN}-${SHRT_VER}/vapi ${libdir}/${BPN}-${SHRT_VER}/"
17FILES_${PN}-doc += "${datadir}/devhelp" 17FILES_${PN}-doc += "${datadir}/devhelp"
diff --git a/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
index c3745c0ed1..3ff35fc9bc 100644
--- a/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb
@@ -5,7 +5,7 @@ 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 distro_features_check 8inherit gnomebase gsettings distro_features_check upstream-version-is-even
9# libwnck3 is x11 only 9# libwnck3 is x11 only
10REQUIRED_DISTRO_FEATURES = "x11" 10REQUIRED_DISTRO_FEATURES = "x11"
11 11
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb
index 6e3cb02b65..dc05a0344e 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb
@@ -22,7 +22,7 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
22SRC_URI[md5sum] = "b1590189a2e89fab9f871959c168508c" 22SRC_URI[md5sum] = "b1590189a2e89fab9f871959c168508c"
23SRC_URI[sha256sum] = "4432b74f25538c7d6bcb3ca51adabdd666168955f25812a2568dc9637697f3bc" 23SRC_URI[sha256sum] = "4432b74f25538c7d6bcb3ca51adabdd666168955f25812a2568dc9637697f3bc"
24 24
25inherit autotools pkgconfig gettext pixbufcache ptest-gnome 25inherit autotools pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even
26 26
27LIBV = "2.10.0" 27LIBV = "2.10.0"
28 28
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 3765697f2a..43546ceba6 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
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 6
7BPN = "gnome-desktop" 7BPN = "gnome-desktop"
8 8
9inherit gnome pkgconfig 9inherit gnome pkgconfig upstream-version-is-even
10SRC_URI[archive.md5sum] = "ab5bf4cc94ad63639f42adcc1542b1f0" 10SRC_URI[archive.md5sum] = "ab5bf4cc94ad63639f42adcc1542b1f0"
11SRC_URI[archive.sha256sum] = "3a8f196b46eb9dbd3ba2afb8fb5fef6a8825539d449a02181311242e22227bd0" 11SRC_URI[archive.sha256sum] = "3a8f196b46eb9dbd3ba2afb8fb5fef6a8825539d449a02181311242e22227bd0"
12 12
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb b/meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb
index 2052761714..81c88458dc 100644
--- a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb
+++ b/meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb
@@ -6,7 +6,7 @@ SECTION = "x11/gnome"
6LICENSE = "LGPL-3.0 | CC-BY-SA-3.0" 6LICENSE = "LGPL-3.0 | CC-BY-SA-3.0"
7LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c" 7LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c"
8 8
9inherit allarch autotools pkgconfig gettext gtk-icon-cache 9inherit allarch autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even
10 10
11DEPENDS += "intltool-native" 11DEPENDS += "intltool-native"
12 12
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index a197b9d96f..0f41306402 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -13,6 +13,10 @@ SECTION = "libs"
13inherit distro_features_check 13inherit distro_features_check
14ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" 14ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
15 15
16# This picks stable releases in the 2.x series (but not 2.90 onwards,
17# which were GNOME 3 betas).
18UPSTREAM_CHECK_REGEX = "(?P<pver>2\.([0-8]*[02468])+(\.\d+)+)"
19
16X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite" 20X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite"
17DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \ 21DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \
18 cairo gdk-pixbuf" 22 cairo gdk-pixbuf"
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index cb091f4cc3..984e30551c 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -10,7 +10,7 @@ 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 distro_features_check 13inherit autotools pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings distro_features_check upstream-version-is-even
14ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 14ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
15 15
16# 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
diff --git a/meta/recipes-gnome/gtk+/gtk-icon-utils-native_3.18.2.bb b/meta/recipes-gnome/gtk+/gtk-icon-utils-native_3.18.2.bb
index e6c475b5c2..d5e8a1ea58 100644
--- a/meta/recipes-gnome/gtk+/gtk-icon-utils-native_3.18.2.bb
+++ b/meta/recipes-gnome/gtk+/gtk-icon-utils-native_3.18.2.bb
@@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
20 20
21S = "${WORKDIR}/gtk+-${PV}" 21S = "${WORKDIR}/gtk+-${PV}"
22 22
23inherit pkgconfig native 23inherit pkgconfig native upstream-version-is-even
24 24
25PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native" 25PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native"
26 26
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 7c3a87e872..aaf8cab7a6 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
@@ -37,6 +37,10 @@ GNOME_COMPRESS_TYPE="bz2"
37inherit distro_features_check 37inherit distro_features_check
38ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" 38ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
39 39
40# This picks stable releases in the 2.x series (but not 2.90 onwards,
41# which were GNOME 3 betas).
42UPSTREAM_CHECK_REGEX = "(?P<pver>2\.([0-8]*[02468])+(\.\d+)+)"
43
40python populate_packages_prepend() { 44python populate_packages_prepend() {
41 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines") 45 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
42 themes_root = os.path.join(d.getVar('datadir', True), "themes") 46 themes_root = os.path.join(d.getVar('datadir', True), "themes")
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.40.11.bb b/meta/recipes-gnome/librsvg/librsvg_2.40.11.bb
index 8c5206bdbc..3ce1e558ab 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.40.11.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.40.11.bb
@@ -10,7 +10,7 @@ SECTION = "x11/utils"
10DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango" 10DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango"
11BBCLASSEXTEND = "native" 11BBCLASSEXTEND = "native"
12 12
13inherit autotools pkgconfig gnomebase gtk-doc pixbufcache 13inherit autotools pkgconfig gnomebase gtk-doc pixbufcache upstream-version-is-even
14 14
15SRC_URI += "file://gtk-option.patch" 15SRC_URI += "file://gtk-option.patch"
16 16
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc
index 5d0f55c64d..7b115aa5a7 100644
--- a/meta/recipes-graphics/clutter/clutter-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-1.0.inc
@@ -2,7 +2,7 @@ SUMMARY = "Graphics library for creating hardware-accelerated user interfaces"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1+" 3LICENSE = "LGPLv2.1+"
4 4
5inherit clutter ptest-gnome distro_features_check 5inherit clutter ptest-gnome distro_features_check upstream-version-is-even
6# depends on cogl-1.0 which needs opengl 6# depends on cogl-1.0 which needs opengl
7REQUIRED_DISTRO_FEATURES ?= "opengl" 7REQUIRED_DISTRO_FEATURES ?= "opengl"
8 8
diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
index 67c75902ef..5aeeac6920 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
@@ -2,7 +2,7 @@ SUMMARY = "GStreamer integration library for Clutter"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5inherit clutter distro_features_check 5inherit clutter distro_features_check upstream-version-is-even
6# depends on clutter-1.0 which depends on cogl-1.0 6# depends on clutter-1.0 which depends on cogl-1.0
7REQUIRED_DISTRO_FEATURES ?= "opengl" 7REQUIRED_DISTRO_FEATURES ?= "opengl"
8 8
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
index 688eed2d91..b07d3b941d 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
@@ -2,7 +2,7 @@ SUMMARY = "Library for embedding a Clutter canvas in a GTK+ application"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5inherit clutter distro_features_check 5inherit clutter distro_features_check upstream-version-is-even
6# depends on clutter-1.0 which depends on cogl-1.0 6# depends on clutter-1.0 which depends on cogl-1.0
7REQUIRED_DISTRO_FEATURES ?= "opengl" 7REQUIRED_DISTRO_FEATURES ?= "opengl"
8# depends on gtk+3 8# depends on gtk+3
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index 88d84ea5fe..b56bfecefe 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -2,7 +2,7 @@ SUMMARY = "Modern 3D graphics API with associated utility APIs"
2HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" 2HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl"
3LICENSE = "MIT" 3LICENSE = "MIT"
4 4
5inherit clutter distro_features_check 5inherit clutter distro_features_check upstream-version-is-even
6# cogl-1.0 needs opengl to build 6# cogl-1.0 needs opengl to build
7REQUIRED_DISTRO_FEATURES ?= "opengl" 7REQUIRED_DISTRO_FEATURES ?= "opengl"
8 8
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index 78cd560af7..cd9f07dc6f 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -18,7 +18,7 @@ PACKAGECONFIG[x11] = "--with-xft,--without-xft,${X11DEPENDS}"
18BBCLASSEXTEND = "native" 18BBCLASSEXTEND = "native"
19DEPENDS_class-native = "glib-2.0-native cairo-native harfbuzz-native" 19DEPENDS_class-native = "glib-2.0-native cairo-native harfbuzz-native"
20 20
21inherit gnomebase gtk-doc qemu ptest-gnome 21inherit gnomebase gtk-doc qemu ptest-gnome upstream-version-is-even
22 22
23EXTRA_AUTORECONF = "" 23EXTRA_AUTORECONF = ""
24 24
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
index 5d86205cf8..664c5d6f99 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -5,7 +5,7 @@ LICENSE_FLAGS = "commercial"
5HOMEPAGE = "http://www.gstreamer.net/" 5HOMEPAGE = "http://www.gstreamer.net/"
6DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2 xz" 6DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2 xz"
7 7
8inherit autotools pkgconfig 8inherit autotools pkgconfig upstream-version-is-even
9 9
10# CAUTION: Using the system libav is not recommended. Since the libav API is changing all the time, 10# CAUTION: Using the system libav is not recommended. Since the libav API is changing all the time,
11# compilation errors (and other, more subtle bugs) can happen. It is usually better to rely on the 11# compilation errors (and other, more subtle bugs) can happen. It is usually better to rely on the
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
index f1783b768b..58c0bbb3e2 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
@@ -4,7 +4,7 @@ BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
4SECTION = "multimedia" 4SECTION = "multimedia"
5DEPENDS = "gstreamer1.0" 5DEPENDS = "gstreamer1.0"
6 6
7inherit autotools pkgconfig 7inherit autotools pkgconfig upstream-version-is-even
8 8
9GSTREAMER_1_0_DEBUG ?= "--disable-debug" 9GSTREAMER_1_0_DEBUG ?= "--disable-debug"
10GSTREAMER_1_0_GIT_BRANCH ?= "master" 10GSTREAMER_1_0_GIT_BRANCH ?= "master"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc
index 28a9420f85..65b4876696 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc
@@ -10,5 +10,5 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz
10 10
11S = "${WORKDIR}/${PNREAL}-${PV}" 11S = "${WORKDIR}/${PNREAL}-${PV}"
12 12
13inherit autotools pkgconfig 13inherit autotools pkgconfig upstream-version-is-even
14 14
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index 7f36865660..77e160fd64 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -7,7 +7,7 @@ SECTION = "multimedia"
7LICENSE = "LGPLv2+" 7LICENSE = "LGPLv2+"
8DEPENDS = "glib-2.0 libxml2 bison-native flex-native libcap" 8DEPENDS = "glib-2.0 libxml2 bison-native flex-native libcap"
9 9
10inherit autotools pkgconfig gettext 10inherit autotools pkgconfig gettext upstream-version-is-even
11 11
12PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" 12PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
13PACKAGECONFIG[check] = "--enable-check,--disable-check" 13PACKAGECONFIG[check] = "--enable-check,--disable-check"
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
index 68634a9bc1..221ba172c1 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.8.5.bb
@@ -19,7 +19,7 @@ SRC_URI = "\
19SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae" 19SRC_URI[md5sum] = "df79991848a5096d3a75289ebce547ae"
20SRC_URI[sha256sum] = "3d1f0c534935f43fd74df90f2648fcee672d60f1f57a30fa557a77891ae04d20" 20SRC_URI[sha256sum] = "3d1f0c534935f43fd74df90f2648fcee672d60f1f57a30fa557a77891ae04d20"
21 21
22inherit cmake lib_package pkgconfig perlnative pythonnative distro_features_check 22inherit cmake lib_package pkgconfig perlnative pythonnative distro_features_check upstream-version-is-even
23 23
24# depends on libxt 24# depends on libxt
25REQUIRED_DISTRO_FEATURES = "x11" 25REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.18.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.18.1.bb
index f2e543f795..f348d37237 100644
--- a/meta/recipes-support/atk/at-spi2-atk_2.18.1.bb
+++ b/meta/recipes-support/atk/at-spi2-atk_2.18.1.bb
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "c4b15f9386d34d464ddad5f6cc85669742c016df87141ceee935132459
10 10
11DEPENDS = "dbus glib-2.0 atk at-spi2-core" 11DEPENDS = "dbus glib-2.0 atk at-spi2-core"
12 12
13inherit autotools pkgconfig distro_features_check 13inherit autotools pkgconfig distro_features_check upstream-version-is-even
14 14
15# The at-spi2-core requires x11 in DISTRO_FEATURES 15# The at-spi2-core requires x11 in DISTRO_FEATURES
16REQUIRED_DISTRO_FEATURES = "x11" 16REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-support/atk/at-spi2-core_2.18.1.bb b/meta/recipes-support/atk/at-spi2-core_2.18.1.bb
index 53fa1f55a9..bade3c61ad 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.18.1.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.18.1.bb
@@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "57d555be4cc64905454687bf9bb7dc1e68531bee93befa77222d94ea08
13 13
14DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst intltool-native gettext-native" 14DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst intltool-native gettext-native"
15 15
16inherit autotools gtk-doc pkgconfig distro_features_check 16inherit autotools gtk-doc pkgconfig distro_features_check upstream-version-is-even
17# depends on virtual/libx11 17# depends on virtual/libx11
18REQUIRED_DISTRO_FEATURES = "x11" 18REQUIRED_DISTRO_FEATURES = "x11"
19 19
diff --git a/meta/recipes-support/atk/atk_2.18.0.bb b/meta/recipes-support/atk/atk_2.18.0.bb
index 83bcae0c20..97e2d22473 100644
--- a/meta/recipes-support/atk/atk_2.18.0.bb
+++ b/meta/recipes-support/atk/atk_2.18.0.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
10 10
11DEPENDS = "glib-2.0" 11DEPENDS = "glib-2.0"
12 12
13inherit gnomebase gtk-doc 13inherit gnomebase gtk-doc upstream-version-is-even
14 14
15SRC_URI[archive.md5sum] = "fd3678f35004b4c92e3da39356996054" 15SRC_URI[archive.md5sum] = "fd3678f35004b4c92e3da39356996054"
16SRC_URI[archive.sha256sum] = "ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b" 16SRC_URI[archive.sha256sum] = "ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b"
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.52.1.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.52.1.bb
index 55d8b9e95b..5e66197821 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.52.1.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.52.1.bb
@@ -24,7 +24,7 @@ SRC_URI[sha256sum] = "0e19bca047ad50b28e8ed7663840f9e45a94909148822ca44dcb3e8caf
24 24
25S = "${WORKDIR}/libsoup-${PV}" 25S = "${WORKDIR}/libsoup-${PV}"
26 26
27inherit autotools gettext pkgconfig 27inherit autotools gettext pkgconfig upstream-version-is-even
28 28
29# glib-networking is needed for SSL, proxies, etc. 29# glib-networking is needed for SSL, proxies, etc.
30RRECOMMENDS_${PN} = "glib-networking" 30RRECOMMENDS_${PN} = "glib-networking"
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
index ee77951175..8f15894b6c 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
@@ -2,7 +2,7 @@ SUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
2LICENSE = "BSD" 2LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50" 3LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
4 4
5inherit autotools gettext pkgconfig 5inherit autotools gettext pkgconfig upstream-version-is-even
6 6
7DEPENDS = "libtasn1 libffi" 7DEPENDS = "libtasn1 libffi"
8 8
diff --git a/meta/recipes-support/vte/vte.inc b/meta/recipes-support/vte/vte.inc
index 07b9e10dce..94f9587976 100644
--- a/meta/recipes-support/vte/vte.inc
+++ b/meta/recipes-support/vte/vte.inc
@@ -4,7 +4,7 @@ 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 distro_features_check 7inherit gnome gtk-doc distro_features_check upstream-version-is-even
8ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" 8ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
9 9
10EXTRA_OECONF = "--disable-python --disable-introspection" 10EXTRA_OECONF = "--disable-python --disable-introspection"