X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=7c3b67b882b6d9dd04223d96c77dad60bdd2904f;hb=f358fb039ddd7cb6716a4120d93071ac62283a00;hp=fdce6206280b00465a4783b8158c43b0f5ccf473;hpb=5956916c7a4c347ef028e8109af8e99a0f945253;p=inkscape.git diff --git a/build.xml b/build.xml index fdce62062..7c3b67b88 100644 --- a/build.xml +++ b/build.xml @@ -1,3 +1,38 @@ + + + + + + + Build file for the Inkscape SVG editor. This file @@ -6,22 +41,48 @@ - - - - + - + + + + + + + + + + + + + + + - - - #define INKSCAPE_VERSION "${version}+devel" + #define INKSCAPE_VERSION "${version}+devel" #ifndef _CONFIG_H_ @@ -68,6 +129,7 @@ #define HAVE_MALLOC_H 1 #define HAVE_STDLIB_H 1 #define HAVE_SYS_STAT_H 1 + #define HAVE_INTTYPES_H 1 #define ENABLE_LCMS 1 @@ -84,8 +146,23 @@ #define RENDER_WITH_PANGO_CAIRO 1 #define HAVE_GTK_WINDOW_FULLSCREEN 1 + + /* internal interpreter */ + #define WITH_PYTHON 1 + + /* shared whiteboard */ + #define WITH_INKBOARD 1 + #define HAVE_SSL 1 + + /* use poppler for pdf import? */ + #define HAVE_POPPLER 1 + #define HAVE_POPPLER_CAIRO 1 - #define g_ascii_strtod fixed_g_ascii_strtod + /* do we want bitmap manipulation? */ + #define WITH_IMAGE_MAGICK 1 + + /* Allow reading WordPerfect? */ + #define WITH_LIBWPG 1 #endif /* _CONFIG_H_ */ @@ -93,259 +170,323 @@ + + + + + + + + description="compile the source to .o" > + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - -Wall -O3 + -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch + -O2 -mms-bitfields -DVERSION=\"${version}\" -DHAVE_CONFIG_H -DXP_WIN - -D_INTL_REDIRECT_INLINE + -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; }" - -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 + -I${gtk}/include/poppler + -I${gtk}/include/gc + -I${gtk}/include/libwpg-0.1 + -I${gtk}/include/libwpd-0.8 + + -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} + + + objcopycommand="${archutil}objcopy"> + -mwindows - - - - - - - - -L${gtk}/lib - -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 + + + + + + + + -L${gtk}/lib + -lpoppler-cairo -lpoppler-glib -lpoppler.dll + -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 + -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 - -L${gtk}/perl/lib/CORE -lperl58 + -L${gtk}/perl/lib/CORE -lperl58 - -L${gtk}/python/libs -lpython24 + -L${gtk}/python/libs -lpython25 ${gtk}/bin/libxml2.dll + ${gtk}/bin/libxslt.dll + -lcairo.dll + -lcairomm-1.0.dll + -lwpg-0.1.dll -lwpg-stream-0.1.dll + -lwpd-0.8.dll -lwpd-stream-0.8.dll ${gtk}/lib/iconv.lib + -lMagick++ -lWand -lMagick -lfreetype.dll -lfontconfig.dll - -llcms.dll -lssl -lcrypto - -lpng -lpopt ${gtk}/lib/zdll.lib - -lgc -mwindows -lws2_32 -lintl -lm - - + -llcms.dll + -lpng -ljpeg.dll -ltiff.dll -lpopt ${gtk}/lib/zdll.lib + -lgc + -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + + + + - + + + - - --include-dir=${src} - - + file="${src}/inkview.rc" + out="${build}/inkviewres.o"> + + --include-dir=${src} + + + objcopycommand="${archutil}objcopy"> - - < include name="inkviewres.o"/ > - - - - - -L${gtk}/lib + + + + + + + -L${gtk}/lib + -lpoppler-cairo -lpoppler-glib -lpoppler.dll -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 + -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo -lcairomm-1.0 - -L${gtk}/perl/lib/CORE -lperl58 + -L${gtk}/perl/lib/CORE -lperl58 - -L${gtk}/python/libs -lpython24 + -L${gtk}/python/libs -lpython25 ${gtk}/bin/libxml2.dll + ${gtk}/bin/libxslt.dll ${gtk}/lib/iconv.lib + -lcairo.dll -lcairomm-1.0.dll + -lwpg-0.1.dll -lwpg-stream-0.1.dll + -lMagick++ -lWand -lMagick -lfreetype.dll -lfontconfig.dll -llcms.dll -lssl -lcrypto - -lpng -lpopt ${gtk}/lib/zdll.lib - -lgc -mwindows -lws2_32 -lintl -lm - - + -lpng -ljpeg.dll -ltiff.dll -lpopt ${gtk}/lib/zdll.lib + -lgc -mwindows + -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + + + + - - - + @@ -369,6 +510,7 @@ + @@ -376,7 +518,13 @@ - + + + + + + + @@ -384,29 +532,28 @@ - + - - - - + + + + - - - - - + + + + @@ -414,23 +561,80 @@ + + + + - + + + + gtk-icon-sizes = "gtk-menu=16,16:gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-dnd=32,32:inkscape-decoration=16,16" + gtk-toolbar-icon-size = small-toolbar + + # disable images in buttons. i've only seen ugly delphi apps use this feature. + gtk-button-images = 0 + + # enable/disable images in menus. most "stock" microsoft apps don't use these, except sparingly. + # the office apps use them heavily, though. + gtk-menu-images = 1 + + # use the win32 button ordering instead of the GNOME HIG one, where applicable + gtk-alternative-button-order = 1 + + style "msw-default" + { + GtkWidget::interior-focus = 1 + GtkOptionMenu::indicator-size = { 9, 5 } + GtkOptionMenu::indicator-spacing = { 7, 5, 2, 2 } + GtkSpinButton::shadow-type = in + + # Owen and I disagree that these should be themable + #GtkUIManager::add-tearoffs = 0 + #GtkComboBox::add-tearoffs = 0 + + GtkComboBox::appears-as-list = 1 + GtkComboBox::focus-on-click = 0 + + GOComboBox::add_tearoffs = 0 + + GtkTreeView::allow-rules = 0 + GtkTreeView::expander-size = 12 + + GtkExpander::expander-size = 12 + + GtkScrolledWindow::scrollbar_spacing = 1 + + GtkSeparatorMenuItem::horizontal-padding = 2 + + engine "wimp" + { + } + } + class "*" style "msw-default" + + + + @@ -438,11 +642,27 @@ + - + description="clean up. deleting build and distro dirs" > + + + + + + + +