27 Oct
2008
27 Oct
'08
5:52 p.m.
This is the second version of the patch to get Inkscape to cross-compile from Fedora MinGW.
(1) I've tested that this doesn't break the build on Linux.
(2) You cannot set INKSCAPE_CFLAGS in the Win32 test, because then PKG_CHECK_MODULES(INKSCAPE, ...) refuses to update this variable. Thus I introduced a separate WIN32_CFLAGS variable.
(3) You need to check for fontconfig before checking for Xft. Otherwise the cross-compiler erroneously picks up the platform native version of Xft, which leads to incorrect linker flags.
(4) Use g_getenv / g_setenv instead of getenv / setenv.
(5) is_os_vista no longer needs to be commented out.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top