From patchwork Sat Sep 3 20:04:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 15273 Received: (qmail 73839 invoked by uid 89); 3 Sep 2016 20:04:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=off!, mistakes X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 03 Sep 2016 20:04:44 +0000 Received: from localhost ([::1]:47584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgHBC-0008T7-A0 for patchwork@sourceware.org; Sat, 03 Sep 2016 16:04:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgHB6-0008Ss-Q9 for guix-devel@gnu.org; Sat, 03 Sep 2016 16:04:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgHB3-0005rP-IJ for guix-devel@gnu.org; Sat, 03 Sep 2016 16:04:36 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:38142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgHB1-0005oP-5l for guix-devel@gnu.org; Sat, 03 Sep 2016 16:04:33 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8FC4320306; Sat, 3 Sep 2016 16:04:20 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 03 Sep 2016 16:04:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=PNhwC O00cBlmQyfKPsNOi2Twerc=; b=cw1QXSgSGY7MMQopxQxlU3C31zS9SUEIuDVHw Jxyfx+udDSaDakpI+ocOGEtEoecWUlgKjXfgEdrSmkw+pdYOB5pXfy8iOHbaIUUS HzSZreJvxF+3Ar3XLZ+rzE3In9Bp8MgPfz7hYCShAoEPOMVSRISddfo3S1YMiuJp yeZJMc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=PNhwCO00cBlmQyfKPsNOi2Twerc=; b=JJpw3 twy9HDj93ruuWeAcaiKlmrWv6vADbpI+4v/CzgF/pGN/OMBCZb4d4NDjjDqsX+qo IZm5GOBcjiZMNX/QgzU6ex/wxXFYDP0YPIz3tVH3dWdxyZCP1M/bcDVnDyC7VTMq kZYCWL+Ykg7sLHzsuq1s5MMJmLvWMJQAOELeCk= X-Sasl-enc: iZP860B1l3ma5aYZU6tRa+L5auS81lki/fKT/syn38Ne 1472933060 Received: from localhost (05430ba6.skybroadband.com [5.67.11.166]) by mail.messagingengine.com (Postfix) with ESMTPA id 25854CCDCB; Sat, 3 Sep 2016 16:04:20 -0400 (EDT) From: Marius Bakke To: Brendan Tildesley , guix-devel@gnu.org Subject: Re: [PATCH] gnu: Add libicns In-Reply-To: <2f6589d3-5cba-0e2b-5576-d2d6f8ee3d2e@openmailbox.org> References: <3b92e609-3e2f-9f3e-3294-0e8f7a3ae558@openmailbox.org> <87a8fpqnvx.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> <874m5xqhu6.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> <6d93862f-c86e-e064-2392-3726c92e06e8@openmailbox.org> <87zinoq06p.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> <2f6589d3-5cba-0e2b-5576-d2d6f8ee3d2e@openmailbox.org> Date: Sat, 03 Sep 2016 21:04:19 +0100 Message-ID: <87vaycpx6k.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" Brendan Tildesley writes: > I just notice the configure script wasn't looking for any newer version. [...] > checking libpng/png.h usability... no > checking libpng/png.h presence... no > checking for libpng/png.h... no > checking libpng10/png.h usability... no > checking libpng10/png.h presence... no > checking for libpng10/png.h... no > checking libpng12/png.h usability... yes > checking libpng12/png.h presence... yes > checking for libpng12/png.h... yes You cut off the important lines! Here is how it looks with the latest libpng in inputs: checking for png_create_read_struct in -lpng... yes checking png.h usability... yes <--- checking png.h presence... yes <--- checking for png.h... yes <--- checking libpng/png.h usability... no checking libpng/png.h presence... no checking for libpng/png.h... no checking libpng10/png.h usability... no checking libpng10/png.h presence... no checking for libpng10/png.h... no checking libpng12/png.h usability... no checking libpng12/png.h presence... no checking for libpng12/png.h... no >> >> The rest of the patch looks good to me. >> >> Thanks again! >> Marius > > Thanks. If I posted a fix, I'd just end up making some new mistakes, so > I'll just leave it to be added! I did the mentioned adjustments and attached a new patch. Hope I did not scare you off! :) ~marius From 0efb2e7cb5c3344b49e30af57efcdd5b1136ac7f 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 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 4fdc4ae..c1b79f3 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -147,6 +147,44 @@ 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))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (arguments + `(#:tests? #t ; No tests. + #:phases + (modify-phases %standard-phases + (add-before 'configure 'autoreconf + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) + (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") -- 2.9.3