Added my initial KDE 4.4 expression

svn path=/nixpkgs/trunk/; revision=19906
This commit is contained in:
Sander van der Burg 2010-02-10 15:06:50 +00:00
parent 3beabfeb59
commit bcb6e407ea
64 changed files with 1901 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, alsaLib, libXi, libXtst, kdelibs, automoc4, phonon}:
stdenv.mkDerivation {
name = "kdeaccessibility-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdeaccessibility-4.3.4.tar.bz2;
sha1 = "96aa150b8a5c368b6bb36476ed5fb3e3b3c30547";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl alsaLib libXi libXtst kdelibs automoc4 phonon ];
meta = {
description = "KDE accessibility tools";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, lib, cmake, qt4, pkgconfig, perl, python
, sip, pyqt4, pycups, system_config_printer
, kdelibs, kdepimlibs, kdebindings, automoc4, phonon}:
stdenv.mkDerivation {
name = "kdeadmin-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdeadmin-4.3.4.tar.bz2;
sha1 = "8f61aeb2ff9d51712d72cd77dad837c8902b6a5d";
};
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
kdelibs kdepimlibs kdebindings automoc4 phonon ];
meta = {
description = "KDE Administration Utilities";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, xscreensaver
, kdelibs, kdebase_workspace, automoc4, phonon, strigi, eigen}:
stdenv.mkDerivation {
name = "kdeartwork-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdeartwork-4.3.4.tar.bz2;
sha1 = "7a095932bad297f22b23765ce6ee17bfd2438bf2";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl xscreensaver
kdelibs kdebase_workspace automoc4 phonon strigi eigen ];
meta = {
description = "KDE artwork";
longDescription = "Contains various artwork for KDE such as backgrounds, icons and screensavers";
license = "LGPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl, lib, cmake, perl, bzip2, xz, qt4, alsaLib, xineLib, samba, shared_mime_info
, kdelibs, automoc4, phonon, strigi, soprano, cluceneCore}:
stdenv.mkDerivation {
name = "kdebase-runtime-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdebase-runtime-4.3.4.tar.bz2;
sha1 = "871d23457c4a2676704722e2e3b7194d447904ee";
};
/* CLUCENE_HOME=cluceneCore;*/
includeAllQtDirs=true;
buildInputs = [ cmake perl bzip2 xz qt4 alsaLib xineLib samba stdenv.gcc.libc shared_mime_info
kdelibs automoc4 phonon strigi soprano cluceneCore ];
meta = {
description = "KDE runtime";
longDescription = "Libraries and tools which supports running KDE desktop applications";
license = "LGPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,11 @@
source $stdenv/setup
myPatchPhase()
{
for i in plasma/applets/systemtray/CMakeLists.txt plasma/applets/systemtray/notificationitemwatcher/CMakeLists.txt
do
sed -i -e "s|\${KDE4_DBUS_INTERFACES_DIR}|$kdelibs_experimental/share/dbus-1|" $i
done
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, lib, cmake, perl, python, pam, ConsoleKit
, qt4, sip, pyqt4, kdelibs, kdelibs_experimental, kdepimlibs, kdebindings
, libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, libXScrnSaver
, lm_sensors, libxklavier, libusb, libpthreadstubs, boost
, automoc4, phonon, strigi, soprano, qimageblitz, akonadi, polkit_qt
}:
stdenv.mkDerivation {
name = "kdebase-workspace-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdebase-workspace-4.3.4.tar.bz2;
sha1 = "5b43447139d22247d5bc2deee8e3a944447f0bbf";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
inherit kdelibs_experimental;
builder = ./builder.sh;
buildInputs = [ cmake perl python qt4 pam /*ConsoleKit sip pyqt4*/ kdelibs kdelibs_experimental kdepimlibs /*kdebindings*/ libpthreadstubs boost libusb stdenv.gcc.libc
libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver
lm_sensors libxklavier automoc4 phonon strigi soprano qimageblitz akonadi polkit_qt ];
meta = {
description = "KDE Workspace";
longDescription = "KDE base components that are only required to work with X11 such KDM and KWin";
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl, lib, cmake, perl, qt4, kdelibs, pciutils, libraw1394
, kdebase_workspace
, automoc4, phonon, strigi, qimageblitz, soprano}:
stdenv.mkDerivation {
name = "kdebase-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdebase-4.3.4.tar.bz2;
sha1 = "7f8637367177c93916dfc2e6a2f6323a5e91c6ce";
};
includeAllQtDirs=true;
buildInputs = [ cmake perl qt4 kdelibs pciutils stdenv.gcc.libc libraw1394
kdebase_workspace automoc4 phonon strigi qimageblitz soprano ];
meta = {
description = "KDE Base components";
longDescription = "Applications that form the KDE desktop, like Plasma, System Settings, Konqueror, Dolphin, Kate, and Konsole";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, lib, 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.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdebindings-4.3.4.tar.bz2;
sha1 = "0c7bf45bd3d81bf6aa1d2b085c17b4ce925c656b";
};
builder = ./builder.sh;
includeAllQtDirs=true;
buildInputs = [ python sip pyqt4 zlib libpng freetype fontconfig qt4
libSM libXrender libXrandr libXfixes libXcursor libXinerama libXext kdelibs ];
meta = {
description = "KDE bindings";
longDescription = "Provides KDE bindings for several languages such as Java, Smoke and Python";
license = "LGPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,301 @@
pkgs:
pkgs.recurseIntoAttrs (rec {
inherit (pkgs) qt4;
### SUPPORT
automoc4 = import ./support/automoc4 {
inherit (pkgs) stdenv fetchurl lib cmake;
inherit (pkgs) qt4;
};
phonon = import ./support/phonon {
inherit (pkgs) stdenv fetchurl lib cmake;
inherit (pkgs) qt4 gst_all xineLib;
inherit (pkgs.xlibs) libXau libXdmcp libpthreadstubs;
inherit automoc4;
};
strigi = import ./support/strigi {
inherit (pkgs) stdenv fetchurl lib cmake perl;
inherit (pkgs) bzip2 qt4 libxml2 expat exiv2 cluceneCore;
};
soprano = import ./support/soprano {
inherit (pkgs) stdenv fetchurl lib cmake;
inherit (pkgs) qt4 cluceneCore;
redland = pkgs.redland_1_0_8;
};
qimageblitz = import ./support/qimageblitz {
inherit (pkgs) stdenv fetchurl lib cmake qt4;
};
qca2 = import ./support/qca2 {
inherit (pkgs) stdenv fetchurl lib which qt4;
};
akonadi = import ./support/akonadi {
inherit (pkgs) stdenv fetchurl lib cmake qt4 shared_mime_info libxslt boost mysql;
inherit automoc4 soprano;
};
decibel = import ./support/decibel {
inherit (pkgs) stdenv fetchurl lib cmake qt4 tapioca_qt telepathy_qt;
};
eigen = import ./support/eigen {
inherit (pkgs) stdenv fetchurl lib cmake;
};
polkit_qt = import ./support/polkit-qt {
inherit (pkgs) stdenv fetchurl lib cmake qt4 policykit;
inherit automoc4;
};
attica = import ./support/attica {
inherit (pkgs) stdenv fetchurl cmake qt4;
};
### LIBS
kdelibs = import ./libs {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl bzip2 pcre fam libxml2 libxslt;
inherit (pkgs) xz flex bison giflib jasper openexr aspell avahi shared_mime_info
kerberos acl attr;
inherit (pkgs.xlibs) libXScrnSaver;
inherit automoc4 phonon strigi soprano qca2 attica;
};
kdelibs_experimental = import ./libs-experimental {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl;
inherit automoc4 kdelibs phonon;
};
### BASE
kdebase_workspace = import ./base-workspace {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl python pam sip pyqt4;
inherit (pkgs) lm_sensors libxklavier libusb boost ConsoleKit;
inherit (pkgs.xlibs) libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver libpthreadstubs;
inherit kdelibs kdelibs_experimental kdepimlibs kdebindings;
inherit automoc4 phonon strigi soprano qimageblitz akonadi polkit_qt;
};
kdebase = import ./base {
inherit (pkgs) stdenv fetchurl lib cmake perl qt4 pciutils libraw1394;
inherit kdelibs kdebase_workspace;
inherit automoc4 phonon strigi qimageblitz soprano;
};
kdebase_runtime = import ./base-runtime {
inherit (pkgs) stdenv fetchurl lib cmake perl bzip2 xz qt4;
inherit (pkgs) shared_mime_info xineLib alsaLib samba cluceneCore;
inherit kdelibs;
inherit automoc4 phonon strigi soprano;
};
oxygen_icons = import ./oxygen-icons {
inherit (pkgs) stdenv fetchurl lib cmake;
};
### ADDITIONAL
kdepimlibs = import ./pimlibs {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl boost cyrus_sasl gpgme;
inherit (pkgs) libical openldap shared_mime_info;
inherit kdelibs;
inherit automoc4 phonon akonadi;
};
kdeadmin = import ./admin {
inherit (pkgs) stdenv fetchurl lib cmake qt4 pkgconfig perl python sip pyqt4 pycups system_config_printer;
inherit kdelibs kdepimlibs kdebindings;
inherit automoc4 phonon;
};
kdeartwork = import ./artwork {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl xscreensaver;
inherit kdelibs kdebase_workspace;
inherit automoc4 phonon strigi eigen;
};
kdeaccessibility = import ./accessibility {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl alsaLib;
inherit (pkgs.xlibs) libXi libXtst;
inherit kdelibs;
inherit automoc4 phonon;
};
kdeedu = import ./edu {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl libxml2 libxslt openbabel boost;
inherit (pkgs) readline gmm gsl facile ocaml xplanet;
inherit kdelibs;
inherit automoc4 phonon eigen;
};
kdegraphics = import ./graphics {
inherit (pkgs) stdenv fetchurl lib cmake perl qt4 exiv2 lcms saneBackends libgphoto2;
inherit (pkgs) libspectre djvulibre chmlib shared_mime_info;
inherit (pkgs.xlibs) libXxf86vm;
poppler = pkgs.popplerQt4;
inherit kdelibs;
inherit automoc4 phonon strigi qimageblitz soprano qca2;
};
kdemultimedia = import ./multimedia {
inherit (pkgs) stdenv fetchurl lib cmake perl qt4;
inherit (pkgs) alsaLib xineLib libvorbis flac taglib cdparanoia lame;
inherit kdelibs kdelibs_experimental;
inherit automoc4 phonon;
};
kdenetwork = import ./network {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gmp speex libxml2 libxslt sqlite alsaLib;
inherit (pkgs) libidn libvncserver tapioca_qt libmsn;
inherit (pkgs.xlibs) libXi libXtst libXdamage libXxf86vm;
inherit kdelibs kdepimlibs;
inherit automoc4 phonon qca2 soprano qimageblitz strigi;
};
kdepim = import ./pim {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl boost gpgme libassuan libgpgerror libxslt;
inherit (pkgs) shared_mime_info;
inherit (pkgs.xlibs) libXScrnSaver;
inherit kdelibs kdelibs_experimental kdepimlibs;
inherit automoc4 phonon akonadi strigi soprano qca2;
};
kdepim_runtime = import ./pim-runtime {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl libxml2 libxslt boost;
inherit (pkgs) shared_mime_info;
inherit kdelibs kdelibs_experimental kdepimlibs;
inherit automoc4 phonon akonadi soprano strigi;
};
kdeplasma_addons = import ./plasma-addons {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl python shared_mime_info;
inherit kdelibs kdebase_workspace kdepimlibs kdebase kdegraphics kdeedu;
inherit automoc4 phonon soprano eigen qimageblitz;
};
kdegames = import ./games {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl;
inherit kdelibs;
inherit automoc4 phonon qca2;
};
kdetoys = import ./toys {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl;
inherit kdelibs kdebase_workspace;
inherit automoc4 phonon;
};
kdeutils = import ./utils {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl python gmp libzip libarchive xz sip pyqt4 pycups system_config_printer;
inherit kdelibs kdelibs_experimental kdepimlibs kdebase kdebindings;
inherit automoc4 phonon qimageblitz qca2;
};
### DEVELOPMENT
kdebindings = import ./bindings {
inherit (pkgs) stdenv fetchurl lib 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 lib cmake qt4 perl libxml2 libxslt boost subversion apr aprutil;
inherit kdelibs kdepimlibs;
inherit automoc4 phonon strigi;
};
kdewebdev = import ./webdev {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl libxml2 libxslt boost;
inherit kdelibs kdepimlibs;
inherit automoc4 phonon;
};
#### EXTRA GEAR
amarok = import ./extragear/amarok {
inherit (pkgs) stdenv fetchurl lib cmake qt4 qtscriptgenerator perl gettext;
inherit (pkgs) curl mysql libxml2 taglib taglib_extras loudmouth;
inherit kdelibs;
inherit automoc4 phonon strigi soprano qca2;
};
digikam = import ./extragear/digikam {
inherit (pkgs) stdenv fetchurl lib cmake qt4 lcms jasper libgphoto2 gettext;
inherit kdelibs kdepimlibs kdegraphics;
inherit automoc4 phonon qimageblitz qca2 eigen;
};
filelight = import ./extragear/filelight {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl;
inherit kdelibs kdebase_workspace;
inherit automoc4 phonon qimageblitz;
};
kdesvn = import ./extragear/kdesvn {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gettext apr aprutil subversion db4;
inherit kdelibs;
inherit automoc4 phonon;
};
kipiplugins = import ./extragear/kipi-plugins {
inherit (pkgs) stdenv fetchurl lib cmake qt4 libxml2 libxslt gettext;
inherit kdelibs kdepimlibs kdegraphics;
inherit automoc4 phonon qimageblitz qca2;
};
kmplayer = import ./extragear/kmplayer {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gettext dbus_glib;
inherit (pkgs.gtkLibs) pango gtk;
inherit kdelibs;
inherit automoc4 phonon;
};
krusader = import ./extragear/krusader {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gettext;
inherit kdelibs;
inherit automoc4 phonon;
};
koffice = import ./extragear/koffice {
inherit (pkgs) stdenv fetchurl lib 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 lib cmake qt4 perl gmp taglib boost gettext;
inherit kdelibs kdepimlibs kdebase_workspace;
inherit automoc4 phonon qca2;
};
konversation = import ./extragear/konversation {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gettext;
inherit (pkgs.xlibs) libXScrnSaver;
inherit kdelibs kdepimlibs;
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;
};
### LOCALIZATION
l10n = pkgs.recurseIntoAttrs (import ./l10n {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gettext;
inherit kdelibs;
inherit automoc4 phonon;
});
})

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl
, facile, ocaml, xplanet
, kdelibs, automoc4, phonon, eigen}:
stdenv.mkDerivation {
name = "kdeedu-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdeedu-4.3.4.tar.bz2;
sha1 = "ee646d57db11b761d8da33fc03c596c8f531eb9d";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm gsl facile ocaml xplanet
kdelibs automoc4 phonon eigen ];
meta = {
description = "KDE Educative software";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, lib, cmake, qt4, qtscriptgenerator, perl, gettext, curl, libxml2, mysql, taglib, taglib_extras, loudmouth
, kdelibs, automoc4, phonon, strigi, soprano, qca2}:
stdenv.mkDerivation {
name = "amarok-2.2.2";
src = fetchurl {
url = mirror://kde/stable/amarok/2.2.2/src/amarok-2.2.2.tar.bz2;
sha256 = "0kg67b9wz2wi1gyn229vzbib4s0wpgqrjyfqy0032yl9fa2k13bn";
};
includeAllQtDirs=true;
inherit mysql loudmouth;
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
builder = ./builder.sh;
buildInputs = [ cmake qt4 qtscriptgenerator perl stdenv.gcc.libc gettext curl libxml2 mysql taglib taglib_extras loudmouth
kdelibs automoc4 phonon strigi soprano qca2];
meta = {
description = "Popular music player for KDE";
license = "GPL";
homepage = http://amarok.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, lib, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2, eigen,
kdegraphics, lcms, jasper, libgphoto2, kdepimlibs, gettext}:
stdenv.mkDerivation {
name = "digikam-1.0.0";
src = fetchurl {
url = mirror://sourceforge/digikam/digikam-1.0.0.tar.bz2;
sha256 = "0qblqyjn0vas8hyqn5s9rr401d93cagk53y3j8kch0mr0bk706bk";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 kdelibs kdegraphics automoc4 phonon qimageblitz qca2 eigen
lcms jasper libgphoto2 kdepimlibs gettext ];
CMAKE_PREFIX_PATH = kdepimlibs;
cmakeFlags = [ "-DGETTEXT_INCLUDE_DIR=${gettext}/include" ];
meta = {
description = "Photo Management Program";
license = "GPL";
homepage = http://www.koffice.org;
maintainers = [ lib.maintainers.viric ];
platforms = with lib.platforms; linux;
};
}

View File

@ -0,0 +1,19 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, qimageblitz, kdelibs, kdebase_workspace,
automoc4, phonon}:
stdenv.mkDerivation {
name = "filelight-1.9rc3";
src = fetchurl {
url = http://www.kde-apps.org/CONTENT/content-files/99561-filelight-1.9rc3.tgz;
sha256 = "0ljyx23j4cvrsi1dvmxila82q2cd26barmcvc8qmr74kz6pj78sq";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl kdelibs kdebase_workspace automoc4 phonon
qimageblitz ];
meta = {
description = "Shows disk usage as an interactive map of concentric rings";
license = "GPL";
homepage = http://www.methylblue.com/filelight/;
maintainers = [ lib.maintainers.viric ];
};
}

View 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

View 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;
}

View File

@ -0,0 +1,8 @@
source $stdenv/setup
myPatchPhase()
{
sed -i -e "s|/usr|$subversion|g" src/svnqt/cmakemodules/FindSubversion.cmake
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, gettext, apr, aprutil, subversion, db4
, kdelibs, automoc4, phonon}:
stdenv.mkDerivation {
name = "kdesvn-1.4.1";
src = fetchurl {
url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.4.1.tar.bz2;
sha256 = "1xaankj3zl1wxm1zf9dayb9qwnp9s5xx964p83w7pcsir4h5959z";
};
includeAllQtDirs=true;
builder = ./builder.sh;
inherit subversion;
buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ];
meta = {
description = "KDE SVN front-end";
license = "GPL";
homepage = http://kdesvn.alwins-world.de;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, lib, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2,
kdegraphics, kdepimlibs, libxml2, libxslt, gettext}:
stdenv.mkDerivation {
name = "kipi-plugins-0.9.0";
src = fetchurl {
url = mirror://sourceforge/kipi/kipi-plugins-0.9.0.tar.bz2;
sha256 = "0wx1r607q8i4v55k8qjzz7wn8rfd86nniq3h3s7dgnddq7x17fqn";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 kdelibs kdegraphics automoc4 phonon qimageblitz qca2 kdepimlibs
libxml2 libxslt gettext ];
CMAKE_PREFIX_PATH = kdepimlibs;
cmakeFlags = [ "-DGETTEXT_INCLUDE_DIR=${gettext}/include" ];
meta = {
description = "Photo Management Program";
license = "GPL";
homepage = http://www.koffice.org;
maintainers = [ lib.maintainers.viric ];
platforms = with lib.platforms; linux;
};
}

View 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

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, gettext, pango, gtk, dbus_glib, kdelibs, automoc4, phonon}:
stdenv.mkDerivation {
name = "kmplayer-0.11.1b";
src = fetchurl {
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.1b.tar.bz2;
sha256 = "04wzxxa83kxfzpsrllbdgl0kd6jj13kzhdkm2w66s7mpylr88lfi";
};
includeAllQtDirs=true;
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc pango gtk dbus_glib kdelibs automoc4 phonon ];
meta = {
description = "MPlayer front-end for KDE";
license = "GPL";
homepage = http://kmplayer.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, lib, 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.1.0";
src = fetchurl {
url = mirror://kde/stable/koffice-2.1.0/koffice-2.1.0.tar.bz2;
sha256 = "1jdc2rvj5xqd66d152zmjz2psq44kbraqpl0fq05yjg2wz8kdsln";
};
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 ];
meta = {
description = "KDE integrated Office Suite";
license = "GPL";
homepage = http://www.koffice.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, gettext, libXScrnSaver
, kdelibs, kdepimlibs, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "konversation-1.2.1";
src = fetchurl {
url = mirror://kde/stable/konversation/1.2.1/src/konversation-1.2.1.tar.bz2;
sha256 = "1rx4xgw14cfzkxghgn80np8i2ndq26sbdvv96g46r0s14qkdyq8w";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc libXScrnSaver kdelibs kdepimlibs automoc4 phonon qca2 ];
patchPhase = ''
echo "include_directories(${qt4}/include/QtGui)" > tmp
cp src/CMakeLists.txt src/CMakeLists.bak
cat tmp src/CMakeLists.bak > src/CMakeLists.txt
'';
meta = {
description = "Integrated IRC client for KDE";
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, lib, 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 ];
patches = [./krusader-gcc44.patch];
meta = {
description = "Norton/Total Commander clone for KDE";
license = "GPL";
homepage = http://www.krusader.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,10 @@
--- krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp~ 2009-04-29 17:13:43.000000000 +0000
+++ krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp 2009-04-29 17:14:01.000000000 +0000
@@ -37,6 +37,7 @@
#include <kio/jobuidelegate.h>
#include <kio/job.h>
#include <qapplication.h>
+#include <cstdio>
#include <iostream>
#include <klocale.h>
#include "virtualcopyjob.h"

View File

@ -0,0 +1,21 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, gmp, taglib, boost, gettext,
kdelibs, kdepimlibs, kdebase_workspace, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "ktorrent-3.3.2";
src = fetchurl {
url = http://ktorrent.org/downloads/3.3.2/ktorrent-3.3.2.tar.bz2;
sha256 = "08s67nz6wml5bx595czw2gcvrfb09hw1n1rzbj1n8iprr1abcpz1";
};
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 ];
meta = {
description = "KDE integrated BitTorrent client";
license = "GPL";
homepage = http://ktorrent.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,17 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "kdegames-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdegames-4.3.4.tar.bz2;
sha1 = "33ea8ec476b1557a55c90c071bd462e5ceb7c52b";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon qca2 ];
meta = {
description = "KDE Games";
homepage = http://www.kde.org;
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, cmake, lib, perl, qt4, exiv2, lcms, saneBackends, libgphoto2
, libspectre, poppler, djvulibre, chmlib, shared_mime_info, libXxf86vm
, kdelibs, automoc4, phonon, strigi, qimageblitz, soprano, qca2}:
stdenv.mkDerivation {
name = "kdegraphics-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdegraphics-4.3.4.tar.bz2;
sha1 = "bb32171b0d562d5698d4f0526be2b069e99f7448";
};
includeAllQtDirs=true;
buildInputs = [ cmake perl qt4 exiv2 lcms saneBackends libgphoto2 libspectre poppler chmlib
shared_mime_info stdenv.gcc.libc libXxf86vm
kdelibs automoc4 phonon strigi qimageblitz soprano qca2 ];
meta = {
description = "KDE graphics utilities";
longDescription = ''
Contains various graphics utilities such as the Gwenview image viewer and
Okular a document reader.
'';
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,379 @@
# THIS IS A GENERATED FILE. DO NOT EDIT!
{stdenv, fetchurl, lib, cmake, qt4, perl, gettext, kdelibs, automoc4, phonon}:
let
deriv = attr : stdenv.mkDerivation {
name = "kde-l10n-${attr.lang}-4.3.4";
src = fetchurl {
url = attr.url;
sha256 = attr.sha256;
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon ];
cmakeFlagsArray = [ "-DGETTEXT_INCLUDE_DIR=${gettext}/include" ];
meta = {
description = "KDE l10n for ${attr.lang}";
license = "GPL";
homepage = http://www.kde.org;
};
};
in
{
ar = deriv {
lang = "ar";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ar-4.3.4.tar.bz2";
sha256 = "0dgk97j0qv8qxfhiwv0cwqbmfgnxn0k7znm7vd40ngblbp4k75y1";
};
bg = deriv {
lang = "bg";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-bg-4.3.4.tar.bz2";
sha256 = "13mshqlskqndfm20s07978300p5ik432krhdk9k5a049f7w543dp";
};
bn_IN = deriv {
lang = "bn_IN";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-bn_IN-4.3.4.tar.bz2";
sha256 = "0zh7zra2si0z966r8qq41m3g4l9864acfg70hjbgr4bhvhn642zd";
};
ca = deriv {
lang = "ca";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ca-4.3.4.tar.bz2";
sha256 = "1ry403z9qgimcj8nilznr0f7bkviybcpwm3clww13na74ngmz4a1";
};
cs = deriv {
lang = "cs";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-cs-4.3.4.tar.bz2";
sha256 = "1gd0rl0c59fawd7s20nrmnc5vr915aqhz7f57wrgpw2kxgva33nk";
};
csb = deriv {
lang = "csb";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-csb-4.3.4.tar.bz2";
sha256 = "02b8341cpgzbp4ijnzs8bkvynz9mhz18ma5yk66i9q0js6rk8bn2";
};
da = deriv {
lang = "da";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-da-4.3.4.tar.bz2";
sha256 = "1r7kn5qdcx64p0rlj9mb3011hk5rvrqzvr8k6nrfsfmw2h7mnjym";
};
de = deriv {
lang = "de";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-de-4.3.4.tar.bz2";
sha256 = "0nclr4chx2ir036fjhs7zp2l1k43vn11lww7338v2nn9mcwfdyn3";
};
el = deriv {
lang = "el";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-el-4.3.4.tar.bz2";
sha256 = "104ycjq95zhkv2by36lndqc2w2shn3dp386ir5wj52x4f26j1zd0";
};
en_GB = deriv {
lang = "en_GB";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-en_GB-4.3.4.tar.bz2";
sha256 = "044s656x90xdgp14cddsz499bxfhsscnngvx4q13pnxrd2gbr2xj";
};
es = deriv {
lang = "es";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-es-4.3.4.tar.bz2";
sha256 = "0fx40sx0cqjashlj9z9da2jndwbg6s36njsgsx6kjfd90p23snvi";
};
et = deriv {
lang = "et";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-et-4.3.4.tar.bz2";
sha256 = "08s9y9h9qx2ahz1chmlcycldmf543c0kc8wfrsryrf1iaajdma0r";
};
eu = deriv {
lang = "eu";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-eu-4.3.4.tar.bz2";
sha256 = "1q0vjvbc6lywpqzizi61cz91scrkjplxjp2jywyi6dnrv475w6b9";
};
fi = deriv {
lang = "fi";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-fi-4.3.4.tar.bz2";
sha256 = "1z2jmcmr46f0a5hins4hkj843r3bd6azykiz6nwwkgk7png21axm";
};
fr = deriv {
lang = "fr";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-fr-4.3.4.tar.bz2";
sha256 = "07fi4c7k9h69m5jacp0vlyd268gxljh2j3hj9fk5vka4333rp2x0";
};
fy = deriv {
lang = "fy";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-fy-4.3.4.tar.bz2";
sha256 = "1l22bjccdxnsqgsns3nbh5wwplacbjgxhw72lvysnc3c7kkjm789";
};
ga = deriv {
lang = "ga";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ga-4.3.4.tar.bz2";
sha256 = "1kkz7gsyfpzrvy7pg2gajw24jybr8crk5yighp9mqa337cqjma6z";
};
gl = deriv {
lang = "gl";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-gl-4.3.4.tar.bz2";
sha256 = "161dh3w3jwrlzk83is3v25nvaxi5441n3q3bp6kg1fc1jqsinyr0";
};
gu = deriv {
lang = "gu";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-gu-4.3.4.tar.bz2";
sha256 = "1i69ma0cw85rf0gxa1wzlbmdhqm3lzyk1br4m4m6iz68am61pkdr";
};
he = deriv {
lang = "he";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-he-4.3.4.tar.bz2";
sha256 = "0353x14wmh9r1q46vcn2m9sp6fvrfzkj55v0kh0xbh4jdprw8cpn";
};
hi = deriv {
lang = "hi";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-hi-4.3.4.tar.bz2";
sha256 = "1wing32i5f12qn3w6f4zlf7dwvarf8wwzxxvb1jjld16m7vxkksx";
};
hne = deriv {
lang = "hne";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-hne-4.3.4.tar.bz2";
sha256 = "149nahrhybv8cyxdqwdj7p787vsh902yr73r7a0l1sjblisrx84g";
};
hr = deriv {
lang = "hr";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-hr-4.3.4.tar.bz2";
sha256 = "0wg2qahvz8lanv4kqp5128paja7sai68prbincfgfwbi4xdbkfnq";
};
hu = deriv {
lang = "hu";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-hu-4.3.4.tar.bz2";
sha256 = "05vkqxrw3rxb2brm3ggb600al1ggrv739qdfc1m659m1qxhnxgjw";
};
is = deriv {
lang = "is";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-is-4.3.4.tar.bz2";
sha256 = "0212ymk3h58bmhaccprn5wfs65fhcpaq73dnqp3v0xmgkfnz6dhy";
};
it = deriv {
lang = "it";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-it-4.3.4.tar.bz2";
sha256 = "0h72ln0jwizxg86kwk6m1zi1wws14prv9xvlzhbmyvcb0sa98v75";
};
ja = deriv {
lang = "ja";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ja-4.3.4.tar.bz2";
sha256 = "0nw4ybl429y3d9d58y13gyaxzrkrvjgxz4vn68ryn8vlb8d0sb6j";
};
kk = deriv {
lang = "kk";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-kk-4.3.4.tar.bz2";
sha256 = "01j28srx3vbgs8l0vv30fx3ki05i18ddf6sg2jqdli4ylg517l66";
};
km = deriv {
lang = "km";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-km-4.3.4.tar.bz2";
sha256 = "1zdbvgn1lz9lyzrkhjf05k7n1cpdjwzv1v62aja7h438qn8scqnh";
};
kn = deriv {
lang = "kn";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-kn-4.3.4.tar.bz2";
sha256 = "193ibxndpgl400djlggwsy6h3mjdkhmvmc5dalh9h2k3fz9fdswn";
};
ko = deriv {
lang = "ko";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ko-4.3.4.tar.bz2";
sha256 = "1888mwknd4l8rcs01w1mi7147cl9phylxjpcsmg3gda61pq12035";
};
ku = deriv {
lang = "ku";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ku-4.3.4.tar.bz2";
sha256 = "1w70dc75k6s8mpn1fraz1znknfz6cpdbb96frh611fz3r3hzgaix";
};
lt = deriv {
lang = "lt";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-lt-4.3.4.tar.bz2";
sha256 = "098cw3hz9w0kb2b33p5qwxli4z38qw4rcby4j75hwm66l6fw9iqk";
};
lv = deriv {
lang = "lv";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-lv-4.3.4.tar.bz2";
sha256 = "08rfi68mz8iarmscvnn11b1gyr7k2j0gyhs7673gnk5m3avmz2ab";
};
mai = deriv {
lang = "mai";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-mai-4.3.4.tar.bz2";
sha256 = "0pkad1rchrra15jjij4r76xy26zkmshm80amqfn8ba9nabxr7nxa";
};
mk = deriv {
lang = "mk";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-mk-4.3.4.tar.bz2";
sha256 = "041iw3754j5x6b02yzk6zyy0fggmx1lq1kgv1d3g5nxv2a4dp311";
};
ml = deriv {
lang = "ml";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ml-4.3.4.tar.bz2";
sha256 = "0y6050gb5vrlpbimackzzpsv08j8zxp67cg2gdn4x0v31xpvpxfr";
};
mr = deriv {
lang = "mr";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-mr-4.3.4.tar.bz2";
sha256 = "08asxp8g0qijla04m29lb16544gdibk6d4vf92zmcsff04a1wis2";
};
nb = deriv {
lang = "nb";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-nb-4.3.4.tar.bz2";
sha256 = "179p6ha1py6j9rinzknqqcr8p062x3g9jz2m160vklsc780y1whw";
};
nds = deriv {
lang = "nds";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-nds-4.3.4.tar.bz2";
sha256 = "144rsvkw2qr4cd8zh0sxpvnc3rh17i23l3pxhpk65ldq6b7xnybb";
};
nl = deriv {
lang = "nl";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-nl-4.3.4.tar.bz2";
sha256 = "15gnqpg7blc3aj2pdj5pswmimlyhic18jqrlgjk3xsxq4744r4wc";
};
nn = deriv {
lang = "nn";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-nn-4.3.4.tar.bz2";
sha256 = "0414fmkm19n5bjvbdcxh9vkn0hmpk3w2r60lvm7gmpi8zdak0p2p";
};
pa = deriv {
lang = "pa";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-pa-4.3.4.tar.bz2";
sha256 = "0974jsd3l70ygipzf0fv5zvs9ykyn4c6dnm9gf0krdzxskrimfxp";
};
pl = deriv {
lang = "pl";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-pl-4.3.4.tar.bz2";
sha256 = "0f5hr7mff4a8hpwapz67wjlg02jwdnainaa8jk2j64lwzbswybyr";
};
pt = deriv {
lang = "pt";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-pt-4.3.4.tar.bz2";
sha256 = "07bclil0lhr59faqr8a59bfmvsdjla0pg0x0a4qqmnqhhan1ki3p";
};
pt_BR = deriv {
lang = "pt_BR";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-pt_BR-4.3.4.tar.bz2";
sha256 = "03y3fk1b2yzp6jbaic76y06522wbq3lzxf1pbc5xi22q3gw14dls";
};
ro = deriv {
lang = "ro";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ro-4.3.4.tar.bz2";
sha256 = "0nqdl8jbr29bjdvxdppbmjjgamh68gcg38j8gsh5zp6ak1ac2abc";
};
ru = deriv {
lang = "ru";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-ru-4.3.4.tar.bz2";
sha256 = "0n5g26p98dshngv35izfc826ahirqppx4ig6ycj9pfza5aakajah";
};
sk = deriv {
lang = "sk";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-sk-4.3.4.tar.bz2";
sha256 = "0jwh0sx09hxz922snak4jxajcl1p3rciycwqw4fgmk6fx5ra7s48";
};
sl = deriv {
lang = "sl";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-sl-4.3.4.tar.bz2";
sha256 = "063lbb2g5zpg3330hz749m5kh9hx8xrf7ifj95xjkbkh1sa0g2dm";
};
sr = deriv {
lang = "sr";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-sr-4.3.4.tar.bz2";
sha256 = "121vdrzk9fm30s8q4m5b7vd3lv3n4azzx7dm62qx84qyx9zs8r4y";
};
sv = deriv {
lang = "sv";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-sv-4.3.4.tar.bz2";
sha256 = "192yw9vjwv9s7bdmcndqq0dx0g6djpjbyiq9skpzpq21zphgf0n1";
};
tg = deriv {
lang = "tg";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-tg-4.3.4.tar.bz2";
sha256 = "0q90k5fk6f41baiyxl3055y6b55nx7plq7hzlkp1h2d60q2d8yhs";
};
th = deriv {
lang = "th";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-th-4.3.4.tar.bz2";
sha256 = "00jc6dkhpcxc95jkg7v1fsgn2ymk38mqs0h8x1an23jgs5sbl43r";
};
tr = deriv {
lang = "tr";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-tr-4.3.4.tar.bz2";
sha256 = "1igr4fw1h3617kyqhxdgg798k1gdiwxz5g2s59g281vm16r3rg01";
};
uk = deriv {
lang = "uk";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-uk-4.3.4.tar.bz2";
sha256 = "0sir7ayb2ydrhl5dbq9ni10l2w45blh9pdd7bpfxmgqz7n1kylp8";
};
wa = deriv {
lang = "wa";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-wa-4.3.4.tar.bz2";
sha256 = "0ip3idiq6sfxzgg872sjw9ra1sy137q9m47ik3fdfcxgfwv7bj1r";
};
zh_CN = deriv {
lang = "zh_CN";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-zh_CN-4.3.4.tar.bz2";
sha256 = "0c8m6zj3pzr0pkmb6m3h6a5n274s2v8wpp7gfqkxrkardq0scwxb";
};
zh_TW = deriv {
lang = "zh_TW";
url = "mirror://kde/stable/4.3.4/src/kde-l10n/kde-l10n-zh_TW-4.3.4.tar.bz2";
sha256 = "1xiav7nhvkfpizih845z1cr8avkphvszd4j8i547lcb8xnvvk0bw";
};
}

View File

@ -0,0 +1,102 @@
#! /usr/bin/perl -w
# Typical command to generate the list of tarballs:
# export i="mirror://kde/stable/4.3.4/src/kde-l10n/"; cat $(PRINT_PATH=1 nix-prefetch-url $i | tail -n 1) | perl -e 'while (<>) { if (/(href|HREF)="([^"]*.bz2)"/) { print "$ENV{'i'}$2\n"; }; }' | sort > tarballs.list
# manually update extra.list
# then run: cat tarballs-7.4.list extra.list old.list | perl ./generate-expr-from-tarballs.pl
use strict;
my $tmpDir = "/tmp/xorg-unpack";
my %pkgURLs;
my %pkgHashes;
my %pkgNames;
my $downloadCache = "./download-cache";
$ENV{'NIX_DOWNLOAD_CACHE'} = $downloadCache;
mkdir $downloadCache, 0755;
while (<>) {
chomp;
my $tarball = "$_";
print "\nDOING TARBALL $tarball\n";
$tarball =~ /\/((?:(?:[A-Za-z0-9_]|(?:-[^0-9])|(?:-[0-9]*[a-z]))+))[^\/]*$/;
die unless defined $1;
my $pkg = $1;
$pkg =~ s/kde-l10n-//g;
$tarball =~ /\/([^\/]*)\.tar\.bz2$/;
my $pkgName = $pkg;
print " $pkg $pkgName\n";
if (defined $pkgNames{$pkg}) {
print " SKIPPING\n";
next;
}
$pkgNames{$pkg} = $pkgName;
$pkgURLs{$pkg} = $tarball;
my ($hash, $path) = `PRINT_PATH=1 QUIET=1 nix-prefetch-url '$tarball'`;
chomp $hash;
chomp $path;
$pkgHashes{$pkg} = $hash;
print "done\n";
}
print "\nWRITE OUT\n";
open OUT, ">default.nix";
print OUT "";
print OUT <<EOF;
# THIS IS A GENERATED FILE. DO NOT EDIT!
{stdenv, fetchurl, lib, cmake, qt4, perl, gettext, kdelibs, automoc4, phonon}:
let
deriv = attr : stdenv.mkDerivation {
name = "kde-l10n-\${attr.lang}-4.3.4";
src = fetchurl {
url = attr.url;
sha256 = attr.sha256;
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon ];
cmakeFlagsArray = [ "-DGETTEXT_INCLUDE_DIR=\${gettext}/include" ];
meta = {
description = "KDE l10n for \${attr.lang}";
license = "GPL";
homepage = http://www.kde.org;
};
};
in
{
EOF
foreach my $pkg (sort (keys %pkgNames)) {
print "$pkg\n";
print OUT <<EOF;
$pkgNames{$pkg} = deriv {
lang = "$pkgNames{$pkg}";
url = "$pkgURLs{$pkg}";
sha256 = "$pkgHashes{$pkg}";
};
EOF
}
print OUT "}\n";
close OUT;

View File

@ -0,0 +1,8 @@
source $stdenv/setup
myPatchPhase()
{
sed -i -e "s|\${KDE4_DBUS_INTERFACES_DIR}|$out/share/dbus-1|" knotificationitem/CMakeLists.txt
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, automoc4, kdelibs, phonon}:
stdenv.mkDerivation {
name = "kdelibs-experimental-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdelibs-experimental-4.3.4.tar.bz2;
sha1 = "43e19c44c3cdc1049c9ee9aca2e2f83a48ffe8bd";
};
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl automoc4 kdelibs phonon ];
includeAllQtDirs=true;
meta = {
description = "KDE experimental library";
license = "LGPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,33 @@
{ stdenv, fetchurl, cmake, lib, perl
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
, xz, flex, bison, openexr, aspell, avahi, kerberos, acl, attr, libXScrnSaver
, automoc4, phonon, strigi, soprano, qca2, attica
}:
stdenv.mkDerivation {
name = "kdelibs-4.4.0";
src = fetchurl {
url = mirror://kde/stable/4.4.0/src/kdelibs-4.4.0.tar.bz2;
sha256 = "1nf829k9mcnqf1jfsfjgb1dw6s0kh02sixxjcgmapccmmqx1p5ak";
};
includeAllQtDirs = true;
buildInputs = [
cmake perl qt4 stdenv.gcc.libc xz flex bison bzip2 pcre fam libxml2 libxslt
shared_mime_info giflib jasper openexr aspell avahi kerberos acl attr
libXScrnSaver
automoc4 phonon strigi soprano qca2 attica
];
# I don't know why cmake does not find the acl files (but finds attr files)
cmakeFlags = [ "-DHAVE_ACL_LIBACL_H=ON" "-DHAVE_SYS_ACL_H=ON" ];
meta = {
description = "KDE libraries";
license = "LGPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, lib, cmake, perl, qt4, alsaLib, libvorbis, xineLib, taglib, flac, cdparanoia, lame
, kdelibs, kdelibs_experimental, automoc4, phonon}:
stdenv.mkDerivation {
name = "kdemultimedia-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdemultimedia-4.3.4.tar.bz2;
sha1 = "cf8f2696267ec682ee48fbb0f6171d9e9f7aa4b3";
};
includeAllQtDirs=true;
buildInputs = [ cmake perl qt4 alsaLib libvorbis xineLib flac taglib cdparanoia lame
kdelibs kdelibs_experimental automoc4 phonon ];
meta = {
description = "KDE Multimedia";
longDescription = ''
Contains various Multimedia utilties for KDE such as a movie player and sound volume mixer.
'';
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, speex, gmp, libxml2, libxslt, sqlite, alsaLib, libidn
, libvncserver, tapioca_qt, libmsn
, libXi, libXtst, libXdamage, libXxf86vm
, kdelibs, kdepimlibs, automoc4, phonon, qca2, soprano, qimageblitz, strigi}:
stdenv.mkDerivation {
name = "kdenetwork-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdenetwork-4.3.4.tar.bz2;
sha1 = "e066c3642d254e1e8213ef511546e960c5658596";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl speex gmp libxml2 libxslt sqlite alsaLib libidn
libvncserver tapioca_qt libmsn
libXi libXtst libXdamage libXxf86vm
kdelibs kdepimlibs automoc4 phonon qca2 soprano qimageblitz strigi ];
meta = {
description = "KDE network utilities";
longDescription = "Various network utilities for KDE such as a messenger client and network configuration interface";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, lib, cmake}:
stdenv.mkDerivation {
name = "oxygen-icons-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/oxygen-icons-4.3.4.tar.bz2;
sha1 = "9905f6b5a47db85c05f7387a75b6ae0e0fdd756e";
};
buildInputs = [ cmake ];
meta = {
description = "KDE Oxygen theme icons";
longDescription = "Contains icons for the KDE Oxygen theme, which is the default icon theme since KDE 4.3";
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,8 @@
source $stdenv/setup
myPatchPhase()
{
sed -i -e "s|\${KDE4_DBUS_INTERFACES_DIR}|$out/share/dbus-1|" resources/maildir/CMakeLists.txt
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, libxml2, libxslt, boost, shared_mime_info
, kdelibs, kdelibs_experimental, kdepimlibs
, automoc4, phonon, akonadi, soprano, strigi}:
stdenv.mkDerivation {
name = "kdepim-runtime-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdepim-runtime-4.3.4.tar.bz2;
sha1 = "bef70088aec4355f5bb8c0375082388eaa3d4b26";
};
buildInputs = [ cmake qt4 perl libxml2 libxslt boost shared_mime_info
kdelibs kdelibs_experimental kdepimlibs
automoc4 phonon akonadi soprano strigi ];
CMAKE_PREFIX_PATH=kdepimlibs;
includeAllQtDirs=true;
builder = ./builder.sh;
meta = {
description = "KDE PIM runtime";
homepage = http://www.kde.org;
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, boost, gpgme, libassuan, libgpgerror, libxslt
, shared_mime_info, libXScrnSaver
, kdelibs, kdelibs_experimental, kdepimlibs, automoc4, phonon, akonadi, strigi, soprano, qca2}:
stdenv.mkDerivation {
name = "kdepim-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdepim-4.3.4.tar.bz2;
sha1 = "3ddc34c2b0c96c0273431631ccf47a8b9b4289b3";
};
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 kdelibs_experimental kdepimlibs automoc4 phonon akonadi strigi soprano qca2 ];
meta = {
description = "KDE PIM tools";
longDescription = ''
Contains various personal information management tools for KDE, such as an organizer
'';
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,19 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, boost, cyrus_sasl, gpgme, libical, openldap, shared_mime_info
, kdelibs, automoc4, phonon, akonadi}:
stdenv.mkDerivation {
name = "kdepimlibs-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdepimlibs-4.3.4.tar.bz2;
sha1 = "4f7cd55999e82f504e3766b6f360ae58b984d5cb";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl boost cyrus_sasl gpgme stdenv.gcc.libc libical openldap shared_mime_info
kdelibs automoc4 phonon akonadi ];
meta = {
description = "KDE PIM libraries";
license = "LGPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, python, shared_mime_info
, kdelibs, kdebase_workspace, kdepimlibs, kdebase, kdegraphics, kdeedu
, automoc4, phonon, soprano, eigen, qimageblitz}:
stdenv.mkDerivation {
name = "kdeplasma-addons-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdeplasma-addons-4.3.4.tar.bz2;
sha1 = "0b7af5db24fd194dd5fbbe1690d4ea62f597b891";
};
inherit kdebase_workspace;
builder = ./builder.sh;
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
KDEDIRS="${kdeedu}";
buildInputs = [ cmake qt4 perl python shared_mime_info
kdelibs kdebase_workspace kdepimlibs kdebase kdegraphics kdeedu
automoc4 phonon soprano eigen qimageblitz ];
meta = {
description = "KDE Plasma Addons";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, libxml2, libxslt, boost, subversion, apr, aprutil
, kdelibs, kdepimlibs, automoc4, phonon, strigi}:
stdenv.mkDerivation {
name = "kdesdk-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdesdk-4.3.4.tar.bz2;
sha1 = "42b6209908f8baadc0add46153649ebdfa9a977a";
};
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 ];
meta = {
description = "KDE SDK";
longDescription = "Contains various development utilities such as the Umbrello UML modeler and Cerivisia CVS front-end";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,17 @@
{stdenv, fetchurl, lib, cmake, qt4, shared_mime_info, libxslt, boost, mysql, automoc4, soprano}:
stdenv.mkDerivation {
name = "akonadi-1.3.1";
src = fetchurl {
url = http://download.akonadi-project.org/akonadi-1.3.1.tar.bz2;
sha256 = "1pbn6sviipxxpx80cspncfc3nlz047nryfbv8xzfz5811p19k7jb";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 shared_mime_info libxslt boost mysql automoc4 soprano ];
meta = {
description = "KDE PIM Storage Service";
license = "LGPL";
homepage = http://pim.kde.org/akonadi;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl, cmake, qt4}:
stdenv.mkDerivation {
name = "attica-0.1.2";
src = fetchurl {
url = mirror://kde/stable/attica/attica-0.1.2.tar.bz2;
sha256 = "09k7ghphqzfdlnsj61396sgmyzjqz9l6a8703y29292yc4h7qmxh";
};
buildInputs = [ cmake qt4 ];
meta = {
description = "A library to access Open Collaboration Service providers";
license = "LGPL";
maintainers = [ stdenv.lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl, lib, 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 ];
meta = {
description = "KDE Meta Object Compiler";
license = "BSD";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, lib, 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 ];
meta = {
description = "Realtime communications framework for KDE";
license = "LGPL";
homepage = http://decibel.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, lib, cmake}:
stdenv.mkDerivation {
name = "eigen-2.0.11";
src = fetchurl {
url = http://bitbucket.org/eigen/eigen/get/2.0.11.tar.bz2;
sha256 = "0zlv6isqhz0krzh77h8xiy1sglig7j17135qnna0gar0fa6kcj7l";
};
buildInputs = [ cmake ];
meta = {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = "LGPL";
homepage = http://eigen.tuxfamily.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, lib, cmake, qt4
, libXau, libXdmcp, libpthreadstubs
, 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 qt4 libXau libXdmcp libpthreadstubs gst_all.gstreamer gst_all.gstPluginsBase xineLib automoc4 ];
meta = {
description = "KDE Multimedia API";
longDescription = "KDE Multimedia API which abstracts over various backends such as GStreamer and Xine";
license = "LGPL";
homepage = http://phonon.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, cmake, qt4, policykit, automoc4, lib}:
stdenv.mkDerivation {
name = "polkit-qt-0.9.3";
src = fetchurl {
url = mirror://kde/stable/apps/KDE4.x/admin/polkit-qt-0.9.3.tar.bz2;
sha256 = "08mz8p98nlxnxy1l751jg1010vgjq2f2d6n4cj27jvihqkpbaixn";
};
includeAllQtDirs = true;
buildInputs = [ cmake qt4 policykit automoc4 ];
meta = {
description = "Qt PolicyKit bindings";
license = "LGPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, lib, which, qt4}:
stdenv.mkDerivation {
name = "qca-2.0.2";
src = fetchurl {
url = http://delta.affinix.com/download/qca/2.0/qca-2.0.2.tar.bz2;
sha256 = "49b5474450104a2298747c243de1451ab7a6aeed4bf7df43ffa4b7128a2837b8";
};
buildInputs = [ which qt4 ];
meta = {
description = "Qt Cryptographic Architecture";
license = "LGPL";
homepage = http://delta.affinix.com/qca;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,17 @@
{stdenv, fetchurl, lib, 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 ];
meta = {
description = "Graphical effect and filter library for KDE4";
license = "BSD";
homepage = http://qimageblitz.sourceforge.net;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,20 @@
{stdenv, fetchurl, lib, cmake, qt4, cluceneCore, redland}:
stdenv.mkDerivation {
name = "soprano-2.4.0";
src = fetchurl {
url = mirror://sourceforge/soprano/soprano-2.4.0.tar.bz2;
sha256 = "1630wax4baab5cl40xlvq6pj4scgmspmgb7wyyp7ppph4b0a8dkz";
};
# We disable the Java backends, since we do not need them and they make the closure size much bigger
buildInputs = [ cmake qt4 cluceneCore redland ];
meta = {
homepage = http://soprano.sourceforge.net/;
description = "An object-oriented C++/Qt4 framework for RDF data";
license = "LGPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, bzip2, libxml2, expat, exiv2
, cluceneCore
}:
stdenv.mkDerivation rec {
name = "strigi-0.7.1";
src = fetchurl {
url = "http://www.vandenoever.info/software/strigi/${name}.tar.bz2";
sha256 = "1cra4jlpd7cdvckwalfjrf2224qvhbkmxdd3sn02q9jhv830b0yi";
};
includeAllQtDirs = true;
CLUCENE_HOME = cluceneCore;
# Dependencies such as SQLite and FAM are unreliable in this release
buildInputs = [
cmake perl qt4 bzip2 stdenv.gcc.libc libxml2 expat exiv2 cluceneCore
];
meta = {
homepage = http://strigi.sourceforge.net;
description = "A very fast and efficient crawler to index data on your harddrive";
license = "LGPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,17 @@
{stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, kdebase_workspace, automoc4, phonon}:
stdenv.mkDerivation {
name = "kdetoys-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdetoys-4.3.4.tar.bz2;
sha1 = "96f6121990590acd3fb5b8cae25ef98b5572733c";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl kdelibs kdebase_workspace automoc4 phonon ];
meta = {
description = "KDE Toys";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View 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

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, gmp, python, libzip, libarchive, xz
, sip, pyqt4, pycups, system_config_printer
, kdelibs, kdelibs_experimental, kdepimlibs, kdebase, kdebindings, automoc4, phonon, qimageblitz, qca2}:
stdenv.mkDerivation {
name = "kdeutils-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdeutils-4.3.4.tar.bz2;
sha1 = "2d5e26055e364af2df7459cdbc3aebdc3a8abdea";
};
builder = ./builder.sh;
inherit system_config_printer;
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl gmp python libzip libarchive xz sip pyqt4 pycups system_config_printer
kdelibs kdelibs_experimental kdepimlibs kdebase kdebindings automoc4 phonon qimageblitz qca2 ];
meta = {
description = "KDE Utilities";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,19 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, libxml2, libxslt, boost
, kdelibs, kdepimlibs, automoc4, phonon}:
stdenv.mkDerivation {
name = "kdewebdev-4.3.4";
src = fetchurl {
url = mirror://kde/stable/4.3.4/src/kdewebdev-4.3.4.tar.bz2;
sha1 = "697f0557c616497a6f80bbcac472ad6ddd687ae8";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl libxml2 libxslt boost kdelibs kdepimlibs automoc4 phonon ];
meta = {
description = "KDE Web development utilities";
license = "GPL";
homepage = http://www.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,30 @@
args: with args;
stdenv.mkDerivation rec {
name = "redland-1.0.10";
src = fetchurl {
url = "mirror://sf/librdf/${name}.tar.gz";
sha256 = "05cq722qvw5sq08qbydzjv5snqk402cbdsy8s6qjzir7vq2hs1p3";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
librdf_raptor librdf_rasqal
];
configureFlags = "--with-threads --with-bdb=${bdb}";
patchPhase =
''
sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl
# Redland 1.0.9 uses an internal pre-processor symbol SQLITE_API
# that collides with a symbol of the same name in sqlite 3.6.19.
# This is a quick fix for the problem. A real solution needs to be
# implemented upstream, though.
find . -type f -exec sed -i -e 's/SQLITE_API/REDLAND_SQLITE_API/g' {} \;
'';
}

View File

@ -4718,6 +4718,11 @@ let
qt4 = qt45;
};
popplerQt46 = poppler.override {
qt4Support = true;
qt4 = qt46;
};
popt = import ../development/libraries/popt {
inherit fetchurl stdenv;
};
@ -4813,6 +4818,12 @@ let
bdb = db4;
};
redland_1_0_10 = composedArgsAndFun (import ../development/libraries/redland/1.0.10.nix) {
inherit fetchurl stdenv openssl libxml2 pkgconfig perl postgresql sqlite
mysql libxslt curl pcre librdf_rasqal librdf_raptor;
bdb = db4;
};
rhino = import ../development/libraries/java/rhino {
inherit fetchurl stdenv unzip;
ant = apacheAntGcj;
@ -8596,6 +8607,13 @@ let
qt4 = qt45;
popplerQt4 = popplerQt45;
});
kde44 = makeOverridable (import ../desktops/kde-4.4) (pkgs // {
openexr = openexr_1_6_1;
qt4 = qt46;
popplerQt4 = popplerQt46;
});
kdelibs = kde3.kdelibs;
kdebase = kde3.kdebase;