1 <!--
2 * Inkscape build file.
3 *
4 * See buildtool.cpp for use.
5 *
6 * Authors:
7 * Bob Jamison
8 * Others
9 *
10 * Copyright (C) 2006-2007 Inkscape.org
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 -->
31 <!--
32 ########################################################################
33 ## P R O J E C T : I N K S C A P E
34 ########################################################################
35 -->
36 <project name="Inkscape" default="dist" basedir=".">
37 <description>
38 Build file for the Inkscape SVG editor. This file
39 was written for GTK-2.10 on Win32, but it should work
40 well for other types of builds with only minor adjustments.
41 </description>
43 <!-- set global properties for this build -->
44 <property name="version" value="0.46dev"/>
45 <property name="arch" value="mingw32-"/>
46 <!--<property name="archutil" value="${arch}"/>-->
47 <property name="archutil" value=""/>
48 <property name="src" location="src"/>
49 <property name="gtk" location="c:/gtk210"/>
50 <property name="lib" location="lib"/>
51 <property name="build" location="build"/>
52 <property name="dist" location="inkscape"/>
56 <!--
57 ########################################################################
58 ## T A R G E T : I N I T
59 ########################################################################
60 -->
61 <target name="init"
62 description=
63 "Do all preparatory tasks, like make directories and copy files">
66 <!-- example of the <pkg-config> task
67 query can be cflags, libs, or both
68 prefix overrides the value of prefix="" in the file
69 the result of this entry can be later used as ${gtkmm}
70 -->
71 <!--
72 <pkg-config name="gtkmm-2.4" path="${gtk}/lib/pkgconfig"
73 query="both" property="gtkmm" prefix="${gtk}"/>
74 -->
76 <mkdir dir="${build}"/>
77 <mkdir dir="${dist}"/>
78 <copy file="${src}/helper/sp-marshal.h.mingw"
79 tofile="${src}/helper/sp-marshal.h"/>
80 <copy file="${src}/helper/sp-marshal.cpp.mingw"
81 tofile="${src}/helper/sp-marshal.cpp"/>
82 <makefile file="inkscape_version.h">
83 #define INKSCAPE_VERSION "${version}+devel"
84 </makefile>
85 <makefile file="config.h">
86 #ifndef _CONFIG_H_
87 #define _CONFIG_H_
89 #ifndef WIN32
90 #define WIN32
91 #endif
93 /*######################################
94 ## This is for require-config.h, whose
95 ## purpose I cannot fathom.
96 ######################################*/
98 #define PACKAGE_TARNAME
100 /*######################################
101 #### RESOURCE DIRECTORIES
102 ######################################*/
104 #define INKSCAPE_DATADIR "."
105 #define PACKAGE_LOCALE_DIR "locale"
108 /*######################################
109 #### OTHER DEFINITIONS
110 ######################################*/
112 #define GETTEXT_PACKAGE "inkscape"
114 #define PACKAGE_STRING VERSION
116 #define HAVE_GETOPT_H 1
117 #define HAVE_STRING_H 1
118 #define HAVE_LIBINTL_H 1
119 #define HAVE_MALLOC_H 1
120 #define HAVE_STDLIB_H 1
121 #define HAVE_SYS_STAT_H 1
122 #define HAVE_INTTYPES_H 1
124 #define ENABLE_LCMS 1
126 #define ENABLE_NLS 1
127 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
129 /* keep binreloc off */
130 #define BR_PTHREADS 0
131 #undef ENABLE_BINRELOC
133 /* CairoPDF options */
134 #define HAVE_CAIRO_PDF 1
135 #define PANGO_ENABLE_ENGINE 1
136 #define RENDER_WITH_PANGO_CAIRO 1
138 #define HAVE_GTK_WINDOW_FULLSCREEN 1
140 /* internal interpreter */
141 #define WITH_PYTHON 1
143 /* shared whiteboard */
144 #define WITH_INKBOARD 1
145 #define HAVE_SSL 1
147 /* use poppler for pdf import? */
148 #define HAVE_POPPLER 1
149 #define HAVE_POPPLER_CAIRO 1
151 /* do we want bitmap manipulation? */
152 #define WITH_IMAGE_MAGICK 1
154 #endif /* _CONFIG_H_ */
155 </makefile>
156 </target>
160 <!--
161 ########################################################################
162 ## T A R G E T : T O U C H A B O U T
163 ########################################################################
164 -->
165 <target name="touchabout"
166 description="update the modification time of aboutdialog.cpp">
167 <!-- not good <touch file="${src}/ui/dialog/aboutdialog.cpp"/> -->
168 <!-- better -->
169 <delete file="${build}/obj/ui/dialog/aboutdialog.o"/>
170 </target>
173 <!--
174 ########################################################################
175 ## T A R G E T : C O M P I L E
176 ########################################################################
177 -->
178 <target name="compile" depends="init"
179 description="compile the source to .o" >
181 <!-- Compile from source to build -->
182 <cc cc="${arch}gcc" cxx="${arch}g++"
183 destdir="${build}/obj">
184 <fileset dir="${src}">
185 <!-- THINGS TO EXCLUDE -->
186 <exclude name="2geom/chebyshev.cpp"/>
187 <exclude name="ast/.*"/>
188 <exclude name="bonobo/.*"/>
189 <exclude name="deptool.cpp"/>
190 <exclude name="test-all.cpp"/>
191 <exclude name="dialogs/filedialog-win32.cpp"/>
192 <exclude name="display/testnr.cpp"/>
193 <exclude name="display/bezier-utils-test.cpp"/>
194 <exclude name="dom/jsdombind.cpp"/>
195 <exclude name="dom/work/.*"/>
196 <exclude name="dom/odf/SvgOdg.cpp"/>
197 <exclude name="extension/api.cpp"/>
198 <exclude name="extension/dxf2svg/.*"/>
199 <exclude name="extension/implementation/plugin.cpp"/>
200 <exclude name="extension/internal/gnome.cpp"/>
201 <exclude name="extension/internal/wpg-input.cpp"/>
202 <exclude name="extension/script/bindtest.cpp"/>
203 <exclude name="extension/script/cpptest.cpp"/>
204 <exclude name="extension/plugin/.*"/>
205 <exclude name="extract-uri-test.cpp"/>
206 <exclude name="helper/units-test.cpp"/>
207 <!-- exclude name="inkview.cpp"/-->
208 <exclude name="libnr/test-nr.cpp"/>
209 <exclude name="libnr/test-nr-main.cpp"/>
210 <exclude name="libnr/testnr.cpp"/>
211 <exclude name="libnr/in-svg-plane-test.cpp"/>
212 <exclude name="libnr/nr-compose-reference.cpp"/>
213 <exclude name="libnr/nr-compose-test.cpp"/>
214 <exclude name="libnr/nr-matrix-test.cpp"/>
215 <exclude name="libnr/nr-point-fns-test.cpp"/>
216 <exclude name="libnr/nr-rotate-fns-test.cpp"/>
217 <exclude name="libnr/nr-rotate-test.cpp"/>
218 <exclude name="libnr/nr-scale-test.cpp"/>
219 <exclude name="libnr/nr-translate-test.cpp"/>
220 <exclude name="libnr/nr-types-test.cpp"/>
221 <exclude name="livarot/Path-test.cpp"/>
222 <exclude name="mod360-test.cpp"/>
223 <exclude name="trace/potrace/potest.cpp"/>
224 <exclude name="round-test.cpp"/>
225 <exclude name="sp-gradient-test.cpp"/>
226 <exclude name="svg/ftos.cpp"/>
227 <exclude name="svg/test-svg.cpp"/>
228 <exclude name="svg/test-svg-main.cpp"/>
229 <exclude name="utest/.*"/>
230 <exclude name="widgets/test-widgets.cpp"/>
231 <exclude name="xml/quote-test.cpp"/>
232 <exclude name="xml/repr-action-test.cpp"/>
233 <exclude name="xml/test-xml.cpp"/>
234 <exclude name="xml/test-xml-main.cpp"/>
235 <exclude name="io/streamtest.cpp"/>
236 <!--JABBER-->
237 <exclude name="pedro/pedrogui.cpp"/>
238 <exclude name="pedro/pedrogui.h"/>
239 <exclude name="pedro/work/.*"/>
240 <!--WHITEBOARD-->
241 <exclude name="ui/dialog/session-player.cpp"/>
242 <exclude name="ui/dialog/whiteboard-connect.cpp"/>
243 <exclude name="ui/dialog/whiteboard-sharewithchat.cpp"/>
244 <exclude name="ui/dialog/whiteboard-sharewithuser.cpp"/>
245 <exclude name="dialogs/whiteboard-connect-dialog.cpp"/>
246 <exclude name="dialogs/whiteboard-common-dialog.cpp"/>
247 <exclude name="dialogs/whiteboard-sharewithchat-dialog.cpp"/>
248 <exclude name="dialogs/whiteboard-sharewithuser-dialog.cpp"/>
249 <exclude name="jabber_whiteboard/node-tracker.cpp"/>
250 <exclude name="jabber_whiteboard/node-utilities.cpp"/>
251 <!--WHITEBOARD-->
252 <exclude name="removeoverlap/placement_SolveVPSC.cpp"/>
253 <exclude name="removeoverlap/placement_SolveVPSC.h"/>
254 <exclude name="removeoverlap/test.cpp"/>
255 <exclude name="removeoverlap/remove_rectangle_overlap-test.cpp"/>
256 <exclude name="removeoverlap/remove_rectangle_overlap-test.h"/>
257 </fileset>
258 <flags>
259 -Wall -O3
260 -mms-bitfields
261 </flags>
262 <defines>
263 -DVERSION=\"${version}\"
264 -DHAVE_CONFIG_H
265 -DXP_WIN <!-- for JS -->
266 -D_INTL_REDIRECT_INLINE
267 -DHAVE_SSL
268 -DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }" <!-- inkboard -->
269 </defines>
270 <includes>
271 -I${gtk}/include
272 <!-- GTK / GTKMM -->
273 -I${gtk}/include/glibmm-2.4
274 -I${gtk}/lib/glibmm-2.4/include
275 -I${gtk}/include/gtkmm-2.4
276 -I${gtk}/lib/gtkmm-2.4/include
277 -I${gtk}/include/gdkmm-2.4
278 -I${gtk}/lib/gdkmm-2.4/include
279 -I${gtk}/include/pangomm-1.4
280 -I${gtk}/include/atkmm-1.6
281 -I${gtk}/include/cairomm-1.0
282 -I${gtk}/include/sigc++-2.0
283 -I${gtk}/lib/sigc++-2.0/include
284 -I${gtk}/include/gtk-2.0
285 -I${gtk}/lib/gtk-2.0/include
286 -I${gtk}/include/atk-1.0
287 -I${gtk}/include/pango-1.0
288 -I${gtk}/include/glib-2.0
289 -I${gtk}/lib/glib-2.0/include
290 <!-- OTHER -->
291 -I${gtk}/include/libxml2
292 -I${gtk}/include/freetype2
293 -I${gtk}/include/cairo
294 -I${gtk}/include/poppler
295 -I${gtk}/include/gc
296 <!-- PERL -->
297 -Wno-comment -I${gtk}/perl/lib/CORE
298 <!-- PYTHON -->
299 -I${gtk}/python/include
300 </includes>
301 </cc>
302 </target>
305 <!--
306 ########################################################################
307 ## T A R G E T : L I B
308 ########################################################################
309 -->
310 <target name="lib" depends="compile"
311 description="create a static library">
312 <staticlib command="${archutil}ar crsv"
313 file="${build}/libinkscape.a">
314 <fileset dir="${build}/obj">
315 <exclude name="main.o"/>
316 <exclude name="winmain.o"/>
317 <exclude name="inkview.o"/>
318 </fileset>
319 </staticlib>
320 </target>
324 <!--
325 ########################################################################
326 ## T A R G E T : I 1 8 N
327 ########################################################################
328 -->
329 <target name="i18n" depends="compile"
330 description="compile gettext .po files to .mo">
332 <msgfmt todir="${build}/locale" owndir="true"
333 out="LC_MESSAGES/inkscape.mo">
334 <fileset dir="po">
335 </fileset>
336 </msgfmt>
337 </target>
343 <!--
344 ########################################################################
345 ## T A R G E T : L I N K
346 ########################################################################
347 -->
348 <target name="link" depends="lib"
349 description="link objects and library to create executable">
351 <rc command="${archutil}windres"
352 file="${src}/inkscape.rc"
353 out="${build}/inkres.o">
354 <flags>
355 --include-dir=${src}
356 </flags>
357 </rc>
358 <link command="${arch}g++" out="${build}/inkscape.exe"
359 strip="true" symfile="${build}/inkscape.dbg"
360 stripcommand="${archutil}strip"
361 objcopycommand="${archutil}objcopy"
362 >
363 <flags>
364 -mwindows
365 </flags>
366 <fileset dir="${build}">
367 <include name="inkres.o"/>
368 <include name="obj/main.o"/>
369 <include name="obj/winmain.o"/>
370 <include name="libinkscape.a"/>
371 </fileset>
372 <libs>
373 -L${gtk}/lib
374 -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4
375 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0
376 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0
377 -lgdk_pixbuf-2.0
378 -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0
379 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
380 <!-- PERL -->
381 -L${gtk}/perl/lib/CORE -lperl58
382 <!-- PYTHON -->
383 -L${gtk}/python/libs -lpython25
384 ${gtk}/bin/libxml2.dll
385 ${gtk}/bin/libxslt.dll
386 -lpoppler-cairo -lpoppler
387 -lcairo.dll
388 ${gtk}/lib/iconv.lib
389 -lMagick++ -lWand -lMagick
390 -lfreetype.dll -lfontconfig.dll
391 -lssl -lcrypto
392 -llcms.dll
393 -lpng -ljpeg.dll -ltiff.dll -lpopt ${gtk}/lib/zdll.lib
394 -lgc
395 -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
396 <!-- 2geom -->
397 <!-- -l2geom -->
398 </libs>
399 </link>
400 </target>
406 <!--
407 ########################################################################
408 ## T A R G E T : L I N K I N K V I E W
409 ########################################################################
410 -->
411 <target name="linkinkview" depends="lib"
412 description="link objects and library to create Inkview executable">
414 <rc command="${archutil}windres"
415 file="${src}/inkview.rc"
416 out="${build}/inkviewres.o">
417 <flags>
418 --include-dir=${src}
419 </flags>
420 </rc>
421 <link command="${arch}g++" out="${build}/inkview.exe"
422 strip="true" symfile="${build}/inkview.dbg"
423 stripcommand="${archutil}strip"
424 objcopycommand="${archutil}objcopy"
425 >
426 <flags>
427 </flags>
428 <fileset dir="${build}">
429 <include name="inkviewres.o"/>
430 <include name="obj/inkview.o"/>
431 <include name="libinkscape.a"/>
432 </fileset>
433 <libs>
434 -L${gtk}/lib
435 -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4
436 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0
437 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0
438 -lgdk_pixbuf-2.0
439 -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0
440 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo
441 <!-- PERL -->
442 -L${gtk}/perl/lib/CORE -lperl58
443 <!-- PYTHON -->
444 -L${gtk}/python/libs -lpython24
445 ${gtk}/bin/libxml2.dll
446 ${gtk}/bin/libxslt.dll
447 ${gtk}/lib/iconv.lib
448 -lfreetype.dll -lfontconfig.dll
449 -llcms.dll
450 -lssl -lcrypto
451 -lpng -lpopt ${gtk}/lib/zdll.lib
452 -lgc -mwindows -lws2_32 -lintl -lm
453 </libs>
454 </link>
455 </target>
459 <!--
460 ########################################################################
461 ## T A R G E T : D I S T
462 ########################################################################
463 -->
464 <target name="dist" depends="link,i18n"
465 description="generate the distribution directory with all needed files">
467 <!-- Create the distribution directory -->
468 <copy file="${build}/inkscape.exe" todir="${dist}"/>
469 <copy file="${build}/inkscape.dbg" todir="${dist}"/>
470 <copy file="AUTHORS" todir="${dist}"/>
471 <copy file="COPYING" todir="${dist}"/>
472 <copy file="COPYING.LIB" todir="${dist}"/>
473 <copy file="NEWS" todir="${dist}"/>
474 <copy file="README" todir="${dist}"/>
475 <copy file="TRANSLATORS" todir="${dist}"/>
476 <copy file="${gtk}/bin/libatkmm-1.6-1.dll" todir="${dist}"/>
477 <copy file="${gtk}/bin/libglibmm-2.4-1.dll" todir="${dist}"/>
478 <copy file="${gtk}/bin/libgtkmm-2.4-1.dll" todir="${dist}"/>
479 <copy file="${gtk}/bin/libgdkmm-2.4-1.dll" todir="${dist}"/>
480 <copy file="${gtk}/bin/libpangomm-1.4-1.dll" todir="${dist}"/>
481 <copy file="${gtk}/bin/libcairomm-1.0-1.dll" todir="${dist}"/>
482 <copy file="${gtk}/bin/libsigc-2.0-0.dll" todir="${dist}"/>
483 <copy file="${gtk}/bin/freetype6.dll" todir="${dist}"/>
484 <copy file="${gtk}/bin/libatk-1.0-0.dll" todir="${dist}"/>
485 <copy file="${gtk}/bin/libgdk-win32-2.0-0.dll" todir="${dist}"/>
486 <copy file="${gtk}/bin/libgdk_pixbuf-2.0-0.dll" todir="${dist}"/>
487 <copy file="${gtk}/bin/libglib-2.0-0.dll" todir="${dist}"/>
488 <copy file="${gtk}/bin/libgmodule-2.0-0.dll" todir="${dist}"/>
489 <copy file="${gtk}/bin/libgobject-2.0-0.dll" todir="${dist}"/>
490 <copy file="${gtk}/bin/libgtk-win32-2.0-0.dll" todir="${dist}"/>
491 <copy file="${gtk}/bin/libgthread-2.0-0.dll" todir="${dist}"/>
492 <copy file="${gtk}/bin/libcairo-2.dll" todir="${dist}"/>
493 <copy file="${gtk}/bin/libpoppler-2.dll" todir="${dist}"/>
494 <copy file="${gtk}/bin/libpangocairo-1.0-0.dll" todir="${dist}"/>
495 <copy file="${gtk}/bin/libpango-1.0-0.dll" todir="${dist}"/>
496 <copy file="${gtk}/bin/libpangoft2-1.0-0.dll" todir="${dist}"/>
497 <copy file="${gtk}/bin/libpangowin32-1.0-0.dll" todir="${dist}"/>
498 <copy file="${gtk}/bin/freetype6.dll" todir="${dist}"/>
499 <copy file="${gtk}/bin/libfontconfig-1.dll" todir="${dist}"/>
500 <copy file="${gtk}/bin/libxml2.dll" todir="${dist}"/>
501 <copy file="${gtk}/bin/libxslt.dll" todir="${dist}"/>
502 <copy file="${gtk}/bin/libexpat.dll" todir="${dist}"/>
503 <!--<copy file="${gtk}/bin/libexpat.dll" tofile="${dist}/xmlparse.dll"/>-->
504 <copy file="${gtk}/bin/jpeg62.dll" todir="${dist}"/>
505 <copy file="${gtk}/bin/libpng13.dll" todir="${dist}"/>
506 <copy file="${gtk}/bin/libtiff3.dll" todir="${dist}"/>
507 <copy file="${gtk}/bin/msvcr70.dll" todir="${dist}"/>
508 <copy file="${gtk}/bin/msvcr71.dll" todir="${dist}"/>
509 <copy file="${gtk}/bin/zlib1.dll" todir="${dist}"/>
510 <copy file="${gtk}/bin/iconv.dll" todir="${dist}"/>
511 <copy file="${gtk}/bin/libpopt-0.dll" todir="${dist}"/>
512 <copy file="${gtk}/bin/liblcms-1.dll" todir="${dist}"/>
513 <copy file="${gtk}/bin/intl.dll" todir="${dist}"/>
514 <copy file="${gtk}/bin/intl.dll" tofile="${dist}/libintl-2.dll"/>
516 <!-- MSGFMT files -->
517 <copy todir="${dist}">
518 <fileset dir="${build}/locale">
519 <exclude name=".*\.am"/>
520 </fileset>
521 </copy>
523 <!-- GTK -->
524 <copy todir="${dist}"> <fileset dir="${gtk}/etc"/> </copy>
525 <copy todir="${dist}/lib"> <fileset dir="${gtk}/lib/gtk-2.0"/> </copy>
526 <copy todir="${dist}/lib"> <fileset dir="${gtk}/lib/glib-2.0"/> </copy>
527 <copy todir="${dist}/lib"> <fileset dir="${gtk}/lib/locale"/> </copy>
528 <copy todir="${dist}">
529 <fileset dir="share">
530 <exclude name=".*\.am"/>
531 </fileset>
532 </copy>
533 <copy todir="${dist}/share"> <fileset dir="${gtk}/share/themes"/> </copy>
534 <mkdir dir="${dist}/data"/>
535 <mkdir dir="${dist}/locale"/>
536 <mkdir dir="${dist}/modules"/>
537 <mkdir dir="${dist}/plugins"/>
538 <copy file="${gtk}/bin/gdb.exe" todir="${dist}"/>
540 <!-- Necessary to run extensions on windows if it is not in the path -->
541 <copy file="${gtk}/bin/gspawn-win32-helper.exe" todir="${dist}"/>
542 <copy file="${gtk}/bin/gspawn-win32-helper-console.exe" todir="${dist}"/>
544 <!-- PERL -->
545 <copy file="${gtk}/perl/bin/perl58.dll" todir="${dist}"/>
547 <!-- PYTHON -->
548 <copy file="${gtk}/python/python25.dll" todir="${dist}"/>
549 <copy file="${gtk}/python/python.exe" todir="${dist}/python"/>
550 <copy todir="${dist}/python"> <fileset dir="${gtk}/python/Lib"/> </copy>
551 <copy todir="${dist}/python"> <fileset dir="${gtk}/python/DLLs"/> </copy>
552 <copy todir="${dist}/python"> <fileset dir="${gtk}/python/Scripts"/> </copy>
554 <!--<copy file="${gtk}/share/themes/MS-Windows/gtk-2.0/gtkrc" todir="${dist}/etc/gtk-2.0"/>-->
555 <makefile file="${dist}/etc/gtk-2.0/gtkrc">
556 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"
557 gtk-toolbar-icon-size = small-toolbar
559 # disable images in buttons. i've only seen ugly delphi apps use this feature.
560 gtk-button-images = 0
562 # enable/disable images in menus. most "stock" microsoft apps don't use these, except sparingly.
563 # the office apps use them heavily, though.
564 gtk-menu-images = 1
566 # use the win32 button ordering instead of the GNOME HIG one, where applicable
567 gtk-alternative-button-order = 1
569 style "msw-default"
570 {
571 GtkWidget::interior-focus = 1
572 GtkOptionMenu::indicator-size = { 9, 5 }
573 GtkOptionMenu::indicator-spacing = { 7, 5, 2, 2 }
574 GtkSpinButton::shadow-type = in
576 # Owen and I disagree that these should be themable
577 #GtkUIManager::add-tearoffs = 0
578 #GtkComboBox::add-tearoffs = 0
580 GtkComboBox::appears-as-list = 1
581 GtkComboBox::focus-on-click = 0
583 GOComboBox::add_tearoffs = 0
585 GtkTreeView::allow-rules = 0
586 GtkTreeView::expander-size = 12
588 GtkExpander::expander-size = 12
590 GtkScrolledWindow::scrollbar_spacing = 1
592 GtkSeparatorMenuItem::horizontal-padding = 2
594 engine "wimp"
595 {
596 }
597 }
598 class "*" style "msw-default"
599 </makefile>
601 </target>
606 <!--
607 ########################################################################
608 ## T A R G E T : D I S T - A L L
609 ########################################################################
610 -->
611 <target name="dist-all" depends="dist,linkinkview"
612 description="generate the distribution, along with inkview" >
614 <copy file="${build}/inkview.exe" todir="${dist}"/>
615 <copy file="${build}/inkview.dbg" todir="${dist}"/>
616 </target>
621 <!--
622 ########################################################################
623 ## T A R G E T : C L E A N
624 ########################################################################
625 -->
626 <target name="clean"
627 description="clean up. deleting build and distro dirs" >
629 <delete dir="${build}"/>
630 <delete dir="${dist}"/>
631 <delete file="build.dep"/>
632 <delete file="config.h"/>
634 </target>
638 </project>
639 <!--
640 ########################################################################
641 ## E N D
642 ########################################################################
643 -->