Subject: Re: bug#26009: libpng-apng

From: ng0 <[email-masked]>
Date: Mon, 13 Mar 2017 14:23:59 +0000

Ludovic Courtès transcribed 0.7K bytes:
> Kei Kebreau <[email-masked]> skribis:
> 
> > For whatever reason, I can't get Guix to recognize libpng-apng as a
> > package seperate from libpng (i.e. "guix build libpng-apng" returns a
> > vanilla libpng directory). Do you have any idea why this is?
> 
> This is because libpng in current master has a ‘replacement’ field, and
> since libpng-apng inherits from libpng, it also gets that replacement.
> 
> The fix is to write:
> 
>   (define-public libpng-apng
>      (package
>        (inherit libpng)
>        (replacement #f)   ;libpng’s replacement doesn’t apply here
>        …))

Thanks.

> 
> That said, please make sure the security issues fixed in ‘libpng/fixed’
> are also fixed in libpng-apng!
> 
> Thanks,
> Ludo’.
> 

Do you have any advice how this could be achieved?