summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-07-10 15:55:39 +0200
committerLudovic Courtès <ludo@gnu.org>2013-07-10 15:55:39 +0200
commitc0edcc3c1926497919e6eefed32dbe5fdc55d045 (patch)
tree31096f9fd2c6663c450771b3a2b1f05d1edaf657 /gnu
parentedd258fd6b341ca9ec1a8cda4437c32e75f8eecc (diff)
downloadguix-c0edcc3c1926497919e6eefed32dbe5fdc55d045.tar.gz
gnu: libpng: Upgrade to 1.5.17.
* gnu/packages/libpng.scm (libpng): Upgrade to 1.5.17.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/libpng.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/libpng.scm b/gnu/packages/libpng.scm
index 32f38194e4..810645ea68 100644
--- a/gnu/packages/libpng.scm
+++ b/gnu/packages/libpng.scm
@@ -27,21 +27,24 @@
 (define-public libpng
   (package
    (name "libpng")
-   (version "1.5.14")
+   (version "1.5.17")
    (source (origin
             (method url-fetch)
-            (uri (string-append
-                   "http://downloads.sourceforge.net/project/libpng/libpng15/"
-                   version "/libpng-"
-                   version ".tar.xz"))
-            (sha256 (base32
-                     "0m3vz3gig7s63zanq5b1dgb5ph12qm0cylw4g4fbxlsq3f74hn8l"))))
+
+            ;; Note: upstream removes older tarballs.
+            (uri (list (string-append "mirror://sourceforge/libpng/libpng15/"
+                                      version "/libpng-" version ".tar.xz")
+                       (string-append
+                        "ftp://ftp.simplesystems.org/pub/libpng/png/src"
+                        "/libpng15/libpng-" version ".tar.xz")))
+            (sha256
+             (base32 "19wj293r4plbfgb43yhrc2qx8bsch9gbazazfqrj9haa7lsk29jp"))))
    (build-system gnu-build-system)
 
    ;; libpng.la says "-lz", so propagate it.
    (propagated-inputs `(("zlib" ,zlib)))
 
-   (synopsis "Libpng, a library for handling PNG files")
+   (synopsis "Library for handling PNG files")
    (description
     "Libpng is the official PNG (Portable Network Graphics) reference
 library. It supports almost all PNG features and is extensible.")