Re: GNOME 1 ABI involving libpng
>> "J.H.M. Dassen (Ray)" <dm@zensunni.demon.nl> writes:
> Those packages require only small changes to use it, mainly:
> - change "Build-Depends: libpng2-dev" to "Build-Depends: libpng2-altdev"
> - include png(conf).h from /usr/include/png2 rather than /usr/include
> - link "-lpng2" rather than "-lpng"
That is IMHO an acceptable solution and it's very easy to implement in
the case of GNOME 1/GTK+ 1.x; you only need to patch the relevant
foo-config scripts.
> --- libpng-1.0.12.old/debian/shlibs 2002-08-28 11:38:01.000000000 +0200
> +++ libpng-1.0.12/debian/shlibs 2002-08-28 11:48:40.000000000 +0200
> @@ -1 +1,2 @@
> libpng 2 libpng2 (>=1.0.12)
> +libpng2 2 libpng2 (>=1.0.12)
Not needed. The SONAME is still libpng.so.2.
--
Marcelo | "In a word -- im-possible!" "That's two words,"
mmagallo@debian.org | said Dibbler.
| -- (Terry Pratchett, Moving Pictures)
Reply to: