Skip to content

Commit

Permalink
gtk3: 3.24.21 -> 3.24.23
Browse files Browse the repository at this point in the history
Use xmllint in docs generation. Remove an old patch. Remove an old
postPatch workaround.
  • Loading branch information
doronbehar authored and jtojnar committed Oct 11, 2020
1 parent 5291cb5 commit 6426754
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions pkgs/development/libraries/gtk/3.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
, epoxy
, json-glib
, libxkbcommon
, libxml2
, gmp
, gnome3
, gsettings-desktop-schemas
Expand All @@ -48,7 +49,7 @@ with stdenv.lib;

stdenv.mkDerivation rec {
pname = "gtk+3";
version = "3.24.21";
version = "3.24.23";

outputs = [ "out" "dev" ] ++ optional withGtkDoc "devdoc";
outputBin = "dev";
Expand All @@ -60,7 +61,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
sha256 = "0llgq2adzn9p3bfq9rv2dhscmvzs35jp3glrfvy3vs1mrpknmsmf";
sha256 = "1cg2vbwbcp7bc84ky0b69ipgdr9djhspnf5k8lajb8jphcj4v1jx";
};

patches = [
Expand All @@ -71,8 +72,8 @@ stdenv.mkDerivation rec {
sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p";
})

# Fix path handling in pkg-config
# https://gitlab.gnome.org/GNOME/gtk/merge_requests/1793
# Fix path handling in pkg-config. MR for the gtk-3-24 branch:
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2605
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtk/commit/6d9db8610eff8c12d594d53b7813d9eea1247801.patch";
sha256 = "0rd1kjh0m4mrj2hkcqlsq1j0d6ahn5c237fd211r158gd1jiwys0";
Expand All @@ -97,11 +98,6 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS";

postPatch = ''
# TODO: Remove in 3.24.21
# https://gitlab.gnome.org/GNOME/gtk/issues/2669
echo "${stdenv.shell}" > check-version.py
chmod +x check-version.py
files=(
build-aux/meson/post-install.py
demos/gtk-demo/geninclude.py
Expand Down Expand Up @@ -130,6 +126,8 @@ stdenv.mkDerivation rec {
docbook_xml_dtd_43
docbook_xsl
gtk-doc
# For xmllint
libxml2
];

buildInputs = [
Expand Down

0 comments on commit 6426754

Please sign in to comment.