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 1.57; addresses PR 23...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8b2841d5cb5
branches:  trunk
changeset: 471684:a8b2841d5cb5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 29 23:50:49 2004 +0000

description:
Update to 1.57; addresses PR 23884. Changes:
   - added cloneNode to XML::LibXML::Document
   - include Schema/RelaxNG code only with libxml2 >= 2.6.0 (to support old libxml2)
   - applied patch to example/cb_example.pl (bug 4262)
   - fixed insertBefore/insertAfter on empty elements (bug 3691)
   - more DOM conformant XML::LibXML->createDocument API (by Robin Berjon)
   - fixed encoding problems with API calls in document encoding
   - improved support for importing DTD subsets
   - fixed DTD validation error reporting problems with libxml2-2.6.x
   - fixed compilation problems with libxml2-2.6.x
   - fixed XML::LibXML::Number to support negative numbers
   - added XML Schema validation interface (XML::LibXML::Schema)
   - added XML RelaxNG validation interface (XML::LibXML::RelaxNG)
   - Michael K. Edwards' patch applied with some amendments from Petr Pajas:
     * add debian build files (I added SKIP_SAX_INSTALL flag for
       Makefile.PL and changed the patch so that it doesn't disable
       sax parser registration completely by default, and rather made
       debian build use this flag)
     * general cleanup (use SV_nolen, etc.)
     * SAX parsers cleanup
     * general error reporting code cleanup/rewrite, try preventing
       possible memory leaks
     * recover(1) now triggers warnings (disable with $SIG{__WARN__}=sub {})
     * slighlty more strict parse_string behavior (now same as when
       parsing fh, etc): e.g. parse_string("<foo:bar>"), i.e prefix without
       NS declaration, raises error unless recover(1) is used
     * documentation fixes/updates
     * slightly updated test set to reflect the new slightly more strict
       parsing.
   - fixed default c14n XPath to include attributes and namespaces (Petr Pajas)
   - make libxml2's xmlXPathOrderDocElems available through a new
     $doc->indexElements method
   - added version information of libxml2
   - Les Richardson's documentation patch applied.

diffstat:

 textproc/p5-XML-LibXML/Makefile         |   5 ++---
 textproc/p5-XML-LibXML/distinfo         |   7 +++----
 textproc/p5-XML-LibXML/patches/patch-aa |  24 ------------------------
 3 files changed, 5 insertions(+), 31 deletions(-)

diffs (55 lines):

diff -r eebae214d588 -r a8b2841d5cb5 textproc/p5-XML-LibXML/Makefile
--- a/textproc/p5-XML-LibXML/Makefile   Mon Mar 29 23:40:52 2004 +0000
+++ b/textproc/p5-XML-LibXML/Makefile   Mon Mar 29 23:50:49 2004 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2004/03/26 02:27:55 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2004/03/29 23:50:49 wiz Exp $
 #
 
-DISTNAME=      XML-LibXML-1.56
+DISTNAME=      XML-LibXML-1.57
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   3
 SVR4_PKGNAME=  p5xlx
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=XML/}
diff -r eebae214d588 -r a8b2841d5cb5 textproc/p5-XML-LibXML/distinfo
--- a/textproc/p5-XML-LibXML/distinfo   Mon Mar 29 23:40:52 2004 +0000
+++ b/textproc/p5-XML-LibXML/distinfo   Mon Mar 29 23:50:49 2004 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.3 2004/01/15 09:11:58 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2004/03/29 23:50:49 wiz Exp $
 
-SHA1 (XML-LibXML-1.56.tar.gz) = c0f76dfc444cd792a59bdcc4f0fba0e8dfa6d373
-Size (XML-LibXML-1.56.tar.gz) = 165047 bytes
-SHA1 (patch-aa) = c54db48ed0ec3dba5b1ab8ef6678f3f78b7f586a
+SHA1 (XML-LibXML-1.57.tar.gz) = e0219748e8fe49c03aec89eebed6a6f2c19c1a1b
+Size (XML-LibXML-1.57.tar.gz) = 169306 bytes
diff -r eebae214d588 -r a8b2841d5cb5 textproc/p5-XML-LibXML/patches/patch-aa
--- a/textproc/p5-XML-LibXML/patches/patch-aa   Mon Mar 29 23:40:52 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/01/15 09:11:58 xtraeme Exp $
-
---- LibXML.xs.orig     2004-01-15 10:09:53.000000000 +0100
-+++ LibXML.xs  2004-01-15 10:10:17.000000000 +0100
-@@ -70,13 +70,13 @@
- extern int xmlSubstituteEntitiesDefaultVal;
- #define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal
- #else
--LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
--LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
-+LIBXML_DLL_IMPORT int xmlDoValidityCheckingDefaultValue;
-+LIBXML_DLL_IMPORT int xmlSubstituteEntitiesDefaultValue;
- #endif
--LIBXML_DLL_IMPORT extern int xmlGetWarningsDefaultValue;
--LIBXML_DLL_IMPORT extern int xmlKeepBlanksDefaultValue;
--LIBXML_DLL_IMPORT extern int xmlLoadExtDtdDefaultValue;
--LIBXML_DLL_IMPORT extern int xmlPedanticParserDefaultValue;
-+LIBXML_DLL_IMPORT int xmlGetWarningsDefaultValue;
-+LIBXML_DLL_IMPORT int xmlKeepBlanksDefaultValue;
-+LIBXML_DLL_IMPORT int xmlLoadExtDtdDefaultValue;
-+LIBXML_DLL_IMPORT int xmlPedanticParserDefaultValue;
- 
- #define TEST_PERL_FLAG(flag) \
-     SvTRUE(perl_get_sv(flag, FALSE)) ? 1 : 0



Home | Main Index | Thread Index | Old Index