gnome.zenity: 3.43.0 → 3.44.0
We have not been installing icons since the Meson switch but now it caused the updated post-install script to crash: gtk-update-icon-cache: Failed to open file /nix/store/czzwa7n5yg12gvmq0xg9l9d9s1ja4280-zenity-3.44.0/share/icons/hicolor/.icon-theme.cache : No such file or directory https://gitlab.gnome.org/GNOME/zenity/-/compare/3.43.0...3.44.0 Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
864ebd79e2
commit
094f3726d9
|
@ -15,13 +15,17 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zenity";
|
||||
version = "3.43.0";
|
||||
version = "3.44.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sNfKHgwYaPoY8FwhAmDYp74fCO4Tt/XP26ubYfoW+DM=";
|
||||
sha256 = "wVWCMB7ZC51CzlIdvM+ZqYnyLxIEG91SecZjbamev2U=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./fix-icon-install.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
|
|
12
pkgs/desktops/gnome/core/zenity/fix-icon-install.patch
Normal file
12
pkgs/desktops/gnome/core/zenity/fix-icon-install.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/data/meson.build b/data/meson.build
|
||||
index 339b3cff..aca65efd 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -9,5 +9,6 @@ install_data(
|
||||
'zenity-text.png',
|
||||
'zenity-scale.png',
|
||||
'zenity-entry.png',
|
||||
- 'zenity-notification.png']
|
||||
+ 'zenity-notification.png'],
|
||||
+ install_dir: zenity_prefix / get_option('datadir') / 'icons/hicolor/48x48/apps',
|
||||
)
|
Loading…
Reference in a new issue