From patchwork Fri Feb 28 20:43:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 20468 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2513C27BBEA; Fri, 28 Feb 2020 20:44:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9D33F27BBE4 for ; Fri, 28 Feb 2020 20:44:10 +0000 (GMT) Received: from localhost ([::1]:53662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7mUU-0001hH-3L for patchwork@mira.cbaines.net; Fri, 28 Feb 2020 15:44:10 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#39828] [PATCH] gnu: Add icoutils. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Feb 2020 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39828 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39828@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15829226024615 (code B ref -1); Fri, 28 Feb 2020 20:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2020 20:43:22 +0000 Received: from localhost ([127.0.0.1]:33833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7mTc-0001CE-4r for submit@debbugs.gnu.org; Fri, 28 Feb 2020 15:43:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:46646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7mTa-0001C6-Qa for submit@debbugs.gnu.org; Fri, 28 Feb 2020 15:43:15 -0500 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) X-Virus-Scanned: amavisd-new at mnet-online.de 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> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2016, 2017 Kei Kebreau ;;; Copyright © 2017 ng0 -;;; Copyright © 2017,2019 Hartmut Goebel +;;; Copyright © 2017,2019,2020 Hartmut Goebel ;;; Copyright © 2017 Julien Lepiller ;;; Copyright © 2018 Joshua Sierles, Nextjournal ;;; Copyright © 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 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+)))