diff -Nru libparse-debianchangelog-perl-1.1.1/Changes libparse-debianchangelog-perl-1.2.0/Changes --- libparse-debianchangelog-perl-1.1.1/Changes 2007-09-01 02:04:46.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/Changes 2011-04-04 16:41:06.000000000 +0000 @@ -1,3 +1,22 @@ +Parse-DebianChangelog (1.2.0) unstable; urgency=low + + * DebianChangelog: + - Improve readability of regexes by using named captures + - Don't use $& or $` (Closes: #515018) + - Don't use "English" just for $. + - Allow '.' and '+' in distribution names. Patch by John Wright. + (Closes: #565238) + - Add Danish translation of bin.pot by Joe Dalton (Closes: #605820) + * ChangesFilters: + - Fix conversion of (Closes: #603341) + - Allow to omit # before closed bug numbers (Closes: 446798 ;) + - Update gnu.org URLs and add more FSF licenses to account for + license releases and additions to common-licenses. + * Require Perl 5.10. I'm pretty sure some of that regex stuff will + not work in 5.8. + + -- Frank Lichtenheld Mon, 04 Apr 2011 16:43:54 +0200 + Parse-DebianChangelog (1.1.1) unstable; urgency=low * Bug fixes: diff -Nru libparse-debianchangelog-perl-1.1.1/debian/changelog libparse-debianchangelog-perl-1.2.0/debian/changelog --- libparse-debianchangelog-perl-1.1.1/debian/changelog 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/debian/changelog 2011-05-06 18:58:26.000000000 +0000 @@ -1,3 +1,28 @@ +libparse-debianchangelog-perl (1.2.0-1ubuntu1) oneiric; urgency=low + + * Merge from debian unstable. Remaining changes: + - debian/control: Downgrade libhtml-parser-perl, libhtml-template-perl, + and libxml-simple-perl from Recommends to Suggests. This package + is installed in minimal systems due to aptitude's (reasonable) dependency + on it, but aptitude only uses rfc822 output. + + -- Stéphane Graber Fri, 06 May 2011 14:56:58 -0400 + +libparse-debianchangelog-perl (1.2.0-1) unstable; urgency=low + + * New upstream release: + - Don't use $& or $` (Closes: #515018) + - Allow '.' and '+' in distribution names. Patch by John Wright. + (Closes: #565238) + - Add Danish translation of bin.pot by Joe Dalton (Closes: #605820) + - ChangesFilters: + + Fix conversion of (Closes: #603341) + + Allow to omit # before closed bug numbers (Closes: 446798 ;) + * Bump Standards-Version to 3.9.1 (no changes) + * Convert debian/rules to debhelper 7 + + -- Frank Lichtenheld Sun, 03 Apr 2011 23:25:41 +0200 + libparse-debianchangelog-perl (1.1.1-2.1ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: (LP: #707718) diff -Nru libparse-debianchangelog-perl-1.1.1/debian/compat libparse-debianchangelog-perl-1.2.0/debian/compat --- libparse-debianchangelog-perl-1.1.1/debian/compat 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/debian/compat 2011-04-03 20:58:42.000000000 +0000 @@ -1 +1 @@ -5 +7 diff -Nru libparse-debianchangelog-perl-1.1.1/debian/control libparse-debianchangelog-perl-1.2.0/debian/control --- libparse-debianchangelog-perl-1.1.1/debian/control 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/debian/control 2011-05-06 18:59:18.000000000 +0000 @@ -1,11 +1,11 @@ Source: libparse-debianchangelog-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 5) -Build-Depends-Indep: perl (>= 5.8.0-7), po4a, libtimedate-perl, libhtml-parser-perl, libhtml-template-perl, libclass-accessor-perl, liblocale-gettext-perl, tidy, libxml-simple-perl, libio-string-perl, libmodule-build-perl, libtest-pod-perl, libtest-pod-coverage-perl, perl (>= 5.10.1) | libtest-simple-perl (>= 0.88), libtest-exception-perl +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: po4a, libtimedate-perl, libhtml-parser-perl, libhtml-template-perl, libclass-accessor-perl, liblocale-gettext-perl, tidy, libxml-simple-perl, libio-string-perl, libmodule-build-perl, libtest-pod-perl, libtest-pod-coverage-perl, perl (>= 5.10.1) | libtest-simple-perl (>= 0.88), libtest-exception-perl Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Frank Lichtenheld -Standards-Version: 3.7.3 +Standards-Version: 3.9.1 Vcs-git: git://source.djpig.de/git/Parse-DebianChangelog.git Vcs-Browser: http://source.djpig.de/git/?p=Parse-DebianChangelog.git;a=summary diff -Nru libparse-debianchangelog-perl-1.1.1/debian/docs libparse-debianchangelog-perl-1.2.0/debian/docs --- libparse-debianchangelog-perl-1.1.1/debian/docs 1970-01-01 00:00:00.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/debian/docs 2011-04-03 21:49:46.000000000 +0000 @@ -0,0 +1 @@ +TODO diff -Nru libparse-debianchangelog-perl-1.1.1/debian/rules libparse-debianchangelog-perl-1.2.0/debian/rules --- libparse-debianchangelog-perl-1.1.1/debian/rules 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/debian/rules 2011-04-03 21:44:34.000000000 +0000 @@ -1,74 +1,4 @@ #!/usr/bin/make -f -# This debian/rules file is provided as a template for normal perl -# packages. It was created by Marc Brockschmidt for -# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may -# be used freely wherever it is useful. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# If set to a true value then MakeMaker's prompt function will -# always return the default without waiting for user input. -export PERL_MM_USE_DEFAULT=1 - -PACKAGE=$(shell dh_listpackages) - -ifndef PERL -PERL = /usr/bin/perl -endif - -TMP =$(CURDIR)/debian/$(PACKAGE) - -build: build-stamp -build-stamp: - dh_testdir - - $(MAKE) installdirs=vendor - - touch build-stamp - -clean: - dh_testdir - dh_testroot - - # Add commands to clean up after the build process here - $(MAKE) clean - - dh_clean build-stamp install-stamp - -install: build install-stamp -install-stamp: - dh_testdir - dh_testroot - dh_clean -k - - $(MAKE) test - $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - - touch install-stamp - -binary-arch: -# We have nothing to do by default. - -binary-indep: build install - dh_testdir - dh_testroot - dh_install -# dh_installexamples - dh_installdocs TODO - dh_installchangelogs Changes - dh_perl - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary +%: + dh --buildsystem=perl_build $@ diff -Nru libparse-debianchangelog-perl-1.1.1/debian/source/format libparse-debianchangelog-perl-1.2.0/debian/source/format --- libparse-debianchangelog-perl-1.1.1/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/debian/source/format 2011-05-06 19:12:27.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru libparse-debianchangelog-perl-1.1.1/lib/Parse/DebianChangelog/ChangesFilters.pm libparse-debianchangelog-perl-1.2.0/lib/Parse/DebianChangelog/ChangesFilters.pm --- libparse-debianchangelog-perl-1.1.1/lib/Parse/DebianChangelog/ChangesFilters.pm 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/lib/Parse/DebianChangelog/ChangesFilters.pm 2011-04-04 16:41:06.000000000 +0000 @@ -1,7 +1,7 @@ # # Parse::DebianChangelog::ChangesFilters # -# Copyright 2005 Frank Lichtenheld +# Copyright 2005,2011 Frank Lichtenheld # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ package Parse::DebianChangelog::ChangesFilters; +use 5.010; use strict; use warnings; @@ -73,11 +74,11 @@ $text=~ s|<URL:([-\w\.\/:~_\@]+):([a-zA-Z0-9\'() ]+)> |$cgi->a({ -href=>$1 }, $2) |xego; - $text=~ s|https?:[\w/\.:\@+\-~\%\#?=&;,]+[\w/] - |$cgi->a({ -href=>$& }, $&) + $text=~ s|(<)?\K(https?:[\w/\.:\@+\-~\%\#?=&;,]+[\w/])(?(1)(?=>)) + |$cgi->a({ -href=>$2 }, $2) |xego; - $text=~ s|ftp:[\w/\.:\@+\-~\%\#?=&;,]+[\w/] - |$cgi->a({ -href=>$& }, $&) + $text=~ s|(ftp:[\w/\.:\@+\-~\%\#?=&;,]+[\w/]) + |$cgi->a({ -href=>$1 }, $1) |xego; return $text; @@ -86,16 +87,16 @@ sub email_to_ddpo { my ($text, $cgi) = @_; - $text =~ s|[a-zA-Z0-9_\+\-\.]+\@([a-zA-Z0-9][\w\.+\-]+\.[a-zA-Z]{2,}) - |$cgi->a({ -href=>"http://qa.debian.org/developer.php?login=$&" }, $&) + $text =~ s|([a-zA-Z0-9_\+\-\.]+\@(?:[a-zA-Z0-9][\w\.+\-]+\.[a-zA-Z]{2,})) + |$cgi->a({ -href=>"http://qa.debian.org/developer.php?login=$1" }, $1) |xego; return $text; } sub bugs_to_bts { - (my $text = $_[0]) =~ s|Closes:\s*(?:Bug)?\#\d+(?:\s*,\s*(?:Bug)?\#\d+)* - |my $tmp = $&; { no warnings; - $tmp =~ s@(Bug)?\#(\d+)@$1\#$2@ig; } + (my $text = $_[0]) =~ s|(Closes:\s*(?:Bug)?\#?\d+(?:\s*,\s*(?:Bug)?\#?\d+)*) + |my $tmp = $1; { no warnings; + $tmp =~ s@(Bug)?\#?(\d+)@$1\#$2@ig; } "$tmp" |xiego; return $text; @@ -104,8 +105,8 @@ sub cve_to_mitre { my ($text, $cgi) = @_; - $text =~ s!\b(?:CVE|CAN)-\d{4}-\d{4}\b - !$cgi->a({ -href=>"http://cve.mitre.org/cgi-bin/cvename.cgi?name=$&" }, $&) + $text =~ s!\b((?:CVE|CAN)-\d{4}-\d{4})\b + !$cgi->a({ -href=>"http://cve.mitre.org/cgi-bin/cvename.cgi?name=$1" }, $1) !xego; return $text; } @@ -129,20 +130,28 @@ return $text; } +my $fsf_lics = 'http://www.gnu.org/licenses'; +my $fsf_old_lics = $fsf_lics."/old-licenses"; sub common_licenses { my ($text, $cgi) = @_; - $text=~ s|/usr/share/common-licenses/GPL(?:-2)? - |$cgi->a({ -href=>"http://www.gnu.org/copyleft/gpl.html" }, $&) + $text=~ s;(/usr/share/common-licenses/GPL(?:-([1-3]))?) + ;($2 && $2 < 3) ? $cgi->a({ -href=>"$fsf_old_lics/gpl-$2.0.html" }, $1) + : $cgi->a({ -href=>"$fsf_lics/gpl.html" }, $1) + ;xego; + $text=~ s;(/usr/share/common-licenses/LGPL(?:-(2\.[01]|3))?) + ;($2 && $2 < 3) ? $cgi->a({ -href=>"$fsf_old_lics/lgpl-$2.html" }, $1) + : $cgi->a({ -href=>"$fsf_lics/lgpl.html" }, $1) + ;xego; + $text=~ s;(/usr/share/common-licenses/GFDL(?:-1\.([1-3]))?) + ;($2 && $2 < 3) ? $cgi->a({ -href=>"$fsf_old_lics/fdl-1.$2.html" }, $1) + : $cgi->a({ -href=>"$fsf_lics/fdl.html" }, $1) + ;xego; + $text=~ s|(/usr/share/common-licenses/Artistic) + |$cgi->a({ -href=>"http://www.opensource.org/licenses/artistic-license.php" }, $1) |xego; - $text=~ s|/usr/share/common-licenses/LGPL(?:-2(?:\.1)?)? - |$cgi->a({ -href=>"http://www.gnu.org/copyleft/lgpl.html" }, $&) - |xego; - $text=~ s|/usr/share/common-licenses/Artistic - |$cgi->a({ -href=>"http://www.opensource.org/licenses/artistic-license.php" }, $&) - |xego; - $text=~ s|/usr/share/common-licenses/BSD - |$cgi->a({ -href=>"http://www.debian.org/misc/bsd.license" }, $&) + $text=~ s|(/usr/share/common-licenses/BSD) + |$cgi->a({ -href=>"http://www.debian.org/misc/bsd.license" }, $1) |xego; return $text; diff -Nru libparse-debianchangelog-perl-1.1.1/lib/Parse/DebianChangelog.pm libparse-debianchangelog-perl-1.2.0/lib/Parse/DebianChangelog.pm --- libparse-debianchangelog-perl-1.1.1/lib/Parse/DebianChangelog.pm 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/lib/Parse/DebianChangelog.pm 2011-04-04 16:41:06.000000000 +0000 @@ -2,7 +2,7 @@ # Parse::DebianChangelog # # Copyright 1996 Ian Jackson -# Copyright 2005 Frank Lichtenheld +# Copyright 2005,2011 Frank Lichtenheld # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -93,17 +93,17 @@ package Parse::DebianChangelog; +use 5.010; use strict; use warnings; use Fcntl qw( :flock ); -use English; use Locale::gettext; use Date::Parse; use Parse::DebianChangelog::Util qw( :all ); use Parse::DebianChangelog::Entry; -our $VERSION = '1.1.1'; +our $VERSION = '1.2.0'; =pod @@ -165,9 +165,9 @@ $file = substr $file, 0, 20; unless ($self->{config}{quiet}) { if ($line) { - warn "WARN: $file(l$NR): $error\nLINE: $line\n"; + warn "WARN: $file(l$.): $error\nLINE: $line\n"; } else { - warn "WARN: $file(l$NR): $error\n"; + warn "WARN: $file(l$.): $error\n"; } } } @@ -313,10 +313,10 @@ while (<$fh>) { s/\s*\n$//; # printf(STDERR "%-39.39s %-39.39s\n",$expect,$_); - if (m/^(\w[-+0-9a-z.]*) \(([^\(\) \t]+)\)((\s+[-0-9a-z]+)+)\;/i) { + if (m/^(?\w[-+0-9a-z.]*) \((?[^\(\) \t]+)\)(?(?:\s+[-+0-9a-z.]+)+)\;\s*(?.*)$/i) { unless ($expect eq 'first heading' || $expect eq 'next heading or eof') { - $entry->{ERROR} = [ $file, $NR, + $entry->{ERROR} = [ $file, $., __g( "found start of entry where expected %s", $expect ), "$_" ]; $self->_do_parse_error(@{$entry->{ERROR}}); @@ -328,27 +328,25 @@ $entry = Parse::DebianChangelog::Entry->init(); } { - $entry->{'Source'} = "$1"; - $entry->{'Version'} = "$2"; + $entry->{'Source'} = $+{Source}; + $entry->{'Version'} = $+{Version}; $entry->{'Header'} = "$_"; - ($entry->{'Distribution'} = "$3") =~ s/^\s+//; + ($entry->{'Distribution'} = $+{Distribution}) =~ s/^\s+//; $entry->{'Changes'} = $entry->{'Urgency_Comment'} = ''; $entry->{'Urgency'} = $entry->{'Urgency_LC'} = 'unknown'; } - (my $rhs = $POSTMATCH) =~ s/^\s+//; my %kvdone; -# print STDERR "RHS: $rhs\n"; - for my $kv (split(/\s*,\s*/,$rhs)) { + for my $kv (split(/\s*,\s*/,$+{kv})) { $kv =~ m/^([-0-9a-z]+)\=\s*(.*\S)$/i || - $self->_do_parse_error($file, $NR, + $self->_do_parse_error($file, $., __g( "bad key-value after \`;': \`%s'", $kv )); my $k = ucfirst $1; my $v = $2; - $kvdone{$k}++ && $self->_do_parse_error($file, $NR, + $kvdone{$k}++ && $self->_do_parse_error($file, $., __g( "repeated key-value %s", $k )); if ($k eq 'Urgency') { $v =~ m/^([-0-9a-z]+)((\s+.*)?)$/i || - $self->_do_parse_error($file, $NR, + $self->_do_parse_error($file, $., __g( "badly formatted urgency value" ), $v); $entry->{'Urgency'} = "$1"; @@ -359,7 +357,7 @@ # XC for putting in Control, XS for putting in Source $entry->{$k}= $v; } else { - $self->_do_parse_error($file, $NR, + $self->_do_parse_error($file, $., __g( "unknown key-value key %s - copying to XS-%s", $k, $k )); $entry->{ExtraFields}{"XS-$k"} = $v; } @@ -390,32 +388,32 @@ $self->{oldformat} = "$_\n"; $self->{oldformat} .= join "", <$fh>; } elsif (m/^\S/) { - $self->_do_parse_error($file, $NR, + $self->_do_parse_error($file, $., __g( "badly formatted heading line" ), "$_"); - } elsif (m/^ \-\- (.*) <(.*)>( ?)((\w+\,\s*)?\d{1,2}\s+\w+\s+\d{4}\s+\d{1,2}:\d\d:\d\d\s+[-+]\d{4}(\s+\([^\\\(\)]\))?)$/o) { + } elsif (m/^ \-\- (?.*) <(?.*)>(? ?)(?(?:\w+\,\s*)?\d{1,2}\s+\w+\s+\d{4}\s+\d{1,2}:\d\d:\d\d\s+[-+]\d{4}(\s+\([^\\\(\)]\))?)$/o) { $expect eq 'more change data or trailer' || - $self->_do_parse_error($file, $NR, + $self->_do_parse_error($file, $., __g( "found trailer where expected %s", $expect ), "$_"); - if ($3 ne ' ') { - $self->_do_parse_error($file, $NR, + if ($+{sep} ne ' ') { + $self->_do_parse_error($file, $., __g( "badly formatted trailer line" ), "$_"); } $entry->{'Trailer'} = $_; - $entry->{'Maintainer'} = "$1 <$2>" unless $entry->{'Maintainer'}; + $entry->{'Maintainer'} = "$+{name} <$+{email}>" unless $entry->{'Maintainer'}; unless($entry->{'Date'} && defined $entry->{'Timestamp'}) { - $entry->{'Date'} = "$4"; - $entry->{'Timestamp'} = str2time($4); + $entry->{'Date'} = "$+{date}"; + $entry->{'Timestamp'} = str2time($+{date}); unless (defined $entry->{'Timestamp'}) { - $self->_do_parse_error( $file, $NR, + $self->_do_parse_error( $file, $., __g( "couldn't parse date %s", - "$4" ) ); + "$+{date}" ) ); } } $expect = 'next heading or eof'; } elsif (m/^ \-\-/) { - $entry->{ERROR} = [ $file, $NR, + $entry->{ERROR} = [ $file, $., __g( "badly formatted trailer line" ), "$_" ]; $self->_do_parse_error(@{$entry->{ERROR}}); # $expect = 'next heading or eof' @@ -424,7 +422,7 @@ $expect eq 'start of change data' || $expect eq 'more change data or trailer' || do { - $self->_do_parse_error($file, $NR, + $self->_do_parse_error($file, $., __g( "found change data where expected %s", $expect ), "$_"); if (($expect eq 'next heading or eof') @@ -439,7 +437,7 @@ $entry->{Urgency_LC} = 'unknown'; $entry->{Version} = 'unknown'.($unknowncounter++); $entry->{Urgency_Comment} = ''; - $entry->{ERROR} = [ $file, $NR, + $entry->{ERROR} = [ $file, $., __g( "found change data where expected %s", $expect ), "$_" ]; } @@ -457,12 +455,12 @@ next if $expect eq 'start of change data' || $expect eq 'next heading or eof'; $expect eq 'more change data or trailer' - || $self->_do_parse_error($file, $NR, + || $self->_do_parse_error($file, $., __g( "found blank line where expected %s", $expect )); $blanklines++; } else { - $self->_do_parse_error($file, $NR, __g( "unrecognised line" ), + $self->_do_parse_error($file, $., __g( "unrecognised line" ), "$_"); ($expect eq 'start of change data' || $expect eq 'more change data or trailer') @@ -477,7 +475,7 @@ } $blanklines = 0; $expect = 'more change data or trailer'; - $entry->{ERROR} = [ $file, $NR, __g( "unrecognised line" ), + $entry->{ERROR} = [ $file, $., __g( "unrecognised line" ), "$_" ]; }; } @@ -485,7 +483,7 @@ $expect eq 'next heading or eof' || do { - $entry->{ERROR} = [ $file, $NR, + $entry->{ERROR} = [ $file, $., __g( "found eof where expected %s", $expect ) ]; $self->_do_parse_error( @{$entry->{ERROR}} ); diff -Nru libparse-debianchangelog-perl-1.1.1/Makefile libparse-debianchangelog-perl-1.2.0/Makefile --- libparse-debianchangelog-perl-1.1.1/Makefile 2007-09-01 02:04:46.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/Makefile 2011-04-04 16:41:06.000000000 +0000 @@ -13,9 +13,12 @@ clean: Build @./Build realclean -dist: Build +dist: Build MANIFEST @./Build dist +MANIFEST: MANIFEST.SKIP Build + @./Build manifest + stats: Build @./Build postats diff -Nru libparse-debianchangelog-perl-1.1.1/MANIFEST libparse-debianchangelog-perl-1.2.0/MANIFEST --- libparse-debianchangelog-perl-1.1.1/MANIFEST 2007-09-01 02:04:46.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/MANIFEST 2011-04-04 16:41:06.000000000 +0000 @@ -11,8 +11,10 @@ MANIFEST This list of files MANIFEST.SKIP META.yml +po/bin.da.po po/bin.de.po po/bin.pot +po/doc.da.po po/doc.de.po po/doc.pot README @@ -22,6 +24,7 @@ t/examples/shadow t/Parse-DebianChangelog-ChangesFilters.t t/Parse-DebianChangelog.t +t/parse-in-for-loop.t tmpl/changelogs-print.css tmpl/changelogs.css tmpl/content.tmpl diff -Nru libparse-debianchangelog-perl-1.1.1/META.yml libparse-debianchangelog-perl-1.2.0/META.yml --- libparse-debianchangelog-perl-1.1.1/META.yml 2011-05-06 19:12:27.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/META.yml 2011-04-04 16:41:06.000000000 +0000 @@ -1,28 +1,32 @@ --- name: Parse-DebianChangelog -version: 1.1.1 +version: v1.2.0 author: - 'Frank Lichtenheld ' abstract: parse Debian changelogs and output them in other formats license: gpl -resources: - license: http://www.opensource.org/licenses/gpl-license.php -requires: - Date::Parse: 0 - Locale::gettext: 0 build_requires: Test::Pod: 0 Test::Pod::Coverage: 0 +requires: + Date::Parse: 0 + Locale::gettext: 0 recommends: HTML::Entities: 0 HTML::Parser: 0 HTML::Template: 0 IO::String: 0 XML::Simple: 0 +configure_requires: + Module::Build: 0.340201 +generated_by: Module::Build version 0.340201 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 provides: Parse::DebianChangelog: file: lib/Parse/DebianChangelog.pm - version: 1.1.1 + version: v1.2.0 Parse::DebianChangelog::ChangesFilters: file: lib/Parse/DebianChangelog/ChangesFilters.pm Parse::DebianChangelog::Entry: @@ -32,7 +36,5 @@ Pod::UsageTrans: file: lib/Pod/UsageTrans.pm version: 0.1 -generated_by: Module::Build version 0.2808 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.2.html - version: 1.2 +resources: + license: http://opensource.org/licenses/gpl-license.php diff -Nru libparse-debianchangelog-perl-1.1.1/po/bin.da.po libparse-debianchangelog-perl-1.2.0/po/bin.da.po --- libparse-debianchangelog-perl-1.1.1/po/bin.da.po 1970-01-01 00:00:00.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/po/bin.da.po 2011-04-04 16:41:06.000000000 +0000 @@ -0,0 +1,199 @@ +# Danish translation libparse-debianchangelog-perl. +# Copyright (C) 2010 Frank Lichtenheld & nedenstående oversættere. +# This file is distributed under the same license as the libparse-debianchangelog-perl package. +# Joe Hansen , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: libparse-debianchangelog-perl\n" +"Report-Msgid-Bugs-To: frank@lichtenheld.de\n" +"POT-Creation-Date: 2005-10-13 02:10+0200\n" +"PO-Revision-Date: 2010-12-03 17:30+01:00\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../bin/parsechangelog:146 +#, perl-format +msgid "changelog format %s not supported" +msgstr "ændringslogformatet %s er ikke understøttet" + +#: ../bin/parsechangelog:151 +msgid "ignored option -L" +msgstr "ignorerede tilvalg -L" + +#: ../bin/parsechangelog:159 +#, perl-format +msgid "output format %s not supported" +msgstr "uddataformat %s er ikke understøttet" + +#: ../bin/parsechangelog:168 +msgid "Copyright (C) 2005 by Frank Lichtenheld\n" +msgstr "Ophavsret 2005 Frank Lichtenheld\n" + +#: ../bin/parsechangelog:169 +msgid "" +"This is free software; see the GNU General Public Licence version 2 or later " +"for copying conditions. There is NO warranty." +msgstr "" +"Dette er fri software; se GNU General Public License version 2 eller senere " +"for betingelserne for kopiering. Der er INGEN garanti." + +#: ../bin/parsechangelog:200 +msgid "too many arguments" +msgstr "for mange argumenter" + +#: ../bin/parsechangelog:204 +#, perl-format +msgid "more than one file specified (%s and %s)" +msgstr "mere end en fil angivet (%s og %s)" + +#: ../bin/parsechangelog:216 ../bin/parsechangelog:220 +#, perl-format +msgid "fatal error occured while parsing %s" +msgstr "der opstod en fatal fejl under fortolkning af %s" + +#: ../lib/Parse/DebianChangelog.pm:219 +#, perl-format +msgid "" +"WARN: %s(l%s): %s\n" +"LINE: %s\n" +msgstr "" +"ADVAR.: %s(l%s): %s\n" +"LINJE: %s\n" + +#: ../lib/Parse/DebianChangelog.pm:221 +#, perl-format +msgid "WARN: %s(l%s): %s\n" +msgstr "ADVAR.: %s(l%s): %s\n" + +#: ../lib/Parse/DebianChangelog.pm:232 +#, perl-format +msgid "FATAL: %s" +msgstr "FATAL: %s" + +#: ../lib/Parse/DebianChangelog.pm:279 +#, perl-format +msgid "can't open file %s: %s" +msgstr "kan ikke åbne fil %s: %s" + +#: ../lib/Parse/DebianChangelog.pm:284 +#, perl-format +msgid "can't lock file %s: %s" +msgstr "kan ikke låse fil %s: %s" + +# Her skal du nok bruge "IO::String"; det tyder på, det er et +# (programmerings-) klassenavn. +#: ../lib/Parse/DebianChangelog.pm:291 +#, perl-format +msgid "can't load IO::String: %s" +msgstr "kan ikke indlæse IO::String: %s" + +#: ../lib/Parse/DebianChangelog.pm:298 +msgid "no changelog file specified" +msgstr "ingen ændringslogfil angivet" + +#: ../lib/Parse/DebianChangelog.pm:319 +#, perl-format +msgid "found start of entry where expected %s" +msgstr "fandt begyndelse på punkt hvor %s var forventet" + +#: ../lib/Parse/DebianChangelog.pm:343 +#, perl-format +msgid "bad key-value after `;': `%s'" +msgstr "dårlig nøgleværdi efter ';': '%s'" + +#: ../lib/Parse/DebianChangelog.pm:347 +#, perl-format +msgid "repeated key-value %s" +msgstr "gentaget nøgleværdi %s" + +# vigtighedsværdi, prioritet eller hasterniveau +#: ../lib/Parse/DebianChangelog.pm:351 +msgid "badly formatted urgency value" +msgstr "forkert formateret prioritet" + +#: ../lib/Parse/DebianChangelog.pm:362 +#, perl-format +msgid "unknown key-value key %s - copying to XS-%s" +msgstr "ukendt nøgleværdisnøgle %s - kopierer til XS-%s" + +#: ../lib/Parse/DebianChangelog.pm:393 +msgid "badly formatted heading line" +msgstr "forkert formateret overskriftslinje" + +#: ../lib/Parse/DebianChangelog.pm:397 +#, perl-format +msgid "found trailer where expected %s" +msgstr "fandt afslutningssekvens hvor %s var forventet" + +#: ../lib/Parse/DebianChangelog.pm:401 ../lib/Parse/DebianChangelog.pm:416 +msgid "badly formatted trailer line" +msgstr "forkert formateret linje for afslutningssekvens" + +#: ../lib/Parse/DebianChangelog.pm:410 +#, perl-format +msgid "couldn't parse date %s" +msgstr "kunen ikke fortolke dato %s" + +#: ../lib/Parse/DebianChangelog.pm:425 ../lib/Parse/DebianChangelog.pm:440 +#, perl-format +msgid "found change data where expected %s" +msgstr "fandt ændringsdata hvor forventet %s" + +#: ../lib/Parse/DebianChangelog.pm:458 +#, perl-format +msgid "found blank line where expected %s" +msgstr "fandt tom linje hvor forventet %s" + +#: ../lib/Parse/DebianChangelog.pm:462 ../lib/Parse/DebianChangelog.pm:477 +msgid "unrecognised line" +msgstr "linje ikke genkendt" + +#: ../lib/Parse/DebianChangelog.pm:486 +#, perl-format +msgid "found eof where expected %s" +msgstr "fandt linjeafslutning (eof) hvor forventet %s" + +#: ../lib/Parse/DebianChangelog.pm:497 +#, perl-format +msgid "can't close file %s: %s" +msgstr "kan ikke lukke fil %s: %s" + +#: ../lib/Parse/DebianChangelog.pm:541 +msgid "you can't combine 'count' or 'offset' with any other range option" +msgstr "du kan ikke kombinere 'count' eller 'offset' med andre intervaltilvalg" + +#: ../lib/Parse/DebianChangelog.pm:545 +msgid "you can only specify one of 'from' and 'since'" +msgstr "du kan kun angive en af 'from' og 'since'" + +#: ../lib/Parse/DebianChangelog.pm:549 +msgid "you can only specify one of 'to' and 'until'" +msgstr "du kan kun angive en af 'to' og 'until'" + +#: ../lib/Parse/DebianChangelog.pm:553 +msgid "'since' option specifies most recent version" +msgstr "tilvalget 'since' angiver de seneste version" + +#: ../lib/Parse/DebianChangelog.pm:557 +msgid "'until' option specifies oldest version" +msgstr "tilvalget 'until' angiver ældste version" + +#: ../lib/Parse/DebianChangelog/Util.pm:100 +#, perl-format +msgid "field %s has newline then non whitespace >%s<" +msgstr "felt %s har linjeskift og derefter ikkemellemrum >%s<" + +#: ../lib/Parse/DebianChangelog/Util.pm:102 +#, perl-format +msgid "field %s has blank lines >%s<" +msgstr "felt %s har tomme linjer >%s<" + +#: ../lib/Parse/DebianChangelog/Util.pm:104 +#, perl-format +msgid "field %s has trailing newline >%s<" +msgstr "felt %s har afsluttende nylinje (newline) >%s<" diff -Nru libparse-debianchangelog-perl-1.1.1/po/doc.da.po libparse-debianchangelog-perl-1.2.0/po/doc.da.po --- libparse-debianchangelog-perl-1.1.1/po/doc.da.po 1970-01-01 00:00:00.000000000 +0000 +++ libparse-debianchangelog-perl-1.2.0/po/doc.da.po 2011-04-04 16:41:06.000000000 +0000 @@ -0,0 +1,1336 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-10-13 2:09+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: ENCODING\n" + +# type: =head1 +#: ../bin/parsechangelog:20 ../lib/Parse/DebianChangelog.pm:22 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:21 +#: ../lib/Parse/DebianChangelog/Entry.pm:21 +#: ../lib/Parse/DebianChangelog/Util.pm:22 ../lib/Pod/UsageTrans.pm:30 +msgid "NAME" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:22 +msgid "" +"parsechangelog - parse Debian changelogs and output them in other formats" +msgstr "" + +# type: =head1 +#: ../bin/parsechangelog:24 ../lib/Parse/DebianChangelog.pm:26 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:25 +#: ../lib/Parse/DebianChangelog/Entry.pm:25 ../lib/Pod/UsageTrans.pm:34 +msgid "SYNOPSIS" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:26 +msgid "parsechangelog [options] [changelogfile]" +msgstr "" + +# type: verbatim +#: ../bin/parsechangelog:28 +#, no-wrap +msgid "" +" Options:\n" +" --help, -h print usage information\n" +" --version, -V print version information\n" +" --file, -l changelog file to parse, defaults\n" +" to 'debian/changelog'\n" +" -F ignored if changelogformat = 'debian'\n" +" for compatibility with dpkg-dev\n" +" -L ignored for compatibility with dpkg-dev\n" +" --format see man page for list of available\n" +" output formats, defaults to 'dpkg'\n" +" for compatibility with dpkg-dev\n" +" --since, -s, -v include all changes later than version\n" +" --until, -u include all changes earlier than version\n" +" --from, -f include all changes equal or later\n" +" than version\n" +" --to, -t include all changes up to or equal\n" +" than version\n" +" --count, -c, -n include entries from the top\n" +" (or the tail if is lower than 0)\n" +" --offset, -o change the starting point for --count,\n" +" counted from the top (or the tail if\n" +" is lower than 0)\n" +" --all include all changes\n" +"\n" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:52 +msgid "" +"If neither C nor C<-l EfileE> are specified, F will be used. If two different files are specified the program " +"will abort." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:56 +msgid "" +"If the filename is C<-> the program reads the changelog from standard input." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:59 +msgid "" +"C<--all> overrides all other range selecting options. C<--count> overrides " +"all other range selection options except for C<--all>. The range selecting " +"options can be mixed together, but only one of C<--since> and C<--from> and " +"one of C<--until> and C<--to> can be specified at the same time." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:65 +msgid "" +"The dpkg and rfc822 formats default to showing only the first entry when no " +"other options are given with while the HTML and XML formats default to " +"showing all entries." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:69 +msgid "" +"For a more extensive documentation of the range selecting options and some " +"(hopefully enlightening) examples see L." +msgstr "" + +# type: =head1 +#: ../bin/parsechangelog:73 ../lib/Parse/DebianChangelog.pm:42 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:27 +#: ../lib/Parse/DebianChangelog/Entry.pm:27 +#: ../lib/Parse/DebianChangelog/Util.pm:26 ../lib/Pod/UsageTrans.pm:64 +msgid "DESCRIPTION" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:75 +msgid "" +"parsechangelog parses Debian changelogs as described in the Debian policy " +"(version 3.6.2.1 at the time of this writing) and converts them to other " +"output formats. See section L<\"SEE ALSO\"> for locations where to find the " +"full format definition." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:80 +msgid "The output formats supported are currently:" +msgstr "" + +# type: =item +#: ../bin/parsechangelog:84 ../lib/Parse/DebianChangelog.pm:61 +#: ../lib/Parse/DebianChangelog.pm:627 +msgid "dpkg" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:86 +msgid "" +"Format as known from L. All requested entries (see L<" +"\"SYNOPSIS\"> on how to select specific entries) are returned in the usual " +"Debian control format, merged in one stanza, ready to be used in a F<." +"changes> file." +msgstr "" + +# type: =item +#: ../bin/parsechangelog:91 ../lib/Parse/DebianChangelog.pm:68 +#: ../lib/Parse/DebianChangelog.pm:740 +msgid "rfc822" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:93 ../lib/Parse/DebianChangelog.pm:70 +msgid "" +"Similar to the C format, but the requested entries are returned as one " +"stanza each, i.e. they are not merged. This is probably the format to use if " +"you want a machine-usable representation of the changelog." +msgstr "" + +# type: =item +#: ../bin/parsechangelog:97 ../lib/Parse/DebianChangelog.pm:74 +#: ../lib/Parse/DebianChangelog.pm:801 +msgid "xml" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:99 ../lib/Parse/DebianChangelog.pm:76 +msgid "" +"Just a simple XML dump of the changelog data. Without any schema or DTD " +"currently, just some made up XML. The actual format might still change. " +"Comments and Improvements welcome." +msgstr "" + +# type: =item +#: ../bin/parsechangelog:103 ../lib/Parse/DebianChangelog.pm:80 +#: ../lib/Parse/DebianChangelog.pm:880 +msgid "html" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:105 +msgid "" +"The changelog is converted to a somewhat nice looking HTML file with some " +"nice features as a quick-link bar with direct links to every entry. NOTE: " +"This is not configurable yet and was specifically designed to be used on " +"L. This is planned to be changed until version " +"1.0. The used Parse::DebianChangelog module already supports configuration, " +"however, this isn't exposed by this program yet." +msgstr "" + +# type: =head1 +#: ../bin/parsechangelog:240 ../lib/Parse/DebianChangelog.pm:1251 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:165 +#: ../lib/Parse/DebianChangelog/Entry.pm:149 +#: ../lib/Parse/DebianChangelog/Util.pm:158 ../lib/Pod/UsageTrans.pm:88 +msgid "SEE ALSO" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:242 +msgid "Parse::DebianChangelog, the underlying Perl module" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:244 ../lib/Parse/DebianChangelog.pm:1255 +msgid "" +"Description of the Debian changelog format in the Debian policy: L." +msgstr "" + +# type: =head1 +#: ../bin/parsechangelog:247 ../lib/Parse/DebianChangelog.pm:1258 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:169 +#: ../lib/Parse/DebianChangelog/Entry.pm:153 +#: ../lib/Parse/DebianChangelog/Util.pm:162 ../lib/Pod/UsageTrans.pm:92 +msgid "AUTHOR" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:249 ../lib/Parse/DebianChangelog.pm:1260 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:171 +#: ../lib/Parse/DebianChangelog/Entry.pm:155 +#: ../lib/Parse/DebianChangelog/Util.pm:164 ../lib/Pod/UsageTrans.pm:94 +msgid "Frank Lichtenheld, Efrank@lichtenheld.deE" +msgstr "" + +# type: =head1 +#: ../bin/parsechangelog:251 ../lib/Parse/DebianChangelog.pm:1262 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:173 +#: ../lib/Parse/DebianChangelog/Entry.pm:157 +#: ../lib/Parse/DebianChangelog/Util.pm:166 +msgid "COPYRIGHT AND LICENSE" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:253 ../lib/Parse/DebianChangelog.pm:1264 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:175 +#: ../lib/Parse/DebianChangelog/Entry.pm:159 +#: ../lib/Parse/DebianChangelog/Util.pm:168 +msgid "Copyright (C) 2005 by Frank Lichtenheld" +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:255 ../lib/Parse/DebianChangelog.pm:1266 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:177 +#: ../lib/Parse/DebianChangelog/Entry.pm:161 +#: ../lib/Parse/DebianChangelog/Util.pm:170 +msgid "" +"This program is free software; you can redistribute it and/or modify it " +"under the terms of the GNU General Public License as published by the Free " +"Software Foundation; either version 2 of the License, or (at your option) " +"any later version." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:260 ../lib/Parse/DebianChangelog.pm:1271 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:182 +#: ../lib/Parse/DebianChangelog/Entry.pm:166 +#: ../lib/Parse/DebianChangelog/Util.pm:175 +msgid "" +"This program is distributed in the hope that it will be useful, but WITHOUT " +"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " +"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " +"more details." +msgstr "" + +# type: textblock +#: ../bin/parsechangelog:265 ../lib/Parse/DebianChangelog.pm:1276 +#: ../lib/Parse/DebianChangelog/ChangesFilters.pm:187 +#: ../lib/Parse/DebianChangelog/Entry.pm:171 +#: ../lib/Parse/DebianChangelog/Util.pm:180 +msgid "" +"You should have received a copy of the GNU General Public License along with " +"this program; if not, write to the Free Software Foundation, Inc., 51 " +"Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:24 +msgid "" +"Parse::DebianChangelog - parse Debian changelogs and output them in other " +"formats" +msgstr "" + +# type: verbatim +#: ../lib/Parse/DebianChangelog.pm:28 +#, no-wrap +msgid "" +" use Parse::DebianChangelog;\n" +"\n" +msgstr "" + +# type: verbatim +#: ../lib/Parse/DebianChangelog.pm:30 +#, no-wrap +msgid "" +" my $chglog = Parse::DebianChangelog->init( { infile => 'debian/changelog',\n" +" HTML => { outfile => 'changelog.html' } );\n" +" $chglog->html;\n" +"\n" +msgstr "" + +# type: verbatim +#: ../lib/Parse/DebianChangelog.pm:34 +#, no-wrap +msgid "" +" # the following is semantically equivalent\n" +" my $chglog = Parse::DebianChangelog->init();\n" +" $chglog->parse( { infile => 'debian/changelog' } );\n" +" $chglog->html( { outfile => 'changelog.html' } );\n" +"\n" +msgstr "" + +# type: verbatim +#: ../lib/Parse/DebianChangelog.pm:39 +#, no-wrap +msgid "" +" my $changes = $chglog->dpkg_str( { since => '1.0-1' } );\n" +" print $changes;\n" +"\n" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:44 +msgid "" +"Parse::DebianChangelog parses Debian changelogs as described in the Debian " +"policy (version 3.6.2.1 at the time of this writing). See section L<\"SEE " +"ALSO\"> for locations where to find this definition." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:48 +msgid "" +"The parser tries to ignore most cruft like # or /* */ style comments, CVS " +"comments, vim variables, emacs local variables and stuff from older " +"changelogs with other formats at the end of the file. NOTE: most of these " +"are ignored silently currently, there is no parser error issued for them. " +"This should become configurable in the future." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:55 +msgid "" +"Beside giving access to the details of the parsed file via the L<\"data\"> " +"method, Parse::DebianChangelog also supports converting these changelogs to " +"various other formats. These are currently:" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:63 +msgid "" +"Format as known from L. All requested entries (see L<" +"\"METHODS\"> for an explanation what this means) are returned in the usual " +"Debian control format, merged in one stanza, ready to be used in a F<." +"changes> file." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:82 +msgid "" +"The changelog is converted to a somewhat nice looking HTML file with some " +"nice features as a quick-link bar with direct links to every entry. NOTE: " +"This is not very configurable yet and was specifically designed to be used " +"on L. This is planned to be changed until " +"version 1.0." +msgstr "" + +# type: =head2 +#: ../lib/Parse/DebianChangelog.pm:90 +msgid "METHODS" +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:110 +#: ../lib/Parse/DebianChangelog/Entry.pm:31 +msgid "init" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:112 +msgid "" +"Creates a new object instance. Takes a reference to a hash as optional " +"argument, which is interpreted as configuration options. There are " +"currently no supported general configuration options, but see the other " +"methods for more specific configuration options which can also specified to " +"C." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:118 +msgid "" +"If C or C are specified (see L), C is " +"called from C. If a fatal error is encountered during parsing (e.g. " +"the file can't be opened), C will not return a valid object but " +"C!" +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:146 +msgid "reset_parse_errors" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:148 +msgid "" +"Can be used to delete all information about errors ocurred during previous " +"L runs. Note that C also calls this method." +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:177 +msgid "get_parse_errors" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:179 +msgid "" +"Returns all error messages from the last L run. If called in scalar " +"context returns a human readable string representation. If called in list " +"context returns an array of arrays. Each of these arrays contains" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:186 +msgid "1." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:188 +msgid "" +"the filename of the parsed file or C if a string was parsed directly" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:191 +msgid "2." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:193 +msgid "the line number where the error occurred" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:195 +msgid "3." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:197 +msgid "an error description" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:199 +msgid "4." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:201 +msgid "the original line" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:205 +msgid "" +"NOTE: This format isn't stable yet and may change in later versions of this " +"module." +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:237 +msgid "get_error" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:239 +msgid "" +"Get the last non-parser error (e.g. the file to parse couldn't be opened)." +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:251 +msgid "parse" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:253 +msgid "" +"Parses either the file named in configuration item C or the string " +"saved in configuration item C. Accepts a hash ref as optional " +"argument which can contain configuration items." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:258 +msgid "" +"Returns C in case of error (e.g. \"file not found\", B parse " +"errors) and the object if successful. If C was returned, you can get " +"the reason for the failure by calling the L method." +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:511 +msgid "data" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:513 +msgid "" +"C returns an array (if called in list context) or a reference to an " +"array of Parse::DebianChangelog::Entry objects which each represent one " +"entry of the changelog." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:517 +msgid "" +"This is currently merely a placeholder to enable users to get to the raw " +"data, expect changes to this API in the near future." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:520 +msgid "" +"This method supports the common output options described in section L<" +"\"COMMON OUTPUT OPTIONS\">." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:629 +msgid "(and B)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:631 +msgid "" +"C returns a hash (in list context) or a hash reference (in scalar " +"context) where the keys are field names and the values are field values. The " +"following fields are given:" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:637 +#: ../lib/Parse/DebianChangelog/Entry.pm:54 +msgid "Source" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:639 +msgid "package name (in the first entry)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:641 +#: ../lib/Parse/DebianChangelog/Entry.pm:58 +msgid "Version" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:643 +msgid "packages' version (from first entry)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:645 +#: ../lib/Parse/DebianChangelog/Entry.pm:62 +msgid "Distribution" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:647 +msgid "target distribution (from first entry)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:649 +#: ../lib/Parse/DebianChangelog/Entry.pm:66 +msgid "Urgency" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:651 +msgid "urgency (highest of all printed entries)" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:653 +msgid "Maintainer" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:655 +msgid "person that created the (first) entry" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:657 +#: ../lib/Parse/DebianChangelog/Entry.pm:94 +msgid "Date" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:659 +msgid "date of the (first) entry" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:661 +msgid "Closes" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:663 +msgid "bugs closed by the entry/entries, sorted by bug number" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:665 +msgid "Changes" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:667 +msgid "content of the the entry/entries" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:671 +msgid "" +"C returns a stringified version of this hash which should look " +"exactly like the output of L. The fields are ordered " +"like in the list above." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:675 ../lib/Parse/DebianChangelog.pm:754 +msgid "" +"Both methods only support the common output options described in section L<" +"\"COMMON OUTPUT OPTIONS\">." +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:678 +msgid "dpkg_str" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:680 +msgid "See L." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:742 +msgid "(and B)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:744 +msgid "" +"C returns an array of hashes (in list context) or a reference to " +"this array (in scalar context) where each hash represents one entry in the " +"changelog. For the format of such a hash see the description of the L<\"dpkg" +"\"> method (while ignoring the remarks about which values are taken from the " +"first entry)." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:750 +msgid "" +"C returns a stringified version of this hash which looks similar " +"to the output of dpkg-parsechangelog but instead of one stanza the output " +"contains one stanza for each entry." +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:757 +msgid "rfc822_str" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:759 +msgid "See L." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:803 +msgid "(and B)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:805 +msgid "" +"C converts the changelog to some free-form (i.e. there is neither a DTD " +"or a schema for it) XML." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:808 +msgid "The method C is an alias for C." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:810 ../lib/Parse/DebianChangelog.pm:893 +msgid "" +"Both methods support the common output options described in section L<" +"\"COMMON OUTPUT OPTIONS\"> and additionally the following configuration " +"options (as usual to give in a hash reference as parameter to the method " +"call):" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:817 ../lib/Parse/DebianChangelog.pm:900 +msgid "outfile" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:819 ../lib/Parse/DebianChangelog.pm:902 +msgid "directly write the output to the file specified" +msgstr "" + +# type: =head3 +#: ../lib/Parse/DebianChangelog.pm:823 +msgid "xml_str" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:825 +msgid "See L." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:882 +msgid "(and B)" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:884 +msgid "" +"C converts the changelog to a HTML file with some nice features such " +"as a quick-link bar with direct links to every entry. The HTML is generated " +"with the help of HTML::Template. If you want to change the output you should " +"use the default template provided with this module as a base and read the " +"documentation of HTML::Template to understand how to edit it." +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:891 +msgid "The method C is an alias for C." +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:904 +msgid "template" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:906 +msgid "" +"template file to use, defaults to tmpl/default.tmpl, so you most likely want " +"to override that. NOTE: The plan is to provide a configuration file for the " +"module later to be able to use sane defaults here." +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:911 +msgid "style" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:913 +msgid "" +"path to the CSS stylesheet to use (a default might be specified in the " +"template and will be honoured, see the default template for an example)" +msgstr "" + +# type: =item +#: ../lib/Parse/DebianChangelog.pm:917 +msgid "print_style" +msgstr "" + +# type: textblock +#: ../lib/Parse/DebianChangelog.pm:919 +msgid "" +"path to the CSS stylesheet to use for printing (see the notes for C