Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302658 - new ebuild for vim txtfmt
Summary: new ebuild for vim txtfmt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 16:50 UTC by Chris Chan
Modified: 2011-05-20 08:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Chan 2010-01-28 16:50:54 UTC
Txtfmt (The Vim Highlighter) is a combination syntax/filetype plugin that allows you to highlight plain text in Vim. The highlighting mechanism uses invisible tokens that are inserted into a Txtfmt buffer with the aid of easy to use mappings provided by the filetype plugin. Each token affects either the color or formatting of subsequent text. The plugin supports up to 8 configurable foreground colors, up to 8 configurable background colors, and all combinations of the following formatting attributes: bold, underline, italic, standout, reverse and undercurl.

I've produced an ebuild for this package, but am not sure how to have passed SRC_URI (I had it set such that it would install from the source locally. Please adjust as needed). Source code can be obtained here: http://www.vim.org/scripts/script.php?script_id=2208. Can we please get this in the tree? I volunteer to be a maintainer for this package if necessary.

cat txtfmt-2.1.ebuild 
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/txtfmt/txtfmt-2.1.ebuild, $
inherit vim-plugin

DESCRIPTION="vim plugin: Screensaver inspired by the Matrix"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1189"
LICENSE="as-is"
KEYWORDS="amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
SRC_URI="txtfmt_v2.1.tar.gz"
IUSE=""

export S=${PORTAGE_BUILDDIR}
VIM_PLUGIN_HELPFILES="txtfmt"
VIM_PLUGIN_MESSAGES="filetype"
VIM_PLUGIN_HELPTEXT="Various hilighting capabilities.."

src_unpack() {
        unpack ${A}
}
src_install() {
        insinto /usr/share/vim/vimfiles/
        doins -r ${S}/work/{doc,ftplugin,plugin,syntax} || die "doins failed"
}


Reproducible: Always
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-01-28 17:50:37 UTC
Please read the "Gentoo Bug Reporting Guide" [1] before opening a bug.

 [1] - http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Tim Harder gentoo-dev 2011-05-20 08:23:44 UTC
Now in CVS. Enjoy.