FreeBSD Bugzilla – Attachment 201725 Details for
Bug 235501
textproc/soprano: use Qt5 and remove "deprecated"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to upgrade Soprano
soprano.diff (text/plain), 7.44 KB, created by
Thierry Thomas
on 2019-02-04 17:53:15 UTC
(
hide
)
Description:
Patch to upgrade Soprano
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2019-02-04 17:53:15 UTC
Size:
7.44 KB
patch
obsolete
>Index: textproc/soprano/Makefile >=================================================================== >--- textproc/soprano/Makefile (revision 492060) >+++ textproc/soprano/Makefile (working copy) >@@ -3,28 +3,33 @@ > > PORTNAME= soprano > PORTVERSION= 2.9.4 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= textproc >-MASTER_SITES= SF/${PORTNAME}/Soprano/${PORTVERSION} > > MAINTAINER= kde@FreeBSD.org > COMMENT= Qt/C++ RDF framework > >-DEPRECATED= Qt4 has been EOL since december 2015 >-EXPIRATION_DATE= 2019-03-15 >+LICENSE= GPLv2 LGPL20+ >+LICENSE_COMB= dual > > LIB_DEPENDS= libraptor2.so:textproc/raptor2 \ >+ librasqal.so:textproc/rasqal \ > librdf.so:textproc/redland \ > libiodbc.so:databases/libiodbc > >-USE_QT= corelib dbus network qtestlib_build xml \ >- qmake_build moc_build uic_build rcc_build >-USES= cmake pkgconfig qt:4 tar:bzip2 >+USE_GITHUB= yes >+GH_ACCOUNT= KDE >+GH_TAGNAME= d7f30f1 >+ >+USES= cmake pkgconfig qt:5 tar:bzip2 >+ >+USE_QT= buildtools_build core dbus help network qmake_build xml > CMAKE_ARGS+= -DSOPRANO_DISABLE_CLUCENE_INDEX=yes \ >+ -DQT5_BUILD=ON \ > -DSOPRANO_DISABLE_SESAME2_BACKEND=yes > USE_LDCONFIG= yes > >-post-patch: >+pre-configure: > @${REINPLACE_CMD} -e 's,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig,' \ > ${WRKSRC}/CMakeLists.txt > @${REINPLACE_CMD} -e 's,soprano/cmake,cmake/Modules,' \ >Index: textproc/soprano/distinfo >=================================================================== >--- textproc/soprano/distinfo (revision 492060) >+++ textproc/soprano/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (soprano-2.9.4.tar.bz2) = 64066fbd54e71d7ae4c8a4116997448a72808a2813cff3bb5d2c28f0fce9e0e5 >-SIZE (soprano-2.9.4.tar.bz2) = 1958856 >+TIMESTAMP = 1549227149 >+SHA256 (KDE-soprano-2.9.4-d7f30f1_GH0.tar.gz) = ff66ab9a1a486407f73893009595dcfd929971e6b810b1fa59d5a96dcda69614 >+SIZE (KDE-soprano-2.9.4-d7f30f1_GH0.tar.gz) = 2092250 >Index: textproc/soprano/files/patch-soprano_pluginmanager.cpp >=================================================================== >--- textproc/soprano/files/patch-soprano_pluginmanager.cpp (revision 492060) >+++ textproc/soprano/files/patch-soprano_pluginmanager.cpp (nonexistent) >@@ -1,17 +0,0 @@ >-error: invalid suffix on literal; C++11 requires a space between literal and identifier >- [-Wreserved-user-defined-literal] >- fileSearchPaths << file.fileName().section( "/", 0, -5, >- QString::SectionIncludeTrailingSep ) + QLatin1String( "lib"SOPRANO_LIB_SUFFIX ); >- ^ >- >---- soprano/pluginmanager.cpp.orig 2013-10-09 17:22:28 UTC >-+++ soprano/pluginmanager.cpp >-@@ -43,7 +43,7 @@ namespace { >- fileSearchPaths << file.fileName().section( '/', 0, -2 ); >- #ifndef Q_OS_WIN >- // the lib folder in the same prefix >-- fileSearchPaths << file.fileName().section( "/", 0, -5, QString::SectionIncludeTrailingSep ) + QLatin1String( "lib"SOPRANO_LIB_SUFFIX ); >-+ fileSearchPaths << file.fileName().section( "/", 0, -5, QString::SectionIncludeTrailingSep ) + QLatin1String( "lib" SOPRANO_LIB_SUFFIX ); >- #endif >- return Soprano::findLibraryPath( file.library(), fileSearchPaths, QStringList() << QLatin1String( "soprano" ) ); >- } > >Property changes on: textproc/soprano/files/patch-soprano_pluginmanager.cpp >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: textproc/soprano/files/patch-soprano_sopranodirs.cpp >=================================================================== >--- textproc/soprano/files/patch-soprano_sopranodirs.cpp (revision 492060) >+++ textproc/soprano/files/patch-soprano_sopranodirs.cpp (nonexistent) >@@ -1,25 +0,0 @@ >-error: invalid suffix on literal; C++11 requires a space between literal and identifier >- paths << QLatin1String( SOPRANO_PREFIX"/lib"SOPRANO_LIB_SUFFIX ); >- ^ >---- soprano/sopranodirs.cpp.orig 2018-01-06 22:23:48 UTC >-+++ soprano/sopranodirs.cpp >-@@ -124,14 +124,14 @@ QStringList Soprano::envDirList( const char* var ) >- QStringList Soprano::libDirs() >- { >- QStringList paths = QCoreApplication::libraryPaths(); >-- paths << QLatin1String( SOPRANO_PREFIX"/lib"SOPRANO_LIB_SUFFIX ); >-+ paths << QLatin1String( SOPRANO_PREFIX "/lib" SOPRANO_LIB_SUFFIX ); >- #ifdef Q_OS_WIN >-- paths << QLatin1String( SOPRANO_PREFIX"/bin" ); >-+ paths << QLatin1String( SOPRANO_PREFIX "/bin" ); >- paths << getWinPrefix() + QLatin1String( "/bin" ); >-- paths << getWinPrefix() + QLatin1String( "/lib"SOPRANO_LIB_SUFFIX ); >-+ paths << getWinPrefix() + QLatin1String( "/lib" SOPRANO_LIB_SUFFIX ); >- #else >-- paths << QLatin1String( "/usr/lib"SOPRANO_LIB_SUFFIX ); >-- paths << QLatin1String( "/usr/local/lib"SOPRANO_LIB_SUFFIX ); >-+ paths << QLatin1String( "/usr/lib" SOPRANO_LIB_SUFFIX ); >-+ paths << QLatin1String( "/usr/local/lib" SOPRANO_LIB_SUFFIX ); >- paths += Soprano::envDirList( "LD_LIBRARY_PATH" ); >- #endif >- return paths; > >Property changes on: textproc/soprano/files/patch-soprano_sopranodirs.cpp >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: textproc/soprano/pkg-plist >=================================================================== >--- textproc/soprano/pkg-plist (revision 492060) >+++ textproc/soprano/pkg-plist (working copy) >@@ -1,5 +1,4 @@ > bin/onto2vocabularyclass >-bin/sopranocmd > bin/sopranod > include/Soprano/Backend > include/Soprano/BackendFeature >@@ -78,13 +77,8 @@ > include/soprano/backend.h > include/soprano/bindingset.h > include/soprano/datastream.h >-include/soprano/dbusclient.h > include/soprano/dbusexportiterator.h > include/soprano/dbusexportmodel.h >-include/soprano/dbusmodel.h >-include/soprano/dbusnodeiterator.h >-include/soprano/dbusqueryresultiterator.h >-include/soprano/dbusstatementiterator.h > include/soprano/dummymodel.h > include/soprano/error.h > include/soprano/filtermodel.h >@@ -98,7 +92,6 @@ > include/soprano/iteratorbackend.h > include/soprano/languagetag.h > include/soprano/literalvalue.h >-include/soprano/localsocketclient.h > include/soprano/locator.h > include/soprano/model.h > include/soprano/mutexmodel.h >@@ -128,25 +121,24 @@ > include/soprano/soprano_export.h > include/soprano/sopranomacros.h > include/soprano/sopranotypes.h >-include/soprano/sparqlmodel.h > include/soprano/statement.h > include/soprano/statementiterator.h > include/soprano/statementpattern.h > include/soprano/storagemodel.h >-include/soprano/tcpclient.h > include/soprano/version.h > include/soprano/vocabulary.h > include/soprano/xesam.h > include/soprano/xsd.h >+lib/cmake/Soprano/SopranoConfig.cmake >+lib/cmake/Soprano/SopranoConfigVersion.cmake >+lib/cmake/Soprano/SopranoTargets-%%CMAKE_BUILD_TYPE%%.cmake >+lib/cmake/Soprano/SopranoTargets.cmake > lib/libsoprano.so >-lib/libsoprano.so.4 > lib/libsoprano.so.4.3.0 >-lib/libsopranoclient.so >-lib/libsopranoclient.so.1 >-lib/libsopranoclient.so.1.2.0 >+lib/libsoprano.so.5 > lib/libsopranoserver.so >-lib/libsopranoserver.so.1 > lib/libsopranoserver.so.1.2.0 >+lib/libsopranoserver.so.2 > lib/soprano/libsoprano_nquadparser.so > lib/soprano/libsoprano_nquadserializer.so > lib/soprano/libsoprano_raptorparser.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235501
: 201725 |
201735
|
201736