pkgsrc/textproc/soprano/Makefile

33 lines
874 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 2012/03/19 09:46:22 markd Exp $
DISTNAME= soprano-2.7.4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=soprano/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://soprano.sourceforge.net/
COMMENT= QT based RDF framework
Update soprano to 2.3 * New class LanguageTag replacing the old simple string language handling with a sophisticated one implementing RFC 4647. At the same time Soprano now directly supports plain literals in addition to typed string literals (compare LiteralValue::createPlainLiteral). CAUTION: This patch changes behaviour: parsers and storage backends will now return plain literals instead of typed string literals! * New static methods Node::resourceToN3, Node::literalToN3, and Node::blankToN3 for easy N3 formatting without the creation of a Node instance. * Fixed both Node::matches and Statement::matches - now only the paramter is treated as a wildcard * sopranocmd: - new paramter --file which allows to execute commands on files directly without creating a database on disk. - standard namespace prefixes rdf, rdfs, xsd, nrl, and nao are now added to sparql queries automatically if used. - construct and describe query results can now be serialized in all supported formats. - New parameter --index which allows to wrap an IndexFilterModel around the actual Model. - New command 'monitor' which allows to monitor a remote repository for statementAdded and statementRemoved signals. * New class Graph which is a simple QSet based container for statements as a quick replacement for Model in case one wants to handle a small number of statements without query support. * Fixed plugin loading on windows. * Fixed a deadlock in the IndexFilterModel in case a query could not be parsed. * Prevent Model::removeContext to remove empty contexts, i.e. the whole database. * Statement::operator<<(QTextStream) now uses a simpler format (only spaces between nodes and no brackets) * Updated Sesame2 to 2.2.4 * Added prefix handling to the Serializer API. For a future Soprano version the Serializer API has to be replaced with something more powerful. * Improved inference rule handling in the rule parser
2009-07-23 11:46:37 +02:00
LICENSE= gnu-lgpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_CMAKE= yes
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DSOPRANO_DISABLE_SESAME2_BACKEND:BOOL=ON
PKGCONFIG_OVERRIDE+= soprano.pc.cmake
pre-configure:
${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
Update to soprano 2.4.1 2.4.0 * New methods Client::SparqlModel::listStatementsAsync and Client::SparqlModel::listContextsAsync * Automatic query prefix expansion in NRLModel * Automatic NRL metadata graph removal in NRLModel * sopranocmd: - New paramter --nrl for sopranocmd which will trigger automatic query prefix expansion based on prefixes stored in the underlying model, automatic context creation for imported statements that do not have one set, and automatic metad ata graph removal on removeContext calls. - New parameter --graphselect which allows to convert SPARQL select query results into a graph result. This is very usable since SPARQL construct queries do not support contexts/named graphs. - New command 'rmgraph' which allows to delete a list of graphs/contexts. - New parameter --foo which enables scriptable binding results without variable names. * ServerCore is now fully multithreaded allowing two clients perform read-only commands simultaneously. * New Virtuoso storage backend which can either connect to a running Virtuoso instance or spawn one locally. * New convenience methods to handle BackendSettings. * New class AsyncQuery which will spawn a new thread for real asnycroneous query execution (in contrast to AsyncModel which only performs the actual query call in another thread while the iteration is syncroneous.) * Removed redland/librdf dependancy from raptor parser. 2.3.2 * Do not fail when trying to index empty strings, but ignore them. * Fixed parsing of plain literals with language code in sopranocmd. * Make onto2vocabularyclass work with the redland backend (not using graph SPARQL queries anymore) 2.3.1 * Changed installation path of cmake modules (SopranoAppOntology.cmake) to <prefix/share/soprano/cmake * Prevent the redland backend to add one statement multiple times. * Properly handle class names containing a dash '-' in onto2vocabularyclass * sopranocmd: Fail if trying to export a non-graph query
2010-04-10 02:02:03 +02:00
.include "../../databases/iodbc/buildlink3.mk"
.include "../../textproc/libclucene/buildlink3.mk"
.include "../../textproc/redland/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"