diff options
author | Brendan Tildesley <brendan.tildesley@openmailbox.org> | 2016-09-03 05:53:56 +1000 |
---|---|---|
committer | David Craven <david@craven.ch> | 2016-09-04 13:00:46 +0200 |
commit | f5e4229a075e7aca255ab54d4e98526409520c62 (patch) | |
tree | 9ac1fa2edfb870c47b03930ae9afd4f7bb0e31a4 /gnu/packages/image.scm | |
parent | 8cfdd64c3797bd014ad742bd4bd994d647ced985 (diff) | |
download | patches-f5e4229a075e7aca255ab54d4e98526409520c62.tar patches-f5e4229a075e7aca255ab54d4e98526409520c62.tar.gz |
gnu: Add libicns.
* gnu/packages/image.scm (libicns): New variable.
Signed-off-by: David Craven <david@craven.ch>
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r-- | gnu/packages/image.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 4fdc4ae252..a65bf3912d 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -147,6 +147,37 @@ 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 + "mirror://sourceforge/icns/" + "libicns-" version ".tar.gz")) + (sha256 + (base32 + "1hjm8lwap7bjyyxsyi94fh5817xzqhk4kb5y0b7mb6675xw10prk")))) + (build-system gnu-build-system) + (inputs + `(("libpng" ,libpng) + ("jasper" ,jasper))) + (arguments + `(#:tests? #t)) ; No tests. + (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). @command{icns2png} and @command{png2icns} are provided to +convert between PNG and ICNS. @command{icns2png} will extract image files from +ICNS files under names like \"Foo_48x48x32.png\" useful for installing for use +with .desktop files. Additionally, @command{icontainer2png} is provided for +extracting icontainer icon files.") + (license (list license:lgpl2.1+ ; libicns + license:lgpl2.0+ ; src/apidocs.* + license:gpl2+)))) ; icns2png, png2icns, icontainer2png + (define-public libtiff (package (name "libtiff") |