distro/package_regex: add patterns for GNOME stable releases
PATCH 1/1 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.
Signed-off-by Ross Burton <[email protected]>
--- meta-yocto/conf/distro/include/package_regex.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
meta-yocto/conf/distro/include/package_regex.inc +15 -0
@@ -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}"
Signature · 1 line
2.1.4