Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c782674188e9641d0e7c7f407aea712afd10c08c

commit c782674188e9641d0e7c7f407aea712afd10c08c
Author: crazy <cr...@frugalware.org>
Date:   Tue Feb 2 23:39:16 2010 +0100

akonadi-1.2.1-6-x86_64
* added an small patch to change the default backend

diff --git a/source/xapps/akonadi/FrugalBuild b/source/xapps/akonadi/FrugalBuild
index 9b01d59..e0fae85 100644
--- a/source/xapps/akonadi/FrugalBuild
+++ b/source/xapps/akonadi/FrugalBuild
@@ -3,19 +3,20 @@

pkgname=akonadi
pkgver=1.2.1
-pkgrel=5
+pkgrel=6
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of 
PIM data"
archs=('i686' 'x86_64' 'ppc')
Finclude kde
url='http://www.akonadi-project.org'
depends=('libboost-mt' "libqtdbus>=$_F_kde_qtver" "libqtnetwork>=_F_kde_qtver" 
"libqtsql>=_F_kde_qtver" \
-       'shared-mime-info' "qt4-plugin-mysql>=_F_kde_qtver" 'soprano')
+       'shared-mime-info' "qt4-plugin-sqlite3>=$_F_kde_qtver" 'soprano')
makedepends=("${makedepen...@]}" 'boost' 'libxslt' "libqttest>=_F_kde_qtver" 
"libqtgui>=$_F_kde_qtver")
-rodepends=("${rodepen...@]}" 'mysql' 'libxslt')
+rodepends=("${rodepen...@]}" 'libxslt')
groups=('xapps')
up2date="Flasttar http://download.akonadi-project.org";
-source=("http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2";)
-sha1sums=('29916601d724b95d22712673bb0e1b72918cc43e')
+source=(http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2 
sqlite-default.patch)
+sha1sums=('29916601d724b95d22712673bb0e1b72918cc43e' \
+          '2f3c140f9c77a9fa82f4a5acf9570c72d80f503a')

# optimization OK

diff --git a/source/xapps/akonadi/sqlite-default.patch 
b/source/xapps/akonadi/sqlite-default.patch
new file mode 100644
index 0000000..f70bf2c
--- /dev/null
+++ b/source/xapps/akonadi/sqlite-default.patch
@@ -0,0 +1,12 @@
+diff -Naur akonadi-1.2.1/server/src/storage/dbconfig.cpp 
akonadi-1.2.1-sqlite/server/src/storage/dbconfig.cpp
+--- akonadi-1.2.1/server/src/storage/dbconfig.cpp      2009-08-28 
16:19:55.000000000 +0200
++++ akonadi-1.2.1-sqlite/server/src/storage/dbconfig.cpp       2010-02-02 
20:52:55.000000000 +0100
+@@ -38,7 +38,7 @@
+       QSettings settings( serverConfigFile, QSettings::IniFormat );
+
+       // determine driver to use
+-      const QString defaultDriver = QLatin1String("QMYSQL");
++      const QString defaultDriver = QLatin1String("QSQLITE");
+       mDriverName = settings.value( QLatin1String("General/Driver"), 
defaultDriver ).toString();
+       if ( mDriverName.isEmpty() )
+         mDriverName = defaultDriver;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to