summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-26 03:35:07 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-26 03:35:07 +0000
commitd9c2f62327b3e667a190483f6bceccc974995c40 (patch)
tree312b30b387df48f560da2bc3aca2e24b78fd4a7e /app-misc/grc/files
parentAdded x86-fbsd to the list of archs (diff)
downloadgentoo-2-d9c2f62327b3e667a190483f6bceccc974995c40.tar.gz
gentoo-2-d9c2f62327b3e667a190483f6bceccc974995c40.tar.bz2
gentoo-2-d9c2f62327b3e667a190483f6bceccc974995c40.zip
more color baby !
Diffstat (limited to 'app-misc/grc/files')
-rw-r--r--app-misc/grc/files/1.0.6-support-more-files.patch60
-rw-r--r--app-misc/grc/files/conf.configure27
2 files changed, 87 insertions, 0 deletions
diff --git a/app-misc/grc/files/1.0.6-support-more-files.patch b/app-misc/grc/files/1.0.6-support-more-files.patch
new file mode 100644
index 000000000000..57f60a74ae13
--- /dev/null
+++ b/app-misc/grc/files/1.0.6-support-more-files.patch
@@ -0,0 +1,60 @@
+diff -ur grc-1.0.6.orig/conf.gcc grc-1.0.6/conf.gcc
+--- grc-1.0.6.orig/conf.gcc 2004-08-25 23:23:15.898638944 -0400
++++ grc-1.0.6/conf.gcc 2004-08-25 23:26:54.297437280 -0400
+@@ -1,10 +1,10 @@
+ #
+-regexp=\bgcc\b
+-colours=yellow
+-count=more
++regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
++colours=white bold
++count=once
+ .........
+ #
+-regexp=^.*?:
++regexp=^\S*:
+ colours=red
+ count=once
+ .........
+@@ -12,6 +12,10 @@
+ regexp=\`\w+\'
+ colours=green
+ .........
++# 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
+@@ -24,10 +28,10 @@
+ # stderr to grcat
+ #
+ # warning
+-regexp=warning
++regexp=[Ww]arning[:\b]
+ colours=yellow
+ .........
+ # error
+-regexp=error
++regexp=[Ee]rror[:\b]
+ colours=red blink
+ count=stop
+diff -ur grc-1.0.6.orig/grc.conf grc-1.0.6/grc.conf
+--- grc-1.0.6.orig/grc.conf 2004-08-25 23:23:15.870643200 -0400
++++ grc-1.0.6/grc.conf 2004-08-25 23:23:57.814266800 -0400
+@@ -15,9 +15,13 @@
+ conf.traceroute
+
+ # gcc command
+-(^|[/\w\.]+/)g?cc\s
++(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s
+ conf.gcc
+
++# configure command
++(^|[/\w\.]+/)configure
++conf.configure
++
+ # make command
+ (^|[/\w\.]+/)g?make\s?
+ conf.gcc
diff --git a/app-misc/grc/files/conf.configure b/app-misc/grc/files/conf.configure
new file mode 100644
index 000000000000..8f26c601eba8
--- /dev/null
+++ b/app-misc/grc/files/conf.configure
@@ -0,0 +1,27 @@
+# cache functions
+regexp=\b(loading|updating|creating) cache\b
+colours=yellow bold
+.........
+# checking
+regexp=\bchecking\s*(for|if|whether|command|how|that)?(\s*to)?\b
+colours=yellow
+.........
+# result is complex
+regexp=\.\.\. .*$
+colours=cyan
+.........
+# check succeeded
+regexp=\.\.\.( \(cached\))? yes$
+colours=blue bold
+.........
+# check did not succeed
+regexp=\.\.\.( \(cached\))? no$
+colours=magenta
+.........
+# ... should be normal
+regexp=\.\.\.
+colours=default
+.........
+# creating stuff
+regexp=\bcreating\b
+colours=green