patch 7.4.904
Problem: Vim does not provide .desktop files.
Solution: Include and install .desktop files. (James McCoy, closes #455)
diff --git a/Filelist b/Filelist
index 2440a0c..71d75cb 100644
--- a/Filelist
+++ b/Filelist
@@ -584,6 +584,8 @@
runtime/vim32x32.xpm \
runtime/vim48x48.png \
runtime/vim48x48.xpm \
+ runtime/gvim.desktop \
+ runtime/vim.desktop \
# Unix and DOS runtime without CR-LF translation
RT_UNIX_DOS_BIN = \
diff --git a/src/Makefile b/src/Makefile
index 03cf2d9..60d26c0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1905,10 +1905,12 @@
test_autocmd_option \
test_autoformat_join \
test_breakindent \
+ test_cdo \
test_changelist \
test_charsearch \
test_close_count \
test_command_count \
+ test_comparators \
test_erasebackword \
test_eval \
test_fixeol \
@@ -2225,7 +2227,8 @@
-a ! -f $(ICON16PATH)/gvim.png; then \
$(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
fi
-
+ $(INSTALL_DATA) $(SCRIPTSOURCE)/vim.desktop $(SCRIPTSOURCE)/gvim.desktop \
+ $(DESTDIR)$(DATADIR)/applications
$(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
@echo Runtime files not found.
diff --git a/src/version.c b/src/version.c
index d6fc7d4..b818813 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 904,
+/**/
903,
/**/
902,