From bcffa9bb34ae7b1678fe0ef278b33f7bfaae41f1 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 18 Feb 2008 20:54:39 +0000 Subject: [PATCH] kde-4.0.1 svn path=/nixpkgs/branches/stdenv-updates/; revision=10753 --- pkgs/desktops/kde-4/base/default.nix | 10 ++-- pkgs/desktops/kde-4/decibel/default.nix | 15 ++++-- pkgs/desktops/kde-4/default.nix | 37 +++++++------ pkgs/desktops/kde-4/edu/default.nix | 10 ++-- pkgs/desktops/kde-4/extragear/default.nix | 15 +++--- pkgs/desktops/kde-4/games/default.nix | 10 ++-- pkgs/desktops/kde-4/graphics/default.nix | 12 ++--- pkgs/desktops/kde-4/libs/default.nix | 57 +++++++++++++++++---- pkgs/desktops/kde-4/multimedia/default.nix | 10 ++-- pkgs/desktops/kde-4/network/default.nix | 13 +++-- pkgs/desktops/kde-4/pim/default.nix | 19 ++++--- pkgs/desktops/kde-4/pimlibs/default.nix | 8 +-- pkgs/desktops/kde-4/runtime/default.nix | 11 ++-- pkgs/desktops/kde-4/support/akode.nix | 2 +- pkgs/desktops/kde-4/support/default.nix | 2 +- pkgs/desktops/kde-4/support/eigen.nix | 2 +- pkgs/desktops/kde-4/support/gmm.nix | 2 +- pkgs/desktops/kde-4/support/qca.nix | 2 +- pkgs/desktops/kde-4/support/qimageblitz.nix | 2 +- pkgs/desktops/kde-4/support/soprano.nix | 2 +- pkgs/desktops/kde-4/support/strigi.nix | 5 +- pkgs/desktops/kde-4/support/taglib.nix | 2 +- pkgs/desktops/kde-4/toys/default.nix | 10 ++-- pkgs/desktops/kde-4/utils/default.nix | 10 ++-- pkgs/desktops/kde-4/workspace/default.nix | 12 ++--- pkgs/top-level/all-packages.nix | 11 ++-- 26 files changed, 169 insertions(+), 122 deletions(-) diff --git a/pkgs/desktops/kde-4/base/default.nix b/pkgs/desktops/kde-4/base/default.nix index f6a2ca1d92bc..5dd7f6bb0215 100644 --- a/pkgs/desktops/kde-4/base/default.nix +++ b/pkgs/desktops/kde-4/base/default.nix @@ -1,13 +1,13 @@ args: with args; -stdenv.mkDerivation { - name = "kdebase-4.0.0"; +stdenv.mkDerivation rec { + name = "kdebase-" + version; src = fetchurl { - url = mirror://kde/stable/4.0.0/src/kdebase-4.0.0.tar.bz2; - sha256 = "1419zijcrx6nk10nay3dbv0vi8525hzcqkm2fw8cvw11i4mk909q"; + url = "mirror://kde/stable/${version}/src/${name}.tar.bz2"; + sha256 = "1cdswhavhk6wjdxwpsmmvq1qqw2a5mdyvvxk9fnxn9fnic7q0603"; }; - propagatedBuildInputs = [kdepimlibs libusb]; + propagatedBuildInputs = [kde4.pimlibs kde4.support.qimageblitz libusb]; buildInputs = [cmake]; } diff --git a/pkgs/desktops/kde-4/decibel/default.nix b/pkgs/desktops/kde-4/decibel/default.nix index ff98b48ee6fc..3025e2968819 100644 --- a/pkgs/desktops/kde-4/decibel/default.nix +++ b/pkgs/desktops/kde-4/decibel/default.nix @@ -1,11 +1,16 @@ args: with args; +let + rev = "773861"; +in stdenv.mkDerivation { - name = "decibel-0.5.0"; + name = "decibel-r${rev}"; - src = fetchurl { - url = http://decibel.kde.org/fileadmin/downloads/decibel/releases/decibel-0.5.0.tar.gz; - sha256 = "07visasid4mpzm0ba5j9qy0lxxb6451lvbr2gnc1vzfvjagffqz4"; + src = fetchsvn { + url = svn://anonsvn.kde.org/home/kde/trunk/playground/pim/decibel; + sha256 = "073fksn5dl7vkkiwvl9s56n9ymnlxy27kbz1h1fryq6r8x924vjc"; + inherit rev; }; - buildInputs = [kdelibs kdebase ]; + propagatedBuildInputs = [ kde4.libs tapioca_qt ]; + buildInputs = [cmake]; } diff --git a/pkgs/desktops/kde-4/default.nix b/pkgs/desktops/kde-4/default.nix index 11554c9955ea..43e85fc08d6b 100644 --- a/pkgs/desktops/kde-4/default.nix +++ b/pkgs/desktops/kde-4/default.nix @@ -1,24 +1,27 @@ -args: +origArgs: +let + args = origArgs // { version = "4.0.1"; }; +in rec { fullargs = args // { kdelibs = libs; kdepimlibs = pimlibs; kdebase = base; kderuntime = runtime; }; - libs = import ./libs (args // { kdesupport = support; }); + libs = import ./libs args; l10n = import ./l10n (args // {kdelibs = libs;}); - pimlibs = import ./pimlibs (args // { kdelibs = libs; }); - graphics = import ./graphics (fullargs // { kdeworkspace = workspace; } ); - multimedia = import ./multimedia (fullargs // { kdeworkspace = workspace; } ); - toys = import ./toys (fullargs // { kdeworkspace = workspace; } ); - network = import ./network (fullargs // { kdeworkspace = workspace; } ); - utils = import ./utils (fullargs // { kdeworkspace = workspace; } ); - games = import ./games (fullargs // { kdeworkspace = workspace; } ); - edu = import ./edu (fullargs // { kdeworkspace = workspace; } ); - base = import ./base fullargs; - runtime = import ./runtime fullargs; - workspace = import ./workspace fullargs; - extragear_plasma = import ./extragear (fullargs // { kdeworkspace = workspace; }); + pimlibs = import ./pimlibs args; + graphics = import ./graphics args; + multimedia = import ./multimedia args; + toys = import ./toys args; + network = import ./network args; + utils = import ./utils args; + games = import ./games args; + edu = import ./edu args; + base = import ./base args; + runtime = import ./runtime args; + workspace = import ./workspace args; + extragear_plasma = import ./extragear args; support = import ./support args; - decibel = import ./decibel fullargs; -# kdepim is not included in KDE-4.0.0 - #pim = import ./pim (fullargs // {kdeworkspace = workspace; }); + decibel = import ./decibel args; +# kdepim is not included in KDE-4.0.1, building from svn + pim = import ./pim args; env = kde_pkgs: with args; [ (runCommand "kde-env" { diff --git a/pkgs/desktops/kde-4/edu/default.nix b/pkgs/desktops/kde-4/edu/default.nix index 7f9648c6f8ff..cd1d6353fbf8 100644 --- a/pkgs/desktops/kde-4/edu/default.nix +++ b/pkgs/desktops/kde-4/edu/default.nix @@ -1,15 +1,15 @@ args: with args; stdenv.mkDerivation rec { - name = "kdeedu-4.0.0"; + name = "kdeedu-" + version; src = fetchurl { - url = mirror://kde/stable/4.0.0/src/kdeedu-4.0.0.tar.bz2; - sha256 = "1wjy1rm7aiib1lv61wx7mcbkbpkk6phcz1q6dy51x0hfrc3rdkg4"; + url = "mirror://kde/stable/${version}/src/${name}.tar.bz2"; + sha256 = "1j0swj38qdx0azm2dnx4l7if5dxak1pmcr90ynfjrcifkm68mm3k"; }; - propagatedBuildInputs = [kdepimlibs boost readline openbabel ocaml libusb - facile python indilib libnova]; + propagatedBuildInputs = [kde4.pimlibs boost readline openbabel ocaml libusb + facile python indilib libnova kde4.support.eigen]; buildInputs = [cmake]; myCmakeFiles = ./myCmakeFiles; patchPhase = " diff --git a/pkgs/desktops/kde-4/extragear/default.nix b/pkgs/desktops/kde-4/extragear/default.nix index 8ad2ef0540fc..25c1bce91b55 100644 --- a/pkgs/desktops/kde-4/extragear/default.nix +++ b/pkgs/desktops/kde-4/extragear/default.nix @@ -1,17 +1,16 @@ args: with args; -stdenv.mkDerivation { - name = "extragear-plasma-4.0.0"; +stdenv.mkDerivation rec { + name = "extragear-plasma-" + version; src = fetchurl { - url = mirror://kde/stable/4.0.0/src/extragear/extragear-plasma-4.0.0.tar.bz2; - sha256 = "19gmvqkal11gg67gfmdivxbhwvggm2i6ad642984d97yicms7s9k"; + url = "mirror://kde/stable/${version}/src/extragear/${name}.tar.bz2"; + sha256 = "1pwvsmdb4z9av6bqh1yk23wgss1wc07rwq47gyxvvi54idpgirx9"; }; - buildInputs = [ kdeworkspace cmake ]; + buildInputs = [ kde4.workspace cmake ]; patchPhase = '' - sed -e 's@