diff options
author | Tom Martin <slarti@gentoo.org> | 2005-06-22 13:58:06 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2005-06-22 13:58:06 +0000 |
commit | ce65b2e53b9d643a45af9696b17a930b5b0ff328 (patch) | |
tree | d65e6ec015cb18a7e01e603c1ad2797385dab6d3 /app-vim | |
parent | To ~sparc (diff) | |
download | gentoo-2-ce65b2e53b9d643a45af9696b17a930b5b0ff328.tar.gz gentoo-2-ce65b2e53b9d643a45af9696b17a930b5b0ff328.tar.bz2 gentoo-2-ce65b2e53b9d643a45af9696b17a930b5b0ff328.zip |
add a patch from ciaranm to fix .cc and .hh alternation.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-vim')
-rw-r--r-- | app-vim/alternate/ChangeLog | 9 | ||||
-rw-r--r-- | app-vim/alternate/Manifest | 17 | ||||
-rw-r--r-- | app-vim/alternate/alternate-2.12-r1.ebuild | 24 | ||||
-rw-r--r-- | app-vim/alternate/files/alternate-2.12-hh-cc-alternation.patch | 18 | ||||
-rw-r--r-- | app-vim/alternate/files/digest-alternate-2.12-r1 | 1 |
5 files changed, 56 insertions, 13 deletions
diff --git a/app-vim/alternate/ChangeLog b/app-vim/alternate/ChangeLog index a378787a1af8..d935575bdf96 100644 --- a/app-vim/alternate/ChangeLog +++ b/app-vim/alternate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-vim/alternate # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/ChangeLog,v 1.29 2005/05/06 21:20:04 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/ChangeLog,v 1.30 2005/06/22 13:58:06 slarti Exp $ + +*alternate-2.12-r1 (22 Jun 2005) + + 22 Jun 2005; Tom Martin <slarti@gentoo.org> + +files/alternate-2.12-hh-cc-alternation.patch, +alternate-2.12-r1.ebuild: + Added a patch from Ciaran McCreesh to fix alternation between .cc and .hh + files. *alternate-2.12 (06 May 2005) diff --git a/app-vim/alternate/Manifest b/app-vim/alternate/Manifest index 84d635cda934..1832cf9c0f86 100644 --- a/app-vim/alternate/Manifest +++ b/app-vim/alternate/Manifest @@ -1,18 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 481ae4a9304c5f3fdfd3e704befc1f49 ChangeLog 3196 -MD5 32b26b08f6f3c26b01ec945ed260310a alternate-2.11a.ebuild 641 MD5 f821c3423eec4126b3043cca6e13f4cf alternate-2.8.ebuild 644 +MD5 32b26b08f6f3c26b01ec945ed260310a alternate-2.11a.ebuild 641 MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 MD5 ea693e4d24e9d94447395a07b00f761b alternate-2.12.ebuild 648 +MD5 58f99e6ea3441cdde2b474edc10b2762 alternate-2.12-r1.ebuild 804 MD5 50483e6b076d990c989289eabd2b6420 files/digest-alternate-2.11a 66 -MD5 4e7361e887c76c32db726568dab6b2e3 files/digest-alternate-2.8 64 MD5 a9a74dbe884f01ee74de6fd24334eb06 files/digest-alternate-2.12 65 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCe+CCLLFUmVNQ7rkRAprsAJ9YsVdIU0JUSqxwo8KpljIbEMj01gCeIqI8 -NOT1JNhCqW9IOq5ASRXjJEY= -=rSsX ------END PGP SIGNATURE----- +MD5 a2aa124c296728c1816b432d6d374264 files/alternate-2.12-hh-cc-alternation.patch 938 +MD5 a9a74dbe884f01ee74de6fd24334eb06 files/digest-alternate-2.12-r1 65 +MD5 4e7361e887c76c32db726568dab6b2e3 files/digest-alternate-2.8 64 diff --git a/app-vim/alternate/alternate-2.12-r1.ebuild b/app-vim/alternate/alternate-2.12-r1.ebuild new file mode 100644 index 000000000000..0103660b8244 --- /dev/null +++ b/app-vim/alternate/alternate-2.12-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/alternate-2.12-r1.ebuild,v 1.1 2005/06/22 13:58:06 slarti Exp $ + +inherit vim-plugin eutils + +DESCRIPTION="vim plugin: quickly switch between .c and .h files" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=31" + +LICENSE="as-is" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +VIM_PLUGIN_HELPTEXT=\ +"This plugin provides a new :A command which will switch between a .c +file and the associated .h file. There is also :AS to split windows and +:AV to split windows vertiically." + +src_unpack() { + unpack ${A} + cd ${S} + # fix switching between .cc and .hh files, thanks ciaranm + epatch ${FILESDIR}/${P}-hh-cc-alternation.patch +} diff --git a/app-vim/alternate/files/alternate-2.12-hh-cc-alternation.patch b/app-vim/alternate/files/alternate-2.12-hh-cc-alternation.patch new file mode 100644 index 000000000000..a78804131e06 --- /dev/null +++ b/app-vim/alternate/files/alternate-2.12-hh-cc-alternation.patch @@ -0,0 +1,18 @@ +--- /usr/share/vim/vimfiles/plugin/a.vim 2005-05-06 22:20:24.000000000 +0100 ++++ plugin/a.vim 2005-06-20 15:45:45.000000000 +0100 +@@ -57,13 +57,14 @@ + " Mappings for C and C++ + call <SID>AddAlternateExtensionMapping('h',"c,cpp,cxx,cc,CC") + call <SID>AddAlternateExtensionMapping('H',"C,CPP,CXX,CC") ++call <SID>AddAlternateExtensionMapping('hh',"c,cpp,cxx,cc,CC") + call <SID>AddAlternateExtensionMapping('hpp',"cpp,c") + call <SID>AddAlternateExtensionMapping('HPP',"CPP,C") + call <SID>AddAlternateExtensionMapping('c',"h") + call <SID>AddAlternateExtensionMapping('C',"H") + call <SID>AddAlternateExtensionMapping('cpp',"h,hpp") + call <SID>AddAlternateExtensionMapping('CPP',"H,HPP") +-call <SID>AddAlternateExtensionMapping('cc',"h") ++call <SID>AddAlternateExtensionMapping('cc',"h,hh") + call <SID>AddAlternateExtensionMapping('CC',"H,h") + call <SID>AddAlternateExtensionMapping('cxx',"h") + call <SID>AddAlternateExtensionMapping('CXX',"H") diff --git a/app-vim/alternate/files/digest-alternate-2.12-r1 b/app-vim/alternate/files/digest-alternate-2.12-r1 new file mode 100644 index 000000000000..9eb006da40a5 --- /dev/null +++ b/app-vim/alternate/files/digest-alternate-2.12-r1 @@ -0,0 +1 @@ +MD5 825f2ae67673d0d99991a40098a446ad alternate-2.12.tar.bz2 5933 |