public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/
Date: Wed,  1 Dec 2021 17:07:06 +0000 (UTC)	[thread overview]
Message-ID: <1638378416.74eaf6b7cbab24337eae5c07d42871aeb21a330e.sam@gentoo> (raw)

commit:     74eaf6b7cbab24337eae5c07d42871aeb21a330e
Author:     Dongsu Park <dpark <AT> linux <DOT> microsoft <DOT> com>
AuthorDate: Wed Dec  1 16:40:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec  1 17:06:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74eaf6b7

app-editors/vim-core: delete configs that conflict with vim[minimal]

Delete skip_defaults_vim config options from /etc/vimrc, to avoid
conflicts with vim[minimal].
Delete /usr/share/vim/vim82/defaults.vim, to avoid conflicts with
vim[minimal].

Signed-off-by: Dongsu Park <dpark <AT> linux.microsoft.com>
Closes: https://github.com/gentoo/gentoo/pull/23115
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/vim-core/vim-core-8.2.0814.ebuild | 6 ++++++
 app-editors/vim-core/vim-core-8.2.3428.ebuild | 6 ++++++
 app-editors/vim-core/vim-core-8.2.3567.ebuild | 6 ++++++
 app-editors/vim-core/vim-core-8.2.3582.ebuild | 6 ++++++
 app-editors/vim-core/vim-core-9999.ebuild     | 6 ++++++
 5 files changed, 30 insertions(+)

