Hello community,
here is the log from the commit of package soprano for openSUSE:Factory
checked in at Thu Apr 1 16:07:52 CEST 2010.
--------
--- soprano/soprano-backend-sesame.changes 2010-02-11 15:14:16.000000000 +0100
+++ /mounts/work_src_done/STABLE/soprano/soprano-backend-sesame.changes 2010-03-10 00:08:11.000000000 +0100
@@ -1,0 +2,15 @@
+Tue Mar 9 23:05:19 UTC 2010 - wstephenson@novell.com
+
+- Update to 2.4.1
+ * Virtuoso backend improvements:
+ o New parameter "forcedstart" which when set will make the
+ backend shut down any running Virtuoso instance already
+ accessing the storage dir (does not work on Windows).
+ o Shut down Virtuoso using the SIGINT (instead of SIGTERM)
+ signal to ensure a checkpoint (not available on Windows).
+ * Allow to build Soprano with -fvisibility=hidden
+ -fvisibility-inlines-hidden
+ * New pkgConfig files for sopranoclient, sopranoserver, and
+ sopranoindex.
+
+-------------------------------------------------------------------
soprano-backend-virtuoso.changes: same change
soprano.changes: same change
calling whatdependson for head-i586
Old:
----
soprano-2.4.0.1.tar.bz2
New:
----
soprano-2.4.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ soprano-backend-sesame.spec ++++++
--- /var/tmp/diff_new_pack.Q0EQqB/_old 2010-04-01 16:07:26.000000000 +0200
+++ /var/tmp/diff_new_pack.Q0EQqB/_new 2010-04-01 16:07:26.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package soprano-backend-sesame (Version 2.4.0.1)
+# spec file for package soprano-backend-sesame (Version 2.4.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -29,7 +29,7 @@
# COMMON1-BEGIN
BuildRequires: cmake kde4-filesystem libqt4-devel libraptor-devel libredland-devel
BuildRequires: clucene-core-devel doxygen raptor
-Version: 2.4.0.1
+Version: 2.4.1
Release: 1
Source: soprano-%{version}.tar.bz2
Source2: baselibs.conf
soprano-backend-virtuoso.spec: same change
++++++ soprano.spec ++++++
--- /var/tmp/diff_new_pack.Q0EQqB/_old 2010-04-01 16:07:26.000000000 +0200
+++ /var/tmp/diff_new_pack.Q0EQqB/_new 2010-04-01 16:07:26.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package soprano (Version 2.4.0.1)
+# spec file for package soprano (Version 2.4.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -26,7 +26,7 @@
# COMMON1-BEGIN
BuildRequires: cmake kde4-filesystem libqt4-devel libraptor-devel libredland-devel
BuildRequires: clucene-core-devel doxygen raptor
-Version: 2.4.0.1
+Version: 2.4.1
Release: 1
Source: soprano-%{version}.tar.bz2
Source2: baselibs.conf
@@ -177,6 +177,9 @@
%_libdir/libsopranoclient.so
%_libdir/libsopranoserver.so
%_libdir/pkgconfig/soprano.pc
+%_libdir/pkgconfig/sopranoclient.pc
+%_libdir/pkgconfig/sopranoindex.pc
+%_libdir/pkgconfig/sopranoserver.pc
%dir /usr/share/soprano/cmake
/usr/share/soprano/cmake/SopranoAddOntology.cmake
++++++ soprano-2.4.0.1.tar.bz2 -> soprano-2.4.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/CMakeLists.txt new/soprano-2.4.1/CMakeLists.txt
--- old/soprano-2.4.0.1/CMakeLists.txt 2010-02-11 13:46:44.000000000 +0100
+++ new/soprano-2.4.1/CMakeLists.txt 2010-03-01 10:58:45.000000000 +0100
@@ -7,9 +7,8 @@
################## Soprano version ################################
set(CMAKE_SOPRANO_VERSION_MAJOR 2)
set(CMAKE_SOPRANO_VERSION_MINOR 4)
-set(CMAKE_SOPRANO_VERSION_RELEASE 0)
-set(CMAKE_SOPRANO_VERSION_PATCH 1)
-set(CMAKE_SOPRANO_VERSION_STRING "${CMAKE_SOPRANO_VERSION_MAJOR}.${CMAKE_SOPRANO_VERSION_MINOR}.${CMAKE_SOPRANO_VERSION_RELEASE}.${CMAKE_SOPRANO_VERSION_PATCH}")
+set(CMAKE_SOPRANO_VERSION_RELEASE 61)
+set(CMAKE_SOPRANO_VERSION_STRING "${CMAKE_SOPRANO_VERSION_MAJOR}.${CMAKE_SOPRANO_VERSION_MINOR}.${CMAKE_SOPRANO_VERSION_RELEASE}")
################## User options ################################
@@ -147,6 +146,15 @@
################## some compiler settings ################################
if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32 )
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common")
+ include(CheckCXXCompilerFlag)
+ check_cxx_compiler_flag(-fvisibility=hidden __SOPRANO_HAVE_GCC_VISIBILITY)
+ check_cxx_compiler_flag(-fvisibility-inlines-hidden __SOPRANO_HAVE_GCC_INLINE_VISIBILITY)
+ if(__SOPRANO_HAVE_GCC_VISIBILITY)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
+ endif(__SOPRANO_HAVE_GCC_VISIBILITY)
+ if(__SOPRANO_HAVE_GCC_INLINE_VISIBILITY)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
+ endif(__SOPRANO_HAVE_GCC_INLINE_VISIBILITY)
endif(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32 )
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Zc:wchar_t-)
@@ -175,10 +183,20 @@
add_subdirectory(cmake)
-################## create pkgconfig file ################################
+################## create pkgconfig files ################################
if(NOT WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/soprano.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/soprano.pc @ONLY)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/soprano.pc DESTINATION ${PKGCONFIG_INSTALL_PREFIX})
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/sopranoclient.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/sopranoclient.pc @ONLY)
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/sopranoserver.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/sopranoserver.pc @ONLY)
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/sopranoindex.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/sopranoindex.pc @ONLY)
+ install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/soprano.pc
+ ${CMAKE_CURRENT_BINARY_DIR}/sopranoclient.pc
+ ${CMAKE_CURRENT_BINARY_DIR}/sopranoserver.pc
+ ${CMAKE_CURRENT_BINARY_DIR}/sopranoindex.pc
+ DESTINATION
+ ${PKGCONFIG_INSTALL_PREFIX})
endif(NOT WIN32)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/ChangeLog new/soprano-2.4.1/ChangeLog
--- old/soprano-2.4.0.1/ChangeLog 2010-02-11 13:46:44.000000000 +0100
+++ new/soprano-2.4.1/ChangeLog 2010-02-11 13:40:16.000000000 +0100
@@ -1,6 +1,3 @@
-2.4.0.1
- * Fixed a bug in the ClientConnection where mutex was deleted before it had been unlocked.
-
2.4.0
* New methods Client::SparqlModel::listStatementsAsync and Client::SparqlModel::listContextsAsync
* Automatic query prefix expansion in NRLModel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/Doxyfile.cmake new/soprano-2.4.1/Doxyfile.cmake
--- old/soprano-2.4.0.1/Doxyfile.cmake 2009-06-25 13:33:08.000000000 +0200
+++ new/soprano-2.4.1/Doxyfile.cmake 2010-02-09 20:03:41.000000000 +0100
@@ -96,16 +96,16 @@
${soprano_SOURCE_DIR}/index/indexqueryhit.h \
${soprano_SOURCE_DIR}/server/SopranoServer.dox \
${soprano_SOURCE_DIR}/server/servercore.h \
- ${soprano_SOURCE_DIR}/server/tcpclient.h \
- ${soprano_SOURCE_DIR}/server/localsocketclient.h \
- ${soprano_SOURCE_DIR}/server/dbus/dbusclient.h \
${soprano_SOURCE_DIR}/server/dbus/dbusexportmodel.h \
${soprano_SOURCE_DIR}/server/dbus/dbusexportiterator.h \
- ${soprano_SOURCE_DIR}/server/dbus/dbusmodel.h \
- ${soprano_SOURCE_DIR}/server/dbus/dbusstatementiterator.h \
- ${soprano_SOURCE_DIR}/server/dbus/dbusnodeiterator.h \
- ${soprano_SOURCE_DIR}/server/dbus/dbusqueryresultiterator.h \
- ${soprano_SOURCE_DIR}/server/sparql/sparqlmodel.h
+ ${soprano_SOURCE_DIR}/client/tcpclient.h \
+ ${soprano_SOURCE_DIR}/client/localsocketclient.h \
+ ${soprano_SOURCE_DIR}/client/dbus/dbusmodel.h \
+ ${soprano_SOURCE_DIR}/client/dbus/dbusclient.h \
+ ${soprano_SOURCE_DIR}/client/dbus/dbusstatementiterator.h \
+ ${soprano_SOURCE_DIR}/client/dbus/dbusnodeiterator.h \
+ ${soprano_SOURCE_DIR}/client/dbus/dbusqueryresultiterator.h \
+ ${soprano_SOURCE_DIR}/client/sparql/sparqlmodel.h
# ${soprano_SOURCE_DIR}/soprano/query
INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/Mainpage.dox new/soprano-2.4.1/Mainpage.dox
--- old/soprano-2.4.0.1/Mainpage.dox 2009-06-30 10:57:50.000000000 +0200
+++ new/soprano-2.4.1/Mainpage.dox 2010-02-27 19:27:29.000000000 +0100
@@ -2,18 +2,18 @@
* \mainpage Soprano (aka QRDF) - A modular RDF storage framework
*
* %Soprano is a <a href="http://www.qtsoftware.com/">Qt</a>-based pluggable framework for <a href="http://www.w3.org/RDF/">RDF</a>
- * storage and parsing. It tries to provide a highly usable interface to several RDF storage solutions.
+ * storage and parsing. It tries to provide a highly usable interface to several Resource Description Framework (RDF) storage solutions.
*
* \section overview Overview
*
* %Soprano centers around the Soprano::Model class which represents one storage set. A Soprano::Model is basically a set of
* RDF quadruples, i.e. Soprano::Statement. The actual storage is done via Soprano::Backend plugins. All
- * query operations return Soprano::Iterator instances. Iterator is a explicitely shared class which is very
+ * query operations return Soprano::Iterator instances. Iterator is an explicitly shared class which is very
* easy to understand and use.
*
* %Soprano makes the distinction between two types of Models: Soprano::StorageModel and Soprano::FilterModel.
- * The former one is intended to be the basic Model which actually stores the data while the latter ones can be
- * stacked on top of a Soprano::StorageModel to perform certain filter operations. Thes filter operations can range
+ * The former is intended to be the basic Model which actually stores the data while the latter can be
+ * stacked on top of a Soprano::StorageModel to perform certain filter operations. These filter operations can range
* from very basic things such as disallowing any write operation (Soprano::Util::ReadOnlyModel) to more complex
* things such as full text indexing of all literal statements (Soprano::Index::IndexFilterModel) or exporting
* the Model via D-Bus (Soprano::Server::DBusExportModel).
@@ -21,7 +21,7 @@
* Apart from storage %Soprano provides a system for RDF parser and serializer plugins. For more details on parsing
* or serializing RDF data see the Soprano::Parser and Soprano::Serializer classes.
*
- * %Soprano comes with a builtin \link Soprano::Server Server \endlink and \link Soprano::Client Client \endlink implementations allowing to build remote repositories quickly.
+ * %Soprano comes with a built in \link Soprano::Server Server \endlink and \link Soprano::Client Client \endlink implementations allowing remote repositories to be built quickly.
* Soprano::Client::SparqlModel provides a client to arbitrary <a href="http://www.w3.org/TR/rdf-sparql-protocol/">SPARQL (SPARQL Protocol and RDF Query Language)</a>
* Http services.
*
@@ -85,7 +85,7 @@
*
* Model instances are mostly created by the plugin implementations through the
* Soprano::Backend::createModel() methods. In the most simple case one does not need to bother
- * with Soprano::Backend though as the basic methods are duplicated in the Soprano
+ * with Soprano::Backend though, as the basic methods are duplicated in the Soprano
* namespace. Thus, to create a simple memory model using the default %Soprano backend:
*
* \code
@@ -111,7 +111,7 @@
/**
* \page soprano_backends Soprano Backends
*
- * %Soprano is plug-in based and comes with three backend plug-ins which can be used directly
+ * %Soprano is plugin based and comes with three backend plugins which can be used directly
* (if they have been built):
*
* \li \subpage soprano_backend_redland
@@ -145,8 +145,8 @@
* }
* \endcode
*
- * For methods that do not return an immediate error status Soprano::Error::Error evalutes to a boolean. Thus, one can easily
- * check if an error occured as follows:
+ * For methods that do not return an immediate error status, Soprano::Error::Error evaluates to a boolean. Thus, one can easily
+ * check if an error occurred as follows:
*
* \code
* Soprano::StatementIterator it = model->listStatements();
@@ -190,7 +190,7 @@
* };
* \endcode
*
- * In the implementation file export the plugin so it can be picked up by the
+ * In the implementation file, export the plugin so that it can be picked up by the
* plugin loading framework:
*
* \code
@@ -388,7 +388,7 @@
*
* \subsection cmake Using CMake with Soprano
*
- * Using cmake is as simple. Find required packages \em Qt4 and \em PkgConfig, look for %Soprano via PkgConfig and link to both
+ * Using cmake is simple. Find required packages \em Qt4 and \em PkgConfig, look for %Soprano via PkgConfig and link to both
* %Soprano and QtCore:
*
* \code
@@ -400,12 +400,12 @@
* target_link_libraries(sopranotest ${Soprano_LIBRARIES} ${QT_QTCORE_LIBRARY})
* \endcode
*
- * \warning PkgConfig is not available on Windows. For platform independant development use a typical cmake module like
+ * \warning PkgConfig is not available on Windows. For platform independent development use a typical cmake module like
* KDE's <a href="http://websvn.kde.org:80/%2Acheckout%2A/trunk/KDE/kdelibs/cmake/modules/FindSoprano.cmake">FindSoprano.cmake</a>.
*
* \subsubsection cmake_magic Some CMake Magic
*
- * %Soprano provides the simple \ref onto2vocabularyclass tool which can generate convinience namespaces such as Soprano::Vocabulary::RDF
+ * %Soprano provides the simple \ref onto2vocabularyclass tool which can generate convenience namespaces such as Soprano::Vocabulary::RDF
* from ontology files. With CMake it is very simple to generate these namespaces on-the-fly instead of packaging the generated files by
* using the SopranoAddOntology macro provided by %Soprano:
*
@@ -418,7 +418,7 @@
* [VISIBLITY VISIBILITY_NAME])
* \endcode
*
- * Imagine ones code contains an ontology description in rdf+xml format named Foo (Foo Object Ontology) and you want to make it's classes and
+ * Imagine one's code contains an ontology description in rdf+xml format named Foo (Foo Object Ontology) and you want to make its classes and
* properties accessible in the <em>MyStuff::Foo</em> namespace. One simply includes the cmake macro provided by Soprano:
*
* \code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/backends/virtuoso/CMakeLists.txt new/soprano-2.4.1/backends/virtuoso/CMakeLists.txt
--- old/soprano-2.4.0.1/backends/virtuoso/CMakeLists.txt 2009-12-08 17:12:38.000000000 +0100
+++ new/soprano-2.4.1/backends/virtuoso/CMakeLists.txt 2010-02-11 12:02:36.000000000 +0100
@@ -8,6 +8,7 @@
${soprano_core_BINARY_DIR}
${QT_INCLUDES}
${soprano_SOURCE_DIR}
+ ${soprano_SOURCE_DIR}/server
${virtuoso_BINARY_DIR}
${IODBC_INCLUDE_DIR}
)
@@ -24,6 +25,7 @@
odbcconnectionpool.cpp
odbcqueryresult.cpp
${soprano_core_SOURCE_DIR}/sopranodirs.cpp
+ ${soprano_SOURCE_DIR}/server/lockfile.cpp
)
qt4_automoc(${SRC})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/backends/virtuoso/Virtuoso.dox new/soprano-2.4.1/backends/virtuoso/Virtuoso.dox
--- old/soprano-2.4.0.1/backends/virtuoso/Virtuoso.dox 2009-12-02 14:50:11.000000000 +0100
+++ new/soprano-2.4.1/backends/virtuoso/Virtuoso.dox 2010-02-11 12:02:36.000000000 +0100
@@ -30,8 +30,11 @@
* - \c CheckpointInterval - The interval in minutes at which Virtuoso will automatically make a database checkpoint. Defaults to 60.
* - \c MinAutoCheckpointSize - The minimum size of the Virtuoso transaction log. An automatic checkpoint will not be made if there is
* less than MinAutoCheckpointSize bytes in the current transaction log. Defaults to 4000000.
+ * - \c forcedstart - A boolean property which when set will result in the backend killing any Virtuoso instance accessing the
+ * data in the storage dir before starting its own instance. This option is ignored when connecting to an already
+ * running Virtuoso server.
*
- * The two settings above are user settings and have to be provided using Soprano::BackendOptionUser:
+ * The settings above are user settings and have to be provided using Soprano::BackendOptionUser:
*
* \code
* Soprano::BackendSettings settings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soprano-2.4.0.1/backends/virtuoso/virtuosocontroller.cpp new/soprano-2.4.1/backends/virtuoso/virtuosocontroller.cpp
--- old/soprano-2.4.0.1/backends/virtuoso/virtuosocontroller.cpp 2009-12-10 15:17:26.000000000 +0100
+++ new/soprano-2.4.1/backends/virtuoso/virtuosocontroller.cpp 2010-02-23 02:21:53.000000000 +0100
@@ -21,6 +21,7 @@
#include "virtuosocontroller.h"
#include "sopranodirs.h"
+#include "lockfile.h"
#include