- Started my initial KDE 4.3.x expression which is a fork of the KDE 4.2.x expression
- Also forked the qt-4.4.x expression and adapted it. The old qt-4.4.x cannot be replaced since KDE 4.2.x does not work with qt-4.5.x, but on the other hand KDE 4.3.x requires qt-4.5.x - It is now possible to disable the demos and examples in the qt-4.5.x build. By default, the demos, examples and documentation are disabled svn path=/nixpkgs/trunk/; revision=16723
This commit is contained in:
parent
8f3bb9b4cb
commit
9b32ae7ce3
13
pkgs/desktops/kde-4.3/admin/builder.sh
Normal file
13
pkgs/desktops/kde-4.3/admin/builder.sh
Normal file
@ -0,0 +1,13 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
for i in system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py system-config-printer-kde/system-config-printer-kde.py
|
||||
do
|
||||
sed -i -e "s|/usr/share/system-config-printer|$system_config_printer/share/system-config-printer|" $i
|
||||
done
|
||||
|
||||
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
17
pkgs/desktops/kde-4.3/admin/default.nix
Normal file
17
pkgs/desktops/kde-4.3/admin/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, cmake, qt4, pkgconfig, perl, python,
|
||||
sip, pyqt4, pycups, system_config_printer, rhpl,
|
||||
kdelibs, kdepimlibs, kdebindings, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdeadmin-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdeadmin-4.2.4.tar.bz2;
|
||||
sha1 = "72a9bfeaacf6bf70f464923f96b28891ad6b671e";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
inherit system_config_printer;
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 pkgconfig perl python sip pyqt4 pycups system_config_printer rhpl
|
||||
kdelibs kdepimlibs kdebindings automoc4 phonon ];
|
||||
}
|
13
pkgs/desktops/kde-4.3/artwork/default.nix
Normal file
13
pkgs/desktops/kde-4.3/artwork/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, xscreensaver,
|
||||
kdelibs, kdebase_workspace, automoc4, phonon, strigi, eigen}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdeartwork-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdeartwork-4.2.4.tar.bz2;
|
||||
sha1 = "601fa04bc6fb9bdd5dfa094af04ad204bcc20b14";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 perl xscreensaver
|
||||
kdelibs kdebase_workspace automoc4 phonon strigi eigen ];
|
||||
}
|
14
pkgs/desktops/kde-4.3/base-runtime/default.nix
Normal file
14
pkgs/desktops/kde-4.3/base-runtime/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, cmake, perl, bzip2, qt4, alsaLib, xineLib, samba, kdelibs,
|
||||
automoc4, phonon, strigi, soprano, cluceneCore}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdebase-runtime-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdebase-runtime-4.2.4.tar.bz2;
|
||||
sha1 = "dd829270b5fb21e4c24db5e7d16db6e99fe51c1d";
|
||||
};
|
||||
/* CLUCENE_HOME=cluceneCore;*/
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake perl bzip2 qt4 alsaLib xineLib samba stdenv.gcc.libc kdelibs
|
||||
automoc4 phonon strigi soprano cluceneCore ];
|
||||
}
|
18
pkgs/desktops/kde-4.3/base-workspace/default.nix
Normal file
18
pkgs/desktops/kde-4.3/base-workspace/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{stdenv, fetchurl, cmake, perl, python, pam, ConsoleKit,
|
||||
qt4, sip, pyqt4, kdelibs, kdepimlibs, kdebindings,
|
||||
libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, libXScrnSaver,
|
||||
lm_sensors, libxklavier, libusb, pthread_stubs, boost,
|
||||
automoc4, phonon, strigi, soprano, qimageblitz}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdebase-workspace-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdebase-workspace-4.2.4.tar.bz2;
|
||||
sha1 = "31f38436736ff73b6ffb9d8bbb93b8342965e894";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake perl python qt4 pam /*ConsoleKit sip pyqt4*/ kdelibs kdepimlibs /*kdebindings*/ pthread_stubs boost libusb stdenv.gcc.libc
|
||||
libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver
|
||||
lm_sensors libxklavier automoc4 phonon strigi soprano qimageblitz ];
|
||||
}
|
13
pkgs/desktops/kde-4.3/base/default.nix
Normal file
13
pkgs/desktops/kde-4.3/base/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, cmake, perl, qt4, kdelibs, pciutils, libraw1394,
|
||||
automoc4, phonon, strigi, qimageblitz, soprano}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdebase-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdebase-4.2.4.tar.bz2;
|
||||
sha1 = "c08188baa90a5075f18a75640c4dc3e6dc69daa0";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake perl qt4 kdelibs pciutils stdenv.gcc.libc libraw1394
|
||||
automoc4 phonon strigi qimageblitz soprano ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/bindings/builder.sh
Normal file
11
pkgs/desktops/kde-4.3/bindings/builder.sh
Normal file
@ -0,0 +1,11 @@
|
||||
source $stdenv/setup
|
||||
|
||||
tar xfvj $src
|
||||
cd kdebindings-*/python/pykde4
|
||||
python configure.py -d $out/lib/python2.5/site-packages -v $out/share/sip
|
||||
for i in `find . -name Makefile`
|
||||
do
|
||||
sed -i -e "s/-O2/-O0/" $i
|
||||
done
|
||||
make
|
||||
make install
|
17
pkgs/desktops/kde-4.3/bindings/default.nix
Normal file
17
pkgs/desktops/kde-4.3/bindings/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, python, sip, pyqt4, zlib, libpng, freetype, fontconfig, qt4,
|
||||
libSM, libXrender, libXrandr, libXfixes, libXinerama, libXcursor, libXext, kdelibs}:
|
||||
|
||||
# This function will only build the pykde4 module. I don't need the other bindings and
|
||||
# some bindings are even broken.
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdebindings-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdebindings-4.2.4.tar.bz2;
|
||||
sha1 = "5550b690d1c63fc63b3603ad73ba2b911158fe96";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ python sip pyqt4 zlib libpng freetype fontconfig qt4
|
||||
libSM libXrender libXrandr libXfixes libXcursor libXinerama libXext kdelibs ];
|
||||
}
|
229
pkgs/desktops/kde-4.3/default.nix
Normal file
229
pkgs/desktops/kde-4.3/default.nix
Normal file
@ -0,0 +1,229 @@
|
||||
pkgs:
|
||||
|
||||
rec {
|
||||
### SUPPORT
|
||||
automoc4 = import ./support/automoc4 {
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
inherit (pkgs) qt4;
|
||||
};
|
||||
|
||||
phonon = import ./support/phonon {
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
inherit (pkgs) qt4 pthread_stubs gst_all xineLib;
|
||||
inherit (pkgs.xlibs) libXau libXdmcp;
|
||||
inherit automoc4;
|
||||
};
|
||||
|
||||
strigi = import ./support/strigi {
|
||||
inherit (pkgs) stdenv fetchurl cmake perl;
|
||||
inherit (pkgs) bzip2 qt4 libxml2 exiv2 fam log4cxx cluceneCore;
|
||||
};
|
||||
|
||||
soprano = import ./support/soprano {
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
inherit (pkgs) qt4 jdk cluceneCore redland;
|
||||
};
|
||||
|
||||
qimageblitz = import ./support/qimageblitz {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4;
|
||||
};
|
||||
|
||||
qca2 = import ./support/qca2 {
|
||||
inherit (pkgs) stdenv fetchurl which qt4;
|
||||
};
|
||||
|
||||
akonadi = import ./support/akonadi {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 shared_mime_info libxslt boost mysql;
|
||||
inherit automoc4;
|
||||
};
|
||||
|
||||
decibel = import ./support/decibel {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 tapioca_qt telepathy_qt dbus;
|
||||
};
|
||||
|
||||
eigen = import ./support/eigen {
|
||||
inherit (pkgs) stdenv fetchurl cmake;
|
||||
};
|
||||
|
||||
### LIBS
|
||||
kdelibs = import ./libs {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl bzip2 pcre fam libxml2 libxslt;
|
||||
inherit (pkgs) giflib jasper openexr aspell avahi shared_mime_info;
|
||||
inherit automoc4 phonon strigi soprano;
|
||||
};
|
||||
|
||||
### BASE
|
||||
kdebase_workspace = import ./base-workspace {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl python pam sip pyqt4;
|
||||
inherit (pkgs) lm_sensors libxklavier libusb pthread_stubs boost ConsoleKit;
|
||||
inherit (pkgs.xlibs) libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver;
|
||||
inherit kdelibs kdepimlibs kdebindings;
|
||||
inherit automoc4 phonon strigi soprano qimageblitz;
|
||||
};
|
||||
|
||||
kdebase = import ./base {
|
||||
inherit (pkgs) stdenv fetchurl cmake perl qt4 pciutils libraw1394;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon strigi qimageblitz soprano;
|
||||
};
|
||||
|
||||
kdebase_runtime = import ./base-runtime {
|
||||
inherit (pkgs) stdenv fetchurl cmake perl bzip2 qt4;
|
||||
inherit (pkgs) xineLib alsaLib samba cluceneCore;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon strigi soprano;
|
||||
};
|
||||
|
||||
### ADDITIONAL
|
||||
|
||||
kdepimlibs = import ./pimlibs {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl boost cyrus_sasl gpgme libical openldap;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon akonadi;
|
||||
};
|
||||
|
||||
kdeadmin = import ./admin {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 pkgconfig perl python sip pyqt4 pycups system_config_printer rhpl;
|
||||
inherit kdelibs kdepimlibs kdebindings;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdeartwork = import ./artwork {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl xscreensaver;
|
||||
inherit kdelibs kdebase_workspace;
|
||||
inherit automoc4 phonon strigi eigen;
|
||||
};
|
||||
|
||||
kdeedu = import ./edu {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl libxml2 libxslt openbabel boost;
|
||||
inherit (pkgs) readline gmm gsl facile ocaml;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdegraphics = import ./graphics {
|
||||
inherit (pkgs) stdenv fetchurl cmake perl qt4 exiv2 lcms saneBackends libgphoto2;
|
||||
inherit (pkgs) libspectre djvulibre chmlib;
|
||||
inherit (pkgs.xlibs) libXxf86vm;
|
||||
poppler = pkgs.popplerQt4;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon strigi qimageblitz soprano qca2;
|
||||
};
|
||||
|
||||
kdemultimedia = import ./multimedia {
|
||||
inherit (pkgs) stdenv fetchurl cmake perl qt4;
|
||||
inherit (pkgs) alsaLib xineLib libvorbis flac taglib cdparanoia;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdenetwork = import ./network {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gmp speex libxml2 libxslt sqlite alsaLib;
|
||||
inherit (pkgs) libidn libvncserver tapioca_qt libmsn;
|
||||
inherit (pkgs.xlibs) libXtst libXdamage libXxf86vm;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon qca2 soprano qimageblitz;
|
||||
};
|
||||
|
||||
kdepim = import ./pim {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl boost gpgme libassuan libgpgerror libxslt;
|
||||
inherit (pkgs) shared_mime_info;
|
||||
inherit (pkgs.xlibs) libXScrnSaver;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon akonadi strigi soprano qca2;
|
||||
};
|
||||
|
||||
kdeplasma_addons = import ./plasma-addons {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl python shared_mime_info;
|
||||
inherit kdelibs kdebase_workspace kdepimlibs kdegraphics;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdegames = import ./games {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon qca2;
|
||||
};
|
||||
|
||||
kdetoys = import ./toys {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl;
|
||||
inherit kdelibs kdebase_workspace;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdeutils = import ./utils {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl python gmp libzip libarchive sip pyqt4 pycups system_config_printer rhpl;
|
||||
inherit kdelibs kdepimlibs kdebindings;
|
||||
inherit automoc4 phonon qimageblitz;
|
||||
};
|
||||
|
||||
### DEVELOPMENT
|
||||
|
||||
kdebindings = import ./bindings {
|
||||
inherit (pkgs) stdenv fetchurl python sip zlib libpng pyqt4 freetype fontconfig qt4;
|
||||
inherit (pkgs.xlibs) libSM libXrender libXrandr libXfixes libXcursor libXinerama libXext;
|
||||
inherit kdelibs;
|
||||
};
|
||||
|
||||
kdesdk = import ./sdk {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl libxml2 libxslt boost subversion apr aprutil;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon strigi;
|
||||
};
|
||||
|
||||
kdewebdev = import ./webdev {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl libxml2 libxslt boost;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
#### EXTRA GEAR
|
||||
|
||||
amarok = import ./extragear/amarok {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext curl mysql libxml2 taglib loudmouth;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon strigi soprano;
|
||||
};
|
||||
|
||||
kdesvn = import ./extragear/kdesvn {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext apr aprutil subversion db4;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kmplayer = import ./extragear/kmplayer {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext dbus_glib;
|
||||
inherit (pkgs.gtkLibs) pango gtk;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
krusader = import ./extragear/krusader {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
koffice = import ./extragear/koffice {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl lcms exiv2 libxml2 libxslt boost glew;
|
||||
inherit (pkgs) shared_mime_info gsl gmm wv2 libwpd;
|
||||
inherit kdelibs kdepimlibs;
|
||||
inherit automoc4 phonon qimageblitz qca2 eigen;
|
||||
poppler = pkgs.popplerQt4;
|
||||
};
|
||||
|
||||
ktorrent = import ./extragear/ktorrent {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gmp taglib boost gettext;
|
||||
inherit kdelibs kdepimlibs kdebase_workspace;
|
||||
inherit automoc4 phonon qca2;
|
||||
};
|
||||
|
||||
gtk_qt_engine = import ./extragear/gtk-qt-engine {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext;
|
||||
inherit (pkgs.xlibs) libX11;
|
||||
inherit (pkgs.gtkLibs) gtk;
|
||||
inherit (pkgs.gnome) libbonoboui;
|
||||
inherit kdelibs;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.3/edu/default.nix
Normal file
14
pkgs/desktops/kde-4.3/edu/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl,
|
||||
facile, ocaml,
|
||||
kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdeedu-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdeedu-4.2.4.tar.bz2;
|
||||
sha1 = "7b26b946e1981ac57efdd2059eb3bba2808aef4b";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm gsl facile ocaml
|
||||
kdelibs automoc4 phonon ];
|
||||
}
|
9
pkgs/desktops/kde-4.3/extragear/amarok/builder.sh
Normal file
9
pkgs/desktops/kde-4.3/extragear/amarok/builder.sh
Normal file
@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|/usr|$loudmouth|g" cmake/modules/FindLoudmouth.cmake
|
||||
sed -i -e "s|/usr|$mysql|g" cmake/modules/FindMySQLAmarok.cmake
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
15
pkgs/desktops/kde-4.3/extragear/amarok/default.nix
Normal file
15
pkgs/desktops/kde-4.3/extragear/amarok/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, curl, libxml2, mysql, taglib, loudmouth,
|
||||
kdelibs, automoc4, phonon, strigi, soprano}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "amarok-2.0.2";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/amarok/2.0.2/src/amarok-2.0.2.tar.bz2;
|
||||
md5 = "98b78372ec6ea3432faba356c90c6dbe";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
inherit mysql loudmouth;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [ cmake qt4 perl stdenv.gcc.libc gettext curl libxml2 mysql taglib loudmouth
|
||||
kdelibs automoc4 phonon strigi soprano ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/extragear/gtk-qt-engine/builder.sh
Normal file
11
pkgs/desktops/kde-4.3/extragear/gtk-qt-engine/builder.sh
Normal file
@ -0,0 +1,11 @@
|
||||
source $stdenv/setup
|
||||
|
||||
cmakeFlags="-DINSTALL_PATH_GTK_ENGINES=$out/lib/gtk-2.0/2.10.0/engines -DINSTALL_PATH_GTK_THEMES=$out/share/themes -DINSTALL_PATH_KCONTROL_MODULES=$out/lib";
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|\${KDE4_INCLUDE_DIR}|\${KDE4_INCLUDE_DIR} ../build/kcm_gtk|" kcm_gtk/CMakeLists.txt
|
||||
sed -i -e "s|\*.po|../../\*.po|" po/CMakeLists.txt
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
11
pkgs/desktops/kde-4.3/extragear/gtk-qt-engine/default.nix
Normal file
11
pkgs/desktops/kde-4.3/extragear/gtk-qt-engine/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, libX11, gtk, libbonoboui, gettext, kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtk-qt-engine-1.1";
|
||||
src = fetchurl {
|
||||
url = http://gtk-qt-engine.googlecode.com/files/gtk-qt-engine-1.1.tar.bz2;
|
||||
sha256 = "4310f8f179c5ab70cea614a07b0c3e84234d05388dded85596200fa754c290a6";
|
||||
};
|
||||
buildInputs = [ cmake qt4 perl libX11 gtk libbonoboui gettext kdelibs automoc4 phonon ];
|
||||
builder = ./builder.sh;
|
||||
}
|
8
pkgs/desktops/kde-4.3/extragear/kdesvn/builder.sh
Normal file
8
pkgs/desktops/kde-4.3/extragear/kdesvn/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|/usr|$subversion|g" src/svnqt/cmakemodules/FindSubversion.cmake
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
14
pkgs/desktops/kde-4.3/extragear/kdesvn/default.nix
Normal file
14
pkgs/desktops/kde-4.3/extragear/kdesvn/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, apr, aprutil, subversion, db4,
|
||||
kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdesvn-1.3.0";
|
||||
src = fetchurl {
|
||||
url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.3.0.tar.bz2;
|
||||
sha256 = "d219c430c98d75d07258057e78c29042777e0368eded7494499361031ac63649";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
builder = ./builder.sh;
|
||||
inherit subversion;
|
||||
buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ];
|
||||
}
|
9
pkgs/desktops/kde-4.3/extragear/kmplayer/builder.sh
Normal file
9
pkgs/desktops/kde-4.3/extragear/kmplayer/builder.sh
Normal file
@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|files.length|files.size|" \
|
||||
-e "s|chlds.length|chlds.size|" src/kmplayerapp.cpp
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
12
pkgs/desktops/kde-4.3/extragear/kmplayer/default.nix
Normal file
12
pkgs/desktops/kde-4.3/extragear/kmplayer/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, pango, gtk, dbus_glib, kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kmplayer-0.11.1";
|
||||
src = fetchurl {
|
||||
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.1.tar.bz2;
|
||||
sha256 = "d10df9c31f540ab9442b75e0be0ed2cff9313de9004a4a8acbe3dbed79d5fddb";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc pango gtk dbus_glib kdelibs automoc4 phonon ];
|
||||
}
|
16
pkgs/desktops/kde-4.3/extragear/koffice/default.nix
Normal file
16
pkgs/desktops/kde-4.3/extragear/koffice/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, perl, lcms, exiv2, libxml2, libxslt, boost, glew
|
||||
, shared_mime_info, poppler, gsl, gmm, wv2, libwpd
|
||||
, kdelibs, kdepimlibs, automoc4, phonon, qimageblitz, qca2, eigen}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "koffice-2.0.0";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/koffice-2.0.0/src/koffice-2.0.0.tar.bz2;
|
||||
sha256 = "8cfc35acf4b6d306245e7705899167fd1b67a861136551ab02a0cd7542eb72e9";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl lcms exiv2 libxml2 libxslt boost glew shared_mime_info
|
||||
poppler gsl gmm wv2 libwpd
|
||||
kdelibs kdepimlibs automoc4 phonon qimageblitz qca2 eigen ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/extragear/krusader/default.nix
Normal file
11
pkgs/desktops/kde-4.3/extragear/krusader/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gettext, kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "krusader-2.0.0";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/krusader/krusader-2.0.0.tar.gz;
|
||||
sha256 = "dc74c47d6eaf1c28165a74750e5a1b0341fa1c0d436658d0d5f85a6149f4852c";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon ];
|
||||
}
|
15
pkgs/desktops/kde-4.3/extragear/ktorrent/default.nix
Normal file
15
pkgs/desktops/kde-4.3/extragear/ktorrent/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gmp, taglib, boost, gettext,
|
||||
kdelibs, kdepimlibs, kdebase_workspace, automoc4, phonon, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ktorrent-3.2.1";
|
||||
src = fetchurl {
|
||||
url = http://ktorrent.org/downloads/3.2.1/ktorrent-3.2.1.tar.bz2;
|
||||
sha256 = "e37324519fdd04cad2a489fb772cbe628d8ff9f578e2bb913b18a1404dd7c4eb";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
cmakeFlags = "-DTASKMANAGER_INCLUDE_DIR=${kdebase_workspace}/include";
|
||||
buildInputs = [ cmake qt4 perl gmp taglib boost gettext stdenv.gcc.libc
|
||||
kdelibs kdepimlibs kdebase_workspace automoc4 phonon qca2 ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/games/default.nix
Normal file
11
pkgs/desktops/kde-4.3/games/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, kdelibs, automoc4, phonon, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdegames-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdegames-4.2.4.tar.bz2;
|
||||
sha1 = "c940d73616734fabdfcd0c5961459ba168494b16";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon qca2 ];
|
||||
}
|
15
pkgs/desktops/kde-4.3/graphics/default.nix
Normal file
15
pkgs/desktops/kde-4.3/graphics/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{stdenv, fetchurl, cmake, perl, qt4, exiv2, lcms, saneBackends, libgphoto2,
|
||||
libspectre, poppler, djvulibre, chmlib, libXxf86vm,
|
||||
kdelibs, automoc4, phonon, strigi, qimageblitz, soprano, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdegraphics-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdegraphics-4.2.4.tar.bz2;
|
||||
sha1 = "032352e87be16ae90f09183a466e61487ef1e738";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake perl qt4 exiv2 lcms saneBackends libgphoto2 libspectre poppler chmlib
|
||||
stdenv.gcc.libc libXxf86vm
|
||||
kdelibs automoc4 phonon strigi qimageblitz soprano qca2 ];
|
||||
}
|
22
pkgs/desktops/kde-4.3/libs/default.nix
Normal file
22
pkgs/desktops/kde-4.3/libs/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, cmake, perl
|
||||
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
|
||||
, openexr, aspell, avahi
|
||||
, automoc4, phonon, strigi, soprano
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdelibs-4.2.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdelibs-4.2.4.tar.bz2;
|
||||
sha1 = "259947ede89daec94475a811a41ae7474bc4fd17";
|
||||
};
|
||||
|
||||
includeAllQtDirs = true;
|
||||
|
||||
buildInputs = [
|
||||
cmake perl qt4 stdenv.gcc.libc bzip2 pcre fam libxml2 libxslt
|
||||
shared_mime_info giflib jasper /* openexr */ aspell avahi
|
||||
automoc4 phonon strigi soprano
|
||||
];
|
||||
}
|
13
pkgs/desktops/kde-4.3/multimedia/default.nix
Normal file
13
pkgs/desktops/kde-4.3/multimedia/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, cmake, perl, qt4, alsaLib, libvorbis, xineLib, taglib, flac, cdparanoia,
|
||||
kdelibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdemultimedia-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdemultimedia-4.2.4.tar.bz2;
|
||||
sha1 = "ab1f9e38ab38d502aa771a70137ded811f40ad1c";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake perl qt4 alsaLib libvorbis xineLib flac taglib cdparanoia
|
||||
kdelibs automoc4 phonon ];
|
||||
}
|
18
pkgs/desktops/kde-4.3/network/default.nix
Normal file
18
pkgs/desktops/kde-4.3/network/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, speex, gmp, libxml2, libxslt, sqlite, alsaLib, libidn,
|
||||
libvncserver, tapioca_qt, libmsn,
|
||||
libXtst, libXdamage, libXxf86vm,
|
||||
kdelibs, kdepimlibs, automoc4, phonon, qca2, soprano, qimageblitz}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdenetwork-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdenetwork-4.2.4.tar.bz2;
|
||||
sha1 = "31f3f1c44690339ce523c309a3d2c131563d9f97";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl speex gmp libxml2 libxslt sqlite alsaLib libidn
|
||||
libvncserver tapioca_qt libmsn
|
||||
libXtst libXdamage libXxf86vm
|
||||
kdelibs kdepimlibs automoc4 phonon qca2 soprano qimageblitz ];
|
||||
}
|
8
pkgs/desktops/kde-4.3/pim/builder.sh
Normal file
8
pkgs/desktops/kde-4.3/pim/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
find .. -name CMakeLists.txt | xargs sed -i -e "s@DESTINATION \${KDE4_DBUS_INTERFACES_DIR}@DESTINATION \${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces/@"
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
17
pkgs/desktops/kde-4.3/pim/default.nix
Normal file
17
pkgs/desktops/kde-4.3/pim/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, boost, gpgme, libassuan, libgpgerror, libxslt,
|
||||
shared_mime_info, libXScrnSaver,
|
||||
kdelibs, kdepimlibs, automoc4, phonon, akonadi, strigi, soprano, qca2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdepim-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdepim-4.2.4.tar.bz2;
|
||||
sha1 = "d2328af104edf6471e3474ccea39710e0e1babc9";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [ cmake qt4 perl boost gpgme stdenv.gcc.libc libassuan libgpgerror libxslt
|
||||
shared_mime_info libXScrnSaver
|
||||
kdelibs kdepimlibs automoc4 phonon akonadi strigi soprano qca2 ];
|
||||
}
|
13
pkgs/desktops/kde-4.3/pimlibs/default.nix
Normal file
13
pkgs/desktops/kde-4.3/pimlibs/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, boost, cyrus_sasl, gpgme, libical, openldap,
|
||||
kdelibs, automoc4, phonon, akonadi}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdepimlibs-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdepimlibs-4.2.4.tar.bz2;
|
||||
sha1 = "1deb9298fe935ed1a53fad8e2a060fdc1c3e4ad8";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 perl boost cyrus_sasl gpgme stdenv.gcc.libc libical openldap
|
||||
kdelibs automoc4 phonon akonadi ];
|
||||
}
|
9
pkgs/desktops/kde-4.3/plasma-addons/builder.sh
Normal file
9
pkgs/desktops/kde-4.3/plasma-addons/builder.sh
Normal file
@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s@\${DBUS_INTERFACES_INSTALL_DIR}@\$ENV{kdebase_workspace}/share/dbus-1/interfaces@" applets/lancelot/app/src/CMakeLists.txt
|
||||
}
|
||||
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
16
pkgs/desktops/kde-4.3/plasma-addons/default.nix
Normal file
16
pkgs/desktops/kde-4.3/plasma-addons/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, python, shared_mime_info,
|
||||
kdelibs, kdebase_workspace, kdepimlibs, kdegraphics, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdeplasma-addons-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdeplasma-addons-4.2.4.tar.bz2;
|
||||
sha1 = "500d05cc6eeb218b8615b1a49e69e3b9e88f3997";
|
||||
};
|
||||
inherit kdebase_workspace;
|
||||
builder = ./builder.sh;
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl python shared_mime_info
|
||||
kdelibs kdebase_workspace kdepimlibs kdegraphics automoc4 phonon ];
|
||||
}
|
8
pkgs/desktops/kde-4.3/sdk/builder.sh
Normal file
8
pkgs/desktops/kde-4.3/sdk/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s|\${SVN_INCLUDES}|\${SVN_INCLUDES} $aprutil/include/apr-1|" kioslave/svn/CMakeLists.txt
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
16
pkgs/desktops/kde-4.3/sdk/default.nix
Normal file
16
pkgs/desktops/kde-4.3/sdk/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, libxml2, libxslt, boost, subversion, apr, aprutil,
|
||||
kdelibs, kdepimlibs, automoc4, phonon, strigi}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdesdk-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdesdk-4.2.4.tar.bz2;
|
||||
sha1 = "ad5a00f5ee4ae0f627b971b7413edb0550e92db1";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
builder=./builder.sh;
|
||||
inherit aprutil;
|
||||
buildInputs = [ cmake qt4 perl libxml2 libxslt boost subversion apr aprutil
|
||||
kdelibs kdepimlibs automoc4 phonon strigi ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/support/akonadi/default.nix
Normal file
11
pkgs/desktops/kde-4.3/support/akonadi/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, cmake, qt4, shared_mime_info, libxslt, boost, mysql, automoc4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "akonadi-1.2.0";
|
||||
src = fetchurl {
|
||||
url = http://download.akonadi-project.org/akonadi-1.2.0.tar.bz2;
|
||||
sha256 = "16kx5pfkspaz5000sz9f85xnk33xpssk6ym9wz5z6n3scihwhn6g";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 shared_mime_info libxslt boost mysql automoc4 ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/support/automoc4/default.nix
Normal file
11
pkgs/desktops/kde-4.3/support/automoc4/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ stdenv, fetchurl, cmake
|
||||
, qt4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "automoc4-0.9.88";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2;
|
||||
md5 = "91bf517cb940109180ecd07bc90c69ec";
|
||||
};
|
||||
buildInputs = [ cmake qt4 ];
|
||||
}
|
10
pkgs/desktops/kde-4.3/support/decibel/default.nix
Normal file
10
pkgs/desktops/kde-4.3/support/decibel/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, cmake, qt4, tapioca_qt, telepathy_qt}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "decibel-0.5.0";
|
||||
src = fetchurl {
|
||||
url = http://decibel.kde.org/fileadmin/downloads/decibel/releases/decibel-0.5.0.tar.gz;
|
||||
md5 = "7de299ace568c87a746388ad765228e5";
|
||||
};
|
||||
buildInputs = [ cmake qt4 tapioca_qt telepathy_qt ];
|
||||
}
|
10
pkgs/desktops/kde-4.3/support/eigen/default.nix
Normal file
10
pkgs/desktops/kde-4.3/support/eigen/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, cmake}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "eigen-2.0.0";
|
||||
src = fetchurl {
|
||||
url = http://download.tuxfamily.org/eigen/eigen-2.0.0.tar.bz2;
|
||||
md5 = "bedfe344498b926a4b5db17d2846dbb5";
|
||||
};
|
||||
buildInputs = [ cmake ];
|
||||
}
|
18
pkgs/desktops/kde-4.3/support/phonon/default.nix
Normal file
18
pkgs/desktops/kde-4.3/support/phonon/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, cmake
|
||||
, libXau, libXdmcp,
|
||||
, qt4, pthread_stubs
|
||||
, gst_all, xineLib
|
||||
, automoc4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "phonon-4.3.1";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.1/src/phonon-4.3.1.tar.bz2;
|
||||
sha1 = "f7537e5280d0a4cc1348975daa7a7e45d833d45c";
|
||||
};
|
||||
includeAllQtDirs = true;
|
||||
buildInputs = [ cmake
|
||||
libXau libXdmcp
|
||||
qt4 pthread_stubs gst_all.gstreamer gst_all.gstPluginsBase xineLib
|
||||
automoc4 ];
|
||||
}
|
10
pkgs/desktops/kde-4.3/support/qca2/default.nix
Normal file
10
pkgs/desktops/kde-4.3/support/qca2/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, which, qt4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "qca-2.0.1";
|
||||
src = fetchurl {
|
||||
url = http://delta.affinix.com/download/qca/2.0/qca-2.0.1.tar.bz2;
|
||||
md5 = "a0a87d0b3210e23f8c1713562282b7d6";
|
||||
};
|
||||
buildInputs = [ which qt4 ];
|
||||
}
|
11
pkgs/desktops/kde-4.3/support/qimageblitz/default.nix
Normal file
11
pkgs/desktops/kde-4.3/support/qimageblitz/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, cmake, qt4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "qimageblitz-0.0.4";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/qimageblitz/qimageblitz-0.0.4.tar.bz2;
|
||||
md5 = "cb87c7f1c0455e8984ee4830f1e749cf";
|
||||
};
|
||||
includeAllQtDirs = true;
|
||||
buildInputs = [ cmake qt4 ];
|
||||
}
|
19
pkgs/desktops/kde-4.3/support/soprano/default.nix
Normal file
19
pkgs/desktops/kde-4.3/support/soprano/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{stdenv, fetchurl, cmake, qt4, jdk, cluceneCore, redland}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "soprano-2.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/soprano/soprano-2.2.3.tar.bz2;
|
||||
md5 = "22c992a252144ae0a3a964ba2f6f1933";
|
||||
};
|
||||
|
||||
#JAVA_HOME=jdk;
|
||||
|
||||
buildInputs = [ cmake qt4 /* jdk */ cluceneCore redland ];
|
||||
|
||||
meta = {
|
||||
homepage = http://soprano.sourceforge.net/;
|
||||
description = "An object-oriented C++/Qt4 framework for RDF data";
|
||||
};
|
||||
}
|
25
pkgs/desktops/kde-4.3/support/strigi/default.nix
Normal file
25
pkgs/desktops/kde-4.3/support/strigi/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, cmake, perl, bzip2, qt4, libxml2, exiv2, fam
|
||||
, log4cxx, cluceneCore
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "strigi-0.6.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/strigi/strigi-0.6.4.tar.bz2;
|
||||
md5 = "324fd9606ac77765501717ff92c04f9a";
|
||||
};
|
||||
|
||||
includeAllQtDirs = true;
|
||||
|
||||
CLUCENE_HOME = cluceneCore;
|
||||
|
||||
buildInputs = [
|
||||
cmake perl bzip2 stdenv.gcc.libc qt4 libxml2 exiv2 fam /* log4cxx */ cluceneCore
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://strigi.sourceforge.net/;
|
||||
description = "A very fast and efficient crawler to index data on your harddrive";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.3/toys/default.nix
Normal file
11
pkgs/desktops/kde-4.3/toys/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, kdelibs, kdebase_workspace, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdetoys-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdetoys-4.2.4.tar.bz2;
|
||||
sha1 = "3f05154f85d0a01ceb97854e31adff03a7b5fdda";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
buildInputs = [ cmake qt4 perl kdelibs kdebase_workspace automoc4 phonon ];
|
||||
}
|
13
pkgs/desktops/kde-4.3/utils/builder.sh
Normal file
13
pkgs/desktops/kde-4.3/utils/builder.sh
Normal file
@ -0,0 +1,13 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
for i in printer-applet/cmake-modules/FindSystemConfigPrinter.py printer-applet/printer-applet.py
|
||||
do
|
||||
sed -i -e "s|/usr/share/system-config-printer|$system_config_printer/share/system-config-printer|" $i
|
||||
done
|
||||
|
||||
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" printer-applet/cmake-modules/FindSystemConfigPrinter.py
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
16
pkgs/desktops/kde-4.3/utils/default.nix
Normal file
16
pkgs/desktops/kde-4.3/utils/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, gmp, python, libzip, libarchive, sip, pyqt4, pycups, system_config_printer, rhpl,
|
||||
kdelibs, kdepimlibs, kdebindings, automoc4, phonon, qimageblitz}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdeutils-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdeutils-4.2.4.tar.bz2;
|
||||
sha1 = "59bb17463bec48c77768e50fb0e9ec3c1b0827af";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
inherit system_config_printer;
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl gmp python libzip libarchive sip pyqt4 pycups system_config_printer rhpl
|
||||
kdelibs kdepimlibs kdebindings automoc4 phonon qimageblitz ];
|
||||
}
|
13
pkgs/desktops/kde-4.3/webdev/default.nix
Normal file
13
pkgs/desktops/kde-4.3/webdev/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, cmake, qt4, perl, libxml2, libxslt, boost,
|
||||
kdelibs, kdepimlibs, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdewebdev-4.2.4";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.4/src/kdewebdev-4.2.4.tar.bz2;
|
||||
sha1 = "9e3667c994793232177a70ff0b6fb2caa252757f";
|
||||
};
|
||||
includeAllQtDirs=true;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl libxml2 libxslt boost kdelibs kdepimlibs automoc4 phonon ];
|
||||
}
|
80
pkgs/development/libraries/qt-4.5/default.nix
Normal file
80
pkgs/development/libraries/qt-4.5/default.nix
Normal file
@ -0,0 +1,80 @@
|
||||
{ stdenv, fetchurl
|
||||
, libXft, libXrender, randrproto, xextproto, libXinerama, xineramaproto, libXcursor, libXmu
|
||||
, libXext, libXfixes, inputproto, fixesproto, libXrandr, freetype, fontconfig
|
||||
, zlib, libjpeg, mysql, libpng, which, mesa, openssl, dbus, cups, pkgconfig, libtiff, glib
|
||||
, buildDemos ? false, buildExamples ? false, keepDocumentation ? false}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "qt-4.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-4.5.2.tar.bz2;
|
||||
sha256 = "0dpq45viarklgyjzmmzrpdgrzv36gwawg6mk2dmf3pwhrg4r8vfj";
|
||||
};
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libXft
|
||||
libXrender
|
||||
libXrandr
|
||||
randrproto
|
||||
xextproto
|
||||
libXinerama
|
||||
xineramaproto
|
||||
libXcursor
|
||||
zlib
|
||||
libjpeg
|
||||
mysql
|
||||
libpng
|
||||
which
|
||||
mesa
|
||||
libXmu
|
||||
openssl
|
||||
dbus.libs
|
||||
cups
|
||||
pkgconfig
|
||||
libXext
|
||||
freetype
|
||||
fontconfig
|
||||
inputproto
|
||||
fixesproto
|
||||
libXfixes
|
||||
glib
|
||||
libtiff
|
||||
];
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
|
||||
configureFlags = ''
|
||||
-v -no-separate-debug-info -release
|
||||
-system-zlib -system-libpng -system-libjpeg -fast
|
||||
-qt-gif -confirm-license
|
||||
-opengl -xrender -xrandr -xinerama -xcursor -qt-sql-mysql
|
||||
-qdbus -cups -glib -xfixes -dbus-linked
|
||||
-fontconfig -I${freetype}/include/freetype2
|
||||
${if buildDemos == true then "" else "-nomake demos"}
|
||||
${if buildExamples == true then "" else "-nomake examples"}
|
||||
'';
|
||||
|
||||
# For some reason I cannot automatically choose the edition, except by passing
|
||||
# 'o' the the stdin of configure
|
||||
configureScript = "yes o | ./configure";
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace configure --replace /bin/pwd pwd
|
||||
sed -e 's@/usr@/FOO@' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
||||
'';
|
||||
|
||||
# Remove the documentation: it takes up >= 130 MB, which is more
|
||||
# than half of the installed size. Ideally we should put this in a
|
||||
# separate package (as well as the Qt Designer).
|
||||
postInstall = ''
|
||||
${if keepDocumentation == false then "rm -rf $out/doc" else ""}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.qtsoftware.com/downloads/opensource/appdev/linux-x11-cpp;
|
||||
description = "A cross-platform application framework for C++";
|
||||
};
|
||||
}
|
9
pkgs/development/libraries/qt-4.5/setup-hook.sh
Normal file
9
pkgs/development/libraries/qt-4.5/setup-hook.sh
Normal file
@ -0,0 +1,9 @@
|
||||
export QTDIR=@out@
|
||||
|
||||
if [ -n "$includeAllQtDirs" ]; then
|
||||
# This helps for g++, but not for moc. And no qt4 package should expect
|
||||
# having all qt4 header files dirs into -I.
|
||||
for d in @out@/include/*; do
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d"
|
||||
done
|
||||
fi
|
@ -3964,6 +3964,15 @@ let
|
||||
inherit (gnome) glib;
|
||||
};
|
||||
|
||||
qt45 = import ../development/libraries/qt-4.5 {
|
||||
inherit fetchurl stdenv zlib libjpeg libpng which mysql mesa openssl cups dbus
|
||||
fontconfig freetype pkgconfig libtiff;
|
||||
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
||||
libXmu libXinerama xineramaproto libXcursor libXext
|
||||
inputproto fixesproto libXfixes;
|
||||
inherit (gnome) glib;
|
||||
};
|
||||
|
||||
readline = readline6;
|
||||
|
||||
readline4 = import ../development/libraries/readline/readline4.nix {
|
||||
@ -7641,7 +7650,11 @@ let
|
||||
kde42 = import ../desktops/kde-4.2 (pkgs // {
|
||||
openexr = openexr_1_6_1;
|
||||
});
|
||||
|
||||
|
||||
kde43 = import ../desktops/kde-4.3 (pkgs // {
|
||||
openexr = openexr_1_6_1;
|
||||
});
|
||||
|
||||
kdelibs = kde3.kdelibs;
|
||||
kdebase = kde3.kdebase;
|
||||
|
||||
|
@ -293,6 +293,7 @@ in {
|
||||
sbcl = all;
|
||||
qt3 = allBut "i686-cygwin";
|
||||
qt4 = linux;
|
||||
qt45 = linux;
|
||||
quake3demo = linux;
|
||||
readline = all;
|
||||
reiserfsprogs = linux;
|
||||
|
Loading…
Reference in New Issue
Block a user