Skip to content

Commit 6407b3e

Browse files
committed
patch 7.4.904
Problem: Vim does not provide .desktop files. Solution: Include and install .desktop files. (James McCoy, closes #455)
1 parent d7464be commit 6407b3e

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

Filelist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,8 @@ RT_UNIX = \
584584
runtime/vim32x32.xpm \
585585
runtime/vim48x48.png \
586586
runtime/vim48x48.xpm \
587+
runtime/gvim.desktop \
588+
runtime/vim.desktop \
587589

588590
# Unix and DOS runtime without CR-LF translation
589591
RT_UNIX_DOS_BIN = \

src/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,10 +1905,12 @@ test1 \
19051905
test_autocmd_option \
19061906
test_autoformat_join \
19071907
test_breakindent \
1908+
test_cdo \
19081909
test_changelist \
19091910
test_charsearch \
19101911
test_close_count \
19111912
test_command_count \
1913+
test_comparators \
19121914
test_erasebackword \
19131915
test_eval \
19141916
test_fixeol \
@@ -2225,7 +2227,8 @@ install-icons:
22252227
-a ! -f $(ICON16PATH)/gvim.png; then \
22262228
$(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
22272229
fi
2228-
2230+
$(INSTALL_DATA) $(SCRIPTSOURCE)/vim.desktop $(SCRIPTSOURCE)/gvim.desktop \
2231+
$(DESTDIR)$(DATADIR)/applications
22292232

22302233
$(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
22312234
@echo Runtime files not found.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
904,
744746
/**/
745747
903,
746748
/**/

0 commit comments

Comments
 (0)