pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/xsd
Module Name: pkgsrc
Committed By: nia
Date: Mon Mar 8 14:33:44 UTC 2021
Modified Files:
pkgsrc/devel/xsd: Makefile PLIST distinfo
Added Files:
pkgsrc/devel/xsd/patches: patch-xsd_doc_makefile patch-xsd_doc_xsd.1
patch-xsd_doc_xsd.xhtml patch-xsd_libxsd_makefile
patch-xsd_xsd_makefile
Removed Files:
pkgsrc/devel/xsd/patches:
patch-libbackend-elements-1.6.1_backend-elements_indentation_cxx.hxx
patch-libcult-1.4.2_cult_cli_file-arguments.hxx
patch-libcult-1.4.2_cult_containers_deque.hxx
patch-libcult-1.4.2_cult_containers_graph.txx
patch-libcult-1.4.2_cult_containers_map.hxx
patch-libcult-1.4.2_cult_containers_vector.hxx
patch-libcult-1.4.2_cult_mm_bits_evptr.hxx
patch-libcult-1.4.2_cult_mm_evptr.hxx
patch-libcult-1.4.2_cult_mm_shptr.hxx
patch-libcult-1.4.2_cult_mm_static-ptr.hxx
patch-libcult-1.4.2_cult_types_fundamental.hxx
patch-libfrontend-elements-1.1.1_frontend-elements_context.hxx
patch-libxsd-frontend-1.15.0_xsd-frontend_parser.cxx
patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_elements.cxx
patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_elements.hxx
patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_schema.hxx
patch-libxsd-frontend-1.15.0_xsd-frontend_transformations_anonymous.cxx
patch-libxsd-frontend-1.15.0_xsd-frontend_transformations_schema-per-type.cxx
patch-xsd-3.2.0-2_xsd_cxx_elements.cxx
patch-xsd-3.2.0-2_xsd_cxx_parser_elements.cxx
patch-xsd-3.2.0-2_xsd_cxx_parser_generator.cxx
patch-xsd-3.2.0-2_xsd_cxx_parser_state-processor.cxx
patch-xsd-3.2.0-2_xsd_cxx_tree_elements.cxx
patch-xsd-3.2.0-2_xsd_cxx_tree_generator.cxx
patch-xsd-3.2.0-2_xsd_xsd.cxx patch-xsd-3.2.0-2_xsd_xsd.hxx
Log Message:
xsd: Update to 4.0.0. Builds again.
Borrowed patches from FreeBSD to rename the executable to avoid a
conflict wiht lang/mono.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/xsd/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/xsd/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/xsd/distinfo
cvs rdiff -u -r1.2 -r0 \
pkgsrc/devel/xsd/patches/patch-libbackend-elements-1.6.1_backend-elements_indentation_cxx.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_cli_file-arguments.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_containers_graph.txx \
pkgsrc/devel/xsd/patches/patch-libfrontend-elements-1.1.1_frontend-elements_context.hxx \
pkgsrc/devel/xsd/patches/patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_elements.hxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_cxx_parser_generator.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_cxx_parser_state-processor.cxx
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_containers_deque.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_containers_map.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_containers_vector.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_mm_bits_evptr.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_mm_evptr.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_mm_shptr.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_mm_static-ptr.hxx \
pkgsrc/devel/xsd/patches/patch-libcult-1.4.2_cult_types_fundamental.hxx \
pkgsrc/devel/xsd/patches/patch-libxsd-frontend-1.15.0_xsd-frontend_parser.cxx \
pkgsrc/devel/xsd/patches/patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_elements.cxx \
pkgsrc/devel/xsd/patches/patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_schema.hxx \
pkgsrc/devel/xsd/patches/patch-libxsd-frontend-1.15.0_xsd-frontend_transformations_anonymous.cxx \
pkgsrc/devel/xsd/patches/patch-libxsd-frontend-1.15.0_xsd-frontend_transformations_schema-per-type.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_cxx_elements.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_cxx_parser_elements.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_cxx_tree_elements.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_cxx_tree_generator.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_xsd.cxx \
pkgsrc/devel/xsd/patches/patch-xsd-3.2.0-2_xsd_xsd.hxx
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/xsd/patches/patch-xsd_doc_makefile \
pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.1 \
pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.xhtml \
pkgsrc/devel/xsd/patches/patch-xsd_libxsd_makefile \
pkgsrc/devel/xsd/patches/patch-xsd_xsd_makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/xsd/Makefile
diff -u pkgsrc/devel/xsd/Makefile:1.39 pkgsrc/devel/xsd/Makefile:1.40
--- pkgsrc/devel/xsd/Makefile:1.39 Fri Jan 1 08:24:41 2021
+++ pkgsrc/devel/xsd/Makefile Mon Mar 8 14:33:44 2021
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.39 2021/01/01 08:24:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.40 2021/03/08 14:33:44 nia Exp $
-DISTNAME= xsd-3.2.0+dep
-EXTRACT_SUFX= .tar.bz2
-PKGNAME= xsd-3.2.0
-PKGREVISION= 25
+DISTNAME= xsd-4.0.0+dep
+PKGNAME= ${DISTNAME:S/+dep//1}
CATEGORIES= devel textproc
-MASTER_SITES= https://www.codesynthesis.com/download/xsd/3.2/
+MASTER_SITES= https://www.codesynthesis.com/download/xsd/${PKGVERSION_NOREV:R}/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://www.codesynthesis.com/products/xsd/
@@ -13,24 +12,22 @@ COMMENT= W3C XML Schema to C++ data bin
LICENSE= gnu-gpl-v2
USE_TOOLS+= bash gmake gm4
-USE_LANGUAGES+= gnu++03
+USE_LANGUAGES= c c++11
+
+GCC_REQD+= 4.7 # C++11
+
+MAKE_FILE= makefile
+
+BUILD_TARGET= # no default target should be passed to gmake.
+
+MAKE_FLAGS+= verbose=1
+MAKE_FLAGS+= install_prefix=${DESTDIR}${PREFIX}
+MAKE_FLAGS+= install_man_dir=${DESTDIR}${PREFIX}/${PKGMANDIR}
-SUBST_CLASSES+= rpath
-SUBST_STAGE.rpath= post-configure
-SUBST_FILES.rpath= */*/*/configuration-dynamic.make
-SUBST_SED.rpath= -e 's|cxx_rpath[ ]*:=[ ]*n|cxx_rpath := y|g'
-
-post-extract:
- ${RM} -f ${WRKSRC}/libcult-1.4.2/version ${WRKSRC}/libfrontend-elements-1.1.1/version
- ${RM} -f ${WRKSRC}/libxsd-frontend-1.15.0/version
-
-do-build:
- # XXX: rpath needs a better hack. TODO: add optimization
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LDFLAGS="-Wl,-rpath,${PREFIX}/lib" ./build.sh
-
-do-install:
- cd ${WRKSRC} && MAKEFLAGS="install_prefix=${DESTDIR}${PREFIX} \
- install_man_dir=${DESTDIR}${PREFIX}/${PKGMANDIR}" ./build.sh install
+post-patch:
+ # Avoid conflict with C++20 <version>
+ ${RM} -f ${WRKSRC}/version
+ ${RM} -f ${WRKSRC}/build/import/lib*/version
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
Index: pkgsrc/devel/xsd/PLIST
diff -u pkgsrc/devel/xsd/PLIST:1.2 pkgsrc/devel/xsd/PLIST:1.3
--- pkgsrc/devel/xsd/PLIST:1.2 Sun Jun 14 17:49:17 2009
+++ pkgsrc/devel/xsd/PLIST Mon Mar 8 14:33:44 2021
@@ -1,8 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:49:17 joerg Exp $
-bin/xsd
+@comment $NetBSD: PLIST,v 1.3 2021/03/08 14:33:44 nia Exp $
+bin/xsdcxx
include/xsd/cxx/auto-array.hxx
-include/xsd/cxx/compilers/vc-7/post.hxx
-include/xsd/cxx/compilers/vc-7/pre.hxx
include/xsd/cxx/compilers/vc-8/post.hxx
include/xsd/cxx/compilers/vc-8/pre.hxx
include/xsd/cxx/config.hxx
@@ -74,16 +72,19 @@ include/xsd/cxx/tree/date-time-ostream.t
include/xsd/cxx/tree/date-time.hxx
include/xsd/cxx/tree/date-time.ixx
include/xsd/cxx/tree/date-time.txx
+include/xsd/cxx/tree/element-map.hxx
+include/xsd/cxx/tree/element-map.txx
include/xsd/cxx/tree/elements.hxx
+include/xsd/cxx/tree/elements.ixx
include/xsd/cxx/tree/elements.txx
include/xsd/cxx/tree/error-handler.hxx
include/xsd/cxx/tree/error-handler.txx
include/xsd/cxx/tree/exceptions.hxx
-include/xsd/cxx/tree/exceptions.ixx
include/xsd/cxx/tree/exceptions.txx
include/xsd/cxx/tree/facet.hxx
include/xsd/cxx/tree/istream-fwd.hxx
include/xsd/cxx/tree/istream.hxx
+include/xsd/cxx/tree/iterator-adapter.hxx
include/xsd/cxx/tree/list.hxx
include/xsd/cxx/tree/ostream.hxx
include/xsd/cxx/tree/parsing.hxx
@@ -93,6 +94,7 @@ include/xsd/cxx/tree/parsing/byte.hxx
include/xsd/cxx/tree/parsing/date-time.txx
include/xsd/cxx/tree/parsing/decimal.hxx
include/xsd/cxx/tree/parsing/double.hxx
+include/xsd/cxx/tree/parsing/element-map.txx
include/xsd/cxx/tree/parsing/float.hxx
include/xsd/cxx/tree/parsing/int.hxx
include/xsd/cxx/tree/parsing/long.hxx
@@ -108,6 +110,7 @@ include/xsd/cxx/tree/serialization/byte.
include/xsd/cxx/tree/serialization/date-time.txx
include/xsd/cxx/tree/serialization/decimal.hxx
include/xsd/cxx/tree/serialization/double.hxx
+include/xsd/cxx/tree/serialization/element-map.txx
include/xsd/cxx/tree/serialization/float.hxx
include/xsd/cxx/tree/serialization/int.hxx
include/xsd/cxx/tree/serialization/long.hxx
@@ -139,6 +142,12 @@ include/xsd/cxx/tree/xdr-stream-insertio
include/xsd/cxx/version.hxx
include/xsd/cxx/xml/bits/literals.hxx
include/xsd/cxx/xml/bits/literals.ixx
+include/xsd/cxx/xml/char-iso8859-1.hxx
+include/xsd/cxx/xml/char-iso8859-1.txx
+include/xsd/cxx/xml/char-lcp.hxx
+include/xsd/cxx/xml/char-lcp.txx
+include/xsd/cxx/xml/char-utf8.hxx
+include/xsd/cxx/xml/char-utf8.txx
include/xsd/cxx/xml/dom/auto-ptr.hxx
include/xsd/cxx/xml/dom/bits/error-handler-proxy.hxx
include/xsd/cxx/xml/dom/bits/error-handler-proxy.txx
@@ -156,6 +165,7 @@ include/xsd/cxx/xml/dom/wildcard-source.
include/xsd/cxx/xml/elements.hxx
include/xsd/cxx/xml/elements.txx
include/xsd/cxx/xml/error-handler.hxx
+include/xsd/cxx/xml/exceptions.hxx
include/xsd/cxx/xml/qualified-name.hxx
include/xsd/cxx/xml/sax/bits/error-handler-proxy.hxx
include/xsd/cxx/xml/sax/bits/error-handler-proxy.txx
@@ -166,42 +176,288 @@ include/xsd/cxx/xml/string.ixx
include/xsd/cxx/xml/string.txx
include/xsd/cxx/zc-istream.hxx
include/xsd/cxx/zc-istream.txx
-man/man1/xsd.1
-share/doc/libxsd/FLOSSE
-share/doc/libxsd/GPLv2
-share/doc/libxsd/LICENSE
-share/doc/libxsd/README
+man/man1/xsdcxx.1
share/doc/xsd/FLOSSE
share/doc/xsd/GPLv2
share/doc/xsd/LICENSE
share/doc/xsd/NEWS
share/doc/xsd/README
+share/doc/xsd/custom-literals.xsd
share/doc/xsd/cxx/parser/guide/cxx-parser-guide.pdf
share/doc/xsd/cxx/parser/guide/cxx-parser-guide.ps
share/doc/xsd/cxx/parser/guide/figure-1.png
-share/doc/xsd/cxx/parser/guide/figure-1.svg
-share/doc/xsd/cxx/parser/guide/guide.html2ps
share/doc/xsd/cxx/parser/guide/index.xhtml
-share/doc/xsd/cxx/parser/guide/makefile
-share/doc/xsd/cxx/tree/dbxml/driver.cxx
-share/doc/xsd/cxx/tree/dbxml/index.xhtml
-share/doc/xsd/cxx/tree/dbxml/library.cxx
-share/doc/xsd/cxx/tree/dbxml/library.hxx
-share/doc/xsd/cxx/tree/dbxml/library.xsd
share/doc/xsd/cxx/tree/guide/cxx-tree-guide.pdf
share/doc/xsd/cxx/tree/guide/cxx-tree-guide.ps
-share/doc/xsd/cxx/tree/guide/guide.html2ps
share/doc/xsd/cxx/tree/guide/index.xhtml
-share/doc/xsd/cxx/tree/guide/makefile
share/doc/xsd/cxx/tree/manual/cxx-tree-manual.pdf
share/doc/xsd/cxx/tree/manual/cxx-tree-manual.ps
share/doc/xsd/cxx/tree/manual/index.xhtml
-share/doc/xsd/cxx/tree/manual/makefile
-share/doc/xsd/cxx/tree/manual/manual.html2ps
share/doc/xsd/cxx/tree/reference/footer.html
share/doc/xsd/cxx/tree/reference/libxsd.doxygen
share/doc/xsd/cxx/tree/reference/makefile
share/doc/xsd/default.css
-share/doc/xsd/future.xhtml
-share/doc/xsd/schema-authoring-guide.xhtml
+share/doc/xsd/examples/build/cxx/compilers.make
+share/doc/xsd/examples/build/cxx/rules.make
+share/doc/xsd/examples/build/xsd/common.make
+share/doc/xsd/examples/build/xsd/parser-rules.make
+share/doc/xsd/examples/build/xsd/tree-rules.make
+share/doc/xsd/examples/cxx/makefile
+share/doc/xsd/examples/cxx/parser/README
+share/doc/xsd/examples/cxx/parser/generated/README
+share/doc/xsd/examples/cxx/parser/generated/library.xml
+share/doc/xsd/examples/cxx/parser/generated/library.xsd
+share/doc/xsd/examples/cxx/parser/generated/makefile
+share/doc/xsd/examples/cxx/parser/hello/README
+share/doc/xsd/examples/cxx/parser/hello/driver.cxx
+share/doc/xsd/examples/cxx/parser/hello/hello.xml
+share/doc/xsd/examples/cxx/parser/hello/hello.xsd
+share/doc/xsd/examples/cxx/parser/hello/makefile
+share/doc/xsd/examples/cxx/parser/library/README
+share/doc/xsd/examples/cxx/parser/library/driver.cxx
+share/doc/xsd/examples/cxx/parser/library/library-pimpl.cxx
+share/doc/xsd/examples/cxx/parser/library/library-pimpl.hxx
+share/doc/xsd/examples/cxx/parser/library/library.hxx
+share/doc/xsd/examples/cxx/parser/library/library.map
+share/doc/xsd/examples/cxx/parser/library/library.xml
+share/doc/xsd/examples/cxx/parser/library/library.xsd
+share/doc/xsd/examples/cxx/parser/library/makefile
+share/doc/xsd/examples/cxx/parser/makefile
+share/doc/xsd/examples/cxx/parser/mixed/README
+share/doc/xsd/examples/cxx/parser/mixed/anchor.hxx
+share/doc/xsd/examples/cxx/parser/mixed/driver.cxx
+share/doc/xsd/examples/cxx/parser/mixed/makefile
+share/doc/xsd/examples/cxx/parser/mixed/text.map
+share/doc/xsd/examples/cxx/parser/mixed/text.xml
+share/doc/xsd/examples/cxx/parser/mixed/text.xsd
+share/doc/xsd/examples/cxx/parser/mixin/README
+share/doc/xsd/examples/cxx/parser/mixin/driver.cxx
+share/doc/xsd/examples/cxx/parser/mixin/instance.xml
+share/doc/xsd/examples/cxx/parser/mixin/makefile
+share/doc/xsd/examples/cxx/parser/mixin/schema.map
+share/doc/xsd/examples/cxx/parser/mixin/schema.xsd
+share/doc/xsd/examples/cxx/parser/mixin/types.hxx
+share/doc/xsd/examples/cxx/parser/multiroot/README
+share/doc/xsd/examples/cxx/parser/multiroot/balance.xml
+share/doc/xsd/examples/cxx/parser/multiroot/deposit.xml
+share/doc/xsd/examples/cxx/parser/multiroot/driver.cxx
+share/doc/xsd/examples/cxx/parser/multiroot/makefile
+share/doc/xsd/examples/cxx/parser/multiroot/protocol-pimpl.cxx
+share/doc/xsd/examples/cxx/parser/multiroot/protocol-pimpl.hxx
+share/doc/xsd/examples/cxx/parser/multiroot/protocol.hxx
+share/doc/xsd/examples/cxx/parser/multiroot/protocol.map
+share/doc/xsd/examples/cxx/parser/multiroot/protocol.xsd
+share/doc/xsd/examples/cxx/parser/multiroot/withdraw.xml
+share/doc/xsd/examples/cxx/parser/performance/README
+share/doc/xsd/examples/cxx/parser/performance/driver.cxx
+share/doc/xsd/examples/cxx/parser/performance/gen.cxx
+share/doc/xsd/examples/cxx/parser/performance/makefile
+share/doc/xsd/examples/cxx/parser/performance/test-50k.xml
+share/doc/xsd/examples/cxx/parser/performance/test.xsd
+share/doc/xsd/examples/cxx/parser/performance/time.cxx
+share/doc/xsd/examples/cxx/parser/performance/time.hxx
+share/doc/xsd/examples/cxx/parser/polymorphism/README
+share/doc/xsd/examples/cxx/parser/polymorphism/driver.cxx
+share/doc/xsd/examples/cxx/parser/polymorphism/makefile
+share/doc/xsd/examples/cxx/parser/polymorphism/supermen-pimpl.cxx
+share/doc/xsd/examples/cxx/parser/polymorphism/supermen-pimpl.hxx
+share/doc/xsd/examples/cxx/parser/polymorphism/supermen.xml
+share/doc/xsd/examples/cxx/parser/polymorphism/supermen.xsd
+share/doc/xsd/examples/cxx/parser/polyroot/README
+share/doc/xsd/examples/cxx/parser/polyroot/batman.xml
+share/doc/xsd/examples/cxx/parser/polyroot/driver.cxx
+share/doc/xsd/examples/cxx/parser/polyroot/makefile
+share/doc/xsd/examples/cxx/parser/polyroot/person.xml
+share/doc/xsd/examples/cxx/parser/polyroot/superman.xml
+share/doc/xsd/examples/cxx/parser/polyroot/supermen-pimpl.cxx
+share/doc/xsd/examples/cxx/parser/polyroot/supermen-pimpl.hxx
+share/doc/xsd/examples/cxx/parser/polyroot/supermen.xsd
+share/doc/xsd/examples/cxx/parser/wildcard/README
+share/doc/xsd/examples/cxx/parser/wildcard/driver.cxx
+share/doc/xsd/examples/cxx/parser/wildcard/email.xml
+share/doc/xsd/examples/cxx/parser/wildcard/email.xsd
+share/doc/xsd/examples/cxx/parser/wildcard/makefile
+share/doc/xsd/examples/cxx/tree/README
+share/doc/xsd/examples/cxx/tree/binary/README
+share/doc/xsd/examples/cxx/tree/binary/boost/README
+share/doc/xsd/examples/cxx/tree/binary/boost/boost-archive-extraction.hxx
+share/doc/xsd/examples/cxx/tree/binary/boost/boost-archive-insertion.hxx
+share/doc/xsd/examples/cxx/tree/binary/boost/driver.cxx
+share/doc/xsd/examples/cxx/tree/binary/boost/library-prologue.hxx
+share/doc/xsd/examples/cxx/tree/binary/boost/library.xml
+share/doc/xsd/examples/cxx/tree/binary/boost/library.xsd
+share/doc/xsd/examples/cxx/tree/binary/boost/makefile
+share/doc/xsd/examples/cxx/tree/binary/cdr/README
+share/doc/xsd/examples/cxx/tree/binary/cdr/driver.cxx
+share/doc/xsd/examples/cxx/tree/binary/cdr/library.xml
+share/doc/xsd/examples/cxx/tree/binary/cdr/library.xsd
+share/doc/xsd/examples/cxx/tree/binary/cdr/makefile
+share/doc/xsd/examples/cxx/tree/binary/makefile
+share/doc/xsd/examples/cxx/tree/binary/xdr/README
+share/doc/xsd/examples/cxx/tree/binary/xdr/driver.cxx
+share/doc/xsd/examples/cxx/tree/binary/xdr/library.xml
+share/doc/xsd/examples/cxx/tree/binary/xdr/library.xsd
+share/doc/xsd/examples/cxx/tree/binary/xdr/makefile
+share/doc/xsd/examples/cxx/tree/caching/README
+share/doc/xsd/examples/cxx/tree/caching/driver.cxx
+share/doc/xsd/examples/cxx/tree/caching/library.xml
+share/doc/xsd/examples/cxx/tree/caching/library.xsd
+share/doc/xsd/examples/cxx/tree/caching/makefile
+share/doc/xsd/examples/cxx/tree/compression/README
+share/doc/xsd/examples/cxx/tree/compression/compressed-format-target.cxx
+share/doc/xsd/examples/cxx/tree/compression/compressed-format-target.hxx
+share/doc/xsd/examples/cxx/tree/compression/compressed-input-source.cxx
+share/doc/xsd/examples/cxx/tree/compression/compressed-input-source.hxx
+share/doc/xsd/examples/cxx/tree/compression/driver.cxx
+share/doc/xsd/examples/cxx/tree/compression/library.xml.gz
+share/doc/xsd/examples/cxx/tree/compression/library.xsd
+share/doc/xsd/examples/cxx/tree/compression/makefile
+share/doc/xsd/examples/cxx/tree/custom/README
+share/doc/xsd/examples/cxx/tree/custom/calendar/README
+share/doc/xsd/examples/cxx/tree/custom/calendar/calendar.xml
+share/doc/xsd/examples/cxx/tree/custom/calendar/calendar.xsd
+share/doc/xsd/examples/cxx/tree/custom/calendar/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/calendar/makefile
+share/doc/xsd/examples/cxx/tree/custom/calendar/xml-schema-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/calendar/xml-schema-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/comments/README
+share/doc/xsd/examples/cxx/tree/custom/comments/dom-parse.cxx
+share/doc/xsd/examples/cxx/tree/custom/comments/dom-parse.hxx
+share/doc/xsd/examples/cxx/tree/custom/comments/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/comments/makefile
+share/doc/xsd/examples/cxx/tree/custom/comments/people.xml
+share/doc/xsd/examples/cxx/tree/custom/comments/people.xsd
+share/doc/xsd/examples/cxx/tree/custom/comments/xml-schema-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/comments/xml-schema-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/contacts/README
+share/doc/xsd/examples/cxx/tree/custom/contacts/contacts-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/contacts/contacts-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/contacts/contacts.xml
+share/doc/xsd/examples/cxx/tree/custom/contacts/contacts.xsd
+share/doc/xsd/examples/cxx/tree/custom/contacts/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/contacts/makefile
+share/doc/xsd/examples/cxx/tree/custom/double/README
+share/doc/xsd/examples/cxx/tree/custom/double/double-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/double/double-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/double/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/double/makefile
+share/doc/xsd/examples/cxx/tree/custom/double/order.xsd
+share/doc/xsd/examples/cxx/tree/custom/makefile
+share/doc/xsd/examples/cxx/tree/custom/mixed/README
+share/doc/xsd/examples/cxx/tree/custom/mixed/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/mixed/makefile
+share/doc/xsd/examples/cxx/tree/custom/mixed/people-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/mixed/people-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/mixed/people.xml
+share/doc/xsd/examples/cxx/tree/custom/mixed/people.xsd
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/README
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/makefile
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/people-custom-fwd.hxx
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/people-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/people-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/people.xml
+share/doc/xsd/examples/cxx/tree/custom/taxonomy/people.xsd
+share/doc/xsd/examples/cxx/tree/custom/wildcard/README
+share/doc/xsd/examples/cxx/tree/custom/wildcard/driver.cxx
+share/doc/xsd/examples/cxx/tree/custom/wildcard/makefile
+share/doc/xsd/examples/cxx/tree/custom/wildcard/wildcard-custom.cxx
+share/doc/xsd/examples/cxx/tree/custom/wildcard/wildcard-custom.hxx
+share/doc/xsd/examples/cxx/tree/custom/wildcard/wildcard.xml
+share/doc/xsd/examples/cxx/tree/custom/wildcard/wildcard.xsd
+share/doc/xsd/examples/cxx/tree/embedded/README
+share/doc/xsd/examples/cxx/tree/embedded/driver.cxx
+share/doc/xsd/examples/cxx/tree/embedded/grammar-input-stream.cxx
+share/doc/xsd/examples/cxx/tree/embedded/grammar-input-stream.hxx
+share/doc/xsd/examples/cxx/tree/embedded/library.xml
+share/doc/xsd/examples/cxx/tree/embedded/library.xsd
+share/doc/xsd/examples/cxx/tree/embedded/makefile
+share/doc/xsd/examples/cxx/tree/embedded/xsdbin.cxx
+share/doc/xsd/examples/cxx/tree/hello/README
+share/doc/xsd/examples/cxx/tree/hello/driver.cxx
+share/doc/xsd/examples/cxx/tree/hello/hello.xml
+share/doc/xsd/examples/cxx/tree/hello/hello.xsd
+share/doc/xsd/examples/cxx/tree/hello/makefile
+share/doc/xsd/examples/cxx/tree/library/README
+share/doc/xsd/examples/cxx/tree/library/driver.cxx
+share/doc/xsd/examples/cxx/tree/library/library.xml
+share/doc/xsd/examples/cxx/tree/library/library.xsd
+share/doc/xsd/examples/cxx/tree/library/makefile
+share/doc/xsd/examples/cxx/tree/makefile
+share/doc/xsd/examples/cxx/tree/messaging/README
+share/doc/xsd/examples/cxx/tree/messaging/balance.xml
+share/doc/xsd/examples/cxx/tree/messaging/deposit.xml
+share/doc/xsd/examples/cxx/tree/messaging/dom-parse.cxx
+share/doc/xsd/examples/cxx/tree/messaging/dom-parse.hxx
+share/doc/xsd/examples/cxx/tree/messaging/dom-serialize.cxx
+share/doc/xsd/examples/cxx/tree/messaging/dom-serialize.hxx
+share/doc/xsd/examples/cxx/tree/messaging/driver.cxx
+share/doc/xsd/examples/cxx/tree/messaging/makefile
+share/doc/xsd/examples/cxx/tree/messaging/protocol.xsd
+share/doc/xsd/examples/cxx/tree/messaging/withdraw.xml
+share/doc/xsd/examples/cxx/tree/mixed/README
+share/doc/xsd/examples/cxx/tree/mixed/driver.cxx
+share/doc/xsd/examples/cxx/tree/mixed/makefile
+share/doc/xsd/examples/cxx/tree/mixed/text.xml
+share/doc/xsd/examples/cxx/tree/mixed/text.xsd
+share/doc/xsd/examples/cxx/tree/multiroot/README
+share/doc/xsd/examples/cxx/tree/multiroot/balance.xml
+share/doc/xsd/examples/cxx/tree/multiroot/deposit.xml
+share/doc/xsd/examples/cxx/tree/multiroot/dom-parse.cxx
+share/doc/xsd/examples/cxx/tree/multiroot/dom-parse.hxx
+share/doc/xsd/examples/cxx/tree/multiroot/driver.cxx
+share/doc/xsd/examples/cxx/tree/multiroot/makefile
+share/doc/xsd/examples/cxx/tree/multiroot/protocol.xsd
+share/doc/xsd/examples/cxx/tree/multiroot/withdraw.xml
+share/doc/xsd/examples/cxx/tree/order/README
+share/doc/xsd/examples/cxx/tree/order/element/README
+share/doc/xsd/examples/cxx/tree/order/element/driver.cxx
+share/doc/xsd/examples/cxx/tree/order/element/makefile
+share/doc/xsd/examples/cxx/tree/order/element/transactions.xml
+share/doc/xsd/examples/cxx/tree/order/element/transactions.xsd
+share/doc/xsd/examples/cxx/tree/order/makefile
+share/doc/xsd/examples/cxx/tree/order/mixed/README
+share/doc/xsd/examples/cxx/tree/order/mixed/driver.cxx
+share/doc/xsd/examples/cxx/tree/order/mixed/makefile
+share/doc/xsd/examples/cxx/tree/order/mixed/text.xml
+share/doc/xsd/examples/cxx/tree/order/mixed/text.xsd
+share/doc/xsd/examples/cxx/tree/performance/README
+share/doc/xsd/examples/cxx/tree/performance/driver.cxx
+share/doc/xsd/examples/cxx/tree/performance/gen.cxx
+share/doc/xsd/examples/cxx/tree/performance/makefile
+share/doc/xsd/examples/cxx/tree/performance/parsing.cxx
+share/doc/xsd/examples/cxx/tree/performance/serialization.cxx
+share/doc/xsd/examples/cxx/tree/performance/test-50k.xml
+share/doc/xsd/examples/cxx/tree/performance/test.xsd
+share/doc/xsd/examples/cxx/tree/performance/time.cxx
+share/doc/xsd/examples/cxx/tree/performance/time.hxx
+share/doc/xsd/examples/cxx/tree/polymorphism/README
+share/doc/xsd/examples/cxx/tree/polymorphism/driver.cxx
+share/doc/xsd/examples/cxx/tree/polymorphism/makefile
+share/doc/xsd/examples/cxx/tree/polymorphism/supermen.xml
+share/doc/xsd/examples/cxx/tree/polymorphism/supermen.xsd
+share/doc/xsd/examples/cxx/tree/streaming/README
+share/doc/xsd/examples/cxx/tree/streaming/driver.cxx
+share/doc/xsd/examples/cxx/tree/streaming/grammar-input-stream.cxx
+share/doc/xsd/examples/cxx/tree/streaming/grammar-input-stream.hxx
+share/doc/xsd/examples/cxx/tree/streaming/makefile
+share/doc/xsd/examples/cxx/tree/streaming/parser.cxx
+share/doc/xsd/examples/cxx/tree/streaming/parser.hxx
+share/doc/xsd/examples/cxx/tree/streaming/position.xml
+share/doc/xsd/examples/cxx/tree/streaming/position.xsd
+share/doc/xsd/examples/cxx/tree/streaming/serializer.cxx
+share/doc/xsd/examples/cxx/tree/streaming/serializer.hxx
+share/doc/xsd/examples/cxx/tree/wildcard/README
+share/doc/xsd/examples/cxx/tree/wildcard/driver.cxx
+share/doc/xsd/examples/cxx/tree/wildcard/email.xml
+share/doc/xsd/examples/cxx/tree/wildcard/email.xsd
+share/doc/xsd/examples/cxx/tree/wildcard/makefile
+share/doc/xsd/examples/cxx/tree/xpath/README
+share/doc/xsd/examples/cxx/tree/xpath/dom-parse.cxx
+share/doc/xsd/examples/cxx/tree/xpath/dom-parse.hxx
+share/doc/xsd/examples/cxx/tree/xpath/driver.cxx
+share/doc/xsd/examples/cxx/tree/xpath/makefile
+share/doc/xsd/examples/cxx/tree/xpath/people.xml
+share/doc/xsd/examples/cxx/tree/xpath/people.xsd
+share/doc/xsd/examples/makefile
share/doc/xsd/xsd.xhtml
Index: pkgsrc/devel/xsd/distinfo
diff -u pkgsrc/devel/xsd/distinfo:1.6 pkgsrc/devel/xsd/distinfo:1.7
--- pkgsrc/devel/xsd/distinfo:1.6 Tue Jun 7 17:59:50 2016
+++ pkgsrc/devel/xsd/distinfo Mon Mar 8 14:33:44 2021
@@ -1,32 +1,11 @@
-$NetBSD: distinfo,v 1.6 2016/06/07 17:59:50 joerg Exp $
+$NetBSD: distinfo,v 1.7 2021/03/08 14:33:44 nia Exp $
-SHA1 (xsd-3.2.0+dep.tar.bz2) = d57fd3b326dcfab3af8fdc40fc3cf27fb9d7c7c5
-RMD160 (xsd-3.2.0+dep.tar.bz2) = da02eb15e607ee9b434f2a729c6f8a3da0981348
-SHA512 (xsd-3.2.0+dep.tar.bz2) = d0f09505535cd14dc3189d7d0e503d8e1794d9f4afef4540aa64335d75b834a5e5d6b74ea132ee18e84f6c4a87f1f9248f2819e4d09b6279b822e6af911aa1aa
-Size (xsd-3.2.0+dep.tar.bz2) = 1054603 bytes
-SHA1 (patch-libbackend-elements-1.6.1_backend-elements_indentation_cxx.hxx) = 3cbaeabc498d9e2f16407d6ef0e2ef605dbd1d74
-SHA1 (patch-libcult-1.4.2_cult_cli_file-arguments.hxx) = 8a57ec5d9e9a7748dc6a5159adf66dbadea1b0da
-SHA1 (patch-libcult-1.4.2_cult_containers_deque.hxx) = 793897b894b67fc5b5054b4cb608772fcd13d714
-SHA1 (patch-libcult-1.4.2_cult_containers_graph.txx) = 6a692dea9792cdb7dec1f2fab72c7dd107415b71
-SHA1 (patch-libcult-1.4.2_cult_containers_map.hxx) = 9fab6ce4cb9cd9d0fb473b991a893563e5f90eab
-SHA1 (patch-libcult-1.4.2_cult_containers_vector.hxx) = 60584067b74083dea9094b9e464498bcb447cbc1
-SHA1 (patch-libcult-1.4.2_cult_mm_bits_evptr.hxx) = c0665ef9f6ee3c5ad1714988388d8c92cd9818ae
-SHA1 (patch-libcult-1.4.2_cult_mm_evptr.hxx) = d7aba021918d29ad5b5f4d5ea23e435b7d908e65
-SHA1 (patch-libcult-1.4.2_cult_mm_shptr.hxx) = b8f2d82601f43af706a65aedfcd7c1567e061db9
-SHA1 (patch-libcult-1.4.2_cult_mm_static-ptr.hxx) = 76225963ff8b710eafada502d4c0c918ffef416e
-SHA1 (patch-libcult-1.4.2_cult_types_fundamental.hxx) = 561512022a9c5d27fcf335ff569a0ec66535a1af
-SHA1 (patch-libfrontend-elements-1.1.1_frontend-elements_context.hxx) = 7ad057e7f0bd3d65c82d1672561475375d094b5f
-SHA1 (patch-libxsd-frontend-1.15.0_xsd-frontend_parser.cxx) = 30a9b0aecf5605b6c37e72f1a3c8fbfce01140da
-SHA1 (patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_elements.cxx) = 717fca1076c9c4e33a3577cb6c23fa0a9ec1ceab
-SHA1 (patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_elements.hxx) = c9dd61f155ea0971cbd66e73aaa1c570f8691839
-SHA1 (patch-libxsd-frontend-1.15.0_xsd-frontend_semantic-graph_schema.hxx) = cbf09aa1272f6f163ce002db9f4578e5795eaaf3
-SHA1 (patch-libxsd-frontend-1.15.0_xsd-frontend_transformations_anonymous.cxx) = cfe1f7d86725ef2736e6198f5f8780e3656ce6f4
-SHA1 (patch-libxsd-frontend-1.15.0_xsd-frontend_transformations_schema-per-type.cxx) = 0ed23703a8f11984dc51e2bbdcc744b32a5be369
-SHA1 (patch-xsd-3.2.0-2_xsd_cxx_elements.cxx) = 8006dc3a16d945a9c256e0fd2a4c412ad63e8919
-SHA1 (patch-xsd-3.2.0-2_xsd_cxx_parser_elements.cxx) = 06702b980f04c5718b7c0aefb8d629466501f0d2
-SHA1 (patch-xsd-3.2.0-2_xsd_cxx_parser_generator.cxx) = e56dce412f315f1b88f426480dc794a7f69e569a
-SHA1 (patch-xsd-3.2.0-2_xsd_cxx_parser_state-processor.cxx) = e1d6736290d096b4a3dc5ad7d3c6502066a0445b
-SHA1 (patch-xsd-3.2.0-2_xsd_cxx_tree_elements.cxx) = df8759581d58e9b230dc4569d0bce3d23d5ab8ec
-SHA1 (patch-xsd-3.2.0-2_xsd_cxx_tree_generator.cxx) = 79c5927337f1a35e1d6ac53fbba429f1fc0350de
-SHA1 (patch-xsd-3.2.0-2_xsd_xsd.cxx) = e89a36f5616416ad31fa47b1bba2018cb3fbaec9
-SHA1 (patch-xsd-3.2.0-2_xsd_xsd.hxx) = 9e64ecb2e5560bb21b7dcf324c1831a59b26f07d
+SHA1 (xsd-4.0.0+dep.tar.bz2) = ad3de699eb140e747a0a214462d95fc81a21b494
+RMD160 (xsd-4.0.0+dep.tar.bz2) = d1af702e6feb7216e04c2f30173311e2d4629313
+SHA512 (xsd-4.0.0+dep.tar.bz2) = 1b7f5f7a50007e0c739e23c46cf34657845038c3c58f2da4f9978a9486a30674d829e4dfe428af32669207af79375eb8d413ac471c4ffd1c2bc842411f454ae9
+Size (xsd-4.0.0+dep.tar.bz2) = 1642625 bytes
+SHA1 (patch-xsd_doc_makefile) = 2440ca86fbcbe040e45a1859d76d0cad1b8c3865
+SHA1 (patch-xsd_doc_xsd.1) = 1660f480c8410133ae490b64c9a0fb52b5b3466f
+SHA1 (patch-xsd_doc_xsd.xhtml) = 52e4bcdcccf16cc32fffb3e81688a73558bf0a1b
+SHA1 (patch-xsd_libxsd_makefile) = 16dee6ed96f7840cf2ae42e1c46b319b195f66a9
+SHA1 (patch-xsd_xsd_makefile) = 165b76f812069b7924c6f4422de7575031b095f6
Added files:
Index: pkgsrc/devel/xsd/patches/patch-xsd_doc_makefile
diff -u /dev/null pkgsrc/devel/xsd/patches/patch-xsd_doc_makefile:1.1
--- /dev/null Mon Mar 8 14:33:44 2021
+++ pkgsrc/devel/xsd/patches/patch-xsd_doc_makefile Mon Mar 8 14:33:44 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-xsd_doc_makefile,v 1.1 2021/03/08 14:33:44 nia Exp $
+
+Rename the xsd binary to xsdcxx, as lang/mono already installs an executable
+called xsd.
+
+--- xsd/doc/makefile.orig 2014-07-21 06:36:38.000000000 +0000
++++ xsd/doc/makefile
+@@ -104,7 +104,7 @@ $(install): $(out_base)/cxx/.install \
+ $(call install-data,$(src_base)/default.css,$(install_doc_dir)/xsd/default.css)
+ $(call install-data,$(out_base)/xsd.xhtml,$(install_doc_dir)/xsd/xsd.xhtml)
+ $(call install-data,$(src_base)/custom-literals.xsd,$(install_doc_dir)/xsd/custom-literals.xsd)
+- $(call install-data,$(out_base)/xsd.1,$(install_man_dir)/man1/xsd.1)
++ $(call install-data,$(out_base)/xsd.1,$(install_man_dir)/man1/xsdcxx.1)
+
+ # Dist.
+ #
Index: pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.1
diff -u /dev/null pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.1:1.1
--- /dev/null Mon Mar 8 14:33:44 2021
+++ pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.1 Mon Mar 8 14:33:44 2021
@@ -0,0 +1,81 @@
+$NetBSD: patch-xsd_doc_xsd.1,v 1.1 2021/03/08 14:33:44 nia Exp $
+
+Rename the xsd binary to xsdcxx, as lang/mono already installs an executable
+called xsd.
+
+--- xsd/doc/xsd.1.orig 2014-07-21 06:38:41.000000000 +0000
++++ xsd/doc/xsd.1
+@@ -1,16 +1,16 @@
+ .\" Process this file with
+ .\" groff -man -Tascii xsd.1
+ .\"
+-.TH XSD 1 "July 2014" "XSD 4.0.0"
++.TH XSDCXX 1 "July 2014" "XSDCXX 4.0.0"
+ .SH NAME
+-xsd \- W3C XML Schema to C++ Compiler
++xsdcxx \- W3C XML Schema to C++ Compiler
+ .\"
+ .\"
+ .\"
+ .\"--------------------------------------------------------------------
+ .SH SYNOPSIS
+ .\"--------------------------------------------------------------------
+-.B xsd
++.B xsdcxx
+ .I command
+ .B [
+ .I options
+@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler
+ .I file
+ .B ...]
+ .in
+-.B xsd help
++.B xsdcxx help
+ .B [
+ .I command
+ .B ]
+ .in
+-.B xsd version
++.B xsdcxx version
+ .\"
+ .\"
+ .\"
+ .\"--------------------------------------------------------------------
+ .SH DESCRIPTION
+ .\"--------------------------------------------------------------------
+-.B xsd
++.B xsdcxx
+ generates vocabulary-specific, statically-typed C++ mapping from W3C XML
+ Schema definitions. Particular mapping to produce is selected by a
+ .IR command .
+@@ -96,7 +96,7 @@ Print usage information and exit. Use
+ .PP
+ .RS
+ .RS 3
+-.B xsd help
++.B xsdcxx help
+ .I command
+ .RE
+ .PP
+@@ -133,9 +133,9 @@ semantics and uses \fBstd::unique_ptr\fP
+
+ When the C++11 mode is selected, you normally don't need to perform any
+ extra steps other than enable C++11 in your C++ compiler, if required\. The
+-XSD compiler will automatically add the necessary macro defines to the
+-generated header files that will switch the header-only XSD runtime library
+-(\fBlibxsd\fP) to the C++11 mode\. However, if you include any of the XSD
++XSDCXX compiler will automatically add the necessary macro defines to the
++generated header files that will switch the header-only XSDCXX runtime library
++(\fBlibxsd\fP) to the C++11 mode\. However, if you include any of the XSDCXX
+ runtime headers directly in your application (normally you just include the
+ generated headers), then you will need to define the \fBXSD_CXX11\fP macro
+ for your entire project\.
+@@ -1632,7 +1632,7 @@ option. With this approach you don't nee
+ .\"
+ .SH DIAGNOSTICS
+ If the input file is not a valid W3C XML Schema definition,
+-.B xsd
++.B xsdcxx
+ will issue diagnostic messages to
+ .B STDERR
+ and exit with non-zero exit code.
Index: pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.xhtml
diff -u /dev/null pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.xhtml:1.1
--- /dev/null Mon Mar 8 14:33:44 2021
+++ pkgsrc/devel/xsd/patches/patch-xsd_doc_xsd.xhtml Mon Mar 8 14:33:44 2021
@@ -0,0 +1,78 @@
+$NetBSD: patch-xsd_doc_xsd.xhtml,v 1.1 2021/03/08 14:33:44 nia Exp $
+
+Rename the xsd binary to xsdcxx, as lang/mono already installs an executable
+called xsd.
+
+--- xsd/doc/xsd.xhtml.orig 2014-07-21 06:38:41.000000000 +0000
++++ xsd/doc/xsd.xhtml
+@@ -3,11 +3,11 @@
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+
+ <head>
+- <title>XSD 4.0.0 Compiler Command Line Manual</title>
++ <title>XSDCXX 4.0.0 Compiler Command Line Manual</title>
+
+ <meta name="copyright" content="© 2005-2014 Code Synthesis Tools CC"/>
+ <meta name="keywords" content="xsd,xml,schema,c++,mapping,data,binding,code,generator,manual,man,page"/>
+- <meta name="description" content="XSD Compiler Command Line Manual"/>
++ <meta name="description" content="XSDCXX Compiler Command Line Manual"/>
+
+ <link rel="stylesheet" type="text/css" href="default.css" />
+
+@@ -50,19 +50,19 @@
+
+ <h1>NAME</h1>
+
+- <p>xsd - W3C XML Schema to C++ Compiler</p>
++ <p>xsdcxx - W3C XML Schema to C++ Compiler</p>
+
+ <h1>SYNOPSIS</h1>
+
+ <dl id="synopsis">
+- <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
+- <dt><code><b>xsd help</b> [<i>command</i>]</code></dt>
+- <dt><code><b>xsd version</b></code></dt>
++ <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
++ <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt>
++ <dt><code><b>xsdcxx version</b></code></dt>
+ </dl>
+
+ <h1>DESCRIPTION</h1>
+
+- <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed
++ <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed
+ C++ mapping from W3C XML Schema definitions. Particular mapping to
+ produce is selected by a <code><i>command</i></code>. Each mapping has
+ a number of mapping-specific <code><i>options</i></code> that should
+@@ -138,10 +138,10 @@
+
+ <p>When the C++11 mode is selected, you normally don't need to perform any
+ extra steps other than enable C++11 in your C++ compiler, if required. The
+- XSD compiler will automatically add the necessary macro defines to the
+- generated header files that will switch the header-only XSD runtime library
++ XSDCXX compiler will automatically add the necessary macro defines to the
++ generated header files that will switch the header-only XSDCXX runtime library
+ (<code><b>libxsd</b></code>) to the C++11 mode. However, if you include any
+- of the XSD runtime headers directly in your application (normally you just
++ of the XSDCXX runtime headers directly in your application (normally you just
+ include the generated headers), then you will need to define the
+ <code><b>XSD_CXX11</b></code> macro for your entire project.</p></dd>
+
+@@ -219,7 +219,7 @@
+
+ <p>For example, if you have file <code><b>hello.xsd</b></code> with
+ namespace <code><b>http://example.com/hello</b></code> and you run
+- <code><b>xsd</b></code> on this file, then the string in question will
++ <code><b>xsdcxx</b></code> on this file, then the string in question will
+ be:</p>
+
+ <p><code><b>hello.xsd. http://example.com/hello</b></code></p>
+@@ -1530,7 +1530,7 @@ namespace .*
+ <h1>DIAGNOSTICS</h1>
+
+ <p>If the input file is not a valid W3C XML Schema definition,
+- <code><b>xsd</b></code> will issue diagnostic messages to STDERR
++ <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR
+ and exit with non-zero exit code.</p>
+
+ <h1>BUGS</h1>
Index: pkgsrc/devel/xsd/patches/patch-xsd_libxsd_makefile
diff -u /dev/null pkgsrc/devel/xsd/patches/patch-xsd_libxsd_makefile:1.1
--- /dev/null Mon Mar 8 14:33:44 2021
+++ pkgsrc/devel/xsd/patches/patch-xsd_libxsd_makefile Mon Mar 8 14:33:44 2021
@@ -0,0 +1,21 @@
+$NetBSD: patch-xsd_libxsd_makefile,v 1.1 2021/03/08 14:33:44 nia Exp $
+
+Use the right directory name when installing documentation.
+
+--- xsd/libxsd/makefile.orig 2014-07-21 06:36:38.000000000 +0000
++++ xsd/libxsd/makefile
+@@ -13,10 +13,10 @@ dist-win := $(out_base)/.dist-win
+ #
+ $(install):
+ $(call install-dir,$(src_base)/xsd,$(install_inc_dir)/xsd)
+- $(call install-data,$(src_base)/FLOSSE,$(install_doc_dir)/libxsd/FLOSSE)
+- $(call install-data,$(src_base)/GPLv2,$(install_doc_dir)/libxsd/GPLv2)
+- $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libxsd/LICENSE)
+- $(call install-data,$(src_base)/README,$(install_doc_dir)/libxsd/README)
++ $(call install-data,$(src_base)/FLOSSE,$(install_doc_dir)/xsd/FLOSSE)
++ $(call install-data,$(src_base)/GPLv2,$(install_doc_dir)/xsd/GPLv2)
++ $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/xsd/LICENSE)
++ $(call install-data,$(src_base)/README,$(install_doc_dir)/xsd/README)
+
+ # Dist.
+ #
Index: pkgsrc/devel/xsd/patches/patch-xsd_xsd_makefile
diff -u /dev/null pkgsrc/devel/xsd/patches/patch-xsd_xsd_makefile:1.1
--- /dev/null Mon Mar 8 14:33:44 2021
+++ pkgsrc/devel/xsd/patches/patch-xsd_xsd_makefile Mon Mar 8 14:33:44 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-xsd_xsd_makefile,v 1.1 2021/03/08 14:33:44 nia Exp $
+
+Rename the xsd binary to xsdcxx, as lang/mono already installs an executable
+called xsd.
+
+--- xsd/xsd/makefile.orig 2014-07-21 06:36:38.000000000 +0000
++++ xsd/xsd/makefile
+@@ -150,7 +150,7 @@ $(out_base)/: $(xsd)
+ # Install
+ #
+ $(install): $(xsd)
+- $(call install-exec,$<,$(install_bin_dir)/xsd)
++ $(call install-exec,$<,$(install_bin_dir)/xsdcxx)
+
+ # Dist.
+ #
Home |
Main Index |
Thread Index |
Old Index