nixpkgs/pkgs/desktops/gnome-3/apps/bijiben/no-update-icon-cache.patch
2017-11-26 03:10:50 +01:00

22 lines
828 B
Diff

--- a/meson_post_install.py
+++ b/meson_post_install.py
@@ -7,10 +7,6 @@
if not os.environ.get('DESTDIR'):
datadir = sys.argv[1]
- icondir = os.path.join(datadir, 'icons', 'hicolor')
- print('Update icon cache...')
- subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
-
schemadir = os.path.join(datadir, 'glib-2.0', 'schemas')
print('Compile gsettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir])
@@ -18,8 +14,3 @@
desktop_file = os.path.join(datadir, 'applications', 'org.gnome.bijiben.desktop')
print('Validate desktop file...')
subprocess.call(['desktop-file-validate', desktop_file])
-
- if sys.argv[2] == 'update-mimedb':
- mimedir = os.path.join(datadir, 'mime')
- print('Update mime database...')
- subprocess.call(['update-mime-database', mimedir])