pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-LibXML Update to upstream version 1.61...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e680f0650759
branches:  trunk
changeset: 521110:e680f0650759
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Nov 05 14:05:07 2006 +0000

description:
Update to upstream version 1.61003, package version 1.61.003.

Package changes:
- adjust dependencies
- mark conflicting with p5-XML-LibXML-XPathContext package

Please note that this version includes the perl module
XML::LibXML::XPathContext. This module is also provided by the
textproc/p5-XML-LibXML-XPathContext package which is about to be deleted.


Changes since last packaged version (1.58):
1.61
 - get{Elements,Children}By{TagName,TagNameNS,LocalName} now
   obey wildcards '*', getChildrenByLocalName was added.
 - XML::LibXML::XPathContext merged in
 - many new tests added
 - the module should now be fully compatibile with libxml2 >= 2.6.16
   (some older versions compile but have problems with namespaced attributes)
 - threads test skipped by default
 - documentation updates (namely DOM namespace conformance in XML::LibXML::DOM)
 - added setNamespaceDecl{URI,Prefix}
 - get/setAttribute(NS)? implementation made xmlns aware
 - all sub-modules have the same version as XML::LibXML

1.60
 - getElementsById corrected to getElementById and the old name kept
   as an alias. Also re-implemented without XPath for improved
   performance
 - DOM Level 3 method $attr->isId() added
 - make {get,set,has}Attribute(Node)? methods work with full
   attribute names rather than just localnames.
   (Although DOM Level 3 is not very clear about the behavior of
   these methods for an attributes with namespaces, it certainly
   does not imply that getAttribute('foo') should return value of a
   bar:foo, which was the old behavior.)
 - added publicId and systemId methods to XML::LibXML::Dtd

1.59
 - new parser and callback code (Christian Glahn)
 - new XML::LibXML::InputCallback class
 - many bug fixes (including several memory leaks)
 - documentation and regression fixes and enhancements
 - Perl wrappers for parse_html_*
 - make sure parse_* methods are not called on class (bug 11126)
 - DOM Layer 3 conformance fixes:
   * lookupNamespaceURI(empty_or_undef) now returns the default NS
 - faster getChildrenByTagNameNS implementation
 - remove the SGML parser code no longer supported by libxml (Michael Kröll)

diffstat:

 textproc/p5-XML-LibXML/Makefile         |  17 +++++++++++------
 textproc/p5-XML-LibXML/distinfo         |   9 ++++-----
 textproc/p5-XML-LibXML/patches/patch-aa |  22 ----------------------
 3 files changed, 15 insertions(+), 33 deletions(-)

diffs (75 lines):

diff -r 29a92ecad286 -r e680f0650759 textproc/p5-XML-LibXML/Makefile
--- a/textproc/p5-XML-LibXML/Makefile   Sun Nov 05 13:45:37 2006 +0000
+++ b/textproc/p5-XML-LibXML/Makefile   Sun Nov 05 14:05:07 2006 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2006/03/04 21:30:49 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2006/11/05 14:05:07 seb Exp $
 #
 
-DISTNAME=      XML-LibXML-1.58
-PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   3
+DISTNAME=      XML-LibXML-1.61003
+PKGNAME=       p5-XML-LibXML-1.61.003
 SVR4_PKGNAME=  p5xlx
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=XML/}
@@ -12,10 +11,16 @@
 HOMEPAGE=      http://search.cpan.org/~phish/XML-LibXML/
 COMMENT=       Perl interface to the libxml2 library
 
-DEPENDS+=      p5-XML-SAX>=0.03:../../textproc/p5-XML-SAX
-DEPENDS+=      p5-XML-Checker-[0-9]*:../../textproc/p5-XML-Checker
+DEPENDS+=      p5-XML-SAX>=0.11:../../textproc/p5-XML-SAX
+DEPENDS+=      p5-XML-NamespaceSupport>=1.07:../../textproc/p5-XML-NamespaceSupport
 DEPENDS+=      p5-XML-LibXML-Common-[0-9]*:../../textproc/p5-XML-LibXML-Common
 
+# since version 1.61 the XML::LibXML Perl module
+# includes XML::LibXML::XPathContext module
+CONFLICTS+=    p5-XML-LibXML-XPathContext-[0-9]*
+
+WRKSRC=                ${WRKDIR}/XML-LibXML-1.61
+
 PERL5_PACKLIST=                auto/XML/LibXML/.packlist
 
 .include "../../textproc/libxml2/buildlink3.mk"
diff -r 29a92ecad286 -r e680f0650759 textproc/p5-XML-LibXML/distinfo
--- a/textproc/p5-XML-LibXML/distinfo   Sun Nov 05 13:45:37 2006 +0000
+++ b/textproc/p5-XML-LibXML/distinfo   Sun Nov 05 14:05:07 2006 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.8 2005/03/17 09:03:17 snj Exp $
+$NetBSD: distinfo,v 1.9 2006/11/05 14:05:07 seb Exp $
 
-SHA1 (XML-LibXML-1.58.tar.gz) = f2660677e2a579ba0bf9ef5d675ea2883b786abe
-RMD160 (XML-LibXML-1.58.tar.gz) = 04ce4bb3896f5b07eaffcb9ac55fd005b87015a8
-Size (XML-LibXML-1.58.tar.gz) = 171713 bytes
-SHA1 (patch-aa) = 820e73f774c5eb5421c6a6d1711b745c3fbb9b34
+SHA1 (XML-LibXML-1.61003.tar.gz) = 25c869ad781f2f1d6de07057fdcc8bf85e67fb52
+RMD160 (XML-LibXML-1.61003.tar.gz) = 7f5814b89856887accc7d176850fc2d5c8b3db1f
+Size (XML-LibXML-1.61003.tar.gz) = 258364 bytes
diff -r 29a92ecad286 -r e680f0650759 textproc/p5-XML-LibXML/patches/patch-aa
--- a/textproc/p5-XML-LibXML/patches/patch-aa   Sun Nov 05 13:45:37 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2005/03/16 15:05:35 rillig Exp $
-
-gcc-2.95.3 cannot handle declarations intermixed with code.
-
---- perl-libxml-mm.c.orig      Wed Mar 31 21:32:08 2004
-+++ perl-libxml-mm.c   Wed Mar 16 03:16:34 2005
-@@ -959,13 +959,14 @@ nodeC2Sv( const xmlChar * string,  xmlNo
-     if ( refnode != NULL ) {
-         xmlDocPtr real_doc = refnode->doc;
-         if ( real_doc != NULL && real_doc->encoding != NULL ) {
-+            xmlChar * decoded;
-             xs_warn( " encode node !!" );
-             /* The following statement is to handle bad
-                values set by XML::LibXSLT */
-             if ( PmmNodeEncoding(real_doc) == XML_CHAR_ENCODING_NONE ) {
-                 PmmNodeEncoding(real_doc) = XML_CHAR_ENCODING_UTF8;
-             }
--            xmlChar * decoded = PmmFastDecodeString( PmmNodeEncoding(real_doc) ,
-+            decoded = PmmFastDecodeString( PmmNodeEncoding(real_doc) ,
-                                                      (const xmlChar *)string,
-                                                      (const xmlChar*)real_doc->encoding);
-             xs_warn( "push decoded string into SV" );



Home | Main Index | Thread Index | Old Index