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.
We now build gtk3 with the meson build system.
Notably, at least for the expression, all the platforms
logic for we had for configureFlags should be unneeded
with meson.
This round is without the systemd CVE,
as we don't have binaries for that yet.
BTW, I just ignore darwin binaries these days,
as I'd have to wait for weeks for them.
Comments on conflicts:
- llvm: d6f401e1 vs. 469ecc70 - docs for 6 and 7 say the default is
to build all targets, so we should be fine
- some pypi hashes: they were equivalent, just base16 vs. base32
* Drop patches, now included!
* Fixes system tray icon madness w/awesomeWM (and others?),
oh joyous day what a time to be alive :)
(parent_relative fixups, been using for a while, woohoo!)
URL: https://gitlab.gnome.org/GNOME/gtk/issues/303
This patch will fix the assertion generated at startup for freeciv on
macOS. Conditionally applied on Darwin.
Gdk:ERROR:gdkimage-quartz.c:250:_gdk_image_new_for_depth: assertion failed: (depth == 24 || depth == 32)
Resolved the following conflicts (by carefully applying patches from the both
branches since the fork point):
pkgs/development/libraries/epoxy/default.nix
pkgs/development/libraries/gtk+/3.x.nix
pkgs/development/python-modules/asgiref/default.nix
pkgs/development/python-modules/daphne/default.nix
pkgs/os-specific/linux/systemd/default.nix