r375 - in trunk: . debian scripts scripts/changelog scripts/po

2006-06-04 Thread Guillem Jover
Author: guillem
Date: 2006-06-04 12:24:47 + (Sun, 04 Jun 2006)
New Revision: 375

Modified:
   trunk/ChangeLog
   trunk/debian/changelog
   trunk/scripts/changelog/debian.pl
   trunk/scripts/dpkg-parsechangelog.pl
   trunk/scripts/po/ChangeLog
   trunk/scripts/po/dpkg-dev.pot
Log:
Print the correct file being parsed by dpkg-parsechangelog's debian
parser. Closes: #368961


Modified: trunk/ChangeLog
===
--- trunk/ChangeLog 2006-06-04 12:17:53 UTC (rev 374)
+++ trunk/ChangeLog 2006-06-04 12:24:47 UTC (rev 375)
@@ -1,3 +1,12 @@
+2006-06-04  Guillem Jover  [EMAIL PROTECTED]
+
+   * scripts/dpkg-parsechangelog.pl: Pass forward the '-l' option to
+   the format parser.
+   * scripts/changelog/debian.pl: Add '-l' option and set $changelogfile.
+   (usage): Document the new '-l' option.
+   (clerror): Print $changelogfile instead of 'changelog'.
+   (clwarn): Likewise.
+
 2006-06-02  Guillem Jover  [EMAIL PROTECTED]
 
* scripts/install-info.pl: Do not use English non-essential module.

Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2006-06-04 12:17:53 UTC (rev 374)
+++ trunk/debian/changelog  2006-06-04 12:24:47 UTC (rev 375)
@@ -8,6 +8,8 @@
 list. Closes: #367892
   * Revert usage of English perl non-essential module from install-info.
 Closes: #369928, #369958, #370157, #370174, #370210
+  * Print the correct file being parsed by dpkg-parsechangelog's debian
+parser. Closes: #368961
 
   [ Updated dpkg Translations ]
   * Czech (Miroslav Kure).

Modified: trunk/scripts/changelog/debian.pl
===
--- trunk/scripts/changelog/debian.pl   2006-06-04 12:17:53 UTC (rev 374)
+++ trunk/scripts/changelog/debian.pl   2006-06-04 12:24:47 UTC (rev 375)
@@ -38,6 +38,7 @@
 Usage: %s [option]
 
 Options:
+  -lchangelog   use changelog as the file name when reporting.
   -vversionsinceprint changes since versionsince.
   -h, --help  print this help message.
   --version   print program version.
