Subject: bug#39828: closed (Re: [bug#39828] [PATCH] gnu: Add icoutils.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 29 Feb 2020 10:06:02 +0000

Your bug report

#39828: [PATCH] gnu: Add icoutils.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39828: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39828
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#39828] [PATCH] gnu: Add icoutils.
From: Hartmut Goebel <[email-masked]>
To: Leo Famulari <[email-masked]>
Cc: [email-masked]
Date: Sat, 29 Feb 2020 11:04:57 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for the review, pushed as 14138912501152d0b81775c96852dbc782f0f864

Subject: [PATCH] gnu: Add icoutils.
From: Hartmut Goebel <[email-masked]>
To: [email-masked]
Date: Fri, 28 Feb 2020 21:43:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/image.scm (icoutils): New variable.
---
 gnu/packages/image.scm | 38 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 36 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 106b733673..4c9a7f6409 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016, 2017 Arun Isaac <[email-masked]>
 ;;; Copyright © 2016, 2017 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2017 ng0 <[email-masked]>
-;;; Copyright © 2017,2019 Hartmut Goebel <[email-masked]>
+;;; Copyright © 2017,2019,2020 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2017 Julien Lepiller <[email-masked]>
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <[email-masked]>
 ;;; Copyright © 2018 Fis Trivial <[email-masked]>
@@ -69,10 +69,11 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages qt)
   #:use-module (gnu packages sphinx)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
-  #:use-module (gnu packages qt)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -1900,3 +1901,36 @@ losslessly translates between SNG and PNG.")
 no dependency or linkage required.  It's made for C (ISO C90), and has a C++
 wrapper with a more convenient interface on top.")
       (license license:zlib))))
+
+(define-public icoutils
+  (package
+    (name "icoutils")
+    (version "0.32.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://savannah/icoutils/icoutils-" version ".tar.bz2"))
+       (sha256
+        (base32 "1q66cksms4l62y0wizb8vfavhmf7kyfgcfkynil3n99s0hny1aqp"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libpng" ,libpng)
+       ("perl" ,perl)))
+    (propagated-inputs
+     `(("perl-libwww" ,perl-libwww)))
+    (home-page "https://www.nongnu.org/icoutils/")
+    (synopsis "Extract and convert bitmaps from Windows icon and cursor files")
+    (description "Icoutils are a set of program for extracting and converting
+bitmaps from Microsoft Windows icon and cursor files.  These files usually
+have the extension @code{.ico} or @code{.cur}, but they can also be embedded
+in executables and libraries (@code{.dll}-files).  (Such embedded files are
+referred to as resources.)
+
+Conversion of these files to and from PNG images is done @command{icotool}.
+@command{extresso} automates these tasks with the help of special resource
+scripts.  Resources such can be extracted from MS Windows executable and
+library files with @command{wrestool}.
+
+This package can be used to create @code{favicon.ico} files for web sites.")
+     (license license:gpl3+)))
-- 
2.21.1