[Midnightbsd-cvs] mports [21620] trunk/textproc: add clucene qt5

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Aug 13 16:52:16 EDT 2016


Revision: 21620
          http://svnweb.midnightbsd.org/mports/?rev=21620
Author:   laffer1
Date:     2016-08-13 16:52:16 -0400 (Sat, 13 Aug 2016)
Log Message:
-----------
add clucene qt5

Modified Paths:
--------------
    trunk/textproc/Makefile

Added Paths:
-----------
    trunk/textproc/clucene-qt5/
    trunk/textproc/clucene-qt5/Makefile
    trunk/textproc/clucene-qt5/files/
    trunk/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp
    trunk/textproc/clucene-qt5/files/patch-src__assistant__assistant.pro
    trunk/textproc/clucene-qt5/files/patch-src__src.pro
    trunk/textproc/clucene-qt5/pkg-plist

Modified: trunk/textproc/Makefile
===================================================================
--- trunk/textproc/Makefile	2016-08-13 20:48:16 UTC (rev 21619)
+++ trunk/textproc/Makefile	2016-08-13 20:52:16 UTC (rev 21620)
@@ -10,6 +10,7 @@
 SUBDIR += cdiff
 SUBDIR += clucene
 SUBDIR += clucene-qt4
+SUBDIR += clucene-qt5
 SUBDIR += diffutils
 SUBDIR += docbook
 SUBDIR += docbook-sgml

Added: trunk/textproc/clucene-qt5/Makefile
===================================================================
--- trunk/textproc/clucene-qt5/Makefile	                        (rev 0)
+++ trunk/textproc/clucene-qt5/Makefile	2016-08-13 20:52:16 UTC (rev 21620)
@@ -0,0 +1,25 @@
+# $MidnightBSD$
+# $FreeBSD: head/textproc/clucene-qt5/Makefile 416768 2016-06-12 06:37:59Z pi $
+
+PORTNAME=	clucene
+DISTVERSION=	${QT5_VERSION}
+CATEGORIES=	textproc
+PKGNAMEPREFIX=	qt5-
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Qt bindings for the CLucene full-text search library
+
+LICENSE=	gpl3
+
+DEPRECATED=	This port will be merged with qt5-help in Qt 5.7 ports.
+EXPIRATION_DATE=	2016-08-11
+
+USE_QT5=	core buildtools_build
+QT_DIST=	tools
+USES=		qmake
+USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
+
+BUILD_WRKSRC=	${WRKSRC}/src/assistant/${PORTNAME}
+INSTALL_WRKSRC=	${WRKSRC}/src/assistant/${PORTNAME}
+
+.include <bsd.port.mk>


Property changes on: trunk/textproc/clucene-qt5/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp
===================================================================
--- trunk/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp	                        (rev 0)
+++ trunk/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp	2016-08-13 20:52:16 UTC (rev 21620)
@@ -0,0 +1,11 @@
+--- src/assistant/3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp
++++ src/assistant/3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp
+@@ -11,6 +11,8 @@
+ CL_NS_USE(index)
+ CL_NS_DEF(search)
+ 
++using ::wcschr;
++
+ FieldCacheImpl::FieldCacheImpl():
+     cache(false,true){
+ }


Property changes on: trunk/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/clucene-qt5/files/patch-src__assistant__assistant.pro
===================================================================
--- trunk/textproc/clucene-qt5/files/patch-src__assistant__assistant.pro	                        (rev 0)
+++ trunk/textproc/clucene-qt5/files/patch-src__assistant__assistant.pro	2016-08-13 20:52:16 UTC (rev 21620)
@@ -0,0 +1,28 @@
+Only enter the directories we want to build, otherwise we might fail due to
+missing dependencies.
+
+--- src/assistant/assistant.pro
++++ src/assistant/assistant.pro
+@@ -1,21 +1,3 @@
+ TEMPLATE = subdirs
+ 
+-SUBDIRS += clucene \
+-           help \
+-           assistant \
+-           qhelpgenerator \
+-           qcollectiongenerator \
+-           qhelpconverter
+-
+-help.depends = clucene
+-assistant.depends = help
+-qhelpgenerator.depends = help
+-qcollectiongenerator.depends = help
+-qhelpconverter.depends = help
+-
+-qtNomakeTools( \
+-    assistant \
+-    qhelpgenerator \
+-    qcollectiongenerator \
+-    qhelpconverter \
+-)
++SUBDIRS += clucene


