--- libxml-dom-perl-1.44.orig/debian/control +++ libxml-dom-perl-1.44/debian/control @@ -0,0 +1,23 @@ +Source: libxml-dom-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , + gregor herrmann +Standards-Version: 3.7.3 +Build-Depends: debhelper (>=6), quilt +Build-Depends-Indep: perl, libwww-perl, libxml-parser-perl (>= 2.34), libxml-perl, libxml-regexp-perl +Homepage: http://search.cpan.org/dist/XML-DOM/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-dom-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-dom-perl/ + +Package: libxml-dom-perl +Section: perl +Priority: optional +Architecture: all +Depends: ${perl:Depends}, libwww-perl, libxml-parser-perl (>= 2.34), libxml-perl, libxml-regexp-perl +Description: Perl module for building DOM Level 1 compliant doc structures + This module parses XML strings or files and builds a data structure + that conforms to the API of the Document Object Model as described at + http://www.w3.org/TR/REC-DOM-Level-1. See the XML::Parser manpage + for other available features of the XML::DOM::Parser class. --- libxml-dom-perl-1.44.orig/debian/docs +++ libxml-dom-perl-1.44/debian/docs @@ -0,0 +1,2 @@ +FAQ.xml +README --- libxml-dom-perl-1.44.orig/debian/patches/series +++ libxml-dom-perl-1.44/debian/patches/series @@ -0,0 +1 @@ +01-fix_utf8_tests.patch --- libxml-dom-perl-1.44.orig/debian/patches/01-fix_utf8_tests.patch +++ libxml-dom-perl-1.44/debian/patches/01-fix_utf8_tests.patch @@ -0,0 +1,55 @@ +--- libxml-dom-perl.orig/t/dom_jp_attr.t ++++ libxml-dom-perl/t/dom_jp_attr.t +@@ -90,7 +90,9 @@ + my $doc = $parser->parse ($str); + assert_ok (not $@); + ++use bytes; + my $out = $doc->toString; ++use utf8; + $out =~ tr/\012/\n/; + $out =~ s/(\&\#(\d+);)/sprintf("%s",charRef2U8($2))/eg; + assert_ok ($out eq $str); +--- libxml-dom-perl.orig/t/dom_jp_cdata.t ++++ libxml-dom-perl/t/dom_jp_cdata.t +@@ -44,7 +44,9 @@ + my $doc = $parser->parse ($str); + assert_ok (not $@); + ++use bytes; + my $out = $doc->toString; ++use utf8; + $out =~ tr/\012/\n/; + my $result = ($XML::Parser::VERSION >= 2.19) ? $str : $oldStr; + assert_ok ($out eq $result); +--- libxml-dom-perl.orig/t/dom_jp_minus.t ++++ libxml-dom-perl/t/dom_jp_minus.t +@@ -46,6 +46,8 @@ + my $parser = new XML::DOM::Parser; + my $doc = $parser->parse ($str); + ++use bytes; + my $out = $doc->toString; ++use utf8; + $out =~ tr/\012/\n/; + assert_ok ($out eq $str); +--- libxml-dom-perl.orig/t/dom_jp_modify.t ++++ libxml-dom-perl/t/dom_jp_modify.t +@@ -180,4 +180,5 @@ + + END + ++use bytes; + assert_ok ($str eq $end); +--- libxml-dom-perl.orig/t/dom_jp_print.t ++++ libxml-dom-perl/t/dom_jp_print.t +@@ -83,7 +83,9 @@ + + my $parser = new XML::DOM::Parser (NoExpand => 1); + my $doc = $parser->parse ($str); ++use bytes; + my $out = $doc->toString; ++use utf8; + $out =~ tr/\012/\n/; + $out =~ s/(\&\#(\d+);)/sprintf("%s",charRef2U8($2))/eg; + --- libxml-dom-perl-1.44.orig/debian/rules +++ libxml-dom-perl-1.44/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL verbose INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp Makefile.old + [ ! -f Makefile ] || $(MAKE) distclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) DESTDIR=$(CURDIR)/debian/$(PACKAGE) PREFIX=/usr install + [ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 + + touch $@ + +binary-arch: build install +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples samples/* + dh_installchangelogs Changes + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libxml-dom-perl-1.44.orig/debian/watch +++ libxml-dom-perl-1.44/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/XML-DOM/ .*/XML-DOM-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libxml-dom-perl-1.44.orig/debian/copyright +++ libxml-dom-perl-1.44/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Ardo van Rangelrooij +on Sun, Sep 2, 2001, 23:05:12 -0500. + +It was downloaded from the Comprehensive Perl Archive Network at: +http://search.cpan.org/dist/XML-DOM + + +Upstream Author: Enno Derksen + +Copyright (c) 1999,2000 Enno Derksen +All rights reserved. + + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" + + See: + + /usr/share/common-licenses/Artistic + /usr/share/common-licenses/GPL + + For more information regarding these licensing options + --- libxml-dom-perl-1.44.orig/debian/compat +++ libxml-dom-perl-1.44/debian/compat @@ -0,0 +1 @@ +6 --- libxml-dom-perl-1.44.orig/debian/changelog +++ libxml-dom-perl-1.44/debian/changelog @@ -0,0 +1,141 @@ +libxml-dom-perl (1.44-1) unstable; urgency=low + + [ Jose Luis Rivas ] + * New upstream release + * debian/rules: + + Added dh_installexamples + + Fixed the `clean:' target + * debian/control: + + Fixed Build-Depends, now debhelper doesn't goes in -Indep, that + makes happy lintian as well. + + Updated to 3.7.3 + + [ David Paleino ] + * debian/rules fixed + * separating patches from the source -- using quilt: + - debian/patches added + - debian/rules updated + - debian/control updated + * debian/libxml-dom-perl.install moved to debian/install + * debian/libxml-dom-perl.docs moved to debian/docs + + [ gregor herrmann ] + * Set debhelper compatibility level to 6. + * 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. + * debian/rules: delete /usr/lib/perl5 only if it exists. + * debian/watch: use improved regexp for matching upstream releases. + * debian/rules: + - use dh_listpackages to get package name + - introduce PERL variable + - remove OPTIMIZE, this package is architecture: all + - move dh_clean before make distclean + - remove dh_installdirs, dh_link, dh_installman + - use DESTDIR and PREFIX for make install + - dependencies: install-stamp -> build-stamp instead of install -> build + * Remove (unused) debian/install. + * Add /me to Uploaders. + + -- gregor herrmann Sun, 03 Feb 2008 00:28:26 +0100 + +libxml-dom-perl (1.43-4) unstable; urgency=low + + * Adds debian/watch file so uscan will actually work + + -- Jay Bonci Tue, 26 Oct 2004 21:43:59 -0400 + +libxml-dom-perl (1.43-3) unstable; urgency=low + + * Ack'd NMU. Thanks Roland. (closes: #250288) + + -- Jay Bonci Fri, 23 Jul 2004 13:48:59 -0400 + +libxml-dom-perl (1.43-2.1) unstable; urgency=low + + * Non-maintainer upload during bug-squashing party. + * Fix test suite (closes: #250288). + + -- Roland Mas Fri, 16 Jul 2004 22:23:02 +0200 + +libxml-dom-perl (1.43-2) unstable; urgency=low + + * New Maintainer (Closes: #210521) + * Bumped to Policy-Version 3.6.1.0 (no other changes) + * No long conflicts or replaces libxml-enno-perl as it doesn't exist in Debian + * Clarified license to discuss the dual nature of the perl + * Changed over to my standard rules template + + -- Jay Bonci Wed, 29 Oct 2003 13:29:26 -0500 + +libxml-dom-perl (1.43-1) unstable; urgency=low + + * New upstream release + * debian/control: changed (build) dependency on 'libxml-parser-perl' + to '>= 2.34' + * 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-dom-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 20:53:13 -0500 + +libxml-dom-perl (1.42-1) unstable; urgency=low + + * New upstream release + * debian/control: upgraded to Debian Policy 3.5.8 (no changes) + * debian/rules: changed '-$(MAKE) test' into '$(MAKE) test' now that + upstream has fixed the Unicode tests that didn't work + + -- Ardo van Rangelrooij Sun, 2 Feb 2003 18:31:41 -0600 + +libxml-dom-perl (1.39-2) 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 + (closes: Bug#157669) + + -- Ardo van Rangelrooij Sun, 22 Sep 2002 14:09:35 -0500 + +libxml-dom-perl (1.39-1) unstable; urgency=low + + * New upstream release + * example script moved upstream to 'libxml-filter-reindent-perl' + * debian/rules: removed consequently obsolete 'dh_installexamples' + * debian/control: removed consequently obsolete 'Suggests' + + -- Ardo van Rangelrooij Fri, 26 Apr 2002 22:26:36 -0500 + +libxml-dom-perl (1.37-1) unstable; urgency=low + + * New upstream release + + -- Ardo van Rangelrooij Tue, 19 Feb 2002 21:51:50 -0600 + +libxml-dom-perl (1.35-1) unstable; urgency=low + + * New upstream release + * debian/control: upgraded to Debian Policy 3.5.6 + + -- Ardo van Rangelrooij Fri, 16 Nov 2001 19:14:21 -0600 + +libxml-dom-perl (1.34-1) unstable; urgency=low + + * New upstream release + (closes: Bug#113722) + * debian/control: fixed minor typo in description + + -- Ardo van Rangelrooij Tue, 9 Oct 2001 09:02:46 -0500 + +libxml-dom-perl (1.33-1) unstable; urgency=low + + * Rerelease as a separate package + (closes: Bug#78112) + + -- Ardo van Rangelrooij Sun, 2 Sep 2001 23:19:08 -0500