Skip to contentSkip to conversation

package_regex.inc: remove deprecated file

PATCH In review Maxin B. John 2 participants 5 messages May 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package_regex.inc: remove deprecated file

Remove this file as it has been deprecated in the previous release. New entries should be added to recipes itself.

---
 meta/classes/distrodata.bbclass            |  1 -
 meta/conf/distro/include/package_regex.inc | 22 ----------------------
 2 files changed, 23 deletions(-)
 delete mode 100644 meta/conf/distro/include/package_regex.inc
meta/classes/distrodata.bbclass +0 -1
index 51bfc1e..fbb7402 100644
@@ -1,4 +1,3 @@
-include conf/distro/include/package_regex.inc
 include conf/distro/include/upstream_tracking.inc
 include conf/distro/include/distro_alias.inc
 include conf/distro/include/maintainers.inc
meta/conf/distro/include/package_regex.inc deleted +0 -22
deleted file mode 100644
index 9fc1157..0000000
@@ -1,22 +0,0 @@
-# NOTE: THIS FILE IS DEPRECATED. Please add new entries to the recipes themselves.
-#
-# package_regex.inc - This file contains data that tracks
-# upstream project associated with a given recipe. This list is needed
-# for recipes that version information can not be automagically discovered.
-# As we automate this checking, this file will slowly be reduced.
-#"
-# This data is used by the package reporting system (packages.yoctoproject.org)
-#"
-# The format is as a bitbake variable override for each recipe
-#"
-#       UPSTREAM_CHECK_URI_pn-<recipe name> = "recipe_url"
-#	 - This is the url used by the package checking system to
-#	   get the latest version of the package
-#       UPSTREAM_CHECK_REGEX_pn-<recipe name> = "package_regex"
-#	 - This is the regex the package checking system uses to
-#	   parse the page found at UPSTREAM_CHECK_URI_pn-<recipe name>
-#	UPSTREAM_CHECK_GITTAGREGEX_pn-<recipe name> = "git_tag_regex"
-#	 - When source code is fetched from git, git tags are used to
-#	   determine the upstream release version. This regex can be used
-#	   to filter only relevant tags.
-#
Signature · 1 line
2.4.0
#1 lore raw

PATCH 2/4 freetype: fix upstream check

Provide UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX for proper upstream check.

---
 meta/recipes-graphics/freetype/freetype_2.6.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-graphics/freetype/freetype_2.6.3.bb +3 -0
index 3ed9070..bcd5044 100644
@@ -15,6 +15,9 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=4af6221506f202774ef74f64932878a1
 SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
            file://use-right-libtool.patch"
 
+UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/freetype/files/freetype2/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+
 SRC_URI[md5sum] = "0037b25a8c090bc8a1218e867b32beb1"
 SRC_URI[sha256sum] = "371e707aa522acf5b15ce93f11183c725b8ed1ee8546d7b3af549863045863a2"
 
Signature · 1 line
2.4.0
#2 lore raw

PATCH 3/4 libgudev: fix upstream check

In reply to Maxin B. John

Provide UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to fix upstream check.

---
 meta/recipes-gnome/libgudev/libgudev_230.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-gnome/libgudev/libgudev_230.bb +2 -0
index 6a10502..f9e1d23 100644
@@ -12,3 +12,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 inherit gnomebase gobject-introspection
 
+UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
Signature · 1 line
2.4.0
#3 lore raw

PATCH 4/4 ghostscript: fix upstream check

In reply to Maxin B. John

Ghostscript releases from version 9.19 have been moved to GitHub. Update UPSTREAM_CHECK_URI to fix upstream check.

---
 meta/recipes-extended/ghostscript/ghostscript_9.18.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/ghostscript/ghostscript_9.18.bb +2 -0
index d4222c7..b6c3bb1 100644
@@ -37,6 +37,8 @@ SRC_URI_class-native = "${SRC_URI_BASE} \
                         file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \
                         "
 
+UPSTREAM_CHECK_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases"
+
 SRC_URI[md5sum] = "33a47567d7a591c00a253caddd12a88a"
 SRC_URI[sha256sum] = "5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b"
 
Signature · 1 line
2.4.0