Skip to contentSkip to conversation

apmd: use snapshot.debian.org for SRC_URI

PATCH New Maxin B. John 1 participant 2 messages Jul 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 apmd: use snapshot.debian.org for SRC_URI

Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will only contain releases that are currently in Debian.

So, move all of SRC_URI to the .bb so it can use snapshot.debian.org instead, and set UPSTREAM_CHECK_URI to ${DEBIAN_MIRROR} so upstream release checking continues to work.

v2:

        use ${BPN} instead of ${PN} in SRC_URI for multilib builds

[YOCTO #10040]

---
 meta/recipes-bsp/apmd/apmd_3.2.2-15.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-bsp/apmd/apmd_3.2.2-15.bb +2 -1
index 4ff6ad0..82c2649 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2"
 DEPENDS = "libtool-cross"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/a/${BPN}/${BPN}_3.2.2.orig.tar.gz;name=tarball \
            file://legacy.patch \
            file://libtool.patch \
            file://unlinux.patch \
@@ -26,6 +26,7 @@ SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5
 
 # for this package we're mostly interested in tracking debian patches,
 # and not in the upstream version where all development has effectively stopped
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apmd/"
 UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
 
 S = "${WORKDIR}/apmd-3.2.2.orig"
Signature · 1 line
2.4.0
#1 lore raw

PATCH v2 1/1 glew: upgrade to 2.0.0

1.13.0 -> 2.0.0

v2:
Fix installed-vs-shipped QA error for multilib build

---
 meta/recipes-graphics/glew/{glew_1.13.0.bb => glew_2.0.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/glew/{glew_1.13.0.bb => glew_2.0.0.bb} (84%)
meta/recipes-graphics/glew/glew_2.0.0.bb renamed from meta/recipes-graphics/glew/glew_1.13.0.bb +3 -3
similarity index 84%
rename from meta/recipes-graphics/glew/glew_1.13.0.bb
rename to meta/recipes-graphics/glew/glew_2.0.0.bb
index a25c405..489dd7c 100644
@@ -11,8 +11,8 @@ DEPENDS = "virtual/libx11 virtual/libgl libglu libxext libxi libxmu"
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \
            file://no-strip.patch"
 
-SRC_URI[md5sum] = "7cbada3166d2aadfc4169c4283701066"
-SRC_URI[sha256sum] = "aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7"
+SRC_URI[md5sum] = "2a2cd7c98f13854d2fcddae0d2b20411"
+SRC_URI[sha256sum] = "c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764"
 
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/glew/files/glew"
 UPSTREAM_CHECK_REGEX = "/glew/(?P<pver>(\d+[\.\-_]*)+)/"
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "SYSTEM='linux' \
                 LDFLAGS.EXTRA='${LDFLAGS}' \
                 POPT='${CFLAGS}' \
                 GLEW_PREFIX='${prefix}' BINDIR='${bindir}' \
-                LIBDIR='${libdir}' INCDIR='${includedir}/GL'"
+                LIBDIR='${libdir}' INCDIR='${includedir}/GL' PKGDIR='${libdir}/pkgconfig'"
 
 do_compile() {
 	oe_runmake
Signature · 1 line
2.4.0