r14717 - in /trunk/libxml-libxml-perl/debian: ./ patches/
gwolf at users.alioth.debian.org
gwolf at users.alioth.debian.org
Sun Feb 10 23:37:09 UTC 2008
Author: gwolf
Date: Sun Feb 10 23:37:08 2008
New Revision: 14717
URL: http://svn.debian.org/wsvn/?sc=1&rev=14717
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libxml-libxml-perl/debian/
trunk/libxml-libxml-perl/debian/changelog
trunk/libxml-libxml-perl/debian/compat
trunk/libxml-libxml-perl/debian/control
trunk/libxml-libxml-perl/debian/copyright
trunk/libxml-libxml-perl/debian/libxml-libxml-perl.docs
trunk/libxml-libxml-perl/debian/libxml-libxml-perl.examples
trunk/libxml-libxml-perl/debian/libxml-libxml-perl.postinst
trunk/libxml-libxml-perl/debian/libxml-libxml-perl.prerm
trunk/libxml-libxml-perl/debian/patches/
trunk/libxml-libxml-perl/debian/patches/00list
trunk/libxml-libxml-perl/debian/patches/fix_manpage_typos.dpatch (with props)
trunk/libxml-libxml-perl/debian/patches/skip_failures.dpatch (with props)
trunk/libxml-libxml-perl/debian/patches/stricter_checks.dpatch (with props)
trunk/libxml-libxml-perl/debian/patches/test_for_xml_element_id.dpatch (with props)
trunk/libxml-libxml-perl/debian/rules (with props)
trunk/libxml-libxml-perl/debian/watch
Added: trunk/libxml-libxml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/changelog?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/changelog (added)
+++ trunk/libxml-libxml-perl/debian/changelog Sun Feb 10 23:37:08 2008
@@ -1,0 +1,304 @@
+libxml-libxml-perl (1.63-2) unstable; urgency=low
+
+ * Took over package maintenance by the pkg-perl group; leaving
+ original maintainer as an uploader
+ * Added debian/watch
+ * Updated debhelper compat to 6
+ * Bumped up standards-version to 3.7.3 (no changes needed)
+ * Now all patches are registered in dpatch
+
+ -- Gunnar Wolf <gwolf at debian.org> Fri, 08 Feb 2008 17:08:02 -0600
+
+libxml-libxml-perl (1.63-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS of libxml-feed-perl with upstream r664. Closes: #432513
+
+ -- Andreas Barth <aba at not.so.argh.org> Tue, 31 Jul 2007 20:24:31 +0000
+
+libxml-libxml-perl (1.63-1) unstable; urgency=low
+
+ * New upstream release (Closes: #389857).
+ + Fixes typo in XML::LibXML::Namespace docs (Closes: #385538).
+ * Skip failing tests caused by recent libxml2 versions. See
+ http://rt.cpan.org/Ticket/Display.html?id=27659
+ (Closes: #430002, #430796).
+
+ -- Florian Ragwitz <rafl at debian.org> Wed, 27 Jun 2007 21:50:26 +0200
+
+libxml-libxml-perl (1.59-2) unstable; urgency=low
+
+ * Removed some debugging code I accidentally left in.
+
+ -- Florian Ragwitz <rafl at debian.org> Thu, 3 Aug 2006 16:58:57 +0200
+
+libxml-libxml-perl (1.59-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fixes several memory leaks (Closes: #358524).
+ + Adds default error method for XML::LibXML::SAX (Closes: #297885).
+ * Bump Standards-Version to 3.7.2 (no changes).
+ * Fixed some documentation typos in XML::LibXML::Node (Closes: #287473).
+
+ -- Florian Ragwitz <rafl at debian.org> Thu, 3 Aug 2006 16:12:11 +0200
+
+libxml-libxml-perl (1.58-3) unstable; urgency=low
+
+ * Fixed syntax error in the maintainer scripts (Closes: #335843).
+
+ -- Florian Ragwitz <rafl at debian.org> Tue, 1 Nov 2005 11:15:43 +0100
+
+libxml-libxml-perl (1.58-2) unstable; urgency=low
+
+ * New Maintainer (Closes: #300236).
+ * Bumped up Standards-Version.
+ * debian/rules:
+ + Cleaned up.
+ + Run the test suite. Ignore its results.
+ + First unpatch, then clean. Not the other way around.
+
+ -- Florian Ragwitz <rafl at debian.org> Mon, 31 Oct 2005 14:36:05 +0100
+
+libxml-libxml-perl (1.58-1) unstable; urgency=low
+
+ * QA Group upload orphaning this package
+ * debian/libxml-libxml-perl.prerm: remove bashism
+ * Incorporates previous NMUs (closes: #260832, #240334, #282439, #277469,
+ #280410)
+ * debian/control: Build-Depend on dpatch
+ * debian/rules: Add dpatch support
+ * Partially applied patch from Vincent Lefevre to correct a lot of typos in
+ manpage (closes: #249529)
+
+ -- Andrew Pollock <apollock at debian.org> Tue, 16 Aug 2005 13:31:13 +1000
+
+libxml-libxml-perl (1.58-0.3) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Fixed callback issues appearing in threaded and mixed mod_perl/libphp4
+ environments. (now calling xmlInitParser(), similar patch to that of Jason
+ Adams for bug#240334)
+
+ -- Michael Kröll <michael.kroell at uibk.ac.at> Sat, 04 Dec 2004 16:27:20 +0100
+
+libxml-libxml-perl (1.58-0.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Upload to non-delayed queue since it fixes a FTBFS of the previous NMU.
+ * Applied patch by Michael Kröll. Closes: #282439..
+
+ -- Enrico Zini <enrico at debian.org> Mon, 22 Nov 2004 22:24:30 +0100
+
+libxml-libxml-perl (1.58-0.1) unstable; urgency=high
+
+ * Non-maintainer upload
+ * New upstream version. Closes: bug#260832, bug#277469, bug#280410.
+ * Integrated upstream version 1.58_1
+ * Added RelaxNG and W3C Schema tests and rudimentary documentation from
+ XML::LibXML CVS
+
+ -- Michael Kröll <michael.kroell at uibk.ac.at> Sun, 24 Oct 2004 10:17:04 +0200
+
+libxml-libxml-perl (1.56-6.1) unstable; urgency=high
+
+ * Non-maintainer upload
+ * Applied patch by Jason Adams. Closes: bug#240334.
+ * Urgency set to high, as the module is not functional with mod_perl
+ without this patch
+
+ -- Enrico Zini <enrico at debian.org> Wed, 22 Sep 2004 21:10:50 +0200
+
+libxml-libxml-perl (1.56-6) unstable; urgency=low
+
+ * Integrate CVS as of 20040115
+ * Sign with subkey of real key (new UID)
+ * Add Jay Bonci as co-maintainer
+
+ -- Michael K. Edwards <medwards-debian at sane.net> Mon, 19 Jan 2004 00:28:59 -0800
+
+libxml-libxml-perl (1.56-5) unstable; urgency=low
+
+ * Overhaul XSUB code to fix LibXML_error brain damage (first pass)
+ * Test suite is now valgrind memcheck clean
+ * Major memory leaks plugged, except cleanup from bad XML still needs work
+ (remaining leakage is dominated by Perl objects that don't get GC'ed)
+
+ -- Michael K. Edwards (in Debian context) <mkedeb at sane.net> Thu, 15 Jan 2004 01:40:46 -0800
+
+libxml-libxml-perl (1.56-4) unstable; urgency=low
+
+ * New maintainer (closes: Bug#210534)
+ * debian/rules: rebuilt with dh-make-perl, add noopt support
+ * t/02parse.t: bypass tests that crash due to regressions in libxml2
+ * LibXML.xs: don't redeclare externs now in libxml2 globals.h
+ (closes: Bug#225620)
+ * LibXML.pm, LibXML.xs: fix spurious warnings during make test
+ * lib/XML/LibXML/SAX.pm: inherit superclass using "use base" syntax
+ * rebuild against perl v5.8.2, bump build-depends
+ * rebuild against libxml2 v2.6.3-1, bump build-depends
+ * debian/control: upgraded to Debian Policy 3.6.1 (no changes)
+
+ -- Michael K. Edwards (in Debian context) <mkedeb at sane.net> Tue, 30 Dec 2003 20:04:27 -0800
+
+libxml-libxml-perl (1.56-3) unstable; urgency=low
+
+ * rebuild against perl v5.8.1
+ (closes: Bug#213652)
+ * debian/control: updated build dependency on perl to '>= 5.8.1'
+ * rebuild against libxml2 v2.5.11-2
+ (closes: Bug#212784)
+ * debian/control: updated build dependency on libxml2-dev to '>= 2.5.11-2'
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 4 Oct 2003 10:21:46 -0500
+
+libxml-libxml-perl (1.56-2) unstable; urgency=low
+
+ * debian/control: hardcoded dependency in 'libxml2' to '>= 2.5.10' until
+ libxml2 itself provides the correct library info
+ * debian/rules: excluded 'libxml2' from 'dh_shlibdeps'
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Fri, 5 Sep 2003 09:01:20 -0500
+
+libxml-libxml-perl (1.56-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: upgraded to Debian Policy 3.6.0 (no changes)
+ * debian/control: updated build dependency on 'libxml2-dev' to '>= 2.5.10'
+ * debian/contorl: added build dependency on 'zlib1g-dev (>= 1:1.1.4)'
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Wed, 3 Sep 2003 22:09:28 -0500
+
+libxml-libxml-perl (1.54-2) unstable; urgency=low
+
+ * debian/control: removed unnecessary dependency on 'libxml-nodefilter-perl'
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Mon, 9 Jun 2003 18:51:07 -0500
+
+libxml-libxml-perl (1.54-1) unstable; urgency=low
+
+ * New upstream release
+ (closes: Bug#186824)
+ - fixed to work with libxml2 v2.5.7
+ (closes: Bug#187684)
+ - fixed improper UTF-8 handling
+ (closes: Bug#196373, Bug#194916)
+ * debian/control: added build dependency on 'libgdome2-dev'
+ * debian/control: added (build) dependency on 'libxml-libxml-common-perl'
+ * debian/control: added dependency on 'libxml-nodefilter-perl'
+ * XML::LibXML: fixed typo in manual page
+ (closes: Bug#158294)
+ * XML::/LibXML::SAX::Parser: fixed incorrectly prefix handling
+ (closes: Bug#174612)
+ * debian/libxml-libxml-perl.postinst: added XML::LibXML::SAX parser module
+ registration
+ * debian/libxml-libxml-perl.prerm: added XML::LibXML::SAX parser module
+ deregistration
+ * 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-libxml-perl' from 'interpreters' to 'perl'
+ * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1'
+ * debian/control: upgraded to Debian Policy 3.5.10 (no changes)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sun, 8 Jun 2003 19:01:12 -0500
+
+libxml-libxml-perl (1.52-5) unstable; urgency=low
+
+ * Rebuild against libxml2 v2.4.28
+ (closes: Bug#171508)
+ * debian/control: upgraded to Debian Policy 3.5.8 (no changes)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sun, 8 Dec 2002 17:07:43 -0600
+
+libxml-libxml-perl (1.52-4) unstable; urgency=low
+
+ * debian/rules: added erroneously removed 'dh_testroot' to 'binary-indep'
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sun, 4 Aug 2002 15:19:57 -0500
+
+libxml-libxml-perl (1.52-3) unstable; urgency=low
+
+ * Rebuild against perl 5.8.0
+ * debian/control: changed build dependency on perl accordingly
+ * 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-arch' target
+ * debian/copyright: added pointer to license
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 3 Aug 2002 17:27:48 -0500
+
+libxml-libxml-perl (1.52-2) unstable; urgency=low
+
+ * Makefile.PL: commented out parser registration code
+ (closes: Bug#150922)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Tue, 2 Jul 2002 20:53:36 -0500
+
+libxml-libxml-perl (1.52-1) unstable; urgency=low
+
+ * New upstream release
+ (closes: Bug#149995)
+ * debian/control: added missing versioned (build) dependency on
+ libxml-namespacesupport-perl v1.07
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 15 Jun 2002 13:41:10 -0500
+
+libxml-libxml-perl (1.50-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sun, 26 May 2002 11:29:03 -0500
+
+libxml-libxml-perl (1.40-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 27 Apr 2002 14:21:45 -0500
+
+libxml-libxml-perl (1.31-2) unstable; urgency=low
+
+ * Added postinstallation and preremoval scripts to properly register and
+ unregister the parser XML::LibXML::SAX::Parser
+ (closes: Bug#129439)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 16 Feb 2002 22:33:54 -0600
+
+libxml-libxml-perl (1.31-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: added (build) dependency on libxml-sax-perl
+ * debian/control: upgraded to Debian Policy 3.5.6
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 5 Jan 2002 12:21:22 -0600
+
+libxml-libxml-perl (1.00-1) unstable; urgency=low
+
+ * New upstream release
+ (closes: Bug#106626)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sun, 19 Aug 2001 10:29:50 -0500
+
+libxml-libxml-perl (0.97-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: updated long description
+ * debian/control: upgraded to Debian Policy 3.5.5
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sat, 7 Jul 2001 13:31:31 -0500
+
+libxml-libxml-perl (0.94-1) unstable; urgency=low
+
+ * New upstream release
+ * Makefile.PL: removed various unnecessary $Config uses so it builds
+ without needing the same libraries used to build perl
+ (closes: Bug#99761)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Sun, 10 Jun 2001 17:43:38 -0500
+
+libxml-libxml-perl (0.91-1) unstable; urgency=low
+
+ * Initial Release
+ (closes: Bug#99113)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Tue, 29 May 2001 19:24:53 -0500
Added: trunk/libxml-libxml-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/compat?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/compat (added)
+++ trunk/libxml-libxml-perl/debian/compat Sun Feb 10 23:37:08 2008
@@ -1,0 +1,1 @@
+6
Added: trunk/libxml-libxml-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/control?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/control (added)
+++ trunk/libxml-libxml-perl/debian/control Sun Feb 10 23:37:08 2008
@@ -1,0 +1,23 @@
+Source: libxml-libxml-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Florian Ragwitz <rafl at debian.org>, Gunnar Wolf <gwolf at debian.org>
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 6), perl (>= 5.8.2), libxml-libxml-common-perl, libxml-namespacesupport-perl (>= 1.07), libxml-sax-perl (>= 0.11), libxml2-dev (>= 2.6.3-1), zlib1g-dev (>= 1:1.1.4), dpatch
+Homepage: http://search.cpan.org/dist/XML-LibXML/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-libxml-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/
+
+Package: libxml-libxml-perl
+Section: perl
+Priority: optional
+Architecture: any
+Depends: ${perl:Depends}, libxml-libxml-common-perl, libxml-namespacesupport-perl (>= 1.07), libxml-sax-perl (>= 0.11), ${shlibs:Depends}
+Description: Perl module for using the GNOME libxml2 library
+ This module implements a Perl interface to the GNOME libxml2 library.
+ The libxml2 library provides interfaces for parsing and manipulating
+ XML files. This module allows Perl programmers to make use of the
+ highly capable validating XML parser and the high performance DOM
+ implementation. It also provides an XML::XPath-like findnodes()
+ interface, providing access to the XPath API in libxml2.
Added: trunk/libxml-libxml-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/copyright?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/copyright (added)
+++ trunk/libxml-libxml-perl/debian/copyright Sun Feb 10 23:37:08 2008
@@ -1,0 +1,20 @@
+This package was debianized by Ardo van Rangelrooij <ardo at debian.org>
+on Tue, 29 May, 2001, 17:45:10 -0500.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+Visit <http://www.cpan.org/> to find a CPAN site near you.
+
+Upstream Author: Christian Glahn <christian.glahn at uibk.ac.at>
+
+Copyright:
+
+Copyright 2001-2002, AxKit.com Ltd. All rights reserved.
+
+This is free software, you may use it and distribute it under the same
+terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
+
Added: trunk/libxml-libxml-perl/debian/libxml-libxml-perl.docs
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/libxml-libxml-perl.docs?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/libxml-libxml-perl.docs (added)
+++ trunk/libxml-libxml-perl/debian/libxml-libxml-perl.docs Sun Feb 10 23:37:08 2008
@@ -1,0 +1,1 @@
+README
Added: trunk/libxml-libxml-perl/debian/libxml-libxml-perl.examples
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/libxml-libxml-perl.examples?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/libxml-libxml-perl.examples (added)
+++ trunk/libxml-libxml-perl/debian/libxml-libxml-perl.examples Sun Feb 10 23:37:08 2008
@@ -1,0 +1,1 @@
+example/*
Added: trunk/libxml-libxml-perl/debian/libxml-libxml-perl.postinst
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/libxml-libxml-perl.postinst?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/libxml-libxml-perl.postinst (added)
+++ trunk/libxml-libxml-perl/debian/libxml-libxml-perl.postinst Sun Feb 10 23:37:08 2008
@@ -1,0 +1,22 @@
+#!/bin/sh
+## ----------------------------------------------------------------------
+## debian/postinst : postinstallation script for libxml-libxml-perl
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+set -e
+
+## ----------------------------------------------------------------------
+if [ "$1" = "configure" ]; then
+ update-perl-sax-parsers --add XML::LibXML::SAX::Parser
+ update-perl-sax-parsers --add XML::LibXML::SAX
+ update-perl-sax-parsers --update
+fi
+
+## ----------------------------------------------------------------------
+## automatically generated debhelper commands
+#DEBHELPER#
+
+exit 0
+
+## ----------------------------------------------------------------------
Added: trunk/libxml-libxml-perl/debian/libxml-libxml-perl.prerm
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/libxml-libxml-perl.prerm?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/libxml-libxml-perl.prerm (added)
+++ trunk/libxml-libxml-perl/debian/libxml-libxml-perl.prerm Sun Feb 10 23:37:08 2008
@@ -1,0 +1,22 @@
+#!/bin/sh
+## ----------------------------------------------------------------------
+## debian/prerm : preremoval script for libxml-libxml-perl
+## ----------------------------------------------------------------------
+
+## ----------------------------------------------------------------------
+set -e
+
+## ----------------------------------------------------------------------
+if [ "$1" = "remove" -o "$1" = "upgrade" ]; then
+ update-perl-sax-parsers --remove XML::LibXML::SAX::Parser
+ update-perl-sax-parsers --remove XML::LibXML::SAX
+ update-perl-sax-parsers --update
+fi
+
+## ----------------------------------------------------------------------
+## automatically generated debhelper commands
+#DEBHELPER#
+
+exit 0
+
+## ----------------------------------------------------------------------
Added: trunk/libxml-libxml-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/patches/00list?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/00list (added)
+++ trunk/libxml-libxml-perl/debian/patches/00list Sun Feb 10 23:37:08 2008
@@ -1,0 +1,4 @@
+fix_manpage_typos
+skip_failures
+test_for_xml_element_id
+stricter_checks
Added: trunk/libxml-libxml-perl/debian/patches/fix_manpage_typos.dpatch
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/patches/fix_manpage_typos.dpatch?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/fix_manpage_typos.dpatch (added)
+++ trunk/libxml-libxml-perl/debian/patches/fix_manpage_typos.dpatch Sun Feb 10 23:37:08 2008
@@ -1,0 +1,56 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15_fix_manpage_typos.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix some documentation typos
+
+ at DPATCH@
+
+--- libxml-libxml-perl-1.63.orig/lib/XML/LibXML/Node.pod 2007-04-16 12:11:01.000000000 +0200
++++ libxml-libxml-perl-1.63/lib/XML/LibXML/Node.pod 2007-06-19 18:05:38.013830011 +0200
+@@ -16,7 +16,7 @@
+ $oldnode = $node->replaceChild( $newNode, $oldNode );
+ $node->replaceNode($newNode);
+ $childnode = $node->appendChild( $childnode );
+- $childnode = $node->addChild( $chilnode );
++ $childnode = $node->addChild( $childnode );
+ $node = $parent->addNewChild( $nsURI, $name );
+ $node->addSibling($newNode);
+ $newnode =$node->cloneNode( $deep );
+@@ -137,7 +137,7 @@
+ $node->unbindNode();
+
+ Unbinds the Node from its siblings and Parent, but not from the Document it
+-belongs to. If the node is not inserted into the DOM afterwards it will be lost
++belongs to. If the node is not inserted into the DOM afterwards, it will be lost
+ after the program terminated. From a low level view, the unbound node is
+ stripped from the context it is and inserted into a (hidden) document-fragment.
+
+@@ -174,7 +174,7 @@
+ $childnode = $node->appendChild( $childnode );
+
+ The function will add the $childnode to the end of $node's children. The
+-function should fail, if the new childnode is already a child of $node. This
++function should fail, if the new childnode is allready a child of $node. This
+ function differs from the DOM L2 specification, in the case, if the new node is
+ not part of the document, the node will be imported first.
+
+@@ -360,7 +360,7 @@
+ @nodes = $node->findnodes( $xpath_expression );
+
+ findnodes evaluates the xpath expression (XPath 1.0) on the current node and
+-returns the resulting node set as an array. In scalar context returns a
++returns the resulting node set as an array. In a scalar context, returns a
+ XML::LibXML::NodeList object.
+
+ NOTE ON NAMESPACES AND XPATH:
+@@ -466,7 +466,7 @@
+
+ =item B<toStringC14N>
+
+- $c14nstring = $node->toStringC14N($with_comments, $xpath_expression);
++ $c14nstring = $node->toString($with_comments, $xpath_expression);
+
+ The function is similar to toString(). Instead of simply serializing the
+ document tree, it transforms it as it is specified in the XML-C14N
+Only in libxml-libxml-perl-1.63/lib/XML/LibXML: Node.pod.rej
Propchange: trunk/libxml-libxml-perl/debian/patches/fix_manpage_typos.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-libxml-perl/debian/patches/skip_failures.dpatch
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/patches/skip_failures.dpatch?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/skip_failures.dpatch (added)
+++ trunk/libxml-libxml-perl/debian/patches/skip_failures.dpatch Sun Feb 10 23:37:08 2008
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## skip_failures.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad libxml-libxml-perl-1.63~/t/03doc.t libxml-libxml-perl-1.63/t/03doc.t
+--- libxml-libxml-perl-1.63~/t/03doc.t 2007-06-27 21:40:07.000000000 +0200
++++ libxml-libxml-perl-1.63/t/03doc.t 2007-06-27 21:48:05.132425210 +0200
+@@ -206,8 +206,9 @@
+ ok($pi);
+ ok($pi->nodeType, XML_PI_NODE);
+ ok($pi->nodeName, "foo");
+- ok( $pi->textContent, undef);
+- ok( $pi->getData, undef);
++ my $is_latest_libxml2 = XML::LibXML::LIBXML_VERSION >= 20629 ? 'fails with latest libxml2' : '';
++ skip($is_latest_libxml2, $pi->textContent, undef);
++ skip($is_latest_libxml2, $pi->getData, undef);
+ $pi->setData(q(bar&));
+ ok( $pi->getData, q(bar&));
+ ok($pi->textContent, q(bar&));
Propchange: trunk/libxml-libxml-perl/debian/patches/skip_failures.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-libxml-perl/debian/patches/stricter_checks.dpatch
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/patches/stricter_checks.dpatch?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/stricter_checks.dpatch (added)
+++ trunk/libxml-libxml-perl/debian/patches/stricter_checks.dpatch Sun Feb 10 23:37:08 2008
@@ -1,0 +1,64 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## stricter_checks_in_dom_c.dpatch by <gwolf at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Added a format string prevention and several sanity checks
+
+ at DPATCH@
+diff -urNad libxml-libxml-perl-1.63~/dom.c libxml-libxml-perl-1.63/dom.c
+--- libxml-libxml-perl-1.63~/dom.c 2008-02-08 17:11:42.000000000 -0600
++++ libxml-libxml-perl-1.63/dom.c 2008-02-08 17:13:01.000000000 -0600
+@@ -14,7 +14,7 @@
+ /* #define warn(string) fprintf(stderr, string) */
+
+ #ifdef XS_WARNINGS
+-#define xs_warn(string) warn(string)
++#define xs_warn(string) warn("%s",string)
+ #else
+ #define xs_warn(string)
+ #endif
+@@ -91,9 +91,20 @@
+ _domReconcileNsAttr(xmlAttrPtr attr, xmlNsPtr * unused)
+ {
+ xmlNodePtr tree = attr->parent;
++ if (tree == NULL)
++ return;
+ if( attr->ns != NULL )
+ {
+- xmlNsPtr ns = xmlSearchNs( tree->doc, tree->parent, attr->ns->prefix );
++ xmlNsPtr ns;
++ if ((attr->ns->prefix != NULL) &&
++ (xmlStrEqual(attr->ns->prefix, BAD_CAST "xml"))) {
++ /* prefix 'xml' has no visible declaration */
++ ns = xmlSearchNsByHref(tree->doc, tree, XML_XML_NAMESPACE);
++ attr->ns = ns;
++ return;
++ } else {
++ ns = xmlSearchNs( tree->doc, tree->parent, attr->ns->prefix );
++ }
+ if( ns != NULL && ns->href != NULL && attr->ns->href != NULL &&
+ xmlStrcmp(ns->href,attr->ns->href) == 0 )
+ {
+@@ -114,7 +125,9 @@
+ {
+ /* Replace/Add the namespace declaration on the element */
+ attr->ns = xmlCopyNamespace(attr->ns);
+- domAddNsDef(tree, attr->ns);
++ if (attr->ns) {
++ domAddNsDef(tree, attr->ns);
++ }
+ }
+ }
+ }
+diff -urNad libxml-libxml-perl-1.63~/perl-libxml-mm.h libxml-libxml-perl-1.63/perl-libxml-mm.h
+--- libxml-libxml-perl-1.63~/perl-libxml-mm.h 2008-02-08 17:12:57.000000000 -0600
++++ libxml-libxml-perl-1.63/perl-libxml-mm.h 2008-02-08 17:13:15.000000000 -0600
+@@ -40,7 +40,7 @@
+ * for warn!!
+ */
+ #ifdef XS_WARNINGS
+-#define xs_warn(string) warn(string)
++#define xs_warn(string) warn("%s",string)
+ #else
+ #define xs_warn(string)
+ #endif
Propchange: trunk/libxml-libxml-perl/debian/patches/stricter_checks.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-libxml-perl/debian/patches/test_for_xml_element_id.dpatch
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/patches/test_for_xml_element_id.dpatch?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/test_for_xml_element_id.dpatch (added)
+++ trunk/libxml-libxml-perl/debian/patches/test_for_xml_element_id.dpatch Sun Feb 10 23:37:08 2008
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## test_for_xml_element_id.dpatch by <gwolf at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds two checks for xml:id
+
+ at DPATCH@
+diff -urNad libxml-libxml-perl-1.63~/t/10ns.t libxml-libxml-perl-1.63/t/10ns.t
+--- libxml-libxml-perl-1.63~/t/10ns.t 2008-02-08 16:59:11.000000000 -0600
++++ libxml-libxml-perl-1.63/t/10ns.t 2008-02-08 17:02:59.000000000 -0600
+@@ -1,6 +1,6 @@
+ # -*- cperl -*-
+ use Test;
+-BEGIN { plan tests=>122; }
++BEGIN { plan tests=>124; }
+ use XML::LibXML;
+ use XML::LibXML::Common qw(:libxml);
+
+@@ -384,3 +384,15 @@
+ ok ( !defined($child->getAttribute( 'xmlns:other' )) );
+ ok ( defined($doca->documentElement->getAttribute( 'xmlns:other' )) );
+ }
++
++print "# 10. xml namespace\n";
++{
++ my $docOne = XML::LibXML->new->parse_string('<foo><inc xml:id="test"/></foo>');
++ my $docTwo = XML::LibXML->new->parse_string('<bar><urgh xml:id="foo"/></bar>');
++
++ my $inc = $docOne->getElementById('test');
++ my $rep = $docTwo->getElementById('foo');
++ $inc->parentNode->replaceChild($rep, $inc);
++ ok($inc->getAttributeNS('http://www.w3.org/XML/1998/namespace','id'),'test');
++ ok($inc->isSameNode($docOne->getElementById('test')));
++}
Propchange: trunk/libxml-libxml-perl/debian/patches/test_for_xml_element_id.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-libxml-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/rules?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/rules (added)
+++ trunk/libxml-libxml-perl/debian/rules Sun Feb 10 23:37:08 2008
@@ -1,0 +1,74 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+ifndef DESTDIR
+DESTDIR=..
+endif
+TMP =`pwd`/debian/$(PACKAGE)
+
+OPTIMIZE = -g -Wall
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+OPTIMIZE += -O0
+else
+OPTIMIZE += -O2
+endif
+
+build: build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+ $(PERL) Makefile.PL SKIP_SAX_INSTALL=1 INSTALLDIRS=vendor
+ # DEFINE=-DXS_WARNINGS
+ $(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""
+ $(MAKE) test
+ touch build-stamp
+
+clean: clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
+ dh_clean
+
+install:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) install PREFIX=$(TMP)/usr
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs README
+ dh_installexamples
+ dh_installchangelogs Changes
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_perl
+ dh_shlibdeps --exclude=libxml2
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb --destdir=$(DESTDIR)
+
+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 patch unpatch clean1
Propchange: trunk/libxml-libxml-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-libxml-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libxml-libxml-perl/debian/watch?rev=14717&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/watch (added)
+++ trunk/libxml-libxml-perl/debian/watch Sun Feb 10 23:37:08 2008
@@ -1,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/XML-LibXML/ .*/XML-LibXML-(.*)\.tar\.gz
More information about the Pkg-perl-cvs-commits
mailing list