From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add libicns
Date: Sun, 4 Sep 2016 05:38:15 +1000 [thread overview]
Message-ID: <2f6589d3-5cba-0e2b-5576-d2d6f8ee3d2e@openmailbox.org> (raw)
In-Reply-To: <87zinoq06p.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me>
On 2016-09-04 04:59, Marius Bakke wrote:
> Brendan Tildesley <brendan.tildesley@openmailbox.org> writes:
>
>> On 2016-09-03 22:38, Marius Bakke wrote:
>>> Marius Bakke <mbakke@fastmail.com> writes:
>>>
>>>> Additionally this package bundles "m4" even if it doesn't use it. Can
>>>> you remove it with a "origin" snippet? See e.g. "xcb-util-xrm" for how
>>>> that's done.
>>> My mistake, it does appear to use those files, and it's not actually m4.
>>> I think using the generated libtool is probably OK.
>>>
>>> Alternatively it can be re-generated by adding a phase that invokes
>>> "autoreconf -vif". I'm not actually sure if this is desired, so just
>>> leave it for now.
>>>
>>> Thank you,
>>> Marius
>> Ah, well that lost me a bit of time.
> Sorry about that! Now it re-generates libtool and friends, so it doesn't
> hurt, at least. I only have a couple of remarks, and then someone with
> commit access can take a final glance.
>
>> From b04ad5e40ac5befe30832ffbcf3b4283b4ae1d63 Mon Sep 17 00:00:00 2001
>> From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
>> 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 | 40 ++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 40 insertions(+)
>>
>> diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
>> index 4fdc4ae..1b21306 100644
>> --- a/gnu/packages/image.scm
>> +++ b/gnu/packages/image.scm
>> @@ -48,6 +48,7 @@
>> #:use-module (guix download)
>> #:use-module (guix build-system gnu)
>> #:use-module (guix build-system cmake)
>> + #:use-module (guix utils)
> I don't think this is required.
>
>> #:use-module (srfi srfi-1))
>>
>> (define-public libpng
>> @@ -147,6 +148,45 @@ 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-1.2)
> It built fine with the latest libpng, is there a specific reason to use
> this version?
>
I just notice the configure script wasn't looking for any newer version.
I was using icns2png to
extract png file, but probably wasn't utilising libpng to do this? as
you can see it is built without
support for larger icons, but I never used that feature. This is old
software that hasn't been
updated since 2012. Perhaps it could be made to work but I wouldn't know
myself. Depends on the
standards of Guix developers.
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
checking for jas_init in -ljasper... no
checking for opj_setup_decoder in -lopenjpeg2... no
checking for opj_setup_decoder in -lopenjpeg... no
configure: WARNING: libopenjpeg or libjasper jp2000 codec libraries not
found
configure: WARNING: libicns will be built without 256x256 and 512x512
support
>
> 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!
next prev parent reply other threads:[~2016-09-03 19:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-02 20:31 [PATCH] gnu: Add libicns Brendan Tildesley
2016-09-03 10:27 ` Marius Bakke
2016-09-03 12:38 ` Marius Bakke
2016-09-03 13:16 ` Brendan Tildesley
2016-09-03 18:59 ` Marius Bakke
2016-09-03 19:38 ` Brendan Tildesley [this message]
2016-09-03 20:04 ` Marius Bakke
2016-09-04 11:05 ` David Craven
-- strict thread matches above, loose matches on Subject: below --
2016-09-02 20:33 Brendan Tildesley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f6589d3-5cba-0e2b-5576-d2d6f8ee3d2e@openmailbox.org \
--to=brendan.tildesley@openmailbox.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.