Skip to contentSkip to conversation

libpng: Correct SRC_URI path

PATCH Superseded Khem Raj 2 participants 3 messages Dec 10, 2019 – Dec 11, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libpng: Correct SRC_URI path

Fixes fetcher warning
WARNING: libpng-1.6.37-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.xz, attempting MIRRORS if available

---
 meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-multimedia/libpng/libpng_1.6.37.bb +2 -2
index 78f3248d73..47287a0d55 100644
@@ -7,11 +7,11 @@ DEPENDS = "zlib"
 
 LIBV = "16"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/${BP}.tar.xz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/$${BPN}{LIBV}/${BP}.tar.xz"
 SRC_URI[md5sum] = "015e8e15db1eecde5f2eb9eb5b6e59e9"
 SRC_URI[sha256sum] = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca"
 
-MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/${PV}/"
+MIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/"
 
 UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html"
 
Signature · 1 line
2.24.0
#1 lore raw
Quoted 14 lines · Khem Raj

Fixes fetcher warning
WARNING: libpng-1.6.37-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.xz, attempting MIRRORS if available

---
 meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-multimedia/libpng/libpng_1.6.37.bb +0 -0
index 78f3248d73..47287a0d55 100644

meta/recipes-multimedia/libpng/libpng_1.6.37.bb DEPENDS = "zlib" · line 10

Quoted 5 lines
meta/recipes-multimedia/libpng/libpng_1.6.37.bb +1 -1
@@ -7,11 +7,11 @@ DEPENDS = "zlib"
 
 LIBV = "16"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/${BP}.tar.xz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/$${BPN}{LIBV}/${BP}.tar.xz"

^ is $$ intended?

Andreas

author
#2 lore raw
Quoted 17 lines · Andreas Müller
Quoted 15 lines · Khem Raj

Fixes fetcher warning
WARNING: libpng-1.6.37-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.xz, attempting MIRRORS if available

---
 meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-multimedia/libpng/libpng_1.6.37.bb +0 -0
index 78f3248d73..47287a0d55 100644
@@ -7,11 +7,11 @@ DEPENDS = "zlib"
 
Quoted 5 lines

meta/recipes-multimedia/libpng/libpng_1.6.37.bb DEPENDS = "zlib" · line 10

Quoted 4 lines
meta/recipes-multimedia/libpng/libpng_1.6.37.bb +1 -1
 LIBV = "16"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/${BP}.tar.xz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/$${BPN}{LIBV}/${BP}.tar.xz"

^ is $$ intended?

its a typo. Good catch.

Quoted 2 lines

Andreas