void-packages/srcpkgs/virt-manager/patches/disable-compile-schemas-update-icon-cache.patch
2022-04-07 13:30:28 +02:00

20 lines
795 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -264,17 +264,6 @@ class my_install(setuptools.command.install.install):
setuptools.command.install.install.finalize_options(self)
def run(self):
- if not self.distribution.no_update_icon_cache:
- print("running gtk-update-icon-cache")
- icon_path = os.path.join(self.install_data, "share/icons/hicolor")
- self.spawn(["gtk-update-icon-cache", "-q", "-t", icon_path])
-
- if not self.distribution.no_compile_schemas:
- print("compiling gsettings schemas")
- gschema_install = os.path.join(self.install_data,
- "share/glib-2.0/schemas")
- self.spawn(["glib-compile-schemas", gschema_install])
-
setuptools.command.install.install.run(self)