X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=a3fe9f31ca2fc48681792ac10d64faa7a45345f4;hb=0dd12485e26b98c7eb9963768ec4bd9869186d98;hp=fdce6206280b00465a4783b8158c43b0f5ccf473;hpb=5956916c7a4c347ef028e8109af8e99a0f945253;p=inkscape.git diff --git a/build.xml b/build.xml index fdce62062..a3fe9f31c 100644 --- a/build.xml +++ b/build.xml @@ -1,3 +1,38 @@ + + + + + + + Build file for the Inkscape SVG editor. This file @@ -6,7 +41,7 @@ - + @@ -20,8 +55,14 @@ - - + + + - #define INKSCAPE_VERSION "${version}+devel" + #define INKSCAPE_VERSION "${version}+devel" #ifndef _CONFIG_H_ @@ -84,8 +125,13 @@ #define RENDER_WITH_PANGO_CAIRO 1 #define HAVE_GTK_WINDOW_FULLSCREEN 1 + + /* internal interpreter */ + #define WITH_PYTHON 1 - #define g_ascii_strtod fixed_g_ascii_strtod + /* shared whiteboard */ + #define WITH_INKBOARD 1 + #define HAVE_SSL 1 #endif /* _CONFIG_H_ */ @@ -93,84 +139,101 @@ + + + + + + + + description="compile the source to .o" > + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - + + + + + + -Wall -O3 -mms-bitfields @@ -179,81 +242,95 @@ -DVERSION=\"${version}\" -DHAVE_CONFIG_H -DXP_WIN - -D_INTL_REDIRECT_INLINE + -D_INTL_REDIRECT_INLINE -DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }" - -DWITH_INKBOARD -DHAVE_SSL -I${gtk}/include - + -I${gtk}/include/glibmm-2.4 - -I${gtk}/lib/glibmm-2.4/include + -I${gtk}/lib/glibmm-2.4/include -I${gtk}/include/gtkmm-2.4 - -I${gtk}/lib/gtkmm-2.4/include + -I${gtk}/lib/gtkmm-2.4/include -I${gtk}/include/gdkmm-2.4 - -I${gtk}/lib/gdkmm-2.4/include + -I${gtk}/lib/gdkmm-2.4/include -I${gtk}/include/pangomm-1.4 -I${gtk}/include/atkmm-1.6 -I${gtk}/include/cairomm-1.0 -I${gtk}/include/sigc++-2.0 - -I${gtk}/lib/sigc++-2.0/include + -I${gtk}/lib/sigc++-2.0/include -I${gtk}/include/gtk-2.0 - -I${gtk}/lib/gtk-2.0/include + -I${gtk}/lib/gtk-2.0/include -I${gtk}/include/atk-1.0 - -I${gtk}/include/pango-1.0 + -I${gtk}/include/pango-1.0 -I${gtk}/include/glib-2.0 - -I${gtk}/lib/glib-2.0/include - + -I${gtk}/lib/glib-2.0/include + -I${gtk}/include/libxml2 - -I${gtk}/include/freetype2 - -I${gtk}/include/cairo - - -Wno-comment -I${gtk}/perl/lib/CORE - - -I${gtk}/python/include + -I${gtk}/include/freetype2 + -I${gtk}/include/cairo + + -Wno-comment -I${gtk}/perl/lib/CORE + + -I${gtk}/python/include - + - - - - + + - - - - - - + + + + + + + + - - - - - + + + - + + + - - --include-dir=${src} - - + file="${src}/inkscape.rc" + out="${build}/inkres.o"> + + --include-dir=${src} + + - - - - - - - - -L${gtk}/lib + + + + + + + + -L${gtk}/lib -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 @@ -276,7 +353,7 @@ -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo - -L${gtk}/perl/lib/CORE -lperl58 + -L${gtk}/perl/lib/CORE -lperl58 -L${gtk}/python/libs -lpython24 ${gtk}/bin/libxml2.dll @@ -286,22 +363,29 @@ -lssl -lcrypto -lpng -lpopt ${gtk}/lib/zdll.lib -lgc -mwindows -lws2_32 -lintl -lm - - + + - + + + - - --include-dir=${src} - - + file="${src}/inkview.rc" + out="${build}/inkviewres.o"> + + --include-dir=${src} + + - - < include name="inkviewres.o"/ > - - - - - -L${gtk}/lib + + + + + + + -L${gtk}/lib -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 @@ -323,7 +407,7 @@ -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo - -L${gtk}/perl/lib/CORE -lperl58 + -L${gtk}/perl/lib/CORE -lperl58 -L${gtk}/python/libs -lpython24 ${gtk}/bin/libxml2.dll @@ -333,16 +417,20 @@ -lssl -lcrypto -lpng -lpopt ${gtk}/lib/zdll.lib -lgc -mwindows -lws2_32 -lintl -lm - - + + - - + + description="generate the distribution directory with all needed files"> + @@ -391,10 +479,10 @@ - - - - + + + + @@ -403,10 +491,10 @@ - - - - + + + + @@ -429,8 +517,14 @@ + + @@ -438,11 +532,27 @@ + - + description="clean up. deleting build and distro dirs" > + + + + + + + +