diff mbox series

libpng: Correct SRC_URI path

Message ID 20191210234517.3749201-1-raj.khem@gmail.com
State Superseded
Headers show
Series libpng: Correct SRC_URI path | expand

Commit Message

Khem Raj Dec. 10, 2019, 11:45 p.m. UTC
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.24.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Andreas Müller Dec. 11, 2019, 12:59 a.m. UTC | #1
On Wed, Dec 11, 2019 at 12:45 AM Khem Raj <raj.khem@gmail.com> wrote:
>

> 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

>

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

>

> diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.37.bb b/meta/recipes-multimedia/libpng/libpng_1.6.37.bb

> index 78f3248d73..47287a0d55 100644

> --- a/meta/recipes-multimedia/libpng/libpng_1.6.37.bb

> +++ b/meta/recipes-multimedia/libpng/libpng_1.6.37.bb

> @@ -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
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Dec. 11, 2019, 3:03 a.m. UTC | #2
On Tue, Dec 10, 2019 at 4:59 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Wed, Dec 11, 2019 at 12:45 AM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > 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
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.37.bb b/meta/recipes-multimedia/libpng/libpng_1.6.37.bb
> > index 78f3248d73..47287a0d55 100644
> > --- a/meta/recipes-multimedia/libpng/libpng_1.6.37.bb
> > +++ b/meta/recipes-multimedia/libpng/libpng_1.6.37.bb
> > @@ -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?

its a typo. Good catch.

>
> Andreas
diff mbox series

Patch

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.37.bb b/meta/recipes-multimedia/libpng/libpng_1.6.37.bb
index 78f3248d73..47287a0d55 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.37.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.37.bb
@@ -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"