debian/0000755000000000000000000000000011330407353007165 5ustar debian/control0000644000000000000000000000152711330400075010567 0ustar Source: libxml-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Jay Bonci , Ansgar Burchardt Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/libxml-perl/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libxml-perl/ Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libxml-parser-perl Package: libxml-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libxml-parser-perl Description: Perl modules for working with XML libxml-perl is a collection of smaller Perl modules, scripts, and documents for working with XML in Perl. libxml-perl software works in combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove and others. debian/copyright0000644000000000000000000000221211330400075011107 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Ken MacLeod Source: http://search.cpan.org/dist/libxml-perl/ Name: libxml-perl Copyright: © 1998-1999, Ken MacLeod License-Alias: Perl License: Artistic | GPL-1+ Files: debian/* Copyright: © 1999-2003, Ardo van Rangelrooij © 2004, Jay Bonci © 2010, Ansgar Burchardt License: Artistic | GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic' License: GPL-1+ 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 1, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' debian/watch0000644000000000000000000000016311330400075010210 0ustar version=3 http://search.cpan.org/dist/libxml-perl/ .*/libxml-perl-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libxml-perl.docs0000644000000000000000000000002511330400075012255 0ustar doc/*.pod doc/*.html debian/patches/0000755000000000000000000000000011330407322010610 5ustar debian/patches/spelling.patch0000644000000000000000000000222111330400075013441 0ustar From: Ansgar Burchardt Date: Fri, 29 Jan 2010 01:40:17 +0900 Subject: correct spelling errors --- libxml-perl.orig/lib/XML/Handler/XMLWriter.pm +++ libxml-perl/lib/XML/Handler/XMLWriter.pm @@ -256,7 +256,7 @@ A true or false value; if this parameter is present and its value is true, then the module will insert an extra newline before the closing delimiter of start, end, and empty tags to guarantee that the document -does not end up as a single, long line. If the paramter is not +does not end up as a single, long line. If the parameter is not present, the module will not insert the newlines. =item IsSGML --- libxml-perl.orig/lib/XML/PatAct/MatchName.pm +++ libxml-perl/lib/XML/PatAct/MatchName.pm @@ -76,7 +76,7 @@ XML::PatAct::MatchName is a pattern module for use with PatAct drivers for applying pattern-action lists to XML parses or trees. XML::PatAct::MatchName is a simple pattern module that uses just -element names to match on. If multiple names are supplied seperated +element names to match on. If multiple names are supplied separated by `C' characters, then all of the parent element names must match as well. debian/patches/series0000644000000000000000000000005611330400075012024 0ustar debbugs.patch spelling.patch pod-errors.patch debian/patches/debbugs.patch0000644000000000000000000000327411032166617013262 0ustar Author: Ardo van Rangelrooij Description: * lib/XML/PatAct/ToObjects.pm: applied two patches by Adam Heath which are needed for a rewrite of 'debbugs' (closes: Bug#174315) * lib/XML/PatAct/ToObjects.pm: applied another patch from Adam Heath which is needed for the new version of 'debbugs' (closes: Bug#174434) --- a/lib/XML/PatAct/ToObjects.pm +++ b/lib/XML/PatAct/ToObjects.pm @@ -176,6 +176,8 @@ sub start_element { if ($action->{Make} eq 'HASH') { push @{$self->{Parents}}, { @args }; + } elsif ($action->{Make} eq 'ARRAY') { + push @{$self->{Parents}}, [ @args ]; } else { my $is_defined = 0; #eval "\$is_defined = defined %{$action->{Make}" . "::}"; @@ -253,9 +255,16 @@ sub end_element { if ($action->{FieldIsArray}) { push @{$self->{Parents}[-1]{$action->{Field}}}, $value; } elsif (defined $action->{Field}) { - $self->{Parents}[-1]{$action->{Field}} = $value; + my $field = $action->{Field}; + $field =~ s/%\{($name_re)\}/$element->{Attributes}{$1}/ge; + $self->{Parents}[-1]{$field} = $value; } else { - push @{$self->{Parents}[-1]{Contents}}, $value; + my $ref = ref($self->{Parents}[-1]); + if ($ref eq 'ARRAY') { + push @{$self->{Parents}[-1]}, $value; + } else { + push @{$self->{Parents}[-1]{Contents}}, $value; + } } } @@ -293,7 +302,7 @@ sub _parse_action { $action->{Make} = shift @$source; } elsif ($option eq '-args') { my $args = shift @$source; - $args =~ s/%\{($name_re)\}/(\$element->{Attributes}{'$1'})/g; + $args =~ s/%\{($name_re)\}/\$element->{Attributes}{'$1'}/g; $action->{Args} = $args; } elsif ($option eq '-field') { $action->{Field} = shift @$source; debian/patches/pod-errors.patch0000644000000000000000000000063011330400075013722 0ustar From: Ansgar Burchardt Date: Fri, 29 Jan 2010 01:41:34 +0900 Subject: Correct POD syntax errors --- libxml-perl.orig/lib/XML/Parser/PerlSAX.pm +++ libxml-perl/lib/XML/Parser/PerlSAX.pm @@ -525,6 +525,8 @@ entity. The column, line, and byte positions I of the current entity being parsed. +=back + =head1 OPTIONS The following options are supported by C: debian/compat0000644000000000000000000000000211330400075010355 0ustar 7 debian/changelog0000644000000000000000000001176011330400075011036 0ustar libxml-perl (0.08-2) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). * Set Maintainer to Debian Perl Group. * Use dist-based URL in debian/watch. * Split out changes to lib/XML/PatAct/ToObjects.pm into a patch. * debian/control: Added: ${misc:Depends} to Depends: field. [ Ansgar Burchardt ] * Refresh rules for debhelper 7. (also Closes: #557146) * Switch to source format 3.0 (quilt). * Convert debian/copyright to proposed machine-readable format. * debian/watch: Use extended regular expression to match upstream releases. * debian/control: Remove duplicate Section, Priority fields from binary package stanza. * Bump Standards-Version to 3.8.4. * Add myself to Uploaders. -- Ansgar Burchardt Fri, 29 Jan 2010 01:43:29 +0900 libxml-perl (0.08-1) unstable; urgency=low * New upstream version * Adds debian/watch file so uscan will work -- Jay Bonci Wed, 27 Oct 2004 12:13:31 -0400 libxml-perl (0.07-11) unstable; urgency=low * New Maintainer (Closes: #210538) * Bumped policy-version to 3.6.1.0 (No other changes) * Moved over to my standard rules template * Removed .install file, as it isn't necessary * Fixed test file for Unicode-aware perl -- Jay Bonci Wed, 10 Mar 2004 21:39:53 -0500 libxml-perl (0.07-10) unstable; urgency=low * debian/rules: moved debhelper compatibility level setting to 'debian/compat' per latest debhelper best practices * debian/control: updated sections according to latest archive changes: - 'libxml-perl' from 'interpreters' to 'perl' * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1' * debian/control: upgraded to Debian Policy 3.6.0 (no changes) -- Ardo van Rangelrooij Thu, 4 Sep 2003 19:54:56 -0500 libxml-perl (0.07-9) unstable; urgency=low * lib/XML/PatAct/ToObjects.pm: applied another patch from Adam Heath which is needed for the new version of 'debbugs' (closes: Bug#174434) -- Ardo van Rangelrooij Fri, 27 Dec 2002 18:49:34 -0600 libxml-perl (0.07-8) unstable; urgency=low * debian/control: upgraded to Debian Policy 3.5.8 (no changes) * lib/XML/PatAct/ToObjects.pm: applied two patches by Adam Heath which are needed for a rewrite of 'debbugs' (closes: Bug#174315) -- Ardo van Rangelrooij Wed, 25 Dec 2002 21:27:47 -0600 libxml-perl (0.07-7) unstable; urgency=low * debian/rules: added erroneously removed 'dh_testroot' to 'binary-indep' -- Ardo van Rangelrooij Sun, 4 Aug 2002 14:48:15 -0500 libxml-perl (0.07-6) unstable; urgency=low * debian/rules: upgraded to debhelper v4 * debian/control: changed build dependency on debhelper accordingly * debian/rules: migrated from 'dh_movefiles' to 'dh_install' * debian/rules: split off 'install' target from 'binary-indep' target * debian/copyright: added pointer to license -- Ardo van Rangelrooij Sat, 3 Aug 2002 19:24:00 -0500 libxml-perl (0.07-5) unstable; urgency=low * debian/control: upgraded to Debian Policy 3.5.6 -- Ardo van Rangelrooij Sun, 23 Dec 2001 20:45:52 -0600 libxml-perl (0.07-4) unstable; urgency=low * debian/control: upgraded to Debian Policy 3.5.5 * debian/control: upgraded to Debian Perl Policy 1.20 -- Ardo van Rangelrooij Sun, 2 Sep 2001 17:35:04 -0500 libxml-perl (0.07-3) unstable; urgency=low * debian/control: updated debhelper dependency to remove dh_testversion (closes: Bug#93256) * debian/control: upgraded to Debian Policy 3.5.2 * debian/control: upgraded to Debian Perl Policy 1.17 * debian/rules: upgraded to Debian Perl Policy 1.17 -- Ardo van Rangelrooij Sun, 15 Apr 2001 13:51:03 -0500 libxml-perl (0.07-2) unstable; urgency=low * debian/control: upgraded to Debian Policy 3.2.1 * debian/rules: upgraded to debhelper v3 -- Ardo van Rangelrooij Wed, 17 Jan 2001 13:36:03 -0600 libxml-perl (0.07-1) unstable; urgency=low * New upstream release * debian/control: upgraded to Debian Policy 3.1.1 * debian/copyright: updated * debian/rules: added missing $(MAKE) test * debian/rules: added missng build-stamp stuff -- Ardo van Rangelrooij Sat, 17 Jun 2000 15:16:56 +0200 libxml-perl (0.05-1) unstable; urgency=low * New upstream release * Upgraded to Debian Policy 3.0.1 * Upgraded to Debian Perl Policy 1.1 -- Ardo van Rangelrooij Sun, 17 Oct 1999 12:39:01 +0200 libxml-perl (0.03-2) unstable; urgency=low * Made almost lintian-free (except for /usr/doc): moved man manpages to /usr/share/man, fixed various file/directory permissions -- Ardo van Rangelrooij Wed, 11 Aug 1999 21:20:24 -0500 libxml-perl (0.03-1) unstable; urgency=low * Initial Release -- Ardo van Rangelrooij Mon, 19 Jul 1999 22:08:02 -0500 debian/source/0000755000000000000000000000000011330407322010461 5ustar debian/source/format0000644000000000000000000000001411330407352011672 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003511330400075010235 0ustar #!/usr/bin/make -f %: dh $@ debian/libxml-perl.examples0000644000000000000000000000001311330400075013140 0ustar examples/*