pkgsrc/textproc/p5-XML-LibXML/Makefile

35 lines
1 KiB
Makefile
Raw Normal View History

Update to 1.96: 1.96 Fri Mar 16 21:01:09 IST 2012 - Apply a patch to add leading minus signs to the commands of install_sax_driver. - This makes the make process succeed even if they fail. - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=75007 - Thanks to POPEL for the report, and to Petr Pajas for the patch. - Apply a patch from Tim Brody to skip_all on t/49callbacks_returning_undef.t when URI.pm's version is below 1.35. - Thanks to Tim Brody for the patch. - Fixes the problem reported in http://www.city-fan.org/tips/PaulHowarth/Blog/2011-09-06. 1.95 Tue Mar 6 10:35:26 IST 2012 - Got rid of a broken test (at least with recent libxml2s) in t/03doc.t : - https://rt.cpan.org/Ticket/Display.html?id=75403 - The problem was that the test tested for an undefined XML namespace, a behaviour which was changed in a recent libxml2 release. - Thanks to vcizek for the report. 1.94 Sat Mar 3 22:05:18 IST 2012 - Fix XML::LibXML::Element tests for ineqaulity with == and eq. - Fixes https://rt.cpan.org/Ticket/Display.html?id=75505 . - Thanks to Mark Overmeer for the report and for a preliminary patch to t/71overload.t . 1.93 Mon Feb 27 11:15:50 IST 2012 - Fix XML::LibXML::Element comparision with == and eq. - Fixes https://rt.cpan.org/Ticket/Display.html?id=75257 , https://rt.cpan.org/Ticket/Display.html?id=75293 , https://rt.cpan.org/Ticket/Display.html?id=75259 . - Thanks to Toby Inkster for a preliminary patch (that was modified by me) and to the various people who reported the problem. 1.92 Tue Feb 21 19:00:48 IST 2012 - Fix for test failure on perls < 5.10. - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=75195 - Thanks to Paul for the report, and for a patch that was not accepted. 1.91 Tue Feb 21 13:57:54 IST 2012 - Overload hash dereferencing on XML::LibXML::Elements, to provide access to the element's attributes. - See XML::LibXML::AttributeHash for details. - Thanks to Toby Inkster. - Pull some commits from Toby Inkster to add more convenient methods to XML::LibXML::NodeList such as sort, map, grep, etc. - https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/11/xml-libxml-nodelist-improvements - Thanks, Toby! - Printed some warnings regardless if DEBUG is on. - Thanks to http://search.cpan.org/~mstrout/ for the suggestion. 1.90 Sun Jan 8 20:57:58 IST 2012 - Pull a commit from Aaron Crange to fix compilation bugs in Devel.xs: - local variable declarations must be in the PREINIT section, not `CODE`, at least for some compiler/OS combinations. - Thanks, Aaron! 1.89 Sat Dec 24 09:46:26 IDT 2011 - Apply a patch with spelling fixes by Kevin Lyda : - https://rt.cpan.org/Public/Bug/Display.html?id=71403 - Thanks to Kevin. - Apply a pull request by ElDiablo with the implementation of lib/XML/LibXML/Devel.pm . - Adjust the Win32 Build Instructions in the README file. - Thanks to Christopher J. Madsen.
2012-04-22 14:14:47 +02:00
# $NetBSD: Makefile,v 1.35 2012/04/22 12:14:47 wiz Exp $
#
Update to 1.96: 1.96 Fri Mar 16 21:01:09 IST 2012 - Apply a patch to add leading minus signs to the commands of install_sax_driver. - This makes the make process succeed even if they fail. - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=75007 - Thanks to POPEL for the report, and to Petr Pajas for the patch. - Apply a patch from Tim Brody to skip_all on t/49callbacks_returning_undef.t when URI.pm's version is below 1.35. - Thanks to Tim Brody for the patch. - Fixes the problem reported in http://www.city-fan.org/tips/PaulHowarth/Blog/2011-09-06. 1.95 Tue Mar 6 10:35:26 IST 2012 - Got rid of a broken test (at least with recent libxml2s) in t/03doc.t : - https://rt.cpan.org/Ticket/Display.html?id=75403 - The problem was that the test tested for an undefined XML namespace, a behaviour which was changed in a recent libxml2 release. - Thanks to vcizek for the report. 1.94 Sat Mar 3 22:05:18 IST 2012 - Fix XML::LibXML::Element tests for ineqaulity with == and eq. - Fixes https://rt.cpan.org/Ticket/Display.html?id=75505 . - Thanks to Mark Overmeer for the report and for a preliminary patch to t/71overload.t . 1.93 Mon Feb 27 11:15:50 IST 2012 - Fix XML::LibXML::Element comparision with == and eq. - Fixes https://rt.cpan.org/Ticket/Display.html?id=75257 , https://rt.cpan.org/Ticket/Display.html?id=75293 , https://rt.cpan.org/Ticket/Display.html?id=75259 . - Thanks to Toby Inkster for a preliminary patch (that was modified by me) and to the various people who reported the problem. 1.92 Tue Feb 21 19:00:48 IST 2012 - Fix for test failure on perls < 5.10. - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=75195 - Thanks to Paul for the report, and for a patch that was not accepted. 1.91 Tue Feb 21 13:57:54 IST 2012 - Overload hash dereferencing on XML::LibXML::Elements, to provide access to the element's attributes. - See XML::LibXML::AttributeHash for details. - Thanks to Toby Inkster. - Pull some commits from Toby Inkster to add more convenient methods to XML::LibXML::NodeList such as sort, map, grep, etc. - https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/11/xml-libxml-nodelist-improvements - Thanks, Toby! - Printed some warnings regardless if DEBUG is on. - Thanks to http://search.cpan.org/~mstrout/ for the suggestion. 1.90 Sun Jan 8 20:57:58 IST 2012 - Pull a commit from Aaron Crange to fix compilation bugs in Devel.xs: - local variable declarations must be in the PREINIT section, not `CODE`, at least for some compiler/OS combinations. - Thanks, Aaron! 1.89 Sat Dec 24 09:46:26 IDT 2011 - Apply a patch with spelling fixes by Kevin Lyda : - https://rt.cpan.org/Public/Bug/Display.html?id=71403 - Thanks to Kevin. - Apply a pull request by ElDiablo with the implementation of lib/XML/LibXML/Devel.pm . - Adjust the Win32 Build Instructions in the README file. - Thanks to Christopher J. Madsen.
2012-04-22 14:14:47 +02:00
DISTNAME= XML-LibXML-1.96
PKGNAME= p5-${DISTNAME}
Update to 1.56: 1.56 - added line number interface (thanks to Peter Haworth) - patch to make perl 5.8.1 and XML::LibXML work together (thanks to François Pons) - added getElementById to XML::LibXML::Document (thanks to Robin Berjon) - fixes symbol problem with versions of libxml2 compiled without thread support (reported by Randal L. Schwartz) - tiny code clean ups - corrected tested versions after a local setup problem 1.55 - fixed possible problems with math.h - added C14N interface "toStringC14N()" (thanks to Chip Turner) - fixed default namespace bug with libxml2 2.5.8 (by Vaclav Barta) - fixed a NOOP in the XPath code. - fixed insertBefore() behaviour to be DOM conform - fixed a minor problem in Makefile.PL - improved more documentation - converted documentation to DocBook *NOTE:* Version 1.54 fixes potentional buffer overflows were possible with earlier versions of the package. 1.54 - fixed some major bugs, works now with libxml2 2.5.x - fixed problem with empty document fragments - bad tag and attribute names cannot be created anymore - Catalog interface is aware about libxml2 configuration - XML::LibXML should work now on systems without having zlib installed - cleaned the error handling code, which - fixes bad reporting of the validating parser - fixes bad reporting in xpath functions - added getElementsBy*Name() functions for the Document Class - fixed memory management problem introduced in 1.53 (that fixes a lot strange things) - interface for raw libxml2 DOM building functions (currently just addChild() and addNewChild(), others will follow) - fixed namespace handling if nodes are imported to a new DOM. - fixed segmentation fault during validation under libxml2 2.4.25 - fixed bad CDATA handing in XML::LibXML::SAX::Builder - fixed namespace handing in XML::LibXML::SAX - fixed attribute handing in XML::LibXML::SAX - fixed memory leak in XML::LibXML::SAX - fixed memory leak in XML::LibXML::Document - fixed segfault while appending entity ref nodes to documents - fixed some backward compatibility issues - fixed cloning with namespaces misbehaviour - fixed parser problems with libxml2 2.5.3+ - moved iterator classes into a separate package (after realizing some CPAN testers refuse to read their warnings from Makefile.PL) - improved parser testsuite - improved M - more documentation 1.53 Parser - catalog interface - enabled SGML parsing - implemented libxml2 dom recovering - parsing into GDOME nodes is now possible - XML::LibXML::SAX is now faster - made XML::LibXML::SAX parser running without errors in most (all?) cases (DTD handling is still not implemented). DOM interface - Node Iterator class - NodeList Iterator class - introduced XML::GDOME import and export. (EXPERIMENTAL) - more security checks general blur - removed code shared with XML::GDOME to a separate XML::LibXML::Common module (check CPAN) - removed some redundand code - more documentation (and docu fixes) (thanks to Petr Pajas) major fixes: - possible buffer overflow with broken XML: This may effect all older versions of XML::LibXML, please upgrade! - a bug while replacing the document element. - very stupid encoding bug. all UTF8 strings will now be marked as UTF8 correctly - namespace functions to work with empty namespaces - toFH() - namespace setting in XPath functions: the namespaces of the document element will always be added now - threaded perl 5.8.0 issues - calling external entity handlers work again - XML::LibXML::SAX::Parser will not throw warnings on DTD nodes 1.52 - fixed some typos (thanks to Randy Kobes and Hildo Biersma) - fixed namespace node handling - fixed empty Text Node bug - corrected the parser default values. - added some documentation 1.51 - fixed parser bug with broken XML declarations - fixed memory management within documents that have subsets - fixed some threaded perl issues (special thanks to Andreas Koenig for the patch) - applied Win32 tests (special thanks to Randy Kobes for the patch) - fixed findnodes() and find() to return empty arrays in array context if the statement was legal but produced no result. - fixed namespace handling in xpath functions - fixed local namespace handling in DOM functions - pretty formating to all serializing functions *NOTE* the XML::LibXML::Node::toString interface changed check the XML::LibXML::Node man page - made xpath functions verbose to perl (one can wrap evals now) - improved native SAX interface - improved XML::LibXML::SAX::Builder - added getNamespaces to the node interface - better libxml2 version testing - more documentation 1.50 - fixed major problems with the validating parser - fixed default behaviour of the generic parser - fixed attribute setting of the string parser - fixed external entity loading for entity expansion - fixed nodeValue() to handle entities and entity refs correctly - SAX::Parser ignores now hidden XINCLUDE nodes. - fixed SAX::Builder to recognize namespace declarations correctly - compatibility fixes - importNode() bug fix - fixed library tests and output in Makefile.PL - added setOwnerDocument() again - XML::LibXML::Document::process_xincludes reintroduced - global callbacks reintroduced NOTE: the Interface changed here, read XML::LibXML manpage! - code cleanings - push parser interface - basic native libxml2 SAX interface THIS INTERFACE IS STILL EXPERIMENTAL - cloneNode clones now within documents - more documentation 1.49 - memory management has been completely rewritten. now the module should not cause that many memory leaks (special thanks to Merijn Broeren and Petr Pajas for providing testcases) - more libxml2 functions are used - DOM API is more Level 3 conform - ownerDocument fixed - parser validation bug fixed (reported by Erik Ray) - made parse_xml_chunk() report errors - fixed the PI interface - xpath.pl example - better namespace support - improved NamedNodeMap support - restructured the interfaces - HTML document nodes are recognized as HTML doc nodes instead of plain nodes - XML::LibXML::SAX::Parser able to handle HTML docs now (patch by D. Hageman [dhageman@dracken.com]) - added serialization flags ($setTagCompression, $skipDtd and $skipXMLDeclaration) - more documentation 1.40 - new parsefunction: $parser->parse_xml_chunk($string); - appendChild( $doc_fragment ) bug fixed - removed obsolete files (parser.?) - fixed getElementsByTagName and getElementsByTagNameNS to fit the spec - new functions in XML::LibXML::Element: getChildrenByTagName getChildrenByTagNameNS getElementsByLocalName - minor fixes and extensions of the tests - more docu ;) - SAX added comment and PI support - SAX added start_prefix_mapping/end_prefix_mapping - Fixed find() bug with no results - Added use IO::Handle so FH reads work - A number of segfault fixes - constants added without XML_ prefix
2003-10-05 13:55:53 +02:00
SVR4_PKGNAME= p5xlx
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/XML-LibXML/
COMMENT= Perl interface to the libxml2 library
Updating textproc/p5-XML-LibXML from 1.69 to 1.70 pkgsrc changes: - Adding license definition - Adjusting dependencies - Adding SUPERCEDES/CONFLICTS for merged textproc/p5-XML-LibXML-Common Upstream changes: 1.70 - various fixes and improvements in the documentation - added (convenient yet non-standard) methods nonBlankChildNodes, firstNonBlankChild, nextNonBlankSibling, prevNonBlankSibling that skip empty or whitespace-only Text and CDATA nodes - exposed and documented external entity handler - XPathContext can now be passed to toStringC14N and toStringEC14N (e.g. to provide NS mapping for the XPath expression) - avoid using libxml2's globals (Nick Wellnhofer) - added interface to libxml2's regexp implementation: XML::LibXML::RegExp - added XML::LibXML->load_xml and XML::LibXML->load_html with uniform and cleaner API than the old parse_* family - cleanup code dealing with parsing flags - fix bogus validation results if revalidating a modified document - added 'eq' and 'cmp' overloading on XML::LibXML::Error and set fallback to 1 - lots of bugs fixed 1.69_2 - provide context and more accurate column number in structured errors - clarify license and copyright - support for Win32+mingw+ActiveState 1.69_1 - merge with XML::LibXML::Common - fix compilation on Windows with mingw or msvc - fix a bug in structured errors preventing the previous errors from being reported - fix compilation bugs - fix encoding problem in reader - added getAttributeHash to the reader interface - fix segfaults: reconcileNs in domReplaceChild, findnodes with a doc fragment (S. Rezic)
2009-10-11 13:24:38 +02:00
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
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)
2006-11-05 15:05:07 +01:00
DEPENDS+= p5-XML-SAX>=0.11:../../textproc/p5-XML-SAX
DEPENDS+= p5-XML-NamespaceSupport>=1.07:../../textproc/p5-XML-NamespaceSupport
Updating textproc/p5-XML-LibXML from 1.69 to 1.70 pkgsrc changes: - Adding license definition - Adjusting dependencies - Adding SUPERCEDES/CONFLICTS for merged textproc/p5-XML-LibXML-Common Upstream changes: 1.70 - various fixes and improvements in the documentation - added (convenient yet non-standard) methods nonBlankChildNodes, firstNonBlankChild, nextNonBlankSibling, prevNonBlankSibling that skip empty or whitespace-only Text and CDATA nodes - exposed and documented external entity handler - XPathContext can now be passed to toStringC14N and toStringEC14N (e.g. to provide NS mapping for the XPath expression) - avoid using libxml2's globals (Nick Wellnhofer) - added interface to libxml2's regexp implementation: XML::LibXML::RegExp - added XML::LibXML->load_xml and XML::LibXML->load_html with uniform and cleaner API than the old parse_* family - cleanup code dealing with parsing flags - fix bogus validation results if revalidating a modified document - added 'eq' and 'cmp' overloading on XML::LibXML::Error and set fallback to 1 - lots of bugs fixed 1.69_2 - provide context and more accurate column number in structured errors - clarify license and copyright - support for Win32+mingw+ActiveState 1.69_1 - merge with XML::LibXML::Common - fix compilation on Windows with mingw or msvc - fix a bug in structured errors preventing the previous errors from being reported - fix compilation bugs - fix encoding problem in reader - added getAttributeHash to the reader interface - fix segfaults: reconcileNs in domReplaceChild, findnodes with a doc fragment (S. Rezic)
2009-10-11 13:24:38 +02:00
SUPERSEDES= p5-XML-LibXML-Common<=0.13nb7
CONFLICTS+= p5-XML-LibXML-Common-[0-9]*
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)
2006-11-05 15:05:07 +01:00
# since version 1.61 the XML::LibXML Perl module
# includes XML::LibXML::XPathContext module
CONFLICTS+= p5-XML-LibXML-XPathContext-[0-9]*
MAKE_ENV+= SKIP_SAX_INSTALL=1 # Must be done in the INSTALL script
PERL5_PACKLIST= auto/XML/LibXML/.packlist
FILES_SUBST+= PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q}
2004-02-22 08:25:03 +01:00
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"