diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-04-13 21:30:28 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-04-15 22:10:02 +0200 |
commit | 2df831a78a933c04d64c400402a5cb1889b2d93a (patch) | |
tree | d5bfc9b384d2c2c670d704e3b7873446267b1a0a | |
parent | 9e9c71eb60607ddaa3bb0c4fb5cc8d8758ce694d (diff) | |
download | patches-2df831a78a933c04d64c400402a5cb1889b2d93a.tar patches-2df831a78a933c04d64c400402a5cb1889b2d93a.tar.gz |
gnu: Add libpng-1.2.
* gnu/packages/image.scm (libpng-1.2): New variable.
-rw-r--r-- | gnu/packages/image.scm | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index aaddce1c70..ba7c8c39ba 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com> -;;; Copyright © 2014 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2014, 2016 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net> ;;; Copyright © 2014 John Darrington <jmd@gnu.org> @@ -76,6 +76,22 @@ library. It supports almost all PNG features and is extensible.") (license license:zlib) (home-page "http://www.libpng.org/pub/png/libpng.html"))) +(define-public libpng-1.2 + (package + (inherit libpng) + (version "1.2.56") + (source + (origin + (method url-fetch) + ;; Note: upstream removes older tarballs. + (uri (list (string-append "mirror://sourceforge/libpng/libpng12/" + version "/libpng-" version ".tar.xz") + (string-append + "ftp://ftp.simplesystems.org/pub/libpng/png/src" + "/libpng12/libpng-" version ".tar.xz"))) + (sha256 + (base32 "1ghd03p353x0vi4dk83n1nlldg11w7vqdk3f99rkgfb82ic59ki4")))))) + (define-public libjpeg (package (name "libjpeg") |