rpms/kdebase-runtime/devel kdebase-runtime-4.4.0-nepomuk_fulltextindex.patch, NONE, 1.1 kdebase-runtime-4.4.0-virtuosoconverter.patch, NONE, 1.1 kdebase-runtime.spec, 1.186, 1.187

Rex Dieter rdieter at fedoraproject.org
Mon Feb 8 01:16:47 UTC 2010


Author: rdieter

Update of /cvs/pkgs/rpms/kdebase-runtime/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32319

Modified Files:
	kdebase-runtime.spec 
Added Files:
	kdebase-runtime-4.4.0-nepomuk_fulltextindex.patch 
	kdebase-runtime-4.4.0-virtuosoconverter.patch 
Log Message:
* Sun Feb 07 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.4.0-2
- nepomuk_fulltextindex patch
- virtuosoconverter patch


kdebase-runtime-4.4.0-nepomuk_fulltextindex.patch:
 repository.cpp |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE kdebase-runtime-4.4.0-nepomuk_fulltextindex.patch ---
diff -up kdebase-runtime-4.4.0/nepomuk/services/storage/repository.cpp.fulltextindex kdebase-runtime-4.4.0/nepomuk/services/storage/repository.cpp
--- kdebase-runtime-4.4.0/nepomuk/services/storage/repository.cpp.fulltextindex	2010-02-05 09:38:09.000000000 -0600
+++ kdebase-runtime-4.4.0/nepomuk/services/storage/repository.cpp	2010-02-07 19:11:27.418189997 -0600
@@ -325,6 +325,9 @@ Soprano::BackendSettings Nepomuk::Reposi
     // lower the minimum transaction log size to make sure the checkpoints are actually executed
     settings << Soprano::BackendSetting( "MinAutoCheckpointSize", 200000 );
 
+    // always index literals
+    settings << Soprano::BackendSetting( "fulltextindex", "sync" );
+
     return settings;
 }
 

kdebase-runtime-4.4.0-virtuosoconverter.patch:
 nepomukcore.cpp |    5 +++++
 1 file changed, 5 insertions(+)

--- NEW FILE kdebase-runtime-4.4.0-virtuosoconverter.patch ---
diff -up kdebase-runtime-4.4.0/nepomuk/services/storage/nepomukcore.cpp.virtuosoconverter kdebase-runtime-4.4.0/nepomuk/services/storage/nepomukcore.cpp
--- kdebase-runtime-4.4.0/nepomuk/services/storage/nepomukcore.cpp.virtuosoconverter	2009-11-23 08:56:46.000000000 -0600
+++ kdebase-runtime-4.4.0/nepomuk/services/storage/nepomukcore.cpp	2010-02-07 19:13:24.135189320 -0600
@@ -23,6 +23,7 @@
 #include <KSharedConfig>
 #include <KConfigGroup>
 #include <KStandardDirs>
+#include <KProcess>
 
 #include <QtCore/QTimer>
 
@@ -50,6 +51,10 @@ Nepomuk::Core::~Core()
 void Nepomuk::Core::init()
 {
     // TODO: export the main model on org.kde.NepomukRepository via Soprano::Server::DBusExportModel
+    KProcess p;
+    p << "virtuosoconverter" << "--auto";
+    p.start();
+    p.waitForFinished(-1);
 
     // we have only the one repository
     model( QLatin1String( s_repositoryName ) );


Index: kdebase-runtime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebase-runtime/devel/kdebase-runtime.spec,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -p -r1.186 -r1.187
--- kdebase-runtime.spec	5 Feb 2010 12:18:59 -0000	1.186
+++ kdebase-runtime.spec	8 Feb 2010 01:16:46 -0000	1.187
@@ -6,7 +6,7 @@
 Name:          kdebase-runtime
 Summary:       KDE Runtime
 Version:       4.4.0
-Release:       1%{?dist}
+Release:       2%{?dist}
 
 # http://techbase.kde.org/Policies/Licensing_Policy
 License:       LGPLv2+
@@ -25,6 +25,8 @@ Patch5:        kdebase-runtime-4.3.1-man
 Patch6:        kdebase-runtime-4.3.3-home_onlyshowin_kde.patch
 
 ## 4.4 Upstream patches
+Patch100: kdebase-runtime-4.4.0-nepomuk_fulltextindex.patch
+Patch101: kdebase-runtime-4.4.0-virtuosoconverter.patch
 
 # when kdesu was removed, this is/should-be only temporary
 %if 0%{?fedora} && 0%{?fedora} < 11
@@ -114,6 +116,9 @@ BuildArch: noarch
 #patch5 -p1 -b .manpath
 %patch6 -p1 -b .home_onlyshowin_kde
 
+%patch100 -p1 -b .nepomuk_fulltextindex
+%patch101 -p1 -b .virtuosoconverter
+
 
 %build
 mkdir -p %{_target_platform}
@@ -239,6 +244,10 @@ fi
 
 
 %changelog
+* Sun Feb 07 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.4.0-2
+- nepomuk_fulltextindex patch
+- virtuosoconverter patch
+
 * Fri Feb 05 2010 Than Ngo <than at redhat.com> - 4.4.0-1
 - 4.4.0
 



More information about the scm-commits mailing list