Skip to contentSkip to conversation

libpng: bump version to 1.6.31

PATCH Superseded Adam Duskett 2 participants 2 messages Jul 28, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libpng: bump version to 1.6.31

sourceforge doesn't host the latest version and doesn't seem to be updated. Change the URL to osl.osuosl.org, which does host the latest version.

While we are at it, add a hash for the License file.

---
 package/libpng/libpng.hash | 7 ++++---
 package/libpng/libpng.mk   | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
package/libpng/libpng.hash +4 -3
index 279420a70..65efaa128 100644
@@ -1,4 +1,5 @@
-# From http://sourceforge.net/projects/libpng/files/libpng16/1.6.29/
-sha1 7dbe6a5088b938545fc0857c507d4e0cf5d9023e  libpng-1.6.29.tar.xz
 # Locally computed:
-sha256 4245b684e8fe829ebb76186327bb37ce5a639938b219882b53d64bd3cfc5f239  libpng-1.6.29.tar.xz
+sha256 232a602de04916b2b5ce6f901829caf419519e6a16cc9cd7c1c91187d3ee8b41  libpng-1.6.31.tar.xz
+
+# License file
+sha256 434a58adb33d5a3af601ee74e444eaf4bad89453d55c42965a3270e988d71745  LICENSE
package/libpng/libpng.mk +2 -2
index c82c4efff..d84d4833b 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-LIBPNG_VERSION = 1.6.29
+LIBPNG_VERSION = 1.6.31
 LIBPNG_SERIES = 16
 LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
-LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
+LIBPNG_SITE = https://ftp-osl.osuosl.org/pub/libpng/src/libpng${LIBPNG_SERIES}
 LIBPNG_LICENSE = Libpng
 LIBPNG_LICENSE_FILES = LICENSE
 LIBPNG_INSTALL_STAGING = YES
Signature · 1 line
2.13.3
#1 lore raw

PATCH 1/1 libpng: bump version to 1.6.31

Quoted 3 lines · Adam Duskett

sourceforge doesn't host the latest version and doesn't seem to be updated. Change the URL to osl.osuosl.org, which does host the latest version.

This is really no good, because apparently the osuosl.org location only stores
the latest release.

The .31 release is also not mentioned on the home page.

Since this release is very fresh, perhaps wait a couple of days until it is
there? And perhaps notify upstream of this discrepancy?

Actually... apparently it has appeared on sourceforge now...

Can you respin?

Quoted 2 lines

While we are at it, add a hash for the License file.

[snip]

package/libpng/libpng.hash line 2

Quoted 7 lines
package/libpng/libpng.hash +0 -2
index 279420a70..65efaa128 100644
@@ -1,4 +1,5 @@
-# From http://sourceforge.net/projects/libpng/files/libpng16/1.6.29/
-sha1 7dbe6a5088b938545fc0857c507d4e0cf5d9023e  libpng-1.6.29.tar.xz

Please keep the sourceforge sha1: de695064363df331734466981ef7f6546ef516bf

Regards,
Arnout

Quoted 24 lines
package/libpng/libpng.hash +4 -1
 # Locally computed:
-sha256 4245b684e8fe829ebb76186327bb37ce5a639938b219882b53d64bd3cfc5f239  libpng-1.6.29.tar.xz
+sha256 232a602de04916b2b5ce6f901829caf419519e6a16cc9cd7c1c91187d3ee8b41  libpng-1.6.31.tar.xz
+
+# License file
+sha256 434a58adb33d5a3af601ee74e444eaf4bad89453d55c42965a3270e988d71745  LICENSE
package/libpng/libpng.mk +2 -2
index c82c4efff..d84d4833b 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-LIBPNG_VERSION = 1.6.29
+LIBPNG_VERSION = 1.6.31
 LIBPNG_SERIES = 16
 LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
-LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
+LIBPNG_SITE = https://ftp-osl.osuosl.org/pub/libpng/src/libpng${LIBPNG_SERIES}
 LIBPNG_LICENSE = Libpng
 LIBPNG_LICENSE_FILES = LICENSE
 LIBPNG_INSTALL_STAGING = YES
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF