aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Angelo Carminati Grein <fungos@gmail.com>2018-10-24 15:45:09 -0400
committerRobert Schumacher <roschuma@microsoft.com>2018-10-24 12:45:09 -0700
commitbe7cd6877353057ecbcf3c22888e5c19308b58ad (patch)
treef1d35cebbae10e78281216ce74f3b115f593758a
parentfed89a962572bdc5a4259314c95e458c82b5b3e4 (diff)
downloadvcpkg-be7cd6877353057ecbcf3c22888e5c19308b58ad.tar.gz
vcpkg-be7cd6877353057ecbcf3c22888e5c19308b58ad.zip
Correctly configure GTK3 to reflect recomended stable release settings (#4211)
* Correctly configure GTK3 to reflect recomended release settings GTK/Glib packaging guidelines recomends a release build to use debugging facilities set to level 'minimum'. Disabling this is officially not recomended for stable releases. For more info read the following link, the section `--enable-debug`. https://developer.gnome.org/glib/stable/glib-building.html#extra-configuration-options * [gtk] Bump control version
-rw-r--r--ports/gtk/CMakeLists.txt5
-rw-r--r--ports/gtk/CONTROL2
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/gtk/CMakeLists.txt b/ports/gtk/CMakeLists.txt
index a8be6b45a..22e30b1a7 100644
--- a/ports/gtk/CMakeLists.txt
+++ b/ports/gtk/CMakeLists.txt
@@ -76,8 +76,11 @@ add_definitions(
-DGTK_DISABLE_SINGLE_INCLUDES
-D_USE_MATH_DEFINES)
+add_definitions(-DG_ENABLE_DEBUG)
if(CMAKE_BUILD_TYPE STREQUAL Debug)
- add_definitions(-DG_ENABLE_DEBUG)
+ add_definitions(-DG_ENABLE_CONSISTENCY_CHECKS)
+else()
+ add_definitions(-DG_DISABLE_CAST_CHECKS)
endif()
macro(extract_vcproj_sources VC_PROJECT OUT_VAR)
diff --git a/ports/gtk/CONTROL b/ports/gtk/CONTROL
index e5931156d..c470f8ac8 100644
--- a/ports/gtk/CONTROL
+++ b/ports/gtk/CONTROL
@@ -1,4 +1,4 @@
Source: gtk
-Version: 3.22.19-1
+Version: 3.22.19-2
Description: Portable library for creating graphical user interfaces.
Build-Depends: glib, atk, gdk-pixbuf, pango, cairo, libepoxy, gettext