]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
distro/package_regex: add patterns for GNOME stable releases
authorRoss Burton <ross.burton@intel.com>
Tue, 26 May 2015 17:17:01 +0000 (18:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 May 2015 20:00:48 +0000 (21:00 +0100)
The GNOME versioning scheme is set in stone, so add patterns for the latest
stable release and the latest GNOME 2-specific stable release, and use them for
atk, glib-2.0, gtk+ and gtk+3.

(From meta-yocto rev: e3969d99a69023fb33622de232f98f871c248711)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto/conf/distro/include/package_regex.inc

index 544557c0a3c7fd95bce76d274e3ef5abff8fea1e..7e383f67d682fed0c6714eb9548c0b3c037e9329 100644 (file)
@@ -134,3 +134,18 @@ GITTAGREGEX_pn-linux-yocto-dev = "${GITTAGREGEX_COMMON}"
 GITTAGREGEX_pn-uclibc = "${GITTAGREGEX_COMMON}"
 GITTAGREGEX_pn-glibc = "${GITTAGREGEX_COMMON}"
 GITTAGREGEX_pn-xf86-video-omap = "${GITTAGREGEX_COMMON}"
+
+# GNOME related.
+#
+# GNOME2_STABLE picks stable releases in the 2.x series (so not 2.90 onwards,
+# which were GNOME 3 betas.
+#
+# GNOME_STABLE picks the latest stable release.
+
+GNOME2_STABLE = "(?P<pver>2\.([0-8]*[02468])+\.\d+)"
+GNOME_STABLE = "(?P<pver>\d+\.(\d*[02468])+\.\d+)"
+
+REGEX_pn-glib-2.0 = "${GNOME_STABLE}"
+REGEX_pn-atk = "${GNOME_STABLE}"
+REGEX_pn-gtk+ = "${GNOME2_STABLE}"
+REGEX_pn-gtk+3 = "${GNOME_STABLE}"