X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=2c00661fa2b30f3b939028062b5d81e385f3230b;hb=ea55869971330306b308c104a7c1780119bb4b0e;hp=4a8bb093363df78a19646f20f7bc26c182533b99;hpb=741dec82d06d12a1c8cbe2baf7a9b9437b5ddec5;p=inkscape.git diff --git a/build.xml b/build.xml old mode 100644 new mode 100755 index 4a8bb0933..2c00661fa --- a/build.xml +++ b/build.xml @@ -31,18 +31,18 @@ ## P R O J E C T : I N K S C A P E ######################################################################## --> - + Build file for the Inkscape SVG editor. This file was written for GTK-2.10 on Win32, but it should work well for other types of builds with only minor adjustments. - Note that the default target is 'dist'. You can execute other + Note that the default target is 'dist-all'. You can execute other targets instead, by "btool {target}", like "btool compile", if - you want to save time. + you want to save time, or "dist-inkscape" if you don't want inkview. - + @@ -53,7 +53,10 @@ + + + @@ -61,6 +64,9 @@ + + + --> @@ -89,15 +95,22 @@ - - + - - #define INKSCAPE_VERSION "${version}" + + + + namespace Inkscape { + char const *version_string = "${version} ${bzr.revision}"; + } #ifndef _CONFIG_H_ @@ -137,6 +150,8 @@ #define HAVE_STDLIB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_INTTYPES_H 1 + #define HAVE_OPENMP 1 + #define HAVE_TR1_UNORDERED_SET 1 #define ENABLE_LCMS 1 @@ -158,11 +173,12 @@ #define WITH_PYTHON 1 /* shared whiteboard */ - #define WITH_INKBOARD 1 - #define HAVE_SSL 1 + #undef WITH_INKBOARD + #undef HAVE_SSL /* use poppler for pdf import? */ #define HAVE_POPPLER 1 + #define HAVE_POPPLER_GLIB 1 #define HAVE_POPPLER_CAIRO 1 /* do we want bitmap manipulation? */ @@ -171,25 +187,18 @@ /* Allow reading WordPerfect? */ #define WITH_LIBWPG 1 - #endif /* _CONFIG_H_ */ - - + /* Do we support SVG Fonts? */ + #define ENABLE_SVG_FONTS 1 + /* Do we want experimental, unsupported, unguaranteed, etc., LivePathEffects enabled? */ + //#define LPE_ENABLE_TEST_EFFECTS 1 + #define HAVE_ASPELL 1 - - - - - + #endif /* _CONFIG_H_ */ + - - + + @@ -215,20 +226,19 @@ - - - - @@ -242,7 +252,7 @@ - @@ -251,25 +261,24 @@ - - - - + template="${src}/cxxtest-template.tpl"> @@ -290,21 +299,23 @@ + continueOnError="true" + refreshCache="${refresh}"> + + - + @@ -333,14 +344,12 @@ - - - - + + @@ -371,6 +380,7 @@ -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -O2 -mms-bitfields + -fopenmp -DVERSION=\"${version}\" @@ -385,7 +395,8 @@ ${pcc.gtkmm-2.4} - -I${devlibs}/include/libxml2 + ${pcc.Magick++} + ${pcc.libxml-2.0} ${pcc.freetype2} ${pcc.cairo} ${pcc.poppler} @@ -472,6 +483,7 @@ objcopycommand="${archutil}objcopy"> -mwindows + -mthreads @@ -479,6 +491,7 @@ + -L${devlibs}/lib ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler} @@ -487,22 +500,40 @@ ${devlibs}/bin/libxslt.dll ${pcl.cairo} ${pcl.cairomm-1.0} ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1} - ${devlibs}/lib/iconv.lib - ${pcl.ImageMagick++} + -liconv + ${pcl.Magick++} ${pcl.fontconfig} ${pcl.freetype2} - -lssl -lcrypto ${pcl.lcms} ${pcl.gsl} - -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib + -lpng -ljpeg -ltiff -lpopt -lz -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lpthreadGC2 -laspell + -lmscms + + - - + + + -mconsole + -mthreads + + + + + + + @@ -567,6 +600,7 @@ stripcommand="${archutil}strip" objcopycommand="${archutil}objcopy"> + -mthreads @@ -588,15 +622,16 @@ ${devlibs}/bin/libxslt.dll ${pcl.cairo} ${pcl.cairomm-1.0} ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1} - ${devlibs}/lib/iconv.lib - ${pcl.ImageMagick++} + -liconv + ${pcl.Magick++} ${pcl.fontconfig} ${pcl.freetype2} - -lssl -lcrypto ${pcl.lcms} ${pcl.gsl} - -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib + -lpng -ljpeg -ltiff -lpopt -lz -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lpthreadGC2 -laspell + -lmscms @@ -619,6 +654,7 @@ + @@ -633,8 +669,10 @@ + - + + @@ -643,25 +681,32 @@ - - + - - - + - + + + + + + + + + + + @@ -682,6 +727,8 @@ + + @@ -689,6 +736,9 @@ + + + @@ -697,12 +747,12 @@ - + - + @@ -762,12 +812,13 @@ ## T A R G E T : D I S T - I N K S C A P E ######################################################################## --> - + @@ -787,15 +838,12 @@ - - - - - + + @@ -860,11 +908,11 @@ - + @@ -883,7 +931,7 @@ - +