X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=90501a5cb84ad074aed05a9c2c12ee11eed715c0;hb=c14a574322a392c0976221b4a24d38dbc379a588;hp=b4ac5d24aae1539d6a99ddaeaaa7f846e00cb596;hpb=4a0855dc6f92513de027eb42c5d63f449c408665;p=inkscape.git diff --git a/build.xml b/build.xml old mode 100644 new mode 100755 index b4ac5d24a..90501a5cb --- 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,8 +53,10 @@ - + + + @@ -62,6 +64,9 @@ + + + --> @@ -97,9 +102,14 @@ + namespace Inkscape { - char const *version_string = "${version} r${svn.revision}"; + char const *version_string = "${version} ${bzr.revision}"; } @@ -131,7 +141,7 @@ #define GETTEXT_PACKAGE "inkscape" - #define PACKAGE_STRING INKSCAPE_VERSION + #define PACKAGE_STRING VERSION #define HAVE_GETOPT_H 1 #define HAVE_STRING_H 1 @@ -141,6 +151,7 @@ #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 @@ -162,8 +173,8 @@ #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 @@ -179,7 +190,9 @@ #define ENABLE_SVG_FONTS 1 /* Do we want experimental, unsupported, unguaranteed, etc., LivePathEffects enabled? */ - // #define LPE_ENABLE_TEST_EFFECTS 1 + //#define LPE_ENABLE_TEST_EFFECTS 1 + + #define HAVE_ASPELL 1 #endif /* _CONFIG_H_ */ @@ -194,13 +207,14 @@ description="generate test files" > - + @@ -211,19 +225,19 @@ - - - @@ -237,7 +251,7 @@ - @@ -248,20 +262,20 @@ - - - @@ -292,6 +306,7 @@ + @@ -299,6 +314,7 @@ + @@ -327,7 +343,6 @@ - @@ -367,7 +382,7 @@ -fopenmp - -DINKSCAPE_VERSION=\"${version}\" + -DVERSION=\"${version}\" -DHAVE_CONFIG_H -D_INTL_REDIRECT_INLINE -DHAVE_SSL @@ -379,7 +394,8 @@ ${pcc.gtkmm-2.4} - -I${devlibs}/include/libxml2 + ${pcc.Magick++} + ${pcc.libxml-2.0} ${pcc.freetype2} ${pcc.cairo} ${pcc.poppler} @@ -483,23 +499,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 + -lgomp -lpthreadGC2 -laspell + -lmscms + + - - + + + -mconsole + -mthreads + + + + + + + @@ -588,16 +621,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 + -lgomp -lpthreadGC2 -laspell + -lmscms @@ -620,6 +653,7 @@ + @@ -636,7 +670,8 @@ - + + @@ -645,28 +680,31 @@ - - + - - - + - + + + + + + - + + @@ -687,6 +725,8 @@ + + @@ -694,6 +734,9 @@ + + + @@ -702,12 +745,12 @@ - + - + @@ -767,12 +810,13 @@ ## T A R G E T : D I S T - I N K S C A P E ######################################################################## --> - + @@ -886,7 +930,6 @@ -