summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-07-13 18:15:57 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-07-13 18:15:57 +0000
commit71c508f64106a9a4cab7bd5fd7178c953138d2f2 (patch)
treeb3c8d5ba8ffb7529933bd9248e8a6a2303e10358 /pkgs/desktops
parenta90c3142ee1893419895d6102861a24b56ee7b87 (diff)
* Akonadi updated to 1.6.0.
svn path=/nixpkgs/branches/kde-4.7/; revision=27768
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/kde-4.7/support/akonadi/default.nix16
-rw-r--r--pkgs/desktops/kde-4.7/support/akonadi/fix-broken-datadir-parameter.patch17
-rw-r--r--pkgs/desktops/kde-4.7/workspace.nix6
3 files changed, 13 insertions, 26 deletions
diff --git a/pkgs/desktops/kde-4.7/support/akonadi/default.nix b/pkgs/desktops/kde-4.7/support/akonadi/default.nix
index eedd6b9f6e896..486849b23aad7 100644
--- a/pkgs/desktops/kde-4.7/support/akonadi/default.nix
+++ b/pkgs/desktops/kde-4.7/support/akonadi/default.nix
@@ -1,13 +1,17 @@
-{stdenv, fetchurl, cmake, qt4, shared_mime_info, libxslt, boost, mysql, automoc4, soprano}:
+{ stdenv, fetchurl, cmake, qt4, shared_mime_info, libxslt, boost, automoc4, soprano }:
 
 stdenv.mkDerivation rec {
-  name = "akonadi-1.4.3";
+  name = "akonadi-1.6.0";
+  
   src = fetchurl {
-    url = "http://download.akonadi-project.org/${name}.tar.bz2";
-    sha256 = "18xi66w78lsf2jf1z1vl8abps9hdv3g5msw6q1kj6xhmn4lbgjkk";
+    url = "mirror://kde/stable/akonadi/src/${name}.tar.bz2";
+    sha256 = "0bzr6476yyinvdhrn9z8ynmi0py9zs3dfhwk3dvqxysk87svk71f";
   };
-  buildInputs = [ cmake qt4 shared_mime_info libxslt boost mysql automoc4 soprano ];
-  patches = [ ./fix-broken-datadir-parameter.patch ];
+  
+  buildInputs = [ cmake qt4 soprano automoc4 shared_mime_info libxslt boost ];
+
+  enableParallelBuilding = true;
+  
   meta = with stdenv.lib; {
     description = "KDE PIM Storage Service";
     license = "LGPL";
diff --git a/pkgs/desktops/kde-4.7/support/akonadi/fix-broken-datadir-parameter.patch b/pkgs/desktops/kde-4.7/support/akonadi/fix-broken-datadir-parameter.patch
deleted file mode 100644
index 09b594f4e2197..0000000000000
--- a/pkgs/desktops/kde-4.7/support/akonadi/fix-broken-datadir-parameter.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix broken datadir parameter.
-
---- akonadi-1.3.85/server/src/storage/dbconfigmysql.cpp	2010-06-09 03:41:30.000000000 -0430
-+++ akonadi-local-1.3.85/server/src/storage/dbconfigmysql.cpp	2010-08-11 00:21:20.547181479 -0430
-@@ -250,11 +250,10 @@
-   // synthesize the mysqld command
-   QStringList arguments;
-   arguments << QString::fromLatin1( "--defaults-file=%1/mysql.conf" ).arg( akDir );
-+  arguments << QString::fromLatin1( "--datadir=%1/" ).arg( dataDir );
- #ifndef Q_WS_WIN
--  arguments << QString::fromLatin1( "--datadir" ) << QString::fromLatin1( "%1/" ).arg( dataDir );
-   arguments << QString::fromLatin1( "--socket=%1/mysql.socket" ).arg( socketDirectory );
- #else
--  arguments << QString::fromLatin1( "--datadir=%1/" ).arg( dataDir );
-   arguments << QString::fromLatin1( "--shared-memory" );
- #endif
- 
diff --git a/pkgs/desktops/kde-4.7/workspace.nix b/pkgs/desktops/kde-4.7/workspace.nix
index b7541dad521bd..7cb03df0c426b 100644
--- a/pkgs/desktops/kde-4.7/workspace.nix
+++ b/pkgs/desktops/kde-4.7/workspace.nix
@@ -1,6 +1,6 @@
 { automoc4, cmake, kde, kdelibs, qt4, strigi, qimageblitz, libdbusmenu_qt
 , xorg, soprano, shared_desktop_ontologies, lm_sensors, pciutils, libraw1394
-, libusb, libxklavier, perl, python
+, libusb, libxklavier, perl, python, libqalculate, akonadi
 }:
 
 kde.package {
@@ -10,14 +10,14 @@ kde.package {
       xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
       xorg.libXcomposite xorg.libXdamage xorg.libXau
       soprano shared_desktop_ontologies lm_sensors pciutils libraw1394
-      libusb python
+      libusb python libqalculate akonadi
     ];
 
   # Workaround for ‘undefined reference to `dlsym'’ in kwinglutils_funcs.cpp.
   NIX_LDFLAGS = "-ldl";
 
   meta = {
-    description = "KDE desktop environment workspace components";
+    description = "KDE workspace components such as Plasma, Kwin and System Settings";
     license = "GPLv2";
     kde.name = "kde-workspace";
   };