Subject: pkg/23862: textproc/p5-XML-Xerces update to 2.3.0-4
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 12/23/2003 13:06:41
>Number: 23862
>Category: pkg
>Synopsis: textproc/p5-XML-Xerces update to 2.3.0-4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Dec 23 19:07:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Min Sik Kim
>Release: NetBSD 1.6ZG
>Organization:
>Environment:
System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #4: Sat Dec 13 23:18:32 CST 2003 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386
>Description:
Sync with textproc/xerces-c (PR 23861).
>How-To-Repeat:
>Fix:
Index: DESCR
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/p5-XML-Xerces/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- DESCR 2003/06/23 08:46:06 1.1.1.1
+++ DESCR 2003/12/23 18:50:59
@@ -1,18 +1,22 @@
-The Xerces Perl project has created a Perl module, Xerces.pm, as the Perl
-API to the Apache project's Xerces XML parser. It is implemented using
-the Xerces C++ API, and it provides access to all of the C++ API from
-Perl.
+XML::Xerces is the Perl API to the Apache project's Xerces XML parser.
+It is implemented using the Xerces C++ API, and it provides access to
+most of the C++ API from Perl.
-Because it is based on Xerces-C, Xerces.pm provides a validating XML parser
-that makes it easy to give your application the ability to read and write
-XML data. A shared library is provided for parsing, generating, manipulating,
-and validating XML documents. Xerces.pm is faithful to the XML 1.0
-recommendation and associated standards ( DOM 1.0, DOM 2.0. SAX 1.0, SAX
-2.0, Namespaces), The parser provides high performance, modularity, and
-scalability. Source code, samples and API documentation are provided with
-the parser.
+Because it is based on Xerces-C, XML::Xerces provides a validating XML
+parser that makes it easy to give your application the ability to read
+and write XML data. Classes are provided for parsing, generating,
+manipulating, and validating XML documents. XML::Xerces is faithful
+to the XML 1.0 recommendation and associated standards (DOM levels
+1,2, and 3, SAX 1 and 2, Namespaces, and W3C XML Schema). The parser
+provides high performance, modularity, and scalability, and provides
+full support for Unicode.
-The majority of the API is created automatically using Simplified Wrapper
-Interface Generator (SWIG). However, care has been taken to make most
-method invocations natural to perl programmers, so a number of rough C++
-edges have been smoothed over (See the Special Perl API Features section).
+XML::Xerces implements the vast majority of the Xerces-C API. The
+exception is some functions in the C++ API which either have better
+Perl counterparts (such as file I/O) or which manipulate internal C++
+information that has no role in the Perl module.
+
+The majority of the API is created automatically using Simplified
+Wrapper Interface Generator (SWIG). However, care has been taken to
+make most method invocations natural to perl programmers, so a number
+of rough C++ edges have been smoothed over.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/p5-XML-Xerces/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 2003/07/17 22:54:43 1.2
+++ Makefile 2003/12/23 18:50:59
@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.2 2003/07/17 22:54:43 grant Exp $
#
-DISTNAME= XML-Xerces-1.7.0-3
+DISTNAME= XML-Xerces-2.3.0-4
PKGNAME= p5-${DISTNAME:C/-([0-9]*)$/.\1/}
CATEGORIES= textproc
-MASTER_SITES= http://xml.apache.org/dist/xerces-p/stable/archives/
+MASTER_SITES= http://www.apache.org/dist/xml/xerces-p/
MAINTAINER= manu@NetBSD.org
HOMEPAGE= http://xml.apache.org/xerces-p/
@@ -18,11 +18,12 @@
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Xerces/.packlist
MAKE_ENV+= XERCESCROOT="${BUILDLINK_PREFIX.xerces-c}"
-MAKE_ENV+= ICUROOT="${BUILDLINK_PREFIX.icu}"
# Xerces-C is built unthreaded in pkgsrc (for now).
BUILDLINK_TRANSFORM+= s:-lpthread:
-.include "../../lang/perl5/module.mk"
+BUILDLINK_DEPENDS.xerces-c= xerces-c>=2.3.0
.include "../../textproc/xerces-c/buildlink2.mk"
+
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/p5-XML-Xerces/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo 2003/06/23 08:46:06 1.1.1.1
+++ distinfo 2003/12/23 18:50:59
@@ -1,5 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2003/06/23 08:46:06 jlam Exp $
-SHA1 (XML-Xerces-1.7.0-3.tar.gz) = dc86f655be431a0900dbb632bb86d59118bf54ea
-Size (XML-Xerces-1.7.0-3.tar.gz) = 148103 bytes
-SHA1 (patch-aa) = ad9dbf00b84cdad0ea5357ecb2261b65a0f4026c
+SHA1 (XML-Xerces-2.3.0-4.tar.gz) = d453f7ba6ef2ed9a1ad0e033bdeee18476277bb2
+Size (XML-Xerces-2.3.0-4.tar.gz) = 213770 bytes
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/p5-XML-Xerces/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa 2003/06/23 08:46:06 1.1.1.1
+++ patches/patch-aa 2003/12/23 18:50:59
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/06/23 08:46:06 jlam Exp $
-
---- Makefile.PL.orig Fri Oct 11 14:25:00 2002
-+++ Makefile.PL
-@@ -4,6 +4,7 @@ use Env qw(XERCES_LIB
- XERCES_INCLUDE
- XERCESCROOT
- XERCES_DEVEL
-+ ICUROOT
- SWIG);
- use strict;
- use vars qw($INCLUDES);
-@@ -130,6 +131,11 @@ my $XERCES_VERSION = "$XERCES_LIB_VERSIO
- $XERCES_LIB_VERSION =~ s/\./_/g;
- my $LIBXERCES = "-lxerces-c$XERCES_LIB_VERSION";
- $LIBS .= " $LIBXERCES";
-+
-+if (defined $ICUROOT) {
-+ my $ICULIBS = "-L$ICUROOT/lib -licudata -licuuc -lm";
-+ $LIBS .= " $ICULIBS";
-+}
-
- # now we ensure that libxerces is in the library path
- # if not we die()
>Release-Note:
>Audit-Trail:
>Unformatted: