gtk4: 4.12.2 → 4.12.3

https://gitlab.gnome.org/GNOME/gtk/-/compare/4.12.2...4.12.3

NEWS and meson changes look okay.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong
2023-11-21 08:42:31 +01:00
committed by Jan Tojnar
parent e84395a614
commit 6d4d42f6ee
+10 -2
View File
@@ -3,6 +3,7 @@
, buildPackages
, substituteAll
, fetchurl
, fetchpatch
, pkg-config
, gettext
, graphene
@@ -68,7 +69,7 @@ in
stdenv.mkDerivation rec {
pname = "gtk4";
version = "4.12.2";
version = "4.12.3";
outputs = [ "out" "dev" ] ++ lib.optionals x11Support [ "devdoc" ];
outputBin = "dev";
@@ -80,12 +81,19 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/gtk/${lib.versions.majorMinor version}/gtk-${version}.tar.xz";
sha256 = "L09NT5LgnyFtOGz9rdVNM9l/I6RVXWe5fez6b4Fba4E=";
sha256 = "FIziYvbIZIdFX7HZeTw/WLw+HaR3opYX+tsEIPWHCok=";
};
patches = [
# https://github.com/NixOS/nixpkgs/pull/218143#issuecomment-1501059486
./patches/4.0-fix-darwin-build.patch
# gdk: Fix compilation on macos
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6208
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/aa888c0b3f775776fe3b71028396b7a8c6adb1d6.patch";
sha256 = "sha256-Jw6BvWDX0wIs4blUiX3qdQCR574yhcaO06Vy/IqfbJo=";
})
];
depsBuildBuild = [