@@ -48,6 +49,8 @@
 $_=shift(@ARGV);
 if (m/^-v(.+)$/) {
 $since= $1;
+} elsif (m/^-l(.+)$/) {
+$changelogfile = $1;
 } elsif (m/^-(h|-help)$/) {
 usage; exit(0);
 } elsif (m/^--version$/) {
@@ -162,5 +165,13 @@
 
 outputclose(0);
 
-sub clerror { error(sprintf(_g(%s, at changelog line %d), $_[0], $.)); }
-sub clwarn { warn(sprintf(_g(%s, at changelog line %d), $_[0], $.)); }
+sub clerror
+{
+error(sprintf(_g(%s, at file %s line %d), $_[0], $changelogfile, $.));
+}
+
+sub clwarn
+{
+warn(sprintf(_g(%s, at file %s line %d), $_[0], $changelogfile, $.));
+}
+

Modified: trunk/scripts/dpkg-parsechangelog.pl
===
--- trunk/scripts/dpkg-parsechangelog.pl2006-06-04 12:17:53 UTC (rev 
374)
+++ trunk/scripts/dpkg-parsechangelog.pl2006-06-04 12:24:47 UTC (rev 
375)
@@ -50,8 +50,8 @@
 $_= shift(@ARGV);
 if (m/^-L/  length($_)2) { $libdir=$'; next; }
 if (m/^-F([0-9a-z]+)$/) { $force=1; $format=$1; next; }
+push(@ap,$_);
 if (m/^-l/  length($_)2) { $changelogfile=$'; next; }
-push(@ap,$_);
 m/^--$/  last;
 m/^-v/  next;
 if (m/^-(h|-help)$/) { usage; exit(0); }

Modified: trunk/scripts/po/ChangeLog
===
--- trunk/scripts/po/ChangeLog  2006-06-04 12:17:53 UTC (rev 374)
+++ trunk/scripts/po/ChangeLog  2006-06-04 12:24:47 UTC (rev 375)
@@ -1,3 +1,7 @@
+2006-06-04  Guillem Jover  [EMAIL PROTECTED]
+
+   * dpkg-dev.pot: Regenerated.
+
 2006-05-31  Guillem Jover  [EMAIL PROTECTED]
 
* dpkg-dev.pot: Regenerated.

Modified: trunk/scripts/po/dpkg-dev.pot
===
--- trunk/scripts/po/dpkg-dev.pot   2006-06-04 12:17:53 UTC (rev 374)
+++ trunk/scripts/po/dpkg-dev.pot   2006-06-04 12:24:47 UTC (rev 375)
@@ -8,7 +8,7 @@
 msgstr 
 Project-Id-Version: PACKAGE VERSION\n
 Report-Msgid-Bugs-To: [EMAIL PROTECTED]
-POT-Creation-Date: 2006-05-31 06:18+0300\n
+POT-Creation-Date: 2006-06-04 15:15+0300\n
 PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n
 Last-Translator: FULL NAME [EMAIL PROTECTED]\n
 Language-Team: LANGUAGE [EMAIL PROTECTED]\n
@@ -2210,87 +2210,88 @@
 Usage: %s [option]\n
 \n
 Options:\n
+  -lchangelog   use changelog as the file name when reporting.\n
   -vversionsinceprint changes since versionsince.\n
   -h, --help  print this help message.\n
   --version   print program version.\n
 msgstr 
 
-#: scripts/changelog/debian.pl:56
+#: scripts/changelog/debian.pl:59
 #, perl-format
 msgid unknown option or argument `%s'
 msgstr 
 
-#: scripts/changelog/debian.pl:77
+#: scripts/changelog/debian.pl:80
 msgid -vsince option specifies most recent 

r377 - in trunk: . debian

2006-06-04 Thread Guillem Jover
Author: guillem
Date: 2006-06-04 16:26:01 + (Sun, 04 Jun 2006)
New Revision: 377

Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/debian/changelog
Log:
Release 1.13.21.


Modified: trunk/ChangeLog
===
--- trunk/ChangeLog 2006-06-04 15:42:01 UTC (rev 376)
+++ trunk/ChangeLog 2006-06-04 16:26:01 UTC (rev 377)
@@ -1,3 +1,7 @@
+2006-06-04  Guillem Jover  [EMAIL PROTECTED]
+
+   * configure.ac: Release 1.13.21.
+
 2006-06-04  Ian Jackson  [EMAIL PROTECTED]
 
* src/depcon.c (foundcyclebroken): Replace possi-ed argument to

Modified: trunk/configure.ac
===
--- trunk/configure.ac  2006-06-04 15:42:01 UTC (rev 376)
+++ trunk/configure.ac  2006-06-04 16:26:01 UTC (rev 377)
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([dpkg], [1.13.21~], [EMAIL PROTECTED])
+AC_INIT([dpkg], [1.13.21], [EMAIL PROTECTED])
 AC_CONFIG_SRCDIR([lib/dpkg.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([config])

Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2006-06-04 15:42:01 UTC (rev 376)
+++ trunk/debian/changelog  2006-06-04 16:26:01 UTC (rev 377)
@@ -1,4 +1,4 @@
-dpkg (1.13.21~) UNRELEASED; urgency=low
+dpkg (1.13.21) unstable; urgency=low
 
   [ Guillem Jover ]
   * Disambiguate error message about conflicting command line actions by
@@ -18,7 +18,7 @@
   * Czech (Miroslav Kure).
   * Vietnamese (Clytie Siddall).
 
- -- Guillem Jover [EMAIL PROTECTED]  Wed, 31 May 2006 08:03:11 +0300
+ -- Guillem Jover [EMAIL PROTECTED]  Sun,  4 Jun 2006 19:02:44 +0300
 
 dpkg (1.13.20) unstable; urgency=low
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



r378 - tags

2006-06-04 Thread Guillem Jover
Author: guillem
Date: 2006-06-04 16:28:50 + (Sun, 04 Jun 2006)
New Revision: 378

Added:
   tags/1.13.21/
Log:
Tag release 1.13.21.

Copied: tags/1.13.21 (from rev 377, trunk)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]