From b55e7a4462eb82d1280a2fd89b0e1bb96b996005 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 28 Feb 2016 15:49:24 +0100 Subject: Update win64 build files for devlibs64 update (bzr r14673) --- build-x64-gtk3.xml | 131 +++++++++++++++++++++++---------------- build-x64.xml | 178 +++++++++++++++++++++-------------------------------- 2 files changed, 148 insertions(+), 161 deletions(-) diff --git a/build-x64-gtk3.xml b/build-x64-gtk3.xml index 542125e56..73e9ab898 100644 --- a/build-x64-gtk3.xml +++ b/build-x64-gtk3.xml @@ -35,6 +35,7 @@ Build file for the Inkscape SVG editor. This file was written for GTK-3 on Win64. + Note that the default target is 'dist-all'. You can execute other targets instead, by "btool {target}", like "btool compile", if you want to save time, or "dist-inkscape" if you don't want inkview. @@ -109,7 +110,7 @@ char const *version_string = "${version}"; } - + namespace Inkscape { char const *version_string = "${version} ${bzr.revision}"; } @@ -159,6 +160,7 @@ #define HAVE_LIBLCMS2 1 #define WITH_GTKMM_3_0 1 + #define WITH_GTKMM_3_10 1 //#define WITH_GLIBMM_2_32 1 #define HAVE_GLIBMM_THREADS_H 1 #define WITH_EXT_GDL 1 @@ -185,9 +187,6 @@ #define HAVE_POPPLER 1 #define HAVE_POPPLER_GLIB 1 #define HAVE_POPPLER_CAIRO 1 - #define POPPLER_NEW_ERRORAPI 1 - #define POPPLER_NEW_GFXPATCH 1 - #define POPPLER_NEW_GFXFONT 1 /* do we want bitmap manipulation? */ #define WITH_IMAGE_MAGICK 1 @@ -196,17 +195,17 @@ #define HAVE_EXIF 1 #define HAVE_JPEG 1 - /* Allow reading WordPerfect? */ + /* WordPerfect import filter */ #define WITH_LIBWPG 1 - - /* Default to libwpg 0.2.x */ - #define WITH_LIBWPG02 1 + #define WITH_LIBWPG03 1 /* Visio import filter */ #define WITH_LIBVISIO 1 + #define WITH_LIBVISIO01 1 /* Corel Draw import filter */ #define WITH_LIBCDR 1 + #define WITH_LIBCDR01 1 /* Do we support SVG Fonts? */ #define ENABLE_SVG_FONTS 1 @@ -222,6 +221,8 @@ #define HAVE_ASPELL 1 + #define HAVE_POTRACE 1 + #endif /* _CONFIG_H_ */ @@ -363,7 +364,7 @@ -Wall -Wformat -Werror=format-security -Wextra -Wpointer-arith -Wcast-align -Wsign-compare -Wswitch -Werror=return-type - + -Wno-error=pointer-sign -Wno-error=unused-parameter -Wno-error=unused-but-set-variable -Wno-error=strict-overflow -Wno-error=write-strings @@ -376,9 +377,10 @@ -fopenmp - -std=gnu++11 -DCPP11 + -std=gnu++11 -DCPP11 -Woverloaded-virtual + -Wno-deprecated-declarations -DVERSION=\"${version}\" @@ -386,6 +388,11 @@ -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 + -DPOPPLER_NEW_GFXPATCH + -DPOPPLER_NEW_ERRORAPI + -DPOPPLER_EVEN_NEWER_COLOR_SPACE_API + -DPOPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API -DGLIBMM_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED @@ -404,16 +411,19 @@ ${pcc.gdk-3.0} ${pcc.gdl-3.0} ${pcc.glibmm-2.4} + + ${pcc.pangomm-1.4} ${pcc.cairomm-1.0} - ${pcc.Magick++} - ${pcc.libxml-2.0} + ${pcc.Magick++} + ${pcc.libxml-2.0} ${pcc.freetype2} ${pcc.cairo} ${pcc.poppler} -I${devlibs}/include/gc - ${pcc.libwpg-0.2} ${pcc.libvisio-0.0} ${pcc.libcdr-0.0} + -I${devlibs}/include/potracelib + ${pcc.libwpg-0.3} ${pcc.libvisio-0.1} ${pcc.libcdr-0.1} -I${cxxtest} @@ -492,8 +502,10 @@ ${devlibs}/bin/libxslt-1.dll ${devlibs}/bin/libexslt-0.dll ${pcl.cairo} ${pcl.cairomm-1.0} - ${pcl.libwpg-0.2} ${pcl.libvisio-0.0} ${pcl.libcdr-0.0} + ${pcl.librevenge-stream-0.0} ${pcl.libwpg-0.3} ${pcl.libvisio-0.1} ${pcl.libcdr-0.1} ${pcl.glibmm-2.4} + + ${pcl.pangomm-1.4} ${pcl.cairomm-1.0} -liconv @@ -502,9 +514,9 @@ ${pcl.lcms2} ${pcl.gsl} -lpng -ljpeg -ltiff -lexif -lpopt -lz - -lgc + -lgc -lpotrace -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm - -lgomp -lwinpthread-1 + -lgomp -lwinpthread -laspell -lmscms @@ -581,8 +593,10 @@ ${devlibs}/bin/libxslt-1.dll ${devlibs}/bin/libexslt-0.dll ${pcl.cairo} ${pcl.cairomm-1.0} - ${pcl.libwpg-0.2} ${pcl.libvisio-0.0} ${pcl.libcdr-0.0} + ${pcl.librevenge-stream-0.0} ${pcl.libwpg-0.3} ${pcl.libvisio-0.1} ${pcl.libcdr-0.1} ${pcl.glibmm-2.4} + + ${pcl.pangomm-1.4} ${pcl.cairomm-1.0} -liconv @@ -591,9 +605,9 @@ ${pcl.lcms2} ${pcl.gsl} -lpng -ljpeg -ltiff -lexif -lpopt -lz - -lgc + -lgc -lpotrace -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm - -lgomp -lwinpthread-1 + -lgomp -lwinpthread -laspell -lmscms @@ -638,8 +652,10 @@ ${devlibs}/bin/libxslt-1.dll ${devlibs}/bin/libexslt-0.dll ${pcl.cairo} ${pcl.cairomm-1.0} - ${pcl.libwpg-0.2} ${pcl.libvisio-0.0} ${pcl.libcdr-0.0} + ${pcl.librevenge-stream-0.0} ${pcl.libwpg-0.3} ${pcl.libvisio-0.1} ${pcl.libcdr-0.1} ${pcl.glibmm-2.4} + + ${pcl.pangomm-1.4} ${pcl.cairomm-1.0} -liconv @@ -648,9 +664,9 @@ ${pcl.lcms2} ${pcl.gsl} -lpng -ljpeg -ltiff -lexif -lpopt -lz - -lgc + -lgc -lpotrace -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm - -lgomp -lwinpthread-1 + -lgomp -lwinpthread -laspell -lmscms @@ -687,7 +703,7 @@ - + @@ -704,7 +720,7 @@ - + @@ -714,16 +730,18 @@ - - - - - - - - - - + + + + + + + + + + + + @@ -732,21 +750,23 @@ - - + + + - + + - + @@ -769,29 +789,32 @@ + + - - - - + + + + - - - - + - - + + - - + + + + + + @@ -804,9 +827,9 @@ - + @@ -814,8 +837,9 @@ [Settings] -gtk-font-name=Tahoma 8 -gtk-theme-name = Adwaita +#gtk-font-name = Tahoma 8 +#gtk-theme-name = Adwaita +gtk-menu-images = true @@ -857,6 +881,7 @@ gtk-theme-name = Adwaita --> + diff --git a/build-x64.xml b/build-x64.xml index 76b2a467f..c3fe58a2b 100644 --- a/build-x64.xml +++ b/build-x64.xml @@ -110,7 +110,7 @@ char const *version_string = "${version}"; } - + namespace Inkscape { char const *version_string = "${version} ${bzr.revision}"; } @@ -182,9 +182,6 @@ #define HAVE_POPPLER 1 #define HAVE_POPPLER_GLIB 1 #define HAVE_POPPLER_CAIRO 1 - #define POPPLER_NEW_ERRORAPI 1 - #define POPPLER_NEW_GFXPATCH 1 - #define POPPLER_NEW_GFXFONT 1 /* do we want bitmap manipulation? */ #define WITH_IMAGE_MAGICK 1 @@ -193,17 +190,17 @@ #define HAVE_EXIF 1 #define HAVE_JPEG 1 - /* Allow reading WordPerfect? */ + /* WordPerfect import filter */ #define WITH_LIBWPG 1 - - /* Default to libwpg 0.2.x */ - #define WITH_LIBWPG02 1 + #define WITH_LIBWPG03 1 /* Visio import filter */ #define WITH_LIBVISIO 1 + #define WITH_LIBVISIO01 1 /* Corel Draw import filter */ #define WITH_LIBCDR 1 + #define WITH_LIBCDR01 1 /* Do we support SVG Fonts? */ #define ENABLE_SVG_FONTS 1 @@ -219,6 +216,8 @@ #define HAVE_ASPELL 1 + #define HAVE_POTRACE 1 + #endif /* _CONFIG_H_ */ @@ -359,7 +358,7 @@ -Wall -Wformat -Werror=format-security -Wextra -Wpointer-arith -Wcast-align -Wsign-compare -Wswitch -Werror=return-type - + -Wno-error=pointer-sign -Wno-error=unused-parameter -Wno-error=unused-but-set-variable -Wno-error=strict-overflow -Wno-error=write-strings @@ -372,9 +371,10 @@ -fopenmp - -std=gnu++0x -DCPP11 + -std=gnu++11 -DCPP11 -Woverloaded-virtual + -Wno-deprecated-declarations -DVERSION=\"${version}\" @@ -382,6 +382,11 @@ -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 + -DPOPPLER_NEW_GFXPATCH + -DPOPPLER_NEW_ERRORAPI + -DPOPPLER_EVEN_NEWER_COLOR_SPACE_API + -DPOPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API -DGLIBMM_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED @@ -401,13 +406,14 @@ ${pcc.pangomm-1.4} ${pcc.cairomm-1.0} - ${pcc.Magick++} - ${pcc.libxml-2.0} + ${pcc.Magick++} + ${pcc.libxml-2.0} ${pcc.freetype2} ${pcc.cairo} ${pcc.poppler} -I${devlibs}/include/gc - ${pcc.libwpg-0.2} ${pcc.libvisio-0.0} ${pcc.libcdr-0.0} + -I${devlibs}/include/potracelib + ${pcc.libwpg-0.3} ${pcc.libvisio-0.1} ${pcc.libcdr-0.1} -I${cxxtest} @@ -483,7 +489,7 @@ ${devlibs}/bin/libxslt-1.dll ${devlibs}/bin/libexslt-0.dll ${pcl.cairo} ${pcl.cairomm-1.0} - ${pcl.libwpg-0.2} ${pcl.libvisio-0.0} ${pcl.libcdr-0.0} + ${pcl.librevenge-stream-0.0} ${pcl.libwpg-0.3} ${pcl.libvisio-0.1} ${pcl.libcdr-0.1} ${pcl.glibmm-2.4} ${pcl.gtk+-2.0} ${pcl.gdkmm-2.4} @@ -495,9 +501,9 @@ ${pcl.lcms2} ${pcl.gsl} -lpng -ljpeg -ltiff -lexif -lpopt -lz - -lgc + -lgc -lpotrace -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm - -lgomp -lwinpthread-1 + -lgomp -lwinpthread -laspell -lmscms @@ -571,7 +577,7 @@ ${devlibs}/bin/libxslt-1.dll ${devlibs}/bin/libexslt-0.dll ${pcl.cairo} ${pcl.cairomm-1.0} - ${pcl.libwpg-0.2} ${pcl.libvisio-0.0} ${pcl.libcdr-0.0} + ${pcl.librevenge-stream-0.0} ${pcl.libwpg-0.3} ${pcl.libvisio-0.1} ${pcl.libcdr-0.1} ${pcl.glibmm-2.4} ${pcl.gtk+-2.0} ${pcl.gdkmm-2.4} @@ -583,7 +589,7 @@ ${pcl.lcms2} ${pcl.gsl} -lpng -ljpeg -ltiff -lexif -lpopt -lz - -lgc + -lgc -lpotrace -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm -lgomp -lwinpthread -laspell @@ -627,7 +633,7 @@ ${devlibs}/bin/libxslt-1.dll ${devlibs}/bin/libexslt-0.dll ${pcl.cairo} ${pcl.cairomm-1.0} - ${pcl.libwpg-0.2} ${pcl.libvisio-0.0} ${pcl.libcdr-0.0} + ${pcl.librevenge-stream-0.0} ${pcl.libwpg-0.3} ${pcl.libvisio-0.1} ${pcl.libcdr-0.1} ${pcl.glibmm-2.4} ${pcl.gtk+-2.0} ${pcl.gdkmm-2.4} @@ -639,9 +645,9 @@ ${pcl.lcms2} ${pcl.gsl} -lpng -ljpeg -ltiff -lexif -lpopt -lz - -lgc + -lgc -lpotrace -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm - -lgomp -lwinpthread-1 + -lgomp -lwinpthread -laspell -lmscms @@ -674,12 +680,12 @@ - - - - - - + + + + + + @@ -693,7 +699,7 @@ - + @@ -703,18 +709,17 @@ - - - - - - - - - - - - + + + + + + + + + + + @@ -723,21 +728,23 @@ - - + + + - + + - + @@ -754,29 +761,34 @@ - + + + + + - + - - - + + + - - - - + - - + + - - + + + + + + @@ -789,63 +801,13 @@ - + - - - 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 - - # disable the annoying beep in editable controls - gtk-error-bell = 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" - - -- cgit v1.2.3