gtk4: 4.10.3 → 4.10.4

https://gitlab.gnome.org/GNOME/gtk/-/compare/4.10.3...4.10.4
This commit is contained in:
Bobby Rong 2023-06-13 10:32:25 +00:00
parent ae766d59b0
commit d21ac4c933
No known key found for this signature in database

View file

@ -2,7 +2,6 @@
, stdenv
, substituteAll
, fetchurl
, fetchpatch2
, pkg-config
, gettext
, graphene
@ -65,7 +64,7 @@ in
stdenv.mkDerivation rec {
pname = "gtk4";
version = "4.10.3";
version = "4.10.4";
outputs = [ "out" "dev" ] ++ lib.optionals x11Support [ "devdoc" ];
outputBin = "dev";
@ -77,26 +76,12 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/gtk/${lib.versions.majorMinor version}/gtk-${version}.tar.xz";
sha256 = "RUVEGteeN3624KcFAm3HpGiG5GobA020CRKQnagBzqk=";
sha256 = "dyVABILgaF4oJl4ibGKEf05zz8qem0FqxYOCB/U3eiQ=";
};
patches = [
# https://github.com/NixOS/nixpkgs/pull/218143#issuecomment-1501059486
./patches/4.0-fix-darwin-build.patch
# Fix deleting in Nautilus (part of 4.10.4)
# https://gitlab.gnome.org/GNOME/nautilus/-/issues/2945
(fetchpatch2 {
url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/4f47683710bbb4b56c286c6ee6a5c394fcf2b755.patch";
sha256 = "fU9SX8MH37ZN6Ffk/YhYmipTC7+uT9JXnWggArWNkqA=";
})
# Fix border/artifact appearing in applications (part of 4.10.4)
# https://gitlab.gnome.org/GNOME/mutter/-/issues/2805
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6696
(fetchpatch2 {
url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/b686ce1cb62dba505120e0f1116c516662a06e30.patch";
sha256 = "0zjY5s+T4CVe3WiowgWE58ruVvqBFUuY2juwBOzMRN4=";
})
];
depsBuildBuild = [