summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-24 03:22:20 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-24 03:22:20 +0000
commit9764ba8074ad45a34b6f5bf9c427b801364c6abb (patch)
treec35cc49103e90104eb259499ba0d6d13e5c5fb8f /app-misc/grc
parentVersion bump. (diff)
downloadgentoo-2-9764ba8074ad45a34b6f5bf9c427b801364c6abb.tar.gz
gentoo-2-9764ba8074ad45a34b6f5bf9c427b801364c6abb.tar.bz2
gentoo-2-9764ba8074ad45a34b6f5bf9c427b801364c6abb.zip
Version bump.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/grc')
-rw-r--r--app-misc/grc/ChangeLog8
-rw-r--r--app-misc/grc/files/grc-1.4-support-more-files.patch53
-rw-r--r--app-misc/grc/grc-1.4.ebuild33
3 files changed, 93 insertions, 1 deletions
diff --git a/app-misc/grc/ChangeLog b/app-misc/grc/ChangeLog
index caa1a0d9040e..c72f0ce9948c 100644
--- a/app-misc/grc/ChangeLog
+++ b/app-misc/grc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/grc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/ChangeLog,v 1.24 2011/01/05 15:15:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/ChangeLog,v 1.25 2011/08/24 03:22:20 radhermit Exp $
+
+*grc-1.4 (24 Aug 2011)
+
+ 24 Aug 2011; Tim Harder <radhermit@gentoo.org> +grc-1.4.ebuild,
+ +files/grc-1.4-support-more-files.patch:
+ Version bump.
05 Jan 2011; Justin Lecher <jlec@gentoo.org> -grc-1.1.ebuild,
-grc-1.3.ebuild:
diff --git a/app-misc/grc/files/grc-1.4-support-more-files.patch b/app-misc/grc/files/grc-1.4-support-more-files.patch
new file mode 100644
index 000000000000..d90fe86bb16f
--- /dev/null
+++ b/app-misc/grc/files/grc-1.4-support-more-files.patch
@@ -0,0 +1,53 @@
+--- grc-1.4.orig/conf.gcc
++++ grc-1.4/conf.gcc
+@@ -1,7 +1,7 @@
+ #
+-regexp=\bgcc\b
+-colours=yellow
+-count=more
++regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
++colours=white bold
++count=once
+ .........
+ #
+ regexp=^[^:\s]*?:\d+:
+@@ -15,6 +15,10 @@
+ regexp=\`[A-Za-z0-9_():&*]+( const)?\'
+ colours=magenta
+ .........
++# compilation method modifiers
++regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b
++colours=yellow
++.........
+ # -O
+ regexp=\-O\d
+ colours=green
+@@ -27,7 +31,7 @@
+ # stderr to grcat
+ #
+ # warning
+-regexp=warning:.*
++regexp=[Ww]arning[:\b]
+ colours=white
+ .........
+ regexp=warning:
+@@ -35,7 +39,7 @@
+ count=once
+ .........
+ # error
+-regexp=error:.*
++regexp=[Ee]rror[:\b]
+ colours=bold white
+ .........
+ regexp=error:
+--- grc-1.4.orig/grc.conf
++++ grc-1.4/grc.conf
+@@ -19,7 +19,7 @@
+ conf.traceroute
+
+ # gcc command
+-(^|[/\w\.]+/)g?cc\s
++(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s
+ conf.gcc
+
+ # make command
diff --git a/app-misc/grc/grc-1.4.ebuild b/app-misc/grc/grc-1.4.ebuild
new file mode 100644
index 000000000000..0221c9929a53
--- /dev/null
+++ b/app-misc/grc/grc-1.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/grc-1.4.ebuild,v 1.1 2011/08/24 03:22:20 radhermit Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+
+inherit eutils python
+
+DESCRIPTION="Generic Colouriser is yet another colouriser for beautifying your logfiles or output of commands"
+HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html"
+SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/${PN}/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-support-more-files.patch
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ insinto /usr/share/grc
+ doins conf.* "${FILESDIR}"/conf.* || die
+ insinto /etc
+ doins grc.conf || die
+ dobin grc grcat || die
+ dodoc README INSTALL TODO CHANGES CREDITS || die
+ doman grc.1 grcat.1 || die
+}