Skip to content

Commit

Permalink
Correctly configure GTK3 to reflect recomended stable release settings (
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
fungos authored and ras0219-msft committed Oct 24, 2018
1 parent fed89a9 commit be7cd68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ports/gtk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ports/gtk/CONTROL
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit be7cd68

Please sign in to comment.