From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIgjB-0002KY-Nf for guix-patches@gnu.org; Sat, 25 Nov 2017 15:07:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIgj8-0006UO-Fy for guix-patches@gnu.org; Sat, 25 Nov 2017 15:07:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIgj8-0006UB-B4 for guix-patches@gnu.org; Sat, 25 Nov 2017 15:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIgj8-0001zN-4U for guix-patches@gnu.org; Sat, 25 Nov 2017 15:07:02 -0500 Subject: [bug#29444] [PATCH] gnu: image: Rename pngcrunch to pngcrush and update it. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIgim-000231-90 for guix-patches@gnu.org; Sat, 25 Nov 2017 15:06:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIgih-00066n-V1 for guix-patches@gnu.org; Sat, 25 Nov 2017 15:06:40 -0500 Received: from cock.li ([185.100.85.212]:50862) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eIgih-000661-3s for guix-patches@gnu.org; Sat, 25 Nov 2017 15:06:35 -0500 From: nee Message-ID: <16353634-233f-2972-5d9a-f8afd38205b5@cock.li> Date: Sat, 25 Nov 2017 21:06:29 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9F9F91CB856388700BF27709" Content-Language: en-GB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29444@debbugs.gnu.org This is a multi-part message in MIME format. --------------9F9F91CB856388700BF27709 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hello the package pngcrush was wrongly named pngcrunsh. --------------9F9F91CB856388700BF27709 Content-Type: text/x-patch; name="0001-gnu-image-Rename-pngcrunch-to-pngcrush-and-update-it.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-gnu-image-Rename-pngcrunch-to-pngcrush-and-update-it.pa"; filename*1="tch" >From 0aa4d700c488cc25bc45f4402f2afe0823197546 Mon Sep 17 00:00:00 2001 From: nee Date: Sat, 25 Nov 2017 20:51:11 +0100 Subject: [PATCH] gnu: image: Rename pngcrunch to pngcrush and update it. * gnu/packages/image.scm(pngcrush): Renamed from pngcrunch. [version]: update to 1.8.13. [arguments]: Use the nolib Makefile. [origin]: Use the no-lib tar. [home-page]: update to the new website. * gnu/packages/image.scm(pngcrunsh): Make it a deprecated package. --- gnu/packages/image.scm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index cb8e387f6..fd6db73a8 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -207,25 +207,24 @@ in-memory raw vectors.") ;; Any of these GPL versions. (license (list license:gpl2 license:gpl3)))) -(define-public pngcrunch +(define-public pngcrush (package - (name "pngcrunch") - (version "1.8.11") + (name "pngcrush") + (version "1.8.13") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/pmt/pngcrush/" - version "/pngcrush-" version ".tar.xz")) + version "/pngcrush-" version "-nolib.tar.xz")) (sha256 (base32 - "1c7m316i91jp3h1dj1ppppdv6zilm2njk1wrpqy2zj0fcll06lwd")))) + "0l43c59d6v9l0g07z3q3ywhb8xb3vz74llv3mna0izk9bj6aqkiv")))) (build-system gnu-build-system) (arguments - '(#:make-flags '("-f" "Makefile-nolib") - #:tests? #f ; no check target + '(#:tests? #f ; no check target #:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) - (substitute* "Makefile-nolib" + (substitute* "Makefile" (("^(PNG(INC|LIB) = )/usr/local/" line vardef) (string-append vardef (assoc-ref inputs "libpng") "/")) (("^(Z(INC|LIB) = )/usr/local/" line vardef) @@ -236,12 +235,15 @@ in-memory raw vectors.") (inputs `(("libpng" ,libpng) ("zlib" , zlib))) - (home-page "https://pmt.sourceforge.net/pngcrush") + (home-page "https://pmt.sourceforge.io/pngcrush") (synopsis "Utility to compress PNG files") (description "pngcrusqh is an optimizer for PNG (Portable Network Graphics) files. It can compress them as much as 40% losslessly.") (license license:zlib))) +;;; typo package of pngcrush +(deprecated-package "pngcrunch" pngcrush) + (define-public libjpeg (package (name "libjpeg") -- 2.14.1 --------------9F9F91CB856388700BF27709--