diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-03-06 20:56:04 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-03-06 20:56:04 +0000 |
commit | af4a5770c2c610086be508ea6afeee1376ed1f4c (patch) | |
tree | 9d7a578e15a6256ce908161498e9deb2f42d85d5 /config.nmake | |
parent | 12d85ac2b3216deac2eeae3f75b4e24bfa55282b (diff) |
Always build with GDK_DISABLE_DEPRECATED, GDK_PIXBUF_DISABLE_DEPRECATED, GTK_DISABLE_DEPRECATED
Also: remove "experimental" comment from Win32 GTK3 build config;
(I'm not able to try the WIN64 GTK3 build so I've left that marked as experimental).
svn path=/trunk/; revision=48145
Diffstat (limited to 'config.nmake')
-rw-r--r-- | config.nmake | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/config.nmake b/config.nmake index b15f11593e..e03235cfda 100644 --- a/config.nmake +++ b/config.nmake @@ -250,7 +250,7 @@ GLIB_VERSION=2.0 # If you want building with GTK+, set GTK_DIR to the pathname of the # directory in which the "include" and "lib" directories reside. # -# Set the name to gtk3 if you want to use gtk3 - experimental +# Set the name to gtk3 if you want to use gtk3 GTK_NAME=gtk2 GTK_DIR=$(WIRESHARK_LIB_DIR)\$(GTK_NAME) @@ -470,7 +470,7 @@ GLIB_VERSION=2.0 # directory in which the "include" and "lib" directories reside. # # -# Set the name to gtk3 if you want to use gtk3 - experimental +# Set the name to gtk3 if you want to use gtk3 - (experimental ?) GTK_NAME=gtk2 GTK_DIR=$(WIRESHARK_LIB_DIR)\$(GTK_NAME) @@ -673,7 +673,7 @@ GEOIP_PKG=1.4.8-2 WINSPARKLE_PKG=0.3-44-g2c8d9d3-win64ws !endif -# win32 / win64 +##### win32 / win64 ##### !IF "$(GTK_NAME)" == "gtk2" GTK_ETC_DIR=etc\gtk-2.0 @@ -1181,8 +1181,10 @@ GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR)\include\gtk-2.0 \ /I$(GTK_DIR)\include\atk-1.0 \ /I$(GTK_DIR)\include\cairo \ /I$(GTK_DIR)\include\pango-1.0 \ - -DGTK_DISABLE_SINGLE_INCLUDES \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ -DGTK_DISABLE_DEPRECATED \ + -DGTK_DISABLE_SINGLE_INCLUDES \ -DGSEAL_ENABLE GTK_LIBS=$(GTK_DIR)\lib\gtk-win32-2.0.lib \ $(GTK_DIR)\lib\gdk-win32-2.0.lib \ @@ -1216,9 +1218,6 @@ NEED_JPEG_DLL=USE NEED_TIFF_DLL=USE NEED_LZMA_DLL=USE -# -# Use of GTK3+ is experimental/not working -# !ELSEIF "$(GTK_INST_VERSION)" == "3.4" # GTK+ @@ -1228,6 +1227,9 @@ GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR)\include\gtk-3.0 \ /I$(GTK_DIR)\include\atk-1.0 \ /I$(GTK_DIR)\include\cairo \ /I$(GTK_DIR)\include\pango-1.0 \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED \ -DGTK_DISABLE_SINGLE_INCLUDES \ -DGSEAL_ENABLE GTK_LIBS=$(GTK_DIR)\lib\gtk-3.lib \ |