On Wed, 2012-08-01 at 00:21 -0700, Adam Williamson wrote:
On Wed, 2012-08-01 at 02:17 -0400, Tom Lane wrote:
> I have been working for the better part of a year on moving Fedora off
> of libpng's obsolete 1.2.x release series and onto the current 1.5.x
> series. We are practically there now, and I had hoped to drop libpng
> 1.2 from the distribution before the F18 branch. However, I find that
> redhat-lsb-desktop still has a dependency on 1.2, and it's not even
> because that package contains any PNG-using code; rather, there's a
> manually inserted version-specific dependency in the specfile:
>
> %ifarch %{ix86}
> Requires: libpng12.so.0
> %endif
> %ifarch x86_64
> Requires: libpng12.so.0()(64bit)
> %endif
>
> This is unlike that specfile's treatment of any other library
> it requires. I have been told, at
>
https://bugzilla.redhat.com/show_bug.cgi?id=835777#c8
> that the LSB standard requires libpng 1.2, but without any supporting
> evidence. I looked at the underlying ISO documents and don't see any
> requirement for libpng at all, let alone 1.2 in particular. I am
> doubtful that every other Linux distro is maintaining this long-obsolete
> libpng version, too.
>
> I would like to know how to proceed here. "You should keep libpng 1.2
> around indefinitely, on the basis of no evidence" is not an answer
> I intend to accept.
A very quick search returns this:
http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Desktop-generic/LSB-Desktop-g...
in the 'desktop' section of LSB 4.1. I'm looking at it more closely now.
Well, that's really it. The format of LSB is a bit odd to a lay reader,
but AFAICT, it really does mean: to be technically in compliance with
LSB-desktop, you need to ship a libpng12.so.0 which provides the listed
functions. End of story. I don't see a workaround.
See
http://lists.linuxfoundation.org/pipermail/lsb-infrastructure/2012-June/0... for
e.g., for confirmation that it does mean what it seems to mean - that seems like a
'real world' (and relatively recent) case where someone says, yup, you need to
ship a library called libpng12.so.0 with the right symbols in it.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net