On Saturday 20 June 2009 09:24:16 Mel Flynn wrote:

> I don't know what other storage backends beside redland and the java one
> are available for soprano, but I think we should not make redland the
> default.

Patch effectively eliminates the crash always seen on start up of the desktop 
and while changing my backend to sesame2 found that redland is needed for the 
raptor serializer, yet not the parser and that the raptor parser is needed for 
nepomuk to run in the first place.
As such, patched soprano port as attached to fix the broken plist if 
WITHOUT_REDLAND is set and fixed up the CMakeLists.txt to allow separate 
disabling of the serializer.

However, we still do not get a working strigi service :
[/usr/local/kde4/bin/nepomukservicestub] nepomukstrigiservice(76909) 
Nepomuk::StrigiService::StrigiService: Failed to lower scheduling priority.
nepomukstrigiservice(76909) Nepomuk::StrigiService::StrigiService: Failed to 
lower io priority.
nepomukstrigiservice(76909) Nepomuk::StrigiService::StrigiService: Failed to 
load sopranobackend Strigi index manager.
NepomukServer(76804) Nepomuk::ServiceController::slotServiceInitialized: 
Failed to initialize service "nepomukstrigiservice"

To be continued.

FYI, the sesame2 backend is working for as far as I can tell:
% ls -l .kde4/share/apps/nepomuk/repository/main/data/sesame2           
<[16:20:39]/52.0C>
total 850
-rw-rw-r--  1 mel  mel       4 Jun 21 00:43 namespaces.dat
-rw-rw-r--  1 mel  mel  178173 Jun 21 16:04 triples-cspo.dat
-rw-rw-r--  1 mel  mel  161789 Jun 21 16:04 triples-opsc.dat
-rw-rw-r--  1 mel  mel  165885 Jun 21 16:04 triples-posc.dat
-rw-rw-r--  1 mel  mel  172029 Jun 21 16:04 triples-spoc.dat
-rw-rw-r--  1 mel  mel     116 Jun 21 00:43 triples.prop
-rw-rw-r--  1 mel  mel  125931 Jun 21 16:04 values.dat
-rw-rw-r--  1 mel  mel   37416 Jun 21 16:04 values.hash
-rw-rw-r--  1 mel  mel   21464 Jun 21 16:04 values.id
-- 
Mel

--- CMakeLists.txt.orig 2009-02-27 10:27:48.000000000 -0900
+++ CMakeLists.txt      2009-06-21 10:59:58.000000000 -0800
@@ -17,7 +17,8 @@
 option(SOPRANO_DISABLE_REDLAND_BACKEND "Disable the compilation of the redland 
backend")
 option(SOPRANO_DISABLE_SESAME2_BACKEND "Disable the compilation of the sesame2 
backend")
 option(SOPRANO_DISABLE_CLUCENE_INDEX "Disable the compilation of the 
clucene-based full-text index")
-option(SOPRANO_DISABLE_RAPTOR_PARSER "Disable the compilation of the raptor 
parser and serializer plugins (provides most Soprano parsers and serializers)")
+option(SOPRANO_DISABLE_RAPTOR_PARSER "Disable the compilation of the raptor 
parser plugins (provides most Soprano parsers and needed for nepomuk)")
+option(SOPRANO_DISABLE_RAPTOR_SERIALIZER "Disable the compilation of the 
raptor serializer plugins (provides most Soprano serializers and requires 
redland library)")
 option(SOPRANO_DISABLE_DBUS "Disable the D-Bus integration")
 option(SOPRANO_BUILD_API_DOCS "Build the Soprano API documentation")
 
@@ -91,9 +92,9 @@
 if(RAPTOR_FOUND AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
   set(BUILD_RAPTOR_PARSER TRUE)
 endif(RAPTOR_FOUND AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
-if(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" AND 
NOT SOPRANO_DISABLE_RAPTOR_PARSER)
+if(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" AND 
NOT SOPRANO_DISABLE_RAPTOR_SERIALIZER)
   set(BUILD_RAPTOR_SERIALIZER TRUE)
-endif(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" 
AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
+endif(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" 
AND NOT SOPRANO_DISABLE_RAPTOR_SERIALIZER)
 if(NOT SOPRANO_DISABLE_DBUS AND QT_QTDBUS_FOUND)
   set(BUILD_DBUS_SUPPORT TRUE)
 endif(NOT SOPRANO_DISABLE_DBUS AND QT_QTDBUS_FOUND)
Index: textproc/soprano/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/soprano/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- textproc/soprano/Makefile	24 Mar 2009 19:13:27 -0000	1.6
+++ textproc/soprano/Makefile	21 Jun 2009 19:06:46 -0000
@@ -33,7 +33,8 @@
 LIB_DEPENDS+=	rdf.0:${PORTSDIR}/textproc/redland
 PLIST_SUB+=	REDLAND=""
 .else
-CMAKE_ARGS+=	-DSOPRANO_DISABLE_REDLAND_BACKEND=yes
+CMAKE_ARGS+=	-DSOPRANO_DISABLE_REDLAND_BACKEND=yes \
+		-DSOPRANO_DISABLE_RAPTOR_SERIALIZER=yes
 PLIST_SUB+=	REDLAND="@comment "
 .endif
 
Index: textproc/soprano/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/soprano/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- textproc/soprano/pkg-plist	9 Mar 2009 00:55:43 -0000	1.3
+++ textproc/soprano/pkg-plist	21 Jun 2009 09:06:24 -0000
@@ -149,7 +149,7 @@
 lib/soprano/libsoprano_nquadparser.so
 lib/soprano/libsoprano_nquadserializer.so
 lib/soprano/libsoprano_raptorparser.so
-lib/soprano/libsoprano_raptorserializer.so
+%%REDLAND%%lib/soprano/libsoprano_raptorserializer.so
 %%REDLAND%%lib/soprano/libsoprano_redlandbackend.so
 %%SESAME2%%lib/soprano/libsoprano_sesame2backend.so
 libdata/pkgconfig/soprano.pc
@@ -161,7 +161,7 @@
 %%DATADIR%%/plugins/nquadparser.desktop
 %%DATADIR%%/plugins/nquadserializer.desktop
 %%DATADIR%%/plugins/raptorparser.desktop
-%%DATADIR%%/plugins/raptorserializer.desktop
+%%REDLAND%%%%DATADIR%%/plugins/raptorserializer.desktop
 %%REDLAND%%%%DATADIR%%/plugins/redlandbackend.desktop
 %%SESAME2%%%%DATADIR%%/plugins/sesame2backend.desktop
 %%DATADIR%%/rules/nrl.rules
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to