Hello, I've applied the following patch in our distribution, it was submitted by René 'Necoro' Neumann <[EMAIL PROTECTED]>. To quote René:
"kaa-imlib2 is only a wrapper and has no special dependency on libpng. The "-lpng" it links against is completely useless: If you build with "-Wl,--as-needed" you get the following result even when including "-lpng": ldd /usr/lib/python2.5/site-packages/kaa/imlib2/_Imlib2module.so linux-gate.so.1 => (0xb7fbf000) librt.so.1 => /lib/librt.so.1 (0xb7f95000) libImlib2.so.1 => /usr/lib/libImlib2.so.1 (0xb7f2c000) libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7e17000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e00000) libc.so.6 => /lib/libc.so.6 (0xb7cd1000) /lib/ld-linux.so.2 (0x80000000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7c51000) libz.so.1 => /lib/libz.so.1 (0xb7c3f000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b59000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7b4c000) libdl.so.2 => /lib/libdl.so.2 (0xb7b48000) libm.so.6 => /lib/libm.so.6 (0xb7b22000) libutil.so.1 => /lib/libutil.so.1 (0xb7b1e000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7b1b000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7b02000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb7aff000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7af9000) So ... no libpng linked against :) Also: # pkg-config --libs imlib2 -lImlib2 Again no special notion of the libpng ... so we can safely assume, that it is unneeded. And then we can drop the "check whether imlib2 was build with png support" - because there is no use in handling png in any other way than jpeg." Reference: https://bugs.gentoo.org/show_bug.cgi?id=211013 Robert
--- setup.py.old 2008-07-12 01:43:30.700296071 +0200 +++ setup.py 2008-07-12 01:43:57.441547566 +0200 @@ -39,7 +39,7 @@ sys.exit(1) files = [ 'src/imlib2.c', 'src/image.c', 'src/font.c', 'src/rawformats.c' ] -libraries = [ 'png'] +libraries = [] if not os.uname()[0] in ('FreeBSD', 'Darwin'): libraries.append('rt') imlib2so = Extension('kaa.imlib2._Imlib2module', files,
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel