summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-02-18 18:15:43 -0600
committerThomas Tuegel <ttuegel@mailbox.org>2017-02-24 16:49:06 -0600
commite02de9e0176a6f550ba861598c2c2a0628f14c65 (patch)
tree5f5dcc78c3f510696f0e72f5feca2f73c909c37b /pkgs/build-support
parentb4ba042924ca1ac14ac694c12d182f29efdc3aa9 (diff)
downloadnixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.tar
nixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.tar.gz
nixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.tar.bz2
nixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.tar.lz
nixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.tar.xz
nixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.tar.zst
nixpkgs-e02de9e0176a6f550ba861598c2c2a0628f14c65.zip
kde4: Remove kdewrapper
- Not useful without the KDE 4 desktop
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/kdewrapper/default.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/pkgs/build-support/kdewrapper/default.nix b/pkgs/build-support/kdewrapper/default.nix
deleted file mode 100644
index 64dfd7d0ca6..00000000000
--- a/pkgs/build-support/kdewrapper/default.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ stdenv, kde4, shared_mime_info, extraLibs ? [] }:
-
-/* Supply a KDE program, and it will have the necessary KDE vars to
-  get icons, mime types, etc. working.
-  For example:
-  
-  packageOverrides = pkgs : {
-    kdenliveWrapped = kde4.wrapper kde4.kdenlive;
-  };
-  */
-program:
-
-let
-  libs = with kde4; [ kdelibs kde_runtime oxygen_icons shared_mime_info ]
-    ++ extraLibs;
-in
-stdenv.mkDerivation {
-  name = program.name + "-wrapped";
-
-  inherit libs;
-
-  buildCommand = ''
-    mkdir -p $out/bin
-
-    KDEDIRS=${program}
-    QT_PLUGIN_PATH=${program}/lib/qt4/plugins:${program}/lib/kde4/plugins
-    for a in $libs; do
-      KDEDIRS=$a''${KDEDIRS:+:}$KDEDIRS
-      QT_PLUGIN_PATH=$a/lib/qt4/plugins:$a/lib/kde4/plugins''${QT_PLUGIN_PATH:+:}$QT_PLUGIN_PATH
-    done
-    for a in ${program}/bin/*; do 
-      PROG=$out/bin/`basename $a` 
-    cat > $PROG << END
-    #!/bin/sh
-    export KDEDIRS=$KDEDIRS\''${KDEDIRS:+:}\$KDEDIRS
-    export QT_PLUGIN_PATH=$QT_PLUGIN_PATH\''${QT_PLUGIN_PATH:+:}\$QT_PLUGIN_PATH
-    exec $a "\$@"
-    END
-    chmod +x $PROG
-    done
-  '';
-
-  preferLocalBuild = true;
-}