Hi, With this patchl, done is two post-installation procedures for GTK+ GUI. The target `make install` updates `$datadir/share/icons/hicolor/icon-theme.cache` and `$datadir/share/applications/mimeinfo.cache` in accordance with `gvim.png`, `vim.desktop` and `gvim.desktop`.
Since these caches are used to display the icon and launch (g)vim via other applications, it would be better to update them immediately after vim is installed, not waiting for a next boot or an update by a background program that regularly updates the caches. By default, the proposed patch provides the build system with the behavior described above. I think this is useful for most of the users. Each update is done only if the relevant file is actually installed; otherwise, neither update nor creation takes place. For those who don't want the automatic update, two new configure options * --disable-icon-cache-update * --disable-desktop-database-update are given (The name should be self-explanatory). In addition, if `DESTDIR` is a non-zero length string, the automatic update is cancelled. This behavior would be useful for packagers. This patch is relevant to the discussion in Issue #611. Best regards, Kazunobu Kuriyama -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
cache-update.patch
Description: Binary data
