From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54726) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7mUO-0001h5-3X for guix-patches@gnu.org; Fri, 28 Feb 2020 15:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7mUM-0006oT-OV for guix-patches@gnu.org; Fri, 28 Feb 2020 15:44:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7mUM-0006oO-Lm for guix-patches@gnu.org; Fri, 28 Feb 2020 15:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7mUM-0001Di-KC for guix-patches@gnu.org; Fri, 28 Feb 2020 15:44:02 -0500 Subject: [bug#39828] [PATCH] gnu: Add icoutils. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54537) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7mTZ-0001d9-9r for guix-patches@gnu.org; Fri, 28 Feb 2020 15:43:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7mTX-0006Ul-W3 for guix-patches@gnu.org; Fri, 28 Feb 2020 15:43:13 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:39916) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7mTX-0006U5-N7 for guix-patches@gnu.org; Fri, 28 Feb 2020 15:43:11 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48ThM045j4z1rcBN for ; Fri, 28 Feb 2020 21:43:08 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48ThM040ksz1qv4Z for ; Fri, 28 Feb 2020 21:43:08 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Np1Hxo8gTqW5 for ; Fri, 28 Feb 2020 21:43:07 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-55-76.dynamic.mnet-online.de [188.174.55.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Fri, 28 Feb 2020 21:43:07 +0100 (CET) Received: from lenashee.fritz.box (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id EC01760186 for ; Fri, 28 Feb 2020 21:44:51 +0100 (CET) From: Hartmut Goebel Date: Fri, 28 Feb 2020 21:43:04 +0100 Message-Id: <44d2e3ad748801ebaaee56a4ff51993ac4c47099.1582922512.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 39828@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 =C2=A9 2016, 2017 Arun Isaac ;;; Copyright =C2=A9 2016, 2017 Kei Kebreau ;;; Copyright =C2=A9 2017 ng0 -;;; Copyright =C2=A9 2017,2019 Hartmut Goebel +;;; Copyright =C2=A9 2017,2019,2020 Hartmut Goebel ;;; Copyright =C2=A9 2017 Julien Lepiller ;;; Copyright =C2=A9 2018 Joshua Sierles, Nextjournal ;;; Copyright =C2=A9 2018 Fis Trivial @@ -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 conve= rting +bitmaps from Microsoft Windows icon and cursor files. These files usual= ly +have the extension @code{.ico} or @code{.cur}, but they can also be embe= dded +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{icotoo= l}. +@command{extresso} automates these tasks with the help of special resour= ce +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 site= s.") + (license license:gpl3+))) --=20 2.21.1