summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.10/default.nix
blob: f56e64e2d158ebf8a795831c624dc2ba5a12aeb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{ callPackage, callPackageOrig, stdenv, qt48, release ? "4.10.5" }:

let
  # Need callPackageOrig to avoid infinite cycle
  kde = callPackageOrig ./kde-package {
    inherit release ignoreList extraSubpkgs callPackage;
  };

  # The list of igored individual modules
  ignoreList = {
    # Doesn't work yet
    kdeutils = [ "ksecrets" ];
    # kdeadmin/strigi-analyzer has no real code
    kdeadmin = [ "strigi-analyzer" ];
    # fake package to make things just work
    kdesdk = [ "fake" ];
    # Most of kdebindings do not compile due to a bug in the buildsystem
    kdebindings = [ "kimono" "korundum" "kross-interpreters" "perlkde" "qyoto" ];
  };

  # Extra subpackages in the manifest format
  extraSubpkgs = {
    kdesdk = [
      { name="cervisia"; }
      { name="lokalize"; }
      { name = "kioslave-svn"; sane = "kioslave_svn"; subdir = "kdesdk-kioslaves"; }
      { name = "kioslave-perldoc"; sane = "kioslave_perldoc"; subdir = "kdesdk-kioslaves"; }
      { name="dolphin-plugins-svn"; sane="dolphin_plugins_svn";subdir="dolphin-plugins"; }
      { name="dolphin-plugins-git"; sane="dolphin_plugins_git";subdir="dolphin-plugins"; }
      { name="dolphin-plugins-hg"; sane="dolphin_plugins_hg";subdir="dolphin-plugins"; }
      { name="dolphin-plugins-bazaar"; sane="dolphin_plugins_bazaar";subdir="dolphin-plugins"; }
      { name="kcachegrind"; }
      { name="kapptemplate"; }
      { name="kdesdk-strigi-analyzers"; sane="kdesdk_strigi_analyzers";}
      { name="kdesdk-thumbnailers"; sane="kdesdk_thumbnailers";}
      { name="okteta"; }
      { name="kompare"; }
      { name="poxml"; }
      { name="kde-dev-scripts"; sane = "kde_dev_scripts"; }
      { name="kde-dev-utils"; sane="kde_dev_utils";}
      #{ name="kprofilemethod"; subdir = "kde-dev-utils/kprofilemethod";}
      #{ name="kstartperf"; }
      #{ name="kmtrace"; subdir = "kde-dev-utils/kmtrace"; }
      #{ name="kpartloader"; }
      #{ name="kuiviewer"; }
      { name="umbrello"; }
    ];
  };

in

kde.modules // kde.individual //
{
  inherit (kde) manifest modules individual splittedModuleList;

  akonadi = callPackage ./support/akonadi { };

  qt4 = qt48;

  kdebase_workspace = kde.modules.kde_workspace;

  inherit release;

  full = stdenv.lib.attrValues kde.modules;

  l10n = callPackage ./l10n {
    inherit release;
    inherit (kde.manifest) stable;
  };
}