From bf190d49455ee1e8e4a1f87700017a940cd39248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Tue, 14 Jun 2022 17:30:39 -0300 Subject: [PATCH] mojave-gtk-theme: 2022-05-12 -> 2022-06-07 (#177337) --- pkgs/data/themes/mojave/default.nix | 12 +++++++++--- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/data/themes/mojave/default.nix b/pkgs/data/themes/mojave/default.nix index e8e98ab0ebfe..4fc9b0ab8c02 100644 --- a/pkgs/data/themes/mojave/default.nix +++ b/pkgs/data/themes/mojave/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , fetchurl , glib +, gnome-shell , gtk-engine-murrine , gtk_engines , inkscape @@ -30,14 +31,14 @@ lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink stdenv.mkDerivation rec { inherit pname; - version = "2022-05-12"; + version = "2022-06-07"; srcs = [ (fetchFromGitHub { owner = "vinceliuice"; repo = pname; rev = version; - sha256 = "sha256-VrrxW16J+S21qBoAeVCWs0Q6bRL1jXAK7MOBpdSMJZY="; + sha256 = "sha256-OEqB2PSZ5KoxXAUhlyT1PRUzckVz+jTCIoAqP8gVqTk="; }) ] ++ @@ -52,6 +53,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ glib + gnome-shell inkscape jdupes optipng @@ -72,7 +74,10 @@ stdenv.mkDerivation rec { dontRewriteSymlinks = true; postPatch = '' - patchShebangs . + patchShebangs \ + install.sh \ + src/main/gtk-3.0/make_gresource_xml.sh \ + src/main/gtk-4.0/make_gresource_xml.sh for f in \ render-assets.sh \ @@ -87,6 +92,7 @@ stdenv.mkDerivation rec { src/assets/metacity-1/render-assets.sh \ src/assets/xfwm4/render-assets.sh do + patchShebangs $f substituteInPlace $f \ --replace /usr/bin/inkscape ${inkscape}/bin/inkscape \ --replace /usr/bin/optipng ${optipng}/bin/optipng diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 42e925b1e30d..618c7c1fcc24 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24667,7 +24667,9 @@ with pkgs; mobile-broadband-provider-info = callPackage ../data/misc/mobile-broadband-provider-info { }; - mojave-gtk-theme = callPackage ../data/themes/mojave { }; + mojave-gtk-theme = callPackage ../data/themes/mojave { + inherit (gnome) gnome-shell; + }; moka-icon-theme = callPackage ../data/icons/moka-icon-theme { };