Property changes on: trunk/textproc/clucene-qt5/files/patch-src__assistant__assistant.pro
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/clucene-qt5/files/patch-src__src.pro
===================================================================
--- trunk/textproc/clucene-qt5/files/patch-src__src.pro	                        (rev 0)
+++ trunk/textproc/clucene-qt5/files/patch-src__src.pro	2016-08-13 20:52:16 UTC (rev 21620)
@@ -0,0 +1,44 @@
+Only enter the directories we want to build, otherwise we might fail due to
+missing dependencies.
+
+--- src/src.pro
++++ src/src.pro
+@@ -1,37 +1,2 @@
+ TEMPLATE = subdirs
+-
+-qtHaveModule(widgets) {
+-    no-png {
+-        message("Some graphics-related tools are unavailable without PNG support")
+-    } else {
+-        SUBDIRS = assistant \
+-                  pixeltool \
+-                  qtestlib \
+-                  designer
+-
+-        linguist.depends = designer
+-    }
+-}
+-
+-SUBDIRS += linguist \
+-    qtplugininfo
+-if(!android|android_app):!ios: SUBDIRS += qtpaths
+-
+-mac {
+-    SUBDIRS += macdeployqt
+-}
+-
+-android {
+-    SUBDIRS += androiddeployqt
+-}
+-
+-qtHaveModule(dbus): SUBDIRS += qdbus
+-
+-win32|winrt:SUBDIRS += windeployqt
+-winrt:SUBDIRS += winrtrunner
+-qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
+-
+-qtNomakeTools( \
+-    pixeltool \
+-    macdeployqt \
+-)
++SUBDIRS = assistant


Property changes on: trunk/textproc/clucene-qt5/files/patch-src__src.pro
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/clucene-qt5/pkg-plist
===================================================================
--- trunk/textproc/clucene-qt5/pkg-plist	                        (rev 0)
+++ trunk/textproc/clucene-qt5/pkg-plist	2016-08-13 20:52:16 UTC (rev 21620)
@@ -0,0 +1,30 @@
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qanalyzer_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qclucene-config_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qclucene_global_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qdocument_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qfield_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qfilter_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qhits_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qindexreader_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qindexwriter_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qquery_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qqueryparser_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qreader_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qsearchable_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qsort_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qterm_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qtoken_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qtokenizer_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qtokenstream_p.h
+%%QT_INCDIR%%/QtCLucene/QtCLucene
+%%QT_INCDIR%%/QtCLucene/QtCLuceneDepends
+%%QT_INCDIR%%/QtCLucene/QtCLuceneVersion
+%%QT_INCDIR%%/QtCLucene/qtcluceneversion.h
+%%QT_LIBDIR%%/libQt5CLucene.prl
+%%QT_LIBDIR%%/libQt5CLucene.so
+%%QT_LIBDIR%%/libQt5CLucene.so.5
+%%QT_LIBDIR%%/libQt5CLucene.so.%%SHORTVER%%
+%%QT_LIBDIR%%/libQt5CLucene.so.%%FULLVER%%
+%%DEBUG%%%%QT_LIBDIR%%/libQt5CLucene.so.%%FULLVER%%.debug
+%%QT_MKSPECDIR%%/modules/qt_lib_clucene_private.pri
+libdata/pkgconfig/Qt5CLucene.pc


Property changes on: trunk/textproc/clucene-qt5/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list