Update of /cvsroot/freevo/kaa/thumb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13202/thumb
Modified Files:
setup.py
Log Message:
use libpng-config
Index: setup.py
===================================================================
RCS file: /cvsroot/freevo/kaa/thumb/setup.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** setup.py 7 Jul 2005 16:30:22 -0000 1.3
--- setup.py 16 Jul 2005 15:35:26 -0000 1.4
***************
*** 40,44 ****
thumbnailer = Extension("kaa.thumb._thumbnailer",
["src/thumbnail.c", "src/png.c" ],
! libraries = ['png'], config='src/config.h')
if not thumbnailer.check_library('imlib2', '1.1.1'):
--- 40,44 ----
thumbnailer = Extension("kaa.thumb._thumbnailer",
["src/thumbnail.c", "src/png.c" ],
! config='src/config.h')
if not thumbnailer.check_library('imlib2', '1.1.1'):
***************
*** 47,56 ****
sys.exit(1)
! if not thumbnailer.check_cc([], '', '-lpng'):
! print 'Error: libpng is missing.'
! sys.exit(1)
!
! if not thumbnailer.check_cc(['<png.h>'], '', '-lpng'):
! print 'Error: libpng header file is missing.'
sys.exit(1)
--- 47,52 ----
sys.exit(1)
! if not thumbnailer.check_library('libpng', '1.2.0'):
! print 'libpng >= 1.2.0 not found'
sys.exit(1)
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog