summaryrefslogtreecommitdiff
path: root/app-vim/tlib
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/tlib')
-rw-r--r--app-vim/tlib/Manifest3
-rw-r--r--app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch29
-rw-r--r--app-vim/tlib/tlib-1.27.ebuild30
3 files changed, 62 insertions, 0 deletions
diff --git a/app-vim/tlib/Manifest b/app-vim/tlib/Manifest
index f159e3248642..4e6ae077cf66 100644
--- a/app-vim/tlib/Manifest
+++ b/app-vim/tlib/Manifest
@@ -1,5 +1,8 @@
+AUX tlib-1.27-fix-error-E1208-vim-8.2.3141.patch 1112 BLAKE2B 66456c43d0b840ec0bbec69404ac209ec5475274571ba0fda0a1e32af71677c860daa81dc9a775f7c1ccbfc8012e6119441da114d1bd38f1db6a351055d84f89 SHA512 7fec706e8a6b9b46e559236c6ba4f784411d078e21f634a8f84bec7df1c2d8e670cdb9330230f63879c3ee71ab05d2324055e55a26520e2428f284f40369021a
DIST tlib-1.22.tar.gz 119979 BLAKE2B 2fe1231b6a075989c41aa2cf38d0964b6d9ada390d0729ea417aa1c2ef1a105a07d569f80c75ba91a55f7e68f349faab2dcda66741b0b1da59f76d68a5467e24 SHA512 b7fc7e3741876c92bbccc116d4e170663e3d178aa8fb546f969475723cd82e07d9470af37574f8f97cfd23b8ca8f5dd5daa2e7bef50e2f62beec0015a2355908
DIST tlib-1.23.tar.gz 120827 BLAKE2B 7b86a1b0e22e499390239e5898d81c90ac1b3b989b929e3bde3ea516d05419fc8af19e72d5313df36ce856a4c7ee2cddbdbecbace835f24adefb1883d4e76e46 SHA512 5fd5d6e6ccd36117abcfca35173d28602a73b0773e5fc77cb8c1c8660f13dd7882c8a8de9b4335927b807c7d643c480f1371926b4ffb1758e53948132dee1d75
+DIST tlib-1.27.tar.gz 124891 BLAKE2B d8d79d1d7bc71e38d2315ab30df414521122cae8c8dfe2e43c8e87bad30685703e09a905d97a00cc2ef01a51369acfde75c37290d971a72d40ec61bce8f1fe31 SHA512 c7037a4aaa4bbb1fede9baea45644a8d1575c5813bc387a293856d8acbe2929cb641d317a4323b295dcc1c0e05091984e6b6eb9a3968503c4cde53580baf994d
EBUILD tlib-1.22.ebuild 585 BLAKE2B b5d087fe5ea43d086e303462e0ed22b813799288b63ce97c6839a59f834ff769f45f2344144fb858125e28f4065c7596a7be881eb5fd2874b4990e9b6a82911f SHA512 71ed5d14775b3b39dd858c91f18c75e23bbc2f22f2b5f2fde18ef8a10d20a38890c02e15d0a8044a5c4e779e40012ef7ce43937c22a06f16ba486a7545cba733
EBUILD tlib-1.23.ebuild 594 BLAKE2B b7b0952a34889833f147814fd3797c1666be3489d87d29cc3872f5c41dd0b246229987dd7cd176047fdfce747b6804d7485080c17f934986377b5ddc12cc3884 SHA512 8e9591d02a2cbc93e0a85cea2fef1903996d809d872dd7488450bab03b4d16cfdf045d67fb5516f9609bc71bdae55cc188b7f7a169919106ccb89182c844199c
+EBUILD tlib-1.27.ebuild 664 BLAKE2B 7e1dc96135703bdf19a9fee8d505712cf7a681c0266f81940119a8ee5e71b5c2ea3d38f3313d518279c0ed64d251c78b0452ee897643fa5cebdb0d7aeeeea34e SHA512 084eed573d567e7cd16868f911831c546e44cd7a857a21f0b9cf82dcce655ceddc74870718d5893eb34fffb78db01335338ec51b2e06177f6f33ee29c187ad27
MISC metadata.xml 330 BLAKE2B 5bc04c4d654f684a4cbc8ab22e825d2704cf62226422deac9f32cb237f78c9b423e671f38df890ddf16e40e6c8228d5a0d29fd1207ac66daf5c1afde2162e947 SHA512 88a742c784330c95d95acd8043847f9f863c89c644de81439a12beaf06afe5e91a974d3ff2426d27d1b837271efe1f56029416fc5e84979927475cfac6612f7c
diff --git a/app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch b/app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch
new file mode 100644
index 000000000000..d52314fd6987
--- /dev/null
+++ b/app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch
@@ -0,0 +1,29 @@
+https://github.com/tomtom/tlib_vim/commit/b5f9f6c83ade9b5640580bf9792a332dd453dfd0
+https://bugs.gentoo.org/828429
+
+From: Laurent Stacul <laurent.stacul@gmail.com>
+Date: Mon, 12 Jul 2021 15:51:16 +0200
+Subject: [PATCH] Fix error E1208 raised by vim >=8.2.3141
+
+Starting vim 8.2.3141 with the tlib_vim plugin will raised the following
+error message at startup:
+
+ Error detected while processing .vim/pack/stac/start/tlib_vim/plugin/02tlib.vim:
+ line 77: E1208: -complete used without -nargsPress ENTER or type command to continue
+
+The reason is the following change in vim:
+
+ https://github.com/vim/vim/commit/de69a7353e9bec552e15dbe3706a9f4e88080fce
+
+Which forbid the com[mand] command with -nargs=0 and -complete options.
+--- a/plugin/02tlib.vim
++++ b/plugin/02tlib.vim
+@@ -74,7 +74,7 @@ command! -nargs=1 -complete=command TBrowseOutput call tlib#cmd#BrowseOutput(<q-
+ "
+ " EXAMPLES: >
+ " TBrowseScriptnames
+-command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
++command! -nargs=0 TBrowseScriptnames call tlib#cmd#TBrowseScriptnames()
+
+
+ " :display: :Texecqfl CMD
diff --git a/app-vim/tlib/tlib-1.27.ebuild b/app-vim/tlib/tlib-1.27.ebuild
new file mode 100644
index 000000000000..aac06503bc74
--- /dev/null
+++ b/app-vim/tlib/tlib-1.27.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vim-plugin
+
+MY_PN=${PN}_vim
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="vim plugin: a library of utility functions"
+HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=1863 https://github.com/tomtom/tlib_vim"
+SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+DOCS=( README CHANGES.TXT )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-error-E1208-vim-8.2.3141.patch
+)
+
+src_prepare() {
+ default
+ rm -r test samples || die
+}