debian/0000755000000000000000000000000012154660320007165 5ustar debian/rules0000755000000000000000000000003612154660320010244 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000261512154660320010574 0ustar Source: libxml-autowriter-perl Maintainer: Debian Perl Group Uploaders: Jonathan Yu Section: perl Priority: optional Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libxml-autowriter-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libxml-autowriter-perl.git Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libxml-parser-perl Homepage: https://metacpan.org/release/XML-AutoWriter/ Package: libxml-autowriter-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libxml-parser-perl Description: Perl module to produce DOCTYPE-based XML output XML::AutoWriter provides a framework for producing DOCTYPE-based XML output. It provides several convenient ways to work with these files. XML::Doctype parses Document Type Definitions (DTDs) and allows them to be saved as Perl Module (.pm) files and loaded whenever necessary. In this way, you can package your DTDs with XML tools so that XML::Parser (libxml-parser-perl) need not be installed. XML::ValidWriter uses the XML::Doctype to enable compile- and run- time checks of XML output validity. XML::AutoWriter provides similar features to XML::ValidWriter, but also provides automatic start and end tag generation. Together, all of these modules facilitate a powerful and minimalistic method of working with XML files. debian/source/0000755000000000000000000000000012154660320010465 5ustar debian/source/format0000644000000000000000000000001412154660320011673 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000476712154660320011055 0ustar libxml-autowriter-perl (0.40-3) unstable; urgency=low * Team upload. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add patch to remove broken auto_set_repository from Makefile.PL. (Closes: #711624) * Add a patch to fix some spelling mistakes in the POD. * debian/copyright: switch formatting to Copyright-Format 1.0. * Set Standards-Version to 3.9.4 (no further changes). -- gregor herrmann Sat, 08 Jun 2013 18:49:59 +0200 libxml-autowriter-perl (0.40-2) unstable; urgency=low * Team upload. [ Ryan Niebur ] * Update jawnsy's email address [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. * Remove Piotr Roszatycki from Uploaders. (Closes: #636744) * Use debhelper compat level 8. * Use source format 3.0 (quilt). * debian/copyright: Formatting changes. * debian/control: Make build-dep on perl unversioned. * Bump Standards-Version to 3.9.2. -- Ansgar Burchardt Thu, 15 Sep 2011 21:44:33 +0200 libxml-autowriter-perl (0.40-1) unstable; urgency=low * New upstream release + Now uses Module::Install * Added /me to Uploaders and Copyright * Added a Copyright file... * Changed priority to optional * Removed dependency on yada * Rewrote the control description * Added ${perl:Depends} to Depends: field [ Damyan Ivanov ] * Take over for the Debian Perl Group on maintainer's request (http://lists.debian.org/debian-perl/2008/09/msg00111.html) [ gregor herrmann ] * debian/control: Added: ${misc:Depends} to Depends: field. * debian/control: Changed: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza). * debian/control: Changed: Maintainer set to Debian Perl Group (was: Piotr Roszatycki ); Piotr Roszatycki moved to Uploaders. * debian/watch: use dist-based URL. -- Jonathan Yu Thu, 16 Jul 2009 17:58:35 -0400 libxml-autowriter-perl (0.39-1) unstable; urgency=medium * New upstream release. * Fixes FTBFS with Perl 5.10. Closes: #467318, #479932. -- Piotr Roszatycki Mon, 12 May 2008 14:22:24 +0200 libxml-autowriter-perl (0.38-1) unstable; urgency=low * Initial Debian version. Closes: #278371. -- Piotr Roszatycki Tue, 26 Oct 2004 14:56:25 +0200 debian/compat0000644000000000000000000000000212154660320010363 0ustar 8 debian/patches/0000755000000000000000000000000012154660320010614 5ustar debian/patches/pod-spelling.patch0000644000000000000000000000205512154660320014234 0ustar Description: fix spelling mistakes Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=85992 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85992 Author: gregor herrmann Last-Update: 2013-06-08 --- a/lib/XML/Doctype.pm +++ b/lib/XML/Doctype.pm @@ -355,7 +355,7 @@ use FooML::DTD::v1_001 ; # Do *not* use () as a parameter list! -Returns string containing the DTD as an independant module, allowing the +Returns string containing the DTD as an independent module, allowing the DTD to be parsed in the development environment and shipped as Perl code, so that the target environment need not have XML::Parser installed. --- a/lib/XML/ValidWriter.pm +++ b/lib/XML/ValidWriter.pm @@ -220,7 +220,7 @@ =head1 OUTPUT OPTIMIZATION -XML is a very simple langauge and does not offer a lot of room for +XML is a very simple language and does not offer a lot of room for optimization. As the spec says "Terseness in XML markup is of minimal importance." XML::ValidWriter does optimize the following on output: debian/patches/series0000644000000000000000000000010012154660320012020 0ustar pod-warnings.patch auto_set_repository.patch pod-spelling.patch debian/patches/pod-warnings.patch0000644000000000000000000000340712154660320014251 0ustar Author: Jonathan Yu Origin: vendor Bug-CPAN: https://rt.cpan.org/Ticket/Display.html?id=47961 Forwarded: yes Description: Fix errors with pod2man --- a/lib/XML/AutoWriter.pm +++ b/lib/XML/AutoWriter.pm @@ -328,6 +328,8 @@ $self->SUPER::startTag( $tag, @_ ) ; } +=back + =head1 AUTHOR Barrie Slaymaker --- a/lib/XML/Doctype.pm +++ b/lib/XML/Doctype.pm @@ -78,6 +78,8 @@ =head1 METHODS +=over + =item new $doctype = XML::Doctype->new() ; @@ -460,6 +462,7 @@ croak join( ', ', @others ), " not exported by $class" if @others ; } +=back =head1 SUBCLASSING --- a/lib/XML/Doctype/AttDef.pm +++ b/lib/XML/Doctype/AttDef.pm @@ -19,8 +19,6 @@ This module is alpha code. It's developed enough to support XML::ValidWriter, but need a lot of work. Some big things that are lacking are: -=over - =cut use strict ; @@ -39,6 +37,8 @@ =head1 METHODS +=over + =item new $dtd = XML::Doctype::AttDef->new( $name, $type, $default ) ; @@ -151,6 +151,8 @@ The default_on_write does not need to be the same as the default unless the quantifier is #FIXED. +=back + =cut sub default_on_write { --- a/lib/XML/Doctype/ElementDecl.pm +++ b/lib/XML/Doctype/ElementDecl.pm @@ -20,8 +20,6 @@ This module is alpha code. It's developed enough to support XML::ValidWriter, but need a lot of work. Some big things that are lacking are: -=over - =cut use strict ; @@ -45,6 +43,8 @@ =head1 METHODS +=over + =item new # Undefined element constructors: @@ -304,6 +304,8 @@ Right now, this must be called only when an element's end tag is emitted. It can be broadened to be incremental if need be. +=back + =cut sub validate_content { debian/patches/auto_set_repository.patch0000644000000000000000000000065112154660320015761 0ustar Description: remove broken auto_set_repository Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=76225 Bug-Debian: http://bugs.debian.org/711624 Forwarded: not-needed Author: gregor herrmann Last-Update: 2013-06-08 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,7 +9,6 @@ build_requires => 'Test'; build_requires => 'IO::File'; -auto_set_repository; auto_manifest; auto_install; WriteAll; debian/copyright0000644000000000000000000000274212154660320011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: XML-AutoWriter Upstream-Contact: Chris Prather Source: https://metacpan.org/release/XML-AutoWriter/ Files: * Copyright: 2000-2009, Barrie Slaymaker License: Artistic or GPL-1+ Comment: It is not clear which BSD flavour the authors had in mind; so we distribute the package under GPL/Artistic, like Perl itself and most Perl modules. Files: inc/Module/* Copyright: 2002-2009, Adam Kennedy 2002-2009, Audrey Tang 2002-2009, Brian Ingerson License: Artistic or GPL-1+ Files: debian/* Copyright: 2004-2008, Piotr Roszatycki 2008, Damyan Ivanov 2009, Jonathan Yu License: Artistic or 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 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 systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000046012154660320010216 0ustar # format version number, currently 3; this line is compulsory! version=3 # upstream version 0.1234 -> debian version 0.12.34 opts=uversionmangle=s/\.(\d\d)(\d\d)$/.$1.$2/;s/\.(\d)$/.${1}0/ \ https://metacpan.org/release/XML-AutoWriter/ .*/XML-AutoWriter-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$