diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2016-01-13 15:19:04 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2016-01-13 15:19:04 +0000 |
commit | 7a256dd2e24b3807c1a6c1cfaad6790a983e16fc (patch) | |
tree | 04365ad89e051da652dd0f3cd7025f010d8e1cfb /textproc | |
parent | 5b471a482b88eff00cfabc249a4ecc4d9481348c (diff) | |
download | freebsd-ports-7a256dd2e24b3807c1a6c1cfaad6790a983e16fc.zip |
Upgrade to 2.3.2.
PR: 201854
Submitted by: tkato432@yahoo.com
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xqilla/Makefile | 42 | ||||
-rw-r--r-- | textproc/xqilla/distinfo | 4 | ||||
-rw-r--r-- | textproc/xqilla/files/patch-gcc-werror | 69 | ||||
-rw-r--r-- | textproc/xqilla/files/patch-include__xqilla__events__EventHandler.hpp | 27 | ||||
-rw-r--r-- | textproc/xqilla/files/patch-include__xqilla__events__EventSerializer.hpp | 13 | ||||
-rw-r--r-- | textproc/xqilla/files/patch-include__xqilla__runtime__ResultImpl.hpp | 11 | ||||
-rw-r--r-- | textproc/xqilla/files/patch-include__xqilla__simple-api__XQillaConfiguration.hpp | 18 | ||||
-rw-r--r-- | textproc/xqilla/pkg-plist | 4 |
8 files changed, 97 insertions, 91 deletions
diff --git a/textproc/xqilla/Makefile b/textproc/xqilla/Makefile index bc977e056531..ec6503b1f344 100644 --- a/textproc/xqilla/Makefile +++ b/textproc/xqilla/Makefile @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= xqilla -PORTVERSION= 2.3.0 -PORTREVISION= 3 +PORTVERSION= 2.3.2 PORTEPOCH= 1 CATEGORIES= textproc -MASTER_SITES= SF +MASTER_SITES= SF/${PORTNAME} DISTNAME= XQilla-${PORTVERSION} MAINTAINER= ports@FreeBSD.org @@ -15,27 +14,34 @@ COMMENT= XQuery and XPath2 library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3 +LIB_DEPENDS= libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3 \ + libtidy.so:${PORTSDIR}/www/tidy-lib -USES= gmake libtool -USE_LDCONFIG= yes +USES= libtool GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -PORTDOCS= * +CONFIGURE_ARGS= --with-xerces=${LOCALBASE} \ + --with-faxpp=no \ + --with-tidy=${LOCALBASE} INSTALL_TARGET= install-strip +USE_LDCONFIG= yes -OPTIONS_DEFINE= DOCS - -MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= DOXYGEN -DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ - dot:${PORTSDIR}/graphics/graphviz +DOCYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz +DOCYGEN_ALL_TARGET= all docs -post-build-DOCS-on: - cd ${WRKSRC} && ${MAKE_CMD} docs +post-patch: + @${REINPLACE_CMD} -e \ + 's|[[:blank:]]-R$$(xerces_lib)||' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + 's|[[:blank:]]-R$$with_.*"|"|' ${WRKSRC}/configure -post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \*-api ${STAGEDIR}${DOCSDIR} +post-install-DOXYGEN-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "*-api" \ + ${STAGEDIR}${DOCSDIR}) + @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR:S|${PREFIX}/||} \ + ! -type d >> ${TMPPLIST}) .include <bsd.port.mk> diff --git a/textproc/xqilla/distinfo b/textproc/xqilla/distinfo index b2e1c4604823..1d3713a5b0be 100644 --- a/textproc/xqilla/distinfo +++ b/textproc/xqilla/distinfo @@ -1,2 +1,2 @@ -SHA256 (XQilla-2.3.0.tar.gz) = 60e163cbbbe2900f999ee863bfa5a63d913b1d6e2ea17376302d565d2e9e1bc7 -SIZE (XQilla-2.3.0.tar.gz) = 7409736 +SHA256 (XQilla-2.3.2.tar.gz) = 5ae0aed4091521d5c2f541093e02a81ebe55a9087ba735f80b110068584e217c +SIZE (XQilla-2.3.2.tar.gz) = 16163811 diff --git a/textproc/xqilla/files/patch-gcc-werror b/textproc/xqilla/files/patch-gcc-werror deleted file mode 100644 index 798e790d2017..000000000000 --- a/textproc/xqilla/files/patch-gcc-werror +++ /dev/null @@ -1,69 +0,0 @@ ---- ./include/xqilla/runtime/ResultImpl.hpp.orig 2011-08-12 09:38:56.000000000 +0200 -+++ ./include/xqilla/runtime/ResultImpl.hpp 2011-08-12 09:50:47.000000000 +0200 -@@ -58,7 +58,7 @@ - Result *resultPointer_; - - private: -- ResultImpl(const ResultImpl &) {}; -+ ResultImpl(const ResultImpl &) : LocationInfo() {}; - ResultImpl &operator=(const ResultImpl &) { return *this; }; - }; - ---- include/xqilla/events/EventSerializer.hpp.orig 2011-08-12 09:54:35.000000000 +0200 -+++ include/xqilla/events/EventSerializer.hpp 2011-08-12 09:54:51.000000000 +0200 -@@ -37,7 +37,9 @@ - XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager); - ~EventSerializer(); - -- virtual void setLocationInfo(const LocationInfo *location) {} -+ virtual void setLocationInfo(const LocationInfo *location) { -+ (void) location; -+ } - - virtual void startDocumentEvent(const XMLCh *documentURI, const XMLCh *encoding); - virtual void endDocumentEvent(); ---- ./include/xqilla/simple-api/XQillaConfiguration.hpp.orig 2011-08-12 09:56:32.000000000 +0200 -+++ ./include/xqilla/simple-api/XQillaConfiguration.hpp 2011-08-12 09:56:51.000000000 +0200 -@@ -52,9 +52,13 @@ - - virtual URIResolver *createDefaultURIResolver(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr) = 0; - -- virtual void populateStaticContext(StaticContext *context) {} -+ virtual void populateStaticContext(StaticContext *context) { -+ (void) context; -+ } - -- virtual void populateDynamicContext(DynamicContext *context) {} -+ virtual void populateDynamicContext(DynamicContext *context) { -+ (void) context; -+ } - - virtual void testInterrupt() {} - }; ---- include/xqilla/events/EventHandler.hpp.orig 2010-01-13 16:40:36.000000000 +0100 -+++ include/xqilla/events/EventHandler.hpp 2011-08-12 10:12:55.000000000 +0200 -@@ -35,7 +35,9 @@ - - /** Recieves a LocationInfo object that is owned by the caller, and will be - updated with the current location information as the parse progresses. */ -- virtual void setLocationInfo(const LocationInfo *location) {} -+ virtual void setLocationInfo(const LocationInfo *location) { -+ (void) location; -+ } - - /** Handles a document node as an event */ - virtual void startDocumentEvent(const XMLCh *documentURI, const XMLCh *encoding) = 0; -@@ -61,7 +63,12 @@ - virtual void namespaceEvent(const XMLCh *prefix, const XMLCh *uri) = 0; - /** Handles an atomic item as an event */ - virtual void atomicItemEvent(AnyAtomicType::AtomicObjectType type, const XMLCh *value, -- const XMLCh *typeURI, const XMLCh *typeName) {} -+ const XMLCh *typeURI, const XMLCh *typeName) { -+ (void) type; -+ (void) value; -+ (void) typeURI; -+ (void) typeName; -+ } - /** Called when all events have been reported */ - virtual void endEvent() = 0; - }; diff --git a/textproc/xqilla/files/patch-include__xqilla__events__EventHandler.hpp b/textproc/xqilla/files/patch-include__xqilla__events__EventHandler.hpp new file mode 100644 index 000000000000..807c428b905b --- /dev/null +++ b/textproc/xqilla/files/patch-include__xqilla__events__EventHandler.hpp @@ -0,0 +1,27 @@ +--- include/xqilla/events/EventHandler.hpp.orig 2015-05-18 17:38:59 UTC ++++ include/xqilla/events/EventHandler.hpp +@@ -33,7 +33,9 @@ public: + + /** Recieves a LocationInfo object that is owned by the caller, and will be + updated with the current location information as the parse progresses. */ +- virtual void setLocationInfo(const LocationInfo *location) {} ++ virtual void setLocationInfo(const LocationInfo *location) { ++ (void) location; ++ } + + /** Handles a document node as an event */ + virtual void startDocumentEvent(const XMLCh *documentURI, const XMLCh *encoding) = 0; +@@ -59,7 +61,12 @@ public: + virtual void namespaceEvent(const XMLCh *prefix, const XMLCh *uri) = 0; + /** Handles an atomic item as an event */ + virtual void atomicItemEvent(AnyAtomicType::AtomicObjectType type, const XMLCh *value, +- const XMLCh *typeURI, const XMLCh *typeName) {} ++ const XMLCh *typeURI, const XMLCh *typeName) { ++ (void) type; ++ (void) value; ++ (void) typeURI; ++ (void) typeName; ++ } + /** Called when all events have been reported */ + virtual void endEvent() = 0; + }; diff --git a/textproc/xqilla/files/patch-include__xqilla__events__EventSerializer.hpp b/textproc/xqilla/files/patch-include__xqilla__events__EventSerializer.hpp new file mode 100644 index 000000000000..36d81ca0f936 --- /dev/null +++ b/textproc/xqilla/files/patch-include__xqilla__events__EventSerializer.hpp @@ -0,0 +1,13 @@ +--- include/xqilla/events/EventSerializer.hpp.orig 2015-05-18 17:38:59 UTC ++++ include/xqilla/events/EventSerializer.hpp +@@ -35,7 +35,9 @@ public: + XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager); + ~EventSerializer(); + +- virtual void setLocationInfo(const LocationInfo *location) {} ++ virtual void setLocationInfo(const LocationInfo *location) { ++ (void) location; ++ } + + virtual void startDocumentEvent(const XMLCh *documentURI, const XMLCh *encoding); + virtual void endDocumentEvent(); diff --git a/textproc/xqilla/files/patch-include__xqilla__runtime__ResultImpl.hpp b/textproc/xqilla/files/patch-include__xqilla__runtime__ResultImpl.hpp new file mode 100644 index 000000000000..7b90d04d8e3b --- /dev/null +++ b/textproc/xqilla/files/patch-include__xqilla__runtime__ResultImpl.hpp @@ -0,0 +1,11 @@ +--- include/xqilla/runtime/ResultImpl.hpp.orig 2015-05-18 17:38:59 UTC ++++ include/xqilla/runtime/ResultImpl.hpp +@@ -59,7 +59,7 @@ protected: + Result *resultPointer_; + + private: +- ResultImpl(const ResultImpl &) {}; ++ ResultImpl(const ResultImpl &) : LocationInfo() {}; + ResultImpl &operator=(const ResultImpl &) { return *this; }; + }; + diff --git a/textproc/xqilla/files/patch-include__xqilla__simple-api__XQillaConfiguration.hpp b/textproc/xqilla/files/patch-include__xqilla__simple-api__XQillaConfiguration.hpp new file mode 100644 index 000000000000..e77becd92c73 --- /dev/null +++ b/textproc/xqilla/files/patch-include__xqilla__simple-api__XQillaConfiguration.hpp @@ -0,0 +1,18 @@ +--- include/xqilla/simple-api/XQillaConfiguration.hpp.orig 2015-05-18 17:38:59 UTC ++++ include/xqilla/simple-api/XQillaConfiguration.hpp +@@ -53,9 +53,13 @@ public: + + virtual ASTToXML *createASTToXML() = 0; + +- virtual void populateStaticContext(StaticContext *context) {} ++ virtual void populateStaticContext(StaticContext *context) { ++ (void) context; ++ } + +- virtual void populateDynamicContext(DynamicContext *context) {} ++ virtual void populateDynamicContext(DynamicContext *context) { ++ (void) context; ++ } + + virtual void testInterrupt() {} + }; diff --git a/textproc/xqilla/pkg-plist b/textproc/xqilla/pkg-plist index 27d6a30ec9da..17a217df0c3a 100644 --- a/textproc/xqilla/pkg-plist +++ b/textproc/xqilla/pkg-plist @@ -394,5 +394,5 @@ include/xqilla/xqts/TestSuiteResultListener.hpp include/xqilla/xqts/TestSuiteRunner.hpp lib/libxqilla.a lib/libxqilla.so -lib/libxqilla.so.6 -lib/libxqilla.so.6.0.0 +lib/libxqilla.so.4 +lib/libxqilla.so.4.2.0 |