diff --git a/pkgs/desktops/kde-4.7/support/akonadi/default.nix b/pkgs/desktops/kde-4.7/support/akonadi/default.nix index eedd6b9f6e89..486849b23aad 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 09b594f4e219..000000000000 --- 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 b7541dad521b..7cb03df0c426 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"; };