# HG changeset patch # User Carnë Draug # Date 1425468587 0 # Node ID 371aa9261b1a87a8760262480e8fbb34f5aff69a # Parent 0e0a3bbe142fd63fd852bb3a4dbe8f2cac949f37 Do not rebuild MIME database during install (backout 737b5d449aaf) (bug #44404) * etc/icons/Makefile.am: the desktop file being installed have MIME type information which means that the MIME types application database must be rebuilt after install. However, this means that we also need to take care of it during uninstall and this is causing 'make distcheck' to fail (bug #44404). The freedesktop.org recommendation seems to be that this should be left to downstream packagers and that it is reasonable to expect that users know about rebuilding this database themselves (just like ldconfig). So do a partial backout of 737b5d449aaf, leave the MIMEType line and leave the update of MIME cache up to the user. diff -r 0e0a3bbe142f -r 371aa9261b1a etc/icons/Makefile.am --- a/etc/icons/Makefile.am Tue Mar 03 10:40:36 2015 -0800 +++ b/etc/icons/Makefile.am Wed Mar 04 11:29:47 2015 +0000 @@ -79,7 +79,7 @@ install-data-local: -if test -n "$(DESKTOP_FILE_INSTALL)"; then \ $(DESKTOP_FILE_INSTALL) --dir=$(DESTDIR)$(datadir)/applications \ - --rebuild-mime-info-cache --vendor $(VENDOR) octave.desktop; \ + --vendor $(VENDOR) octave.desktop; \ fi for f in $(BUILT_PNG_ICONS); do \ size=`echo $$f | $(SED) -n -e "s/.*-\([0-9]\+\)\.png/\1/p"`; \