diff --git a/app-editors/vim-core/vim-core-8.2.0814.ebuild b/app-editors/vim-core/vim-core-8.2.0814.ebuild
index 7cccceadd8e4..5c1fb6f93cb3 100644
--- a/app-editors/vim-core/vim-core-8.2.0814.ebuild
+++ b/app-editors/vim-core/vim-core-8.2.0814.ebuild
@@ -191,6 +191,9 @@ src_install() {
 		rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
 		rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
 
+		# Delete defaults.vim to avoid conflicts with one from vim[minimal]
+		rm -v "${ED}${vimfiles}"/defaults.vim || die "rm failed"
+
 		local keep_colors="default"
 		ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
 
@@ -199,6 +202,9 @@ src_install() {
 		keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
 		ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
 
+		# Delete skip_defaults_vim config not supported by vim[minimal]
+		sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
+
 		eshopts_pop
 	fi
 

diff --git a/app-editors/vim-core/vim-core-8.2.3428.ebuild b/app-editors/vim-core/vim-core-8.2.3428.ebuild
index c52a926b699e..40e298a032ae 100644
--- a/app-editors/vim-core/vim-core-8.2.3428.ebuild
+++ b/app-editors/vim-core/vim-core-8.2.3428.ebuild
@@ -193,6 +193,9 @@ src_install() {
 		rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
 		rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
 
+		# Delete defaults.vim to avoid conflicts with one from vim[minimal]
+		rm -v "${ED}${vimfiles}"/defaults.vim || die "rm failed"
+
 		local keep_colors="default"
 		ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
 
@@ -201,6 +204,9 @@ src_install() {
 		keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
 		ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
 
+		# Delete skip_defaults_vim config not supported by vim[minimal]
+		sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
+
 		eshopts_pop
 	fi
 

diff --git a/app-editors/vim-core/vim-core-8.2.3567.ebuild b/app-editors/vim-core/vim-core-8.2.3567.ebuild
index 7e80dc2f16f9..a6ac59db33c3 100644
--- a/app-editors/vim-core/vim-core-8.2.3567.ebuild
+++ b/app-editors/vim-core/vim-core-8.2.3567.ebuild
@@ -193,6 +193,9 @@ src_install() {
 		rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
 		rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
 
+		# Delete defaults.vim to avoid conflicts with one from vim[minimal]
+		rm -v "${ED}${vimfiles}"/defaults.vim || die "rm failed"
+
 		local keep_colors="default"
 		ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
 
@@ -201,6 +204,9 @@ src_install() {
 		keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
 		ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
 
+		# Delete skip_defaults_vim config not supported by vim[minimal]
+		sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
+
 		eshopts_pop
 	fi
 

diff --git a/app-editors/vim-core/vim-core-8.2.3582.ebuild b/app-editors/vim-core/vim-core-8.2.3582.ebuild
index 8846e2787bfa..7c85269220f9 100644
--- a/app-editors/vim-core/vim-core-8.2.3582.ebuild
+++ b/app-editors/vim-core/vim-core-8.2.3582.ebuild
@@ -193,6 +193,9 @@ src_install() {
 		rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
 		rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
 
+		# Delete defaults.vim to avoid conflicts with one from vim[minimal]
+		rm -v "${ED}${vimfiles}"/defaults.vim || die "rm failed"
+
 		local keep_colors="default"
 		ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
 
@@ -201,6 +204,9 @@ src_install() {
 		keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
 		ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
 
+		# Delete skip_defaults_vim config not supported by vim[minimal]
+		sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
+
 		eshopts_pop
 	fi
 

diff --git a/app-editors/vim-core/vim-core-9999.ebuild b/app-editors/vim-core/vim-core-9999.ebuild
index 7e80dc2f16f9..a6ac59db33c3 100644
--- a/app-editors/vim-core/vim-core-9999.ebuild
+++ b/app-editors/vim-core/vim-core-9999.ebuild
@@ -193,6 +193,9 @@ src_install() {
 		rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
 		rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
 
+		# Delete defaults.vim to avoid conflicts with one from vim[minimal]
+		rm -v "${ED}${vimfiles}"/defaults.vim || die "rm failed"
+
 		local keep_colors="default"
 		ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
 
@@ -201,6 +204,9 @@ src_install() {
 		keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
 		ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
 
+		# Delete skip_defaults_vim config not supported by vim[minimal]
+		sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
+
 		eshopts_pop
 	fi
 


             reply	other threads:[~2021-12-01 17:07 UTC|newest]

Thread overview: 307+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 17:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30 14:59 [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/ Ionen Wolkens
2024-06-26 14:42 Ionen Wolkens
2024-06-26  5:45 Joonas Niilola
2024-06-26  5:45 Joonas Niilola
2024-06-07  8:43 Arthur Zamarin
2024-06-07  6:55 Arthur Zamarin
2024-06-07  5:14 Arthur Zamarin
2024-06-06 17:28 Arthur Zamarin
2024-06-06 17:09 Arthur Zamarin
2024-05-19 15:34 Mike Gilbert
2024-04-26 21:01 Sam James
2024-02-17 21:43 John Helmert III
2024-01-30  4:05 Ionen Wolkens
2024-01-15  8:33 Arthur Zamarin
2024-01-15  8:33 Arthur Zamarin
2024-01-15  8:33 Arthur Zamarin
2024-01-15  8:33 Arthur Zamarin
2023-12-29  9:25 Arthur Zamarin
2023-12-29  9:25 Arthur Zamarin
2023-12-29  9:25 Arthur Zamarin
2023-12-29  9:25 Arthur Zamarin
2023-12-29  9:25 Arthur Zamarin
2023-12-29  9:24 Arthur Zamarin
2023-12-29  9:24 Arthur Zamarin
2023-12-29  9:24 Arthur Zamarin
2023-12-15 16:50 Arthur Zamarin
2023-12-10 11:46 Arthur Zamarin
2023-12-10 11:46 Arthur Zamarin
2023-12-08 20:56 Arthur Zamarin
2023-12-08 20:56 Arthur Zamarin
2023-12-08 20:56 Arthur Zamarin
2023-12-08 20:56 Arthur Zamarin
2023-12-08 19:29 Arthur Zamarin
2023-12-08 19:29 Arthur Zamarin
2023-12-02 14:53 Arthur Zamarin
2023-12-02 14:53 Arthur Zamarin
2023-12-02 14:52 Arthur Zamarin
2023-12-02 14:52 Arthur Zamarin
2023-12-02 14:52 Arthur Zamarin
2023-12-02 14:52 Arthur Zamarin
2023-11-22 17:44 Sam James
2023-09-03 11:01 Joonas Niilola
2023-09-03 11:01 Joonas Niilola
2023-08-23  2:23 Mike Gilbert
2023-08-21 16:21 Mike Gilbert
2023-08-08  3:56 Sam James
2023-08-07  5:43 Sam James
2023-07-16  6:56 Joonas Niilola
2023-07-15  8:20 Arthur Zamarin
2023-06-21  7:04 Joonas Niilola
2023-06-13 18:59 Arthur Zamarin
2023-06-13 18:59 Arthur Zamarin
2023-06-13 18:59 Arthur Zamarin
2023-06-09  3:40 John Helmert III
2023-05-01  1:35 Sam James
2023-05-01  1:35 Sam James
2023-04-29 15:44 Arthur Zamarin
2023-04-29 15:44 Arthur Zamarin
2023-04-29 15:44 Arthur Zamarin
2023-04-29 15:44 Arthur Zamarin
2023-04-29 15:44 Arthur Zamarin
2023-04-29 15:44 Arthur Zamarin
2023-04-21  6:29 Joonas Niilola
2023-04-21  6:29 Joonas Niilola
2023-04-14  1:06 Sam James
2023-04-04 12:45 Joonas Niilola
2023-03-30 18:35 Arthur Zamarin
2023-03-22  1:20 Sam James
2023-03-04  7:18 Sam James
2023-02-28 16:28 Ben Kohler
2023-02-28 16:28 Ben Kohler
2023-02-28 14:10 Joonas Niilola
2023-02-26 19:21 Arthur Zamarin
2023-02-23 20:30 Arthur Zamarin
2023-02-23 20:30 Arthur Zamarin
2023-02-23 20:30 Arthur Zamarin
2023-02-23 20:30 Arthur Zamarin
2023-02-23 20:28 Arthur Zamarin
2023-02-23 20:28 Arthur Zamarin
2023-02-18  4:33 Sam James
2023-02-13  2:09 Sam James
2023-02-10  4:27 Sam James
2023-01-08  4:55 Sam James
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-18 20:24 Arthur Zamarin
2022-12-05  4:37 Sam James
2022-12-05  4:37 Sam James
2022-12-05  4:37 Sam James
2022-11-03  6:35 Sam James
2022-10-26 21:42 Mike Gilbert
2022-10-04 13:36 Sam James
2022-10-04 13:36 Sam James
2022-10-04 13:29 Sam James
2022-10-04 13:29 Sam James
2022-10-04 13:29 Sam James
2022-10-04 13:29 Sam James
2022-08-23  5:24 Sam James
2022-08-17  7:09 Agostino Sarubbo
2022-08-16 18:54 Arthur Zamarin
2022-08-16 18:54 Arthur Zamarin
2022-08-16 18:54 Arthur Zamarin
2022-08-16 18:54 Arthur Zamarin
2022-08-16 18:54 Arthur Zamarin
2022-08-16 18:51 Arthur Zamarin
2022-08-15  7:40 Agostino Sarubbo
2022-07-29 14:24 Mike Gilbert
2022-07-27 22:06 Sam James
2022-07-21 15:59 Matt Turner
2022-07-21 15:59 Matt Turner
2022-07-19 21:16 Mike Gilbert
2022-07-19 21:16 Mike Gilbert
2022-07-07 20:12 Matt Turner
2022-07-07 19:05 Matt Turner
2022-06-26 19:37 Matt Turner
2022-06-26 19:17 Arthur Zamarin
2022-06-09 21:17 Mike Gilbert
2022-06-08  7:10 Sam James
2022-06-08  7:09 Sam James
2022-06-03 11:21 Agostino Sarubbo
2022-06-03 11:20 Agostino Sarubbo
2022-06-03 11:19 Agostino Sarubbo
2022-06-03 11:18 Agostino Sarubbo
2022-06-03 11:18 Agostino Sarubbo
2022-06-03 11:17 Agostino Sarubbo
2022-06-03 11:16 Agostino Sarubbo
2022-05-19 13:36 Agostino Sarubbo
2022-05-19  9:29 Agostino Sarubbo
2022-05-05  9:51 WANG Xuerui
2022-05-05  7:10 WANG Xuerui
2022-03-21 23:42 Sam James
2022-03-20 18:18 Arthur Zamarin
2022-03-06  8:54 Agostino Sarubbo
2022-03-03 12:49 Agostino Sarubbo
2022-03-03  7:34 Agostino Sarubbo
2022-03-03  7:34 Agostino Sarubbo
2022-03-03  7:33 Agostino Sarubbo
2022-03-02 20:05 Patrice Clement
2022-03-02 19:54 John Helmert III
2022-03-02  9:06 Agostino Sarubbo
2022-03-02  6:52 Agostino Sarubbo
2022-03-02  6:51 Agostino Sarubbo
2022-03-02  6:50 Agostino Sarubbo
2022-03-02  6:49 Agostino Sarubbo
2022-02-18 17:56 Sam James
2022-02-18  4:57 Sam James
2022-02-18  3:07 Sam James
2022-02-09 11:39 Sam James
2022-02-09 11:29 Sam James
2022-01-15  7:28 Arthur Zamarin
2022-01-09  1:15 Sam James
2022-01-09  1:14 Sam James
2021-12-31 17:37 Arthur Zamarin
2021-12-22  0:48 Sam James
2021-12-19 22:09 Agostino Sarubbo
2021-12-19 19:21 Jakov Smolić
2021-12-17 12:00 Sam James
2021-12-17 10:41 Arthur Zamarin
2021-12-17  7:33 Arthur Zamarin
2021-12-16  2:34 Sam James
2021-12-08  6:23 Sam James
2021-12-08  6:21 Sam James
2021-12-04 19:29 Arthur Zamarin
2021-11-25  0:12 Sam James
2021-11-24 16:47 Sam James
2021-11-23 17:02 Sam James
2021-11-23 10:48 Sam James
2021-11-22 10:01 Sam James
2021-11-20 10:24 Arthur Zamarin
2021-11-19 15:05 Sam James
2021-11-19 15:05 Sam James
2021-11-19 15:05 Sam James
2021-11-13  3:09 Sam James
2021-11-06  1:33 Sam James
2021-11-03 19:24 Sam James
2021-11-02 14:52 Sam James
2021-10-29 18:30 Sam James
2021-10-29 13:02 Sam James
2021-10-29 13:02 Sam James
2021-10-29 12:32 Sam James
2021-10-03 21:18 Sam James
2021-10-03 21:18 Sam James
2021-09-23  1:07 Matt Turner
2021-03-26  8:50 Conrad Kostecki
2021-01-24  3:52 Sam James
2021-01-23  4:20 Sam James
2021-01-23  4:09 Sam James
2021-01-06 13:03 Fabian Groffen
2020-12-27 13:40 Fabian Groffen
2020-09-16 17:48 Sergei Trofimovich
2020-09-12  2:06 Sam James
2020-09-12  2:05 Sam James
2020-05-24 11:04 Mikle Kolyada
2020-04-25 15:14 Mikle Kolyada
2020-04-04 10:13 Mikle Kolyada
2020-04-04  8:11 Mikle Kolyada
2020-04-03  9:10 Mikle Kolyada
2020-04-03  9:01 Mikle Kolyada
2020-04-03  9:01 Mikle Kolyada
2020-04-03  9:01 Mikle Kolyada
2020-04-03  8:58 Mikle Kolyada
2020-04-03  8:53 Mikle Kolyada
2020-04-02 17:55 Sergei Trofimovich
2020-04-02  6:22 Georgy Yakovlev
2020-03-07  6:51 Mikle Kolyada
2020-02-05  5:14 Tim Harder
2020-01-13  1:45 Tim Harder
2020-01-02  9:37 Mikle Kolyada
2019-12-29 18:17 Mikle Kolyada
2019-08-14 23:59 Tim Harder
2019-07-29  8:13 Tim Harder
2019-07-28 10:42 Mikle Kolyada
2019-07-21 22:33 Aaron Bauman
2019-06-17  9:56 Mikle Kolyada
2019-06-15  9:24 Sergei Trofimovich
2019-06-14 15:01 Agostino Sarubbo
2019-06-14  9:26 Agostino Sarubbo
2019-06-14  9:18 Agostino Sarubbo
2019-06-13 20:02 Sergei Trofimovich
2019-06-13 15:10 Agostino Sarubbo
2019-06-13 14:16 Agostino Sarubbo
2019-06-13 12:21 Tobias Klausmann
2019-06-07  7:38 Tim Harder
2019-05-10  8:42 Tim Harder
2019-05-05 13:17 Mikle Kolyada
2019-04-12  6:16 Tim Harder
2019-04-10 22:03 Sergei Trofimovich
2019-04-08 18:04 Aaron Bauman
2019-04-06 15:31 Mikle Kolyada
2019-04-03  7:10 Mikle Kolyada
2019-04-02  9:48 Mikle Kolyada
2019-03-31 20:30 Sergei Trofimovich
2019-03-30 10:46 Agostino Sarubbo
2018-12-28 22:25 Tim Harder
2018-09-20  5:31 Tim Harder
2018-09-20  5:31 Tim Harder
2018-06-06  2:31 Tim Harder
2018-06-03 18:32 Mikle Kolyada
2018-04-12  5:45 Tim Harder
2018-04-12  5:45 Tim Harder
2018-03-25 22:38 Tim Harder
2018-03-11  5:11 Matt Turner
2018-03-03 14:17 Mart Raudsepp
2018-01-20 18:04 Tobias Klausmann
2018-01-07 20:53 Markus Meier
2018-01-05 10:58 Tim Harder
2017-12-27 11:50 Sergei Trofimovich
2017-12-26 10:45 Sergei Trofimovich
2017-12-25 18:29 Sergei Trofimovich
2017-12-23 19:53 Sergei Trofimovich
2017-12-20 13:40 Thomas Deutschmann
2017-12-20 13:09 Agostino Sarubbo
2017-11-15  3:57 Tim Harder
2017-11-15  3:57 Tim Harder
2017-10-24 21:37 Patrice Clement
2017-10-24 21:37 Patrice Clement
2017-10-23  8:14 Patrice Clement
2017-10-22 13:51 Patrice Clement
2017-10-13 21:39 Tim Harder
2017-09-05  6:39 Tim Harder
2017-08-31 13:46 Tim Harder
2017-08-22  3:58 Tim Harder
2017-08-14  5:39 Tim Harder
2017-06-06 17:42 Patrice Clement
2017-03-05  1:01 Jeroen Roovers
2017-03-04 14:02 Agostino Sarubbo
2017-03-04 13:46 Agostino Sarubbo
2017-03-03 19:14 Tobias Klausmann
2017-03-03  9:37 Michael Weber
2017-03-03  9:02 Agostino Sarubbo
2017-02-28  0:57 Tim Harder
2017-02-22 10:06 Michael Weber
2017-01-29 14:38 Fabian Groffen
2017-01-09 14:17 Jeroen Roovers
2016-12-17 15:31 Markus Meier
2016-12-02 14:21 Tobias Klausmann
2016-12-01 12:53 Agostino Sarubbo
2016-12-01 12:50 Agostino Sarubbo
2016-12-01  0:24 Tim Harder
2016-11-18 21:40 Mike Frysinger
2016-09-22  0:14 Jason Donenfeld
2016-09-15 15:33 Tim Harder
2016-09-15 15:33 Tim Harder
2016-09-15  4:33 Tim Harder
2016-07-26  4:23 Tim Harder
2016-05-08  2:53 Tim Harder
2016-05-08  2:48 Tim Harder
2016-03-17  2:10 Tim Harder
2016-02-29 19:44 Stephen Klimaszewski
2016-02-17  8:15 Ole Reifschneider
2016-02-01  5:05 Tim Harder
2016-02-01  5:05 Tim Harder
2016-01-25 21:02 Tim Harder
2016-01-14  1:39 Tim Harder
2015-09-06  6:23 Jeroen Roovers
2015-09-01 16:04 Markus Meier
2015-08-30 12:51 Tobias Klausmann
2015-08-27 10:13 Mikle Kolyada
2015-08-27  9:58 Agostino Sarubbo
2015-08-25  3:25 Tim Harder
2015-08-25  3:25 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1638378416.74eaf6b7cbab24337eae5c07d42871aeb21a330e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox