Your message dated Wed, 23 Jan 2008 21:17:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#460805: fixed in colorgcc 1.3.2.0-7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: colorgcc
Version: 1.3.2.0-6
Severity: wishlist
Tags: patch

Hi,

I attach a patch that adds support for colorizing warnings like

<command-line>: warning: "FOOBAR" redefined
<command-line>: warning: this is the location of the previous definition


Andreas

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (130, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages colorgcc depends on:
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  perl-modules                  5.8.8-12   Core Perl modules

colorgcc recommends no packages.

-- no debconf information
--- /usr/bin/colorgcc   2007-10-27 17:34:01.000000000 +0200
+++ /usr/local/bin/colorgcc     2008-01-15 00:21:52.000000000 +0100
@@ -281,6 +281,36 @@
       }
       print("\n");
    }
+   elsif (m/^(<command-line>):(.*)$/) # special-location:message
+   {
+      $field1 = $1 || "";
+      $field2 = $2 || "";
+
+      # See if this is a warning message.
+      $is_warning = 0;
+      for $translation ("warning", @{$translations{"warning"}})
+      {
+         if ($field2 =~ m/\s+$translation:.*/)
+         {
+            $is_warning = 1;
+            last;
+         }
+      }
+
+      if ($is_warning)
+      {
+        # Warning
+        print($colors{"warningFileNameColor"}, "$field1:", color("reset"));
+        srcscan($field2, $colors{"warningMessageColor"});
+      }
+      else 
+      {
+        # Error
+        print($colors{"errorFileNameColor"}, "$field1:", color("reset"));
+        srcscan($field2, $colors{"errorMessageColor"});
+      }
+      print("\n");
+   }
    elsif (m/^(.*?):(.+):$/) # filename:message:
    {
       # No line number, treat as an "introductory" line of text.

--- End Message ---
--- Begin Message ---
Source: colorgcc
Source-Version: 1.3.2.0-7

We believe that the bug you reported is fixed in the latest version of
colorgcc, which is due to be installed in the Debian FTP archive:

colorgcc_1.3.2.0-7.diff.gz
  to pool/main/c/colorgcc/colorgcc_1.3.2.0-7.diff.gz
colorgcc_1.3.2.0-7.dsc
  to pool/main/c/colorgcc/colorgcc_1.3.2.0-7.dsc
colorgcc_1.3.2.0-7_all.deb
  to pool/main/c/colorgcc/colorgcc_1.3.2.0-7_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry deFreese <[EMAIL PROTECTED]> (supplier of updated colorgcc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 22 Jan 2008 17:38:01 -0500
Source: colorgcc
Binary: colorgcc
Architecture: source all
Version: 1.3.2.0-7
Distribution: unstable
Urgency: low
Maintainer: Barry deFreese <[EMAIL PROTECTED]>
Changed-By: Barry deFreese <[EMAIL PROTECTED]>
Description: 
 colorgcc   - Colorizer for GCC warning/error messages
Closes: 348704 460805
Changes: 
 colorgcc (1.3.2.0-7) unstable; urgency=low
 .
   * 08_force_color_opt.dpatch. Add force color option (Closes: #348704).
     + Thanks to J�rg Sommer.
   * 09_color_warnings.dpatch (Closes: #460805).
     + Color <warnings>.  Thanks to Andreas Beckmann.
   * Bump Standards Version to 3.7.3 (No changes needed).
Files: 
 c66966f30c095b3b2cf5f3ef197b562e 582 devel extra colorgcc_1.3.2.0-7.dsc
 e961ea1642335de726af76b07f46041b 9354 devel extra colorgcc_1.3.2.0-7.diff.gz
 04b060e3b98581eccbada01d4e8569c5 11204 devel extra colorgcc_1.3.2.0-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHl6txriZpaaIa1PkRAiksAKDN0GzsYtbxTYnTuTOCzwtQNgWi3gCg6OLU
cowePAM8+QlLJt+uSXLaImY=
=5PtN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to