Bug#819779: gdk-pixbuf: libgdk-pixbuf2.0-dev depends on libpng-dev but gdk-pixbuf2.0.pc requires libpng12-dev

Michael Biebl biebl at debian.org
Thu Apr 14 12:45:59 UTC 2016


Am 14.04.2016 um 14:16 schrieb peter green:
>>
>> * ships a gdk-pixbuf2.0.pc that requires libpng12.pc;
>> * depends on libpng-dev which:
>>    - on experimental, is a real package that does not ship libpng12.pc
>>      but only libpng16.pc and libpng.pc;
>>    - on unstable, is provided by libpng12-dev which does provide
>>      libpng12.pc, but that situation should change to that of
>>      experimental whenever the new libpng-dev real package is uploaded to
>>      it.
> The situation has now changed but we still have a problem.
> 
> gdk-pixbuf2.0.pc now requires libpng16.pc but the dependency is still on
> libpng-dev which is available both as a real package and as a provides
> from libpng12-dev. So depending on which option is selected in
> satisfying the dependencies the system can end up with a broken
> gdk-pixbuf2.0.pc
> 
> I belive the correct thing to do is to depend on libpng-dev (>=  1.6),
> libpng-dev (<<  1.7).

Yes, I think this is the correct fix, for both the Build-Depends and the
actual Depends in libgdk-pixbuf2.0-dev.

This ensures, that the version we build against and is encoded in the
.pc file is the version that is later pulled in by libgdk-pixbuf2.0-dev


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160414/dca4dec9/attachment.sig>


More information about the pkg-gnome-maintainers mailing list