From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brendan Tildesley Subject: [PATCH] gnu: Add libicns Date: Sat, 3 Sep 2016 06:33:59 +1000 Message-ID: <63ae9dec-4cf6-7fe0-bfb6-92276476b2b3@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------53D78A324F1D65F6289D0614" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfvSQ-0007iJ-SJ for guix-devel@gnu.org; Fri, 02 Sep 2016 16:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfvSM-0005OX-MT for guix-devel@gnu.org; Fri, 02 Sep 2016 16:53:01 -0400 Received: from smtp19.openmailbox.org ([62.4.1.53]:45015 helo=smtp4.openmailbox.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfvSM-0005OP-DI for guix-devel@gnu.org; Fri, 02 Sep 2016 16:52:58 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------53D78A324F1D65F6289D0614 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit --------------53D78A324F1D65F6289D0614 Content-Type: text/x-patch; name="0001-gnu-Add-libicns.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-libicns.patch" >From 64ca4155a754a93b26a1002185950f49469197f3 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sat, 3 Sep 2016 05:53:56 +1000 Subject: [PATCH] gnu: Add libicns * gnu/packages/image.scm (libicns): New variable --- gnu/packages/image.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 4fdc4ae..7f1d237 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -147,6 +147,34 @@ maximum quality factor.") (license license:gpl2+) (home-page "http://www.kokkonen.net/tjko/projects.html#jpegoptim"))) +(define-public libicns + (package + (name "libicns") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://sourceforge.net/projects/icns/files/libicns-" + version ".tar.gz/download")) + (file-name (string-append "libicns-" version ".tar.gz")) + (sha256 (base32 + "1hjm8lwap7bjyyxsyi94fh5817xzqhk4kb5y0b7mb6675xw10prk")))) + (build-system gnu-build-system) + (arguments + ;; no tests + '(#:tests? #f)) + (inputs `(("libpng" ,libpng) + ("jasper" ,jasper))) + (home-page "http://icns.sourceforge.net/") + (synopsis "Library for handling Mac OS icns resource files") + (description + "libicns is a library for the manipulation of Mac OS IconFamily resource +type files (ICNS). icns2png and png2icns are provided to convert between PNG +and ICNS. icns2png will extract image files from ICNS files under names like +\"Foo_48x48x32.png\" useful for installing for use with .desktop files.") + (license (list license:lgpl2.1+ ; libicns + license:gpl2+)))) ; icns2png, png2icns, icontainer2png + (define-public libtiff (package (name "libtiff") -- 2.9.3 --------------53D78A324F1D65F6289D0614--