From: Krzysztof KosiƄski Date: Mon, 1 Feb 2010 18:39:38 +0000 (+0100) Subject: Updates for devlibs revision 9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=725a0babbf83444a957de29831c3fd818ed59338;p=inkscape.git Updates for devlibs revision 9 --- diff --git a/build.xml b/build.xml index 96112f525..a6e5be980 100644 --- a/build.xml +++ b/build.xml @@ -53,7 +53,8 @@ - + + @@ -391,7 +392,8 @@ ${pcc.gtkmm-2.4} - -I${devlibs}/include/libxml2 + ${pcc.Magick++} + ${pcc.libxml-2.0} ${pcc.freetype2} ${pcc.cairo} ${pcc.poppler} @@ -496,12 +498,11 @@ ${pcl.cairo} ${pcl.cairomm-1.0} ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1} -liconv - ${pcl.ImageMagick++} + ${pcl.Magick++} ${pcl.fontconfig} ${pcl.freetype2} - -lssl -lcrypto ${pcl.lcms} ${pcl.gsl} - -lpng -ljpeg -ltiff -lpopt ${devlibs}/lib/zdll.lib + -lpng -ljpeg -ltiff -lpopt -lz -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm -lgomp -lpthreadGC2 -laspell @@ -551,12 +552,11 @@ ${pcl.cairo} ${pcl.cairomm-1.0} ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1} -liconv - ${pcl.ImageMagick++} + ${pcl.Magick++} ${pcl.fontconfig} ${pcl.freetype2} - -lssl -lcrypto ${pcl.lcms} ${pcl.gsl} - -lpng -ljpeg -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib + -lpng -ljpeg -ltiff -lpopt -lz -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm -lgomp -lpthreadGC2 -laspell @@ -603,12 +603,11 @@ ${pcl.cairo} ${pcl.cairomm-1.0} ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1} -liconv - ${pcl.ImageMagick++} + ${pcl.Magick++} ${pcl.fontconfig} ${pcl.freetype2} - -lssl -lcrypto ${pcl.lcms} ${pcl.gsl} - -lpng -ljpeg -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib + -lpng -ljpeg -ltiff -lpopt -lz -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm -lgomp -lpthreadGC2 -laspell @@ -635,6 +634,7 @@ + @@ -651,7 +651,8 @@ - + + @@ -661,28 +662,30 @@ - - - - + + + + + - + + diff --git a/mingwenv.bat b/mingwenv.bat index 63e5fd988..4debd59cb 100755 --- a/mingwenv.bat +++ b/mingwenv.bat @@ -3,4 +3,4 @@ IF "%DEVLIBS_PATH%"=="" set DEVLIBS_PATH=c:\devlibs IF "%MINGW_PATH%"=="" set MINGW_PATH=c:\mingw set MINGW_BIN=%MINGW_PATH%\bin set PKG_CONFIG_PATH=%DEVLIBS_PATH%\lib\pkgconfig -set PATH=%MINGW_BIN%;%DEVLIBS_PATH%\bin;%DEVLIBS_PATH%\python;%PATH% +set PATH=%MINGW_BIN%;%PATH%;%DEVLIBS_PATH%\bin;%DEVLIBS_PATH%\python diff --git a/src/registrytool.cpp b/src/registrytool.cpp index 8bc9cbebf..2017f50c7 100644 --- a/src/registrytool.cpp +++ b/src/registrytool.cpp @@ -27,6 +27,7 @@ #include #include +#include #include "registrytool.h" diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp index d22a368f2..529288031 100644 --- a/src/ui/dialog/filedialogimpl-win32.cpp +++ b/src/ui/dialog/filedialogimpl-win32.cpp @@ -1373,10 +1373,10 @@ void FileOpenDialogImplWin32::render_preview() if(_preview_bitmap_image) // Is the image a pixbuf? { // Set the transformation - const Matrix matrix = { + const Cairo::Matrix matrix( scaleFactor, 0, 0, scaleFactor, - svgX, svgY }; + svgX, svgY); context->set_matrix (matrix); // Render the image