X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=342e2b27dbf8ca43cbfec20765aaaee4ee13eea1;hb=1b8bafe76421c350b0c9e66cce8b97fbde466f42;hp=4f7afe4ed7da81027a8a59ac9237c0e324dbcfd2;hpb=f3e465c613e451913e3d58804de0d1ad6cfd817b;p=inkscape.git diff --git a/build.xml b/build.xml index 4f7afe4ed..342e2b27d 100644 --- a/build.xml +++ b/build.xml @@ -53,15 +53,25 @@ - - + description= + "Do all preparatory tasks, like make directories and copy files"> + + + + @@ -125,6 +135,19 @@ #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 + + /* do we want bitmap manipulation? */ + #define WITH_IMAGE_MAGICK 1 #endif /* _CONFIG_H_ */ @@ -170,6 +193,7 @@ + @@ -236,8 +260,8 @@ -DHAVE_CONFIG_H -DXP_WIN -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 @@ -263,6 +287,7 @@ -I${gtk}/include/libxml2 -I${gtk}/include/freetype2 -I${gtk}/include/cairo + -I${gtk}/include/poppler -Wno-comment -I${gtk}/perl/lib/CORE @@ -331,6 +356,7 @@ objcopycommand="${archutil}objcopy" > + -mwindows @@ -345,18 +371,22 @@ -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.dll -L${gtk}/perl/lib/CORE -lperl58 - -L${gtk}/python/libs -lpython24 + -L${gtk}/python/libs -lpython25 ${gtk}/bin/libxml2.dll + -lpoppler ${gtk}/lib/iconv.lib -lfreetype.dll -lfontconfig.dll - -llcms.dll -lssl -lcrypto - -lpng -lpopt ${gtk}/lib/zdll.lib - -lgc -mwindows -lws2_32 -lintl -lm + -lMagick++ -lWand -lMagick + -llcms.dll + -lpng -ljpeg.dll -ltiff.dll -lpopt ${gtk}/lib/zdll.lib + -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + + @@ -388,7 +418,7 @@ - < include name="inkviewres.o"/ > + @@ -459,6 +489,7 @@ + @@ -480,7 +511,6 @@ - @@ -500,12 +530,59 @@ - + + + + gtk-icon-sizes = "gtk-menu=13,13: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" + +