Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim/
Date: Wed, 01 Dec 2021 17:07:21
Message-Id: 1638378415.fc72192754c8a1ff9014fd739a2d07056b25ed1e.sam@gentoo
1 commit: fc72192754c8a1ff9014fd739a2d07056b25ed1e
2 Author: Dongsu Park <dpark <AT> linux <DOT> microsoft <DOT> com>
3 AuthorDate: Mon Nov 29 15:59:03 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 1 17:06:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc721927
7
8 app-editors/vim: remove warning due to missing defaults.vim
9
10 vim >= 8.2.3428 prints out a warning on missing file, when
11 it is built with USE="minimal" and `app-editors/vim-core` is not
12 installed.
13
14 ```
15 $ vim
16 E1187: Failed to source defaults.vim
17 Press ENTER or type command to continue
18 ```
19
20 To remove warning, explicitly install /usr/share/vim/vim82/defaults.vim.
21
22 Closes: https://bugs.gentoo.org/820356
23 Signed-off-by: Dongsu Park <dpark <AT> linux.microsoft.com>
24 Signed-off-by: Sam James <sam <AT> gentoo.org>
25
26 app-editors/vim/vim-8.2.0814-r100.ebuild | 6 ++++++
27 app-editors/vim/vim-8.2.3428-r1.ebuild | 6 ++++++
28 app-editors/vim/vim-8.2.3567.ebuild | 6 ++++++
29 app-editors/vim/vim-8.2.3582.ebuild | 6 ++++++
30 app-editors/vim/vim-9999.ebuild | 6 ++++++
31 5 files changed, 30 insertions(+)
32
33 diff --git a/app-editors/vim/vim-8.2.0814-r100.ebuild b/app-editors/vim/vim-8.2.0814-r100.ebuild
34 index edd131772b0f..0f20c926a800 100644
35 --- a/app-editors/vim/vim-8.2.0814-r100.ebuild
36 +++ b/app-editors/vim/vim-8.2.0814-r100.ebuild
37 @@ -304,6 +304,12 @@ src_install() {
38 fperms a+x ${vimfiles}/macros/manpager.sh
39 fi
40
41 + # Fix an issue of missing defaults.vim when USE=minimal.
42 + if use minimal ; then
43 + insinto ${vimfiles}
44 + doins runtime/defaults.vim
45 + fi
46 +
47 domenu runtime/vim.desktop
48
49 newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
50
51 diff --git a/app-editors/vim/vim-8.2.3428-r1.ebuild b/app-editors/vim/vim-8.2.3428-r1.ebuild
52 index d38b89a8bb5a..6a4b59f53ef1 100644
53 --- a/app-editors/vim/vim-8.2.3428-r1.ebuild
54 +++ b/app-editors/vim/vim-8.2.3428-r1.ebuild
55 @@ -316,6 +316,12 @@ src_install() {
56 fperms a+x ${vimfiles}/macros/manpager.sh
57 fi
58
59 + # Fix an issue of missing defaults.vim when USE=minimal.
60 + if use minimal ; then
61 + insinto ${vimfiles}
62 + doins runtime/defaults.vim
63 + fi
64 +
65 domenu runtime/vim.desktop
66
67 newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
68
69 diff --git a/app-editors/vim/vim-8.2.3567.ebuild b/app-editors/vim/vim-8.2.3567.ebuild
70 index bdfd543c08a4..3ce917bf8851 100644
71 --- a/app-editors/vim/vim-8.2.3567.ebuild
72 +++ b/app-editors/vim/vim-8.2.3567.ebuild
73 @@ -318,6 +318,12 @@ src_install() {
74 fperms a+x ${vimfiles}/macros/manpager.sh
75 fi
76
77 + # Fix an issue of missing defaults.vim when USE=minimal.
78 + if use minimal ; then
79 + insinto ${vimfiles}
80 + doins runtime/defaults.vim
81 + fi
82 +
83 domenu runtime/vim.desktop
84
85 newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
86
87 diff --git a/app-editors/vim/vim-8.2.3582.ebuild b/app-editors/vim/vim-8.2.3582.ebuild
88 index 84b805495f27..cf406ca4b069 100644
89 --- a/app-editors/vim/vim-8.2.3582.ebuild
90 +++ b/app-editors/vim/vim-8.2.3582.ebuild
91 @@ -318,6 +318,12 @@ src_install() {
92 fperms a+x ${vimfiles}/macros/manpager.sh
93 fi
94
95 + # Fix an issue of missing defaults.vim when USE=minimal.
96 + if use minimal ; then
97 + insinto ${vimfiles}
98 + doins runtime/defaults.vim
99 + fi
100 +
101 domenu runtime/vim.desktop
102
103 newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
104
105 diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
106 index bdfd543c08a4..3ce917bf8851 100644
107 --- a/app-editors/vim/vim-9999.ebuild
108 +++ b/app-editors/vim/vim-9999.ebuild
109 @@ -318,6 +318,12 @@ src_install() {
110 fperms a+x ${vimfiles}/macros/manpager.sh
111 fi
112
113 + # Fix an issue of missing defaults.vim when USE=minimal.
114 + if use minimal ; then
115 + insinto ${vimfiles}
116 + doins runtime/defaults.vim
117 + fi
118 +
119 domenu runtime/vim.desktop
120
121 newbashcomp "${FILESDIR}"/${PN}-completion ${PN}