nixpkgs/pkgs/development/libraries/gtk+
worldofpeace 27a71a19ed gtk3: defines for debugging, disable cast checks
Because we're using plain buildtype these have to be
passed manually.

See: https://gitlab.gnome.org/GNOME/gtk/blob/3.24.10/meson.build#L59

With autotools the mapping for the the options to the defines was:

yes:     G_ENABLE_DEBUG G_ENABLE_CONSISTENCY_CHECKS
minimum: G_ENABLE_DEBUG G_DISABLE_CAST_CHECKS
no:      G_DISABLE_CAST_CHECKS G_DISABLE_ASSERT G_DISABLE_CHECKS

So we're passing the exact ones that would've been used for minimum.

Additionally it isn't a good idea to pass the equivalents used for "no" 
as it eliminates G_ENABLE_DEBUG which disables pre-condition checks and 
assertions. The actual option only existed to serve people who needed a 
specific build of GTK for very specific environments. And now they are
much better served with meson's plain buildtype and figuring out what to
pass themselves.
2019-08-05 06:09:25 -04:00
..
2.0-darwin-x11.patch gtk2-x11: fix darwin build 2019-01-27 17:24:36 +01:00
2.0-immodules.cache.patch gtk2: make gtk2 look for immodule cache in $NIX_PROFILE 2016-04-16 17:51:32 +09:00
2.x.nix gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
3.0-darwin-x11.patch gtk3-x11: fix darwin build 2019-01-27 15:38:18 +01:00
3.0-immodules.cache.patch gtk3: make gtk3 look for immodule cache in $NIX_PROFILE 2016-04-16 17:51:32 +09:00
3.x.nix gtk3: defines for debugging, disable cast checks 2019-08-05 06:09:25 -04:00
01-build-Fix-path-handling-in-pkgconfig.patch gtk3: fix pkgconfig paths 2019-07-20 09:04:51 +02:00
gtk2-theme-paths.patch gtk2: search for themes in XDG_DATA_DIRS 2017-05-18 06:32:45 +01:00
gtk3-setup-hook.sh gtk3: 3.24.8 -> 3.24.10, meson! 2019-07-17 10:45:06 +02:00
setup-hook.sh gtk2: fixup splitting 2015-04-20 20:24:47 +02:00