X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=build.xml;h=fdbc3c2e77e136146a6d6dd3807de38f271756e5;hb=c054060cfb0a4150257eed27d15ba49ce006f3c7;hp=8a6c22a6a2cf47324b81f87f29d3453b7c6928bb;hpb=8be887d0d5cc7e7a7361e572561662b14909f186;p=inkscape.git
diff --git a/build.xml b/build.xml
index 8a6c22a6a..fdbc3c2e7 100644
--- a/build.xml
+++ b/build.xml
@@ -7,7 +7,7 @@
* Bob Jamison
* Others
*
- * Copyright (C) 2006-2007 Inkscape.org
+ * Copyright (C) 2006-2008 Inkscape.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -26,8 +26,6 @@
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
@@ -90,7 +96,7 @@
- #define INKSCAPE_VERSION "${version}+devel"
+ #define INKSCAPE_VERSION "${version}"
#ifndef _CONFIG_H_
@@ -193,7 +199,9 @@
+ destdir="${build}/obj"
+ continueOnError="true"
+ refreshCache="${refresh}">
@@ -201,16 +209,13 @@
-
-
-
@@ -267,51 +272,39 @@
+
+
+
- -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
- -O3
+ -Wall -Wformat -Werror=format-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
-DHAVE_SSL
-DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }"
+ -DPOPPLER_NEW_GFXFONT
- -I${gtk}/include
+ -I${devlibs}/include
- -I${gtk}/include/glibmm-2.4
- -I${gtk}/lib/glibmm-2.4/include
- -I${gtk}/include/gtkmm-2.4
- -I${gtk}/lib/gtkmm-2.4/include
- -I${gtk}/include/gdkmm-2.4
- -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}/include/gtk-2.0
- -I${gtk}/lib/gtk-2.0/include
- -I${gtk}/include/atk-1.0
- -I${gtk}/include/pango-1.0
- -I${gtk}/include/glib-2.0
- -I${gtk}/lib/glib-2.0/include
+ ${pcc.gtkmm-2.4}
- -I${gtk}/include/libxml2
- -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
+ -I${devlibs}/include/libxml2
+ ${pcc.freetype2}
+ ${pcc.cairo}
+ ${pcc.poppler}
+ -I${devlibs}/include/gc
+ ${pcc.libwpg-0.1} ${pcc.libwpg-stream-0.1}
- -Wno-comment -I${gtk}/perl/lib/CORE
+
- -I${gtk}/python/include
+ -I${devlibs}/python/include
+
+ -I${src}/bind/javainc -I${src}/bind/javainc/win32
@@ -373,8 +366,7 @@
+ objcopycommand="${archutil}objcopy">
-mwindows
@@ -385,33 +377,22 @@
- -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
-
- -L${gtk}/perl/lib/CORE -lperl58
-
- -L${gtk}/python/libs -lpython25
- ${gtk}/bin/libxml2.dll
- ${gtk}/bin/libxslt.dll
- -lpoppler-cairo -lpoppler
- -lcairo.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
+ -L${devlibs}/lib
+ ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler}
+ ${pcl.gtkmm-2.4} ${pcl.pangoft2} ${pcl.gthread-2.0}
+ ${devlibs}/bin/libxml2.dll
+ ${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++}
+ ${pcl.fontconfig} ${pcl.freetype2}
-lssl -lcrypto
- -llcms.dll
- -lpng -ljpeg.dll -ltiff.dll -lpopt ${gtk}/lib/zdll.lib
+ ${pcl.lcms}
+ ${pcl.gsl}
+ -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib
-lgc
- -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
-
-
+ -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
@@ -438,8 +419,7 @@
+ objcopycommand="${archutil}objcopy">
@@ -448,25 +428,25 @@
- -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${devlibs}/lib
+ -lpoppler-cairo -lpoppler-glib -lpoppler.dll
+ ${pcl.gtkmm-2.4}
- -L${gtk}/perl/lib/CORE -lperl58
+ -L${devlibs}/perl/lib/CORE -lperl58
- -L${gtk}/python/libs -lpython24
- ${gtk}/bin/libxml2.dll
- ${gtk}/bin/libxslt.dll
- ${gtk}/lib/iconv.lib
+ -L${devlibs}/python/libs -lpython25
+ ${devlibs}/bin/libxml2.dll
+ ${devlibs}/bin/libxslt.dll
+ ${devlibs}/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 ${devlibs}/lib/zdll.lib
+ -lgc -mwindows
+ -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
@@ -482,57 +462,59 @@
description="generate the distribution directory with all needed files">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -541,40 +523,43 @@
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
- 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-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.
@@ -622,6 +607,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -639,12 +669,13 @@
+
-