From eb633be7a20e56170f7bccad804385314c0cb50f Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Thu, 4 Aug 2005 22:26:50 +0000 Subject: Fix variable names for vim7, bug #97350. Package-Manager: portage-2.0.51.22-r2 --- app-vim/vimbuddy/ChangeLog | 8 ++- app-vim/vimbuddy/Manifest | 7 ++- app-vim/vimbuddy/files/digest-vimbuddy-0.9.1-r1 | 1 + .../files/vimbuddy-0.9.1-colon-problems.patch | 66 ++++++++++++++++++++++ app-vim/vimbuddy/vimbuddy-0.9.1-r1.ebuild | 20 +++++++ 5 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 app-vim/vimbuddy/files/digest-vimbuddy-0.9.1-r1 create mode 100644 app-vim/vimbuddy/files/vimbuddy-0.9.1-colon-problems.patch create mode 100644 app-vim/vimbuddy/vimbuddy-0.9.1-r1.ebuild (limited to 'app-vim') diff --git a/app-vim/vimbuddy/ChangeLog b/app-vim/vimbuddy/ChangeLog index a09785336349..37aa44f928e8 100644 --- a/app-vim/vimbuddy/ChangeLog +++ b/app-vim/vimbuddy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-vim/vimbuddy # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/vimbuddy/ChangeLog,v 1.4 2005/06/02 06:47:34 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/vimbuddy/ChangeLog,v 1.5 2005/08/04 22:26:50 ciaranm Exp $ + +*vimbuddy-0.9.1-r1 (04 Aug 2005) + + 04 Aug 2005; Ciaran McCreesh + +files/vimbuddy-0.9.1-colon-problems.patch, +vimbuddy-0.9.1-r1.ebuild: + Fix variable names for vim7, bug #97350. 02 Jun 2005; Stephanie Lockwood-Childs vimbuddy-0.9.1.ebuild: diff --git a/app-vim/vimbuddy/Manifest b/app-vim/vimbuddy/Manifest index e886738f1b6e..568eea9103c1 100644 --- a/app-vim/vimbuddy/Manifest +++ b/app-vim/vimbuddy/Manifest @@ -1,4 +1,7 @@ -MD5 aee8d860eef7846620be19f962805580 ChangeLog 645 -MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 +MD5 4644a633871c1a68e5eb769241a82ea6 vimbuddy-0.9.1-r1.ebuild 615 MD5 c5deab7cf5854de010da749f7ef7be37 vimbuddy-0.9.1.ebuild 507 +MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 +MD5 ec19057844ad431bda71fd481918850f ChangeLog 850 MD5 9c0337695e108d207088b8d12847ebb0 files/digest-vimbuddy-0.9.1 65 +MD5 e0d33a1c6b2e25c864687ce3b04fc2bc files/vimbuddy-0.9.1-colon-problems.patch 2227 +MD5 9c0337695e108d207088b8d12847ebb0 files/digest-vimbuddy-0.9.1-r1 65 diff --git a/app-vim/vimbuddy/files/digest-vimbuddy-0.9.1-r1 b/app-vim/vimbuddy/files/digest-vimbuddy-0.9.1-r1 new file mode 100644 index 000000000000..7b3c2cd8ffdb --- /dev/null +++ b/app-vim/vimbuddy/files/digest-vimbuddy-0.9.1-r1 @@ -0,0 +1 @@ +MD5 8a8f47ec42661bc76663bb615ebe0809 vimbuddy-0.9.1.tar.bz2 1022 diff --git a/app-vim/vimbuddy/files/vimbuddy-0.9.1-colon-problems.patch b/app-vim/vimbuddy/files/vimbuddy-0.9.1-colon-problems.patch new file mode 100644 index 000000000000..9356f57830a2 --- /dev/null +++ b/app-vim/vimbuddy/files/vimbuddy-0.9.1-colon-problems.patch @@ -0,0 +1,66 @@ +--- plugin/vimbuddy.vim 2005-08-04 23:13:22.000000000 +0100 ++++ plugin/vimbuddy.vim 2005-08-04 23:14:31.000000000 +0100 +@@ -8,33 +8,33 @@ + + function! VimBuddy() + " Take a copy for others to see the messages +- if ! exists("g:vimbuddy:msg") +- let g:vimbuddy:msg = v:statusmsg ++ if ! exists("g:vimbuddy_msg") ++ let g:vimbuddy_msg = v:statusmsg + endif +- if ! exists("g:vimbuddy:warn") +- let g:vimbuddy:warn = v:warningmsg ++ if ! exists("g:vimbuddy_warn") ++ let g:vimbuddy_warn = v:warningmsg + endif +- if ! exists("g:vimbuddy:err") +- let g:vimbuddy:err = v:errmsg ++ if ! exists("g:vimbuddy_err") ++ let g:vimbuddy_err = v:errmsg + endif +- if ! exists("g:vimbuddy:onemore") +- let g:vimbuddy:onemore = "" ++ if ! exists("g:vimbuddy_onemore") ++ let g:vimbuddy_onemore = "" + endif + + if ( exists("g:actual_curbuf") && (g:actual_curbuf != bufnr("%"))) + " Not my buffer, sleeping + return "|-o" +- elseif g:vimbuddy:err != v:errmsg ++ elseif g:vimbuddy_err != v:errmsg + let v:errmsg = v:errmsg . " " +- let g:vimbuddy:err = v:errmsg ++ let g:vimbuddy_err = v:errmsg + return ":-(" +- elseif g:vimbuddy:warn != v:warningmsg ++ elseif g:vimbuddy_warn != v:warningmsg + let v:warningmsg = v:warningmsg . " " +- let g:vimbuddy:warn = v:warningmsg ++ let g:vimbuddy_warn = v:warningmsg + return "(-:" +- elseif g:vimbuddy:msg != v:statusmsg ++ elseif g:vimbuddy_msg != v:statusmsg + let v:statusmsg = v:statusmsg . " " +- let g:vimbuddy:msg = v:statusmsg ++ let g:vimbuddy_msg = v:statusmsg + let test = matchstr(v:statusmsg, 'lines *$') + let num = substitute(v:statusmsg, '^\([0-9]*\).*', '\1', '') + 0 + " How impressed should we be +@@ -45,11 +45,11 @@ + else + let str = ":-/" + endif +- let g:vimbuddy:onemore = str ++ let g:vimbuddy_onemore = str + return str +- elseif g:vimbuddy:onemore != "" +- let str = g:vimbuddy:onemore +- let g:vimbuddy:onemore = "" ++ elseif g:vimbuddy_onemore != "" ++ let str = g:vimbuddy_onemore ++ let g:vimbuddy_onemore = "" + return str + endif + diff --git a/app-vim/vimbuddy/vimbuddy-0.9.1-r1.ebuild b/app-vim/vimbuddy/vimbuddy-0.9.1-r1.ebuild new file mode 100644 index 000000000000..2e1f5570badb --- /dev/null +++ b/app-vim/vimbuddy/vimbuddy-0.9.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/vimbuddy/vimbuddy-0.9.1-r1.ebuild,v 1.1 2005/08/04 22:26:50 ciaranm Exp $ + +inherit vim-plugin eutils + +DESCRIPTION="vim plugin: vimbuddy for the status line" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=8" +LICENSE="as-is" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +VIM_PLUGIN_HELPURI="http://www.vim.org/scripts/script.php?script_id=8" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch ${FILESDIR}/${P}-colon-problems.patch +} + -- cgit v1.2.3-65-gdbad