distro/package_regex: add patterns for GNOME stable releases

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>
This commit is contained in:
Ross Burton 2015-05-26 18:17:01 +01:00 committed by Richard Purdie
parent 1604ca299b
commit d60a2078ca
1 changed files with 15 additions and 0 deletions

View 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}"