X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=4f7afe4ed7da81027a8a59ac9237c0e324dbcfd2;hb=8eda67dd93ccd7f4ca5226f9f4528c8f9143d7d2;hp=76ab1f66d83fda9a4d1260940a781e398e368885;hpb=1df3a36f6d4cb38963d36fc74aa47990fd055859;p=inkscape.git diff --git a/build.xml b/build.xml index 76ab1f66d..4f7afe4ed 100644 --- a/build.xml +++ b/build.xml @@ -1,19 +1,77 @@ - + + + + + + + + - Build file for Sands office data tool + 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. - + + + + - - + + + + + + + + + + + + #define INKSCAPE_VERSION "${version}+devel" + #ifndef _CONFIG_H_ #define _CONFIG_H_ @@ -68,157 +126,274 @@ #define HAVE_GTK_WINDOW_FULLSCREEN 1 - #define g_ascii_strtod fixed_g_ascii_strtod - #endif /* _CONFIG_H_ */ + + + + + + + + + + + + description="compile the source to .o" > + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - + + + + + + -Wall -O3 - -mms-bitfields + -mms-bitfields -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} + + + + + + + + + + + + + -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 + -lgdk_pixbuf-2.0 + -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}/python/libs -lpython24 + ${gtk}/bin/libxml2.dll + ${gtk}/lib/iconv.lib + -lfreetype.dll -lfontconfig.dll + -llcms.dll + -lssl -lcrypto + -lpng -lpopt ${gtk}/lib/zdll.lib + -lgc -mwindows -lws2_32 -lintl -lm + + + + + + + + + - - - - --include-dir=${src} - - - + + + --include-dir=${src} + + + - - - - - - - - -L${gtk}/lib + + < include name="inkviewres.o"/ > + + + + + -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 @@ -226,7 +401,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 @@ -236,15 +411,23 @@ -lssl -lcrypto -lpng -lpopt ${gtk}/lib/zdll.lib -lgc -mwindows -lws2_32 -lintl -lm - - - + + + + + + description="generate the distribution directory with all needed files"> + + @@ -278,6 +461,7 @@ + @@ -289,10 +473,10 @@ - - - - + + + + @@ -300,12 +484,11 @@ - - - - - + + + + @@ -323,14 +506,47 @@ + + + + + + + + + + + + + - + description="clean up. deleting build and distro dirs" > + + + + + + + +