Code

add POPPLER_NEW_GFXFONT for poppler 0.8.3 api change
authorishmal <ishmal@users.sourceforge.net>
Thu, 12 Jun 2008 18:15:33 +0000 (18:15 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 12 Jun 2008 18:15:33 +0000 (18:15 +0000)
build.xml

index 21c996d1842cee7040b2d5978de7c109ad69c884..fdbc3c2e77e136146a6d6dd3807de38f271756e5 100644 (file)
--- a/build.xml
+++ b/build.xml
             -D_INTL_REDIRECT_INLINE
             -DHAVE_SSL
             -DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }" <!-- inkboard -->
+            -DPOPPLER_NEW_GFXFONT <!-- poppler changed the api for 0.8.3 -->
         </defines>
         <includes>
             -I${devlibs}/include
            ${devlibs}/bin/libxml2.dll
            ${devlibs}/bin/libxslt.dll
            ${pcl.cairo} ${pcl.cairomm-1.0}
-                  ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1}
+           ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1}
            ${devlibs}/lib/iconv.lib
            ${pcl.ImageMagick++}
            ${pcl.fontconfig} ${pcl.freetype2}
            ${pcl.gsl}
            -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib
            -lgc
-                  -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
+           -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
        </libs>
     </link>
   </target>
            ${devlibs}/bin/libxml2.dll
            ${devlibs}/bin/libxslt.dll
            ${devlibs}/lib/iconv.lib
-                  -lcairo.dll -lcairomm-1.0.dll
+           -lcairo.dll -lcairomm-1.0.dll
            -lwpg-0.1.dll -lwpg-stream-0.1.dll
            -lMagick++ -lWand -lMagick
            -lfreetype.dll -lfontconfig.dll
            -lssl -lcrypto
            -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib
            -lgc -mwindows
-                  -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
+           -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
        </libs>
     </link>
   </target>
 
     <!-- Create the distribution directory -->
     <copy todir="${dist}" file="${build}/inkscape.exe"/>
-       <copy todir="${dist}" file="${build}/inkscape.dbg"/>
+    <copy todir="${dist}" file="${build}/inkscape.dbg"/>
     <copy todir="${dist}" file="AUTHORS"/>
     <copy todir="${dist}" file="COPYING"/>
     <copy todir="${dist}" file="COPYING.LIB"/>