From 2444f5e03dc928c45ef8337af2c0aa0641292b8a Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 21 Nov 2014 00:24:20 +0100 Subject: Windows: add 64bit GTK3 buildtool build file. (bzr r13742) --- build-x64-gtk3.xml | 920 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 920 insertions(+) create mode 100644 build-x64-gtk3.xml diff --git a/build-x64-gtk3.xml b/build-x64-gtk3.xml new file mode 100644 index 000000000..1f377db8e --- /dev/null +++ b/build-x64-gtk3.xml @@ -0,0 +1,920 @@ + + + + + + + + Build file for the Inkscape SVG editor. This file + was written for GTK-2.10 on Win32, but it should work + well for other types of builds with only minor adjustments. + 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + namespace Inkscape { + char const *version_string = "${version} ${bzr.revision}"; + } + + + #ifndef _CONFIG_H_ + #define _CONFIG_H_ + + #ifndef WIN32 + #define WIN32 + #endif + + /*###################################### + ## This is for require-config.h, whose + ## purpose I cannot fathom. + ######################################*/ + + #define PACKAGE_TARNAME + + /*###################################### + #### RESOURCE DIRECTORIES + ######################################*/ + + #define INKSCAPE_DATADIR "." + #define PACKAGE_LOCALE_DIR "locale" + + + /*###################################### + #### OTHER DEFINITIONS + ######################################*/ + + #define GETTEXT_PACKAGE "inkscape" + + #define PACKAGE_STRING VERSION + + #define HAVE_GETOPT_H 1 + #define HAVE_STRING_H 1 + #define HAVE_LIBINTL_H 1 + #define HAVE_MALLOC_H 1 + #define HAVE_STDLIB_H 1 + #define HAVE_SYS_STAT_H 1 + #define HAVE_INTTYPES_H 1 + #define HAVE_OPENMP 1 + #define HAVE_TR1_UNORDERED_SET 1 + #define HAVE_STDINT_H 1 + + #define HAVE_LIBLCMS2 1 + + #define WITH_GTKMM_3_0 1 + //#define WITH_GLIBMM_2_32 1 + #define HAVE_GLIBMM_THREADS_H 1 + #define WITH_EXT_GDL 1 + #define WITH_GDL_3_6 1 + + #define ENABLE_NLS 1 + #define HAVE_BIND_TEXTDOMAIN_CODESET 1 + + /* keep binreloc off */ + #define BR_PTHREADS 0 + #undef ENABLE_BINRELOC + + /* CairoPDF options */ + #define HAVE_CAIRO_PDF 1 + #define PANGO_ENABLE_ENGINE 1 + #define RENDER_WITH_PANGO_CAIRO 1 + + #define HAVE_GTK_WINDOW_FULLSCREEN 1 + + /* internal interpreter */ + #define WITH_PYTHON 1 + + /* use poppler for pdf import? */ + #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 + + /* Exif and JPEG support for image resolution import */ + #define HAVE_EXIF 1 + #define HAVE_JPEG 1 + + /* Allow reading WordPerfect? */ + #define WITH_LIBWPG 1 + + /* Default to libwpg 0.2.x */ + #define WITH_LIBWPG02 1 + + /* Visio import filter */ + #define WITH_LIBVISIO 1 + + /* Corel Draw import filter */ + #define WITH_LIBCDR 1 + + /* Do we support SVG Fonts? */ + #define ENABLE_SVG_FONTS 1 + + /* Do we want experimental, unsupported, unguaranteed, etc., LivePathEffects enabled? */ + //#define LPE_ENABLE_TEST_EFFECTS 1 + + /* Do we want experimental, unsupported, unguaranteed, etc., SVG2 features enabled? */ + //#define WITH_SVG2 1 + //#define WITH_CSSCOMPOSITE 1 + //#define WITH_CSSBLEND 1 + //#define WITH_MESH 1 + + #define HAVE_ASPELL 1 + + #endif /* _CONFIG_H_ */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -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 + + -Wno-error=format -Wno-error=format-extra-args + -Wno-unused-local-typedefs + -O2 + -mms-bitfields + -fopenmp + + + -std=gnu++11 -DCPP11 + -Woverloaded-virtual + + + + -DVERSION=\"${version}\" + -DHAVE_CONFIG_H + -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; }" + + -DGLIBMM_DISABLE_DEPRECATED + -DG_DISABLE_DEPRECATED + -DGTK_DISABLE_SINGLE_INCLUDES + + + -DGDKMM_DISABLE_DEPRECATED + -DGSEAL_ENABLE + + + -I${devlibs}/include + + ${pcc.gtkmm-3.0} + ${pcc.gdkmm-3.0} + ${pcc.gtk+-3.0} + ${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.freetype2} + ${pcc.cairo} + ${pcc.poppler} + -I${devlibs}/include/gc + ${pcc.libwpg-0.2} ${pcc.libvisio-0.0} ${pcc.libcdr-0.0} + -I${cxxtest} + + + + -I${devlibs}/python/include + + + + + + + + + + + + + + + + + + + + + + + + + --include-dir=${src} + + + + + -mwindows -m64 + -mthreads + + + + + + + + + + + + + + + + + -L${devlibs}/lib + ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler} + ${pcl.pangoft2} ${pcl.gthread-2.0} + ${pcl.gtkmm-3.0} ${pcl.gdkmm-3.0} + ${pcl.gtk+-3.0} ${pcl.gdk-3.0} + ${pcl.gdl-3.0} + ${devlibs}/bin/libxml2-2.dll + ${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.glibmm-2.4} + ${pcl.pangomm-1.4} + ${pcl.cairomm-1.0} + -liconv + ${pcl.Magick++} + ${pcl.fontconfig} ${pcl.freetype2} + ${pcl.lcms2} + ${pcl.gsl} + -lpng -ljpeg -ltiff -lexif -lpopt -lz + -lgc + -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lwinpthread-1 + -laspell + -lmscms + + + + + + + + + + -mconsole + -mthreads + + + + + + + + + + + + + + --include-dir=${src} + + + + + -mwindows -m64 + -mthreads + + + + + + + + + + + + + + + + + + -L${devlibs}/lib + ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler} + ${pcl.pangoft2} ${pcl.gthread-2.0} + ${pcl.gtkmm-3.0} ${pcl.gdkmm-3.0} + ${pcl.gtk+-3.0} ${pcl.gdk-3.0} + ${pcl.gdl-3.0} + ${devlibs}/bin/libxml2-2.dll + ${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.glibmm-2.4} + ${pcl.pangomm-1.4} + ${pcl.cairomm-1.0} + -liconv + ${pcl.Magick++} + ${pcl.fontconfig} ${pcl.freetype2} + ${pcl.lcms2} + ${pcl.gsl} + -lpng -ljpeg -ltiff -lexif -lpopt -lz + -lgc + -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lwinpthread-1 + -laspell + -lmscms + + + + + + + + + + + + -mconsole + -mthreads + + + + + + + + + + + + -L${devlibs}/lib + ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler} + ${pcl.pangoft2} ${pcl.gthread-2.0} + ${pcl.gtkmm-3.0} ${pcl.gdkmm-3.0} + ${pcl.gtk+-3.0} ${pcl.gdk-3.0} + ${pcl.gdl-3.0} + ${devlibs}/bin/libxml2-2.dll + ${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.glibmm-2.4} + ${pcl.pangomm-1.4} + ${pcl.cairomm-1.0} + -liconv + ${pcl.Magick++} + ${pcl.fontconfig} ${pcl.freetype2} + ${pcl.lcms2} + ${pcl.gsl} + -lpng -ljpeg -ltiff -lexif -lpopt -lz + -lgc + -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lwinpthread-1 + -laspell + -lmscms + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[Settings] +gtk-font-name=Tahoma 8 +gtk-theme-name = Adwaita + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3