diff --git a/pkgs/desktops/kde/kdebase/default.nix b/pkgs/desktops/kde/kdebase/default.nix new file mode 100644 index 00000000000..7f76cc43207 --- /dev/null +++ b/pkgs/desktops/kde/kdebase/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, pkgconfig, x11, zlib, libpng, libjpeg, perl, qt +, kdelibs, openssl, bzip2, fontconfig +, libXrandr, libXinerama, libXau, libXdmcp, libXcursor, libfontenc +, imake, bdftopcf +}: + +stdenv.mkDerivation { + name = "kdebase-3.5.6"; + + src = fetchurl { + url = http://ftp.scarlet.be/pub/kde/stable/3.5.6/src/kdebase-3.5.6.tar.bz2; + sha256 = "0zmxnw4p8bkd2b867cwdzdnp36ikwnz0ffrbx6d3ylz1nbw3anr4"; + }; + + buildInputs = [ + pkgconfig x11 zlib libpng libjpeg perl qt + kdelibs openssl bzip2 fontconfig + libXrandr libXinerama libXau libXdmcp libXcursor libfontenc + imake bdftopcf + ]; + + configureFlags = " + --without-arts + --with-ssl-dir=${openssl} + --with-extra-includes=${libjpeg}/include + "; + + # Quick hack to work around a faulty dependency in + # konqueror/keditbookmarks/Makefile.am (${includedir} should be + # ${kdelibs} or so). + preBuild = "ensureDir $out/include; ln -s ${kdelibs}/include/kbookmarknotifier.h $out/include/"; + postInstall = "rm $out/include/kbookmarknotifier.h"; +} diff --git a/pkgs/desktops/kde/kdelibs/default.nix b/pkgs/desktops/kde/kdelibs/default.nix index fb2a6e6f86f..3c473366476 100644 --- a/pkgs/desktops/kde/kdelibs/default.nix +++ b/pkgs/desktops/kde/kdelibs/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation { libtool freetype bzip2 ]; - configureFlags=" + configureFlags = " --without-arts --with-ssl-dir=${openssl} --with-extra-includes=${libjpeg}/include diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6bffc47bb13..cfe2686cc72 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3097,6 +3097,15 @@ rec { qt = qt3; }; + kdebase = import ../desktops/kde/kdebase { + inherit + fetchurl stdenv pkgconfig x11 zlib libpng libjpeg perl + kdelibs openssl bzip2 fontconfig; + inherit (xlibs) libXrandr libXinerama libXau libXdmcp libXcursor + libfontenc imake bdftopcf; + qt = qt3; + }; + ### MISC