summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-06-09 17:58:24 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-06-09 17:58:24 +0000
commitbb566480338866e023f521e0d861ae6eaa6083bf (patch)
treefc550dd414ebb4715f901d8f6b71e5c8f81379ec /dev-vcs/colorsvn
parentx86 stable wrt bug #321955 (diff)
downloadgentoo-2-bb566480338866e023f521e0d861ae6eaa6083bf.tar.gz
gentoo-2-bb566480338866e023f521e0d861ae6eaa6083bf.tar.bz2
gentoo-2-bb566480338866e023f521e0d861ae6eaa6083bf.zip
Revision bump. Do not colorize "svn mkdir", bug 321451, thanks to Marcin Mirosław <bug@mejor.pl>.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/colorsvn')
-rw-r--r--dev-vcs/colorsvn/ChangeLog9
-rw-r--r--dev-vcs/colorsvn/colorsvn-0.3.2-r1.ebuild44
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-vcs/colorsvn/ChangeLog b/dev-vcs/colorsvn/ChangeLog
index fe3842178f56..9492b6080035 100644
--- a/dev-vcs/colorsvn/ChangeLog
+++ b/dev-vcs/colorsvn/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-vcs/colorsvn
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorsvn/ChangeLog,v 1.1 2010/03/20 22:21:06 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorsvn/ChangeLog,v 1.2 2010/06/09 17:58:24 idl0r Exp $
+
+*colorsvn-0.3.2-r1 (09 Jun 2010)
+
+ 09 Jun 2010; Christian Ruppert <idl0r@gentoo.org>
+ +colorsvn-0.3.2-r1.ebuild:
+ Revision bump. Do not colorize "svn mkdir", bug 321451, thanks to Marcin
+ Mirosław <bug@mejor.pl>.
20 Mar 2010; Christian Ruppert <idl0r@gentoo.org> +colorsvn-0.3.2.ebuild,
+metadata.xml:
diff --git a/dev-vcs/colorsvn/colorsvn-0.3.2-r1.ebuild b/dev-vcs/colorsvn/colorsvn-0.3.2-r1.ebuild
new file mode 100644
index 000000000000..dbad9fffe1b4
--- /dev/null
+++ b/dev-vcs/colorsvn/colorsvn-0.3.2-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorsvn/colorsvn-0.3.2-r1.ebuild,v 1.1 2010/06/09 17:58:24 idl0r Exp $
+
+DESCRIPTION="Subversion output colorizer"
+HOMEPAGE="http://colorsvn.tigris.org"
+SRC_URI="http://www.console-colors.de/downloads/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ dev-util/subversion"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # rxvt-unicode isn't listed by default :)
+ sed -i -e 's:rxvt:rxvt rxvt-unicode:' colorsvnrc-original || die
+
+ # Do not colorize "svn mkdir", bug 321451
+ sed -i -e 's:\("resolved", "revert", "unlock"\):\1, "mkdir":' colorsvn-original || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CREDITS || die "dodoc failed"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "The default settings are stored in /etc/colorsvnrc."
+ einfo "They can be locally overridden by ~/.colorsvnrc."
+ einfo "An alias to colorsvn was installed for the svn command."
+ einfo "In order to immediately activate it do:"
+ einfo "\tsource /etc/profile"
+ einfo "NOTE: If you don't see colors,"
+ einfo "append the output of 'echo \$TERM' to 'colortty' in your colorsvnrc."
+ einfo
+}