libpng/jpeg/z : debug builds

Ralf Habacker ralf.habacker at freenet.de
Mon Nov 14 18:30:31 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

Jaros?aw Staniek schrieb:

>
> Hi Look at the patch, is this ok to use env['LIB_QTCORE'] instead
> of hardcoded ['QtCore4']?
>
Only if it is sure, that the kde4 and or qt4 module is setup before
this libxxx modules, where xxx=[png,jpeg] ?

I have detected that on mingw only libz is included in qtcore (how is
this which msvc). This lack let me extend the libxxx module to build
static lib.xxx libraries on the fly. The  relates patches are already
on kde-buildsystem and will be in svn probably until end of the week.

Ralf

>
> ----------------------------------------------------------------------
>
>
> Index: bksys/libpng.py
> ===================================================================
> --- bksys/libpng.py (revision 480194) +++ bksys/libpng.py (working
> copy) @@ -18,7 +18,7 @@ # TODO: png lib requires zlib, so add it by
> default, this should be better solved by specifing a dependency
> env['CPPPATH_PNG'] = [qtdir + "\\src\\3rdparty\\libpng",qtdir +
> "\\src\\3rdparty\\zlib"] env['LIBPATH_PNG'] = [qtdir + "\\lib"] -
> env['LIB_PNG'] = ['QtCore4'] # TODO: check if debug version is used
> + env['LIB_PNG'] = env['LIB_QTCORE'] env['CACHED_PNG'] = 1 ret
> = 1
>
> Index: bksys/libjpeg.py
> ===================================================================
> --- bksys/libjpeg.py (revision 480194) +++ bksys/libjpeg.py
> (working copy) @@ -17,7 +17,11 @@ # TODO: check if libjpeg is
> really in QTCore lib env['CPPPATH_JPEG'] = [qtdir +
> "\\src\\3rdparty\\libjpeg"] env['LIBPATH_JPEG'] = [qtdir + "\\lib"]
> - env['LIB_JPEG'] = ['QtCore4'] # TODO: check if debug version
> is used + env['LIB_JPEG'] = env['LIB_QTCORE'] env['CACHED_JPEG']
> = 1 ret = 1
>
> Index: bksys/libz.py
> ===================================================================
> --- bksys/libz.py (revision 480194) +++ bksys/libz.py (working
> copy) @@ -17,7 +17,7 @@ # TODO: check if libz is really in QTCore
> lib env['CPPPATH_Z'] = [qtdir + "\\src\\3rdparty\\zlib"]
> env['LIBPATH_Z'] = [qtdir + "\\lib"] - env['LIB_Z'] =
> ['QtCore4'] # TODO: check if debug version is used +
> env['LIB_Z'] = env['LIB_QTCORE'] env['CACHED_Z'] = 1 ret = 1
>
>
>
> ----------------------------------------------------------------------
>
>
> _______________________________________________ Kde-buildsystem
> mailing list Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFDeMm3GkrI36lV8gURAjP6AJ4y0ZpfKfLjyRszhN69eJc38Y3nUQCeJelq
NiMFG5y5lj8e8tBwIbhEM/s=
=a39p
-----END PGP SIGNATURE-----



More information about the Kde-buildsystem mailing list