debian/0000755000000000000000000000000012157370035007171 5ustar debian/rules0000755000000000000000000000045712157370035010257 0ustar #!/usr/bin/make -f PKG:=$(shell dh_listpackages) TMP:=$(CURDIR)/debian/$(PKG) EXAMPLES:=$(TMP)/usr/share/doc/$(PKG)/examples %: dh $@ override_dh_installexamples: dh_installexamples sed -i -e '1i #!/usr/bin/perl\n' $(EXAMPLES)/*.pl override_dh_fixperms: dh_fixperms chmod a+x $(EXAMPLES)/*.pl debian/control0000644000000000000000000000222012157370035010570 0ustar Source: libxml-tidy-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: libmath-basecnv-perl, libtest-pod-coverage-perl, libtest-pod-perl, libxml-xpath-perl Maintainer: Debian Perl Group Uploaders: Ryan Niebur , Nicholas Bamber Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/XML-Tidy/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libxml-tidy-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libxml-tidy-perl.git Package: libxml-tidy-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libmath-basecnv-perl, libxml-xpath-perl Description: module for tidy indenting of XML documents XML::Tidy creates XML document objects (with inheritance from XML::XPath) to tidy mixed-content (ie. non-data) text node indenting. There are also some other handy member functions to compress && expand your XML document object (into either a compact XML representation or a binary one). debian/source/0000755000000000000000000000000012157370035010471 5ustar debian/source/format0000644000000000000000000000001412157370035011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000360512157370035011047 0ustar libxml-tidy-perl (1.12.B55J2qn-2) unstable; urgency=low * Team upload. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add a patch to fix POD encoding. (Closes: #711407) * debian/copyright: switch formatting to Copyright-Format 1.0. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.4 (no further changes). -- gregor herrmann Sun, 16 Jun 2013 19:04:13 +0200 libxml-tidy-perl (1.12.B55J2qn-1) unstable; urgency=low * New upstream release * Raised standards version to 3.9.2 -- Nicholas Bamber Tue, 17 May 2011 23:07:02 +0100 libxml-tidy-perl (1.8.B2AMvdl-1) unstable; urgency=low * New upstream release (Closes: #600650) * Updated copyright * Added rules for example script -- Nicholas Bamber Wed, 16 Feb 2011 20:44:47 +0000 libxml-tidy-perl (1.6.A7RJKwl-1) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ryan Niebur ] * Update ryan52's email address [ Nicholas Bamber ] * New upstream release * Added myself to Uploaders * Upped standards version * cleaned up rules and debhelper and quilt dependencies * Removed debian/README.source as quilt is now standard * echo '3.0 (quilt)' > debian/source/format * Refreshed copyright * Added libtest-pod-perl and libtest-pod-coverage-perl dependencies * Removed 'Perl' from short description [ gregor herrmann ] * Lower debhelper build dependency ("--with" not used any more). -- Nicholas Bamber Sun, 17 Oct 2010 15:59:48 +0100 libxml-tidy-perl (1.2.54HJnFa-1) unstable; urgency=low * Initial Release. (Closes: #531143) -- Ryan Niebur Tue, 02 Jun 2009 21:33:27 -0700 debian/compat0000644000000000000000000000000212157370035010367 0ustar 8 debian/patches/0000755000000000000000000000000012157370035010620 5ustar debian/patches/add-manpage0000644000000000000000000000134412157370035012703 0ustar Subject: add a man page to xmltidy Author: Ryan Niebur Last-Update: 2010-20-17 Forwarded: no Reviewed-by: Nicholas Bamber --- a/bin/xmltidy +++ b/bin/xmltidy @@ -14,3 +14,27 @@ use strict; use XML::Tidy; my $flnm = shift() || die "USAGE: `$0 FileName.xml ''`\n"; my $tidy = XML::Tidy->new($flnm); $tidy->tidy(shift()); $tidy->write(); + +=pod + +=head1 NAME + +xmltidy - tidy an XML document + +=cut + +=head1 SYNOPSIS + +xmltidy FileName.xml + +=cut + +=head1 DESCRIPTION + +The FileName is the file that will be tidied, and the optional +indent_string is the string that should be inserted for each indent +level, which defaults to two spaces. + +=cut + + debian/patches/series0000644000000000000000000000003712157370035012035 0ustar add-manpage pod-encoding.patch debian/patches/pod-encoding.patch0000644000000000000000000000075712157370035014220 0ustar Description: add missing =encoding to POD Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=85592 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85592 Bug-Debian: http://bugs.debian.org/711407 Author: gregor herrmann Last-Update: 2013-06-16 --- a/Tidy.pm +++ b/Tidy.pm @@ -771,6 +771,8 @@ sub DESTROY { } # do nothing but define in case && to calm test warnings 127; +=encoding ISO8859-1 + =head1 NAME XML::Tidy - tidy indenting of XML documents debian/copyright0000644000000000000000000001007212157370035011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: XML-Tidy Upstream-Contact: Pip Stuart Source: https://metacpan.org/release/XML-Tidy/ Files: * Copyright: 2004-2011, Pip Stuart. License: GPL-3 Files: t/02large.t (The contained "RELAX NG schema for XHTML 2.0") Copyright: 2003-2004, W3C(R) (MIT, ERCIM, Keio), All Rights Reserved. License: W3C-Software Files: debian/* Copyright: 2009, Ryan Niebur 2010-2011, Nicholas Bamber License: Artistic or GPL-1+ or GPL-3 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 General Public License can be found in `/usr/share/common-licenses/GPL-1'. License: GPL-3 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; version 3. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3' License: W3C-Software By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. . Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications: * The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. * Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. * Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) . Disclaimers . THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. . COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. . The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. . Notes . This version: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 . This formulation of W3C's notice and license became active on December 31 2002. This version removes the copyright ownership notice such that this license can be used with materials other than those owned by the W3C, reflects that ERCIM is now a host of the W3C, includes references to this specific dated version of the license, and removes the ambiguous grant of "use". Otherwise, this version is the same as the previous version and is written so as to preserve the Free Software Foundation's assessment of GPL compatibility and OSI's certification under the Open Source Definition. debian/libxml-tidy-perl.examples0000644000000000000000000000000512157370035014122 0ustar ex/* debian/watch0000644000000000000000000000016312157370035010222 0ustar version=3 https://metacpan.org/release/XML-Tidy/ .*/XML-Tidy-v?(\d[\d.A-Za-z]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$