Split kdeutils, adopt kdePackage

Also migrate existing kdePackage users to new API

svn path=/nixpkgs/trunk/; revision=23525
This commit is contained in:
Yury G. Kudryashov 2010-08-29 21:20:38 +00:00
parent 5e19006c1e
commit 6473176133
37 changed files with 444 additions and 138 deletions

View File

@ -1,14 +1,15 @@
{kdePackage, cmake, qt4, perl, alsaLib, libXi, libXtst, kdelibs, automoc4 }:
kdePackage {
pn = "kdeaccessibility";
v = "4.5.0";
{kde, cmake, qt4, perl, alsaLib, libXi, libXtst, kdelibs, automoc4 }:
kde.package {
# TODO: speech dispatcher and/or freetts
buildInputs = [ cmake qt4 perl alsaLib libXi libXtst kdelibs automoc4 ];
meta = {
description = "KDE accessibility tools";
license = "GPL";
kde = {
name = "kdeaccessibility";
version = "4.5.0";
};
};
}

View File

@ -1,10 +1,8 @@
{ kdePackage, cmake, qt4, pkgconfig, perl, python
{ kde, cmake, qt4, pkgconfig, perl, python
, sip, pyqt4, pycups, rhpl, system_config_printer
, kdelibs, kdepimlibs, kdebindings, automoc4}:
kdePackage {
pn = "kdeadmin";
v = "4.5.0";
kde.package {
builder = ./builder.sh;
@ -18,5 +16,9 @@ kdePackage {
meta = {
description = "KDE Administration Utilities";
license = "GPL";
kde = {
name = "kdeadmin";
version = "4.5.0";
};
};
}

View File

@ -1,9 +1,7 @@
{ kdePackage, cmake, qt4, perl, xscreensaver
{ kde, cmake, qt4, perl, xscreensaver
, kdelibs, kdebase_workspace, automoc4, strigi, eigen}:
kdePackage {
pn = "kdeartwork";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl xscreensaver kdelibs kdebase_workspace automoc4
strigi eigen ];
@ -16,5 +14,9 @@ kdePackage {
description = "KDE artwork";
longDescription = "Contains various artwork for KDE such as backgrounds, icons and screensavers";
license = "LGPL";
kde = {
name = "kdeartwork";
version = "4.5.0";
};
};
}

View File

@ -1,10 +1,8 @@
{ kdePackage, cmake, perl, bzip2, xz, qt4, alsaLib, xineLib, samba,
{ kde, cmake, perl, bzip2, xz, qt4, alsaLib, xineLib, samba,
shared_mime_info, exiv2, libssh , kdelibs, automoc4, strigi, soprano,
cluceneCore, attica, virtuoso, makeWrapper, oxygen_icons }:
kdePackage {
pn = "kdebase-runtime";
v = "4.5.0";
kde.package {
buildInputs = [ cmake perl bzip2 xz qt4 alsaLib xineLib samba shared_mime_info
exiv2 libssh kdelibs automoc4 strigi soprano cluceneCore attica
@ -24,5 +22,9 @@ kdePackage {
description = "KDE runtime";
longDescription = "Libraries and tools which supports running KDE desktop applications";
license = "LGPL";
kde = {
name = "kdebase-runtime";
version = "4.5.0";
};
};
}

View File

@ -1,4 +1,4 @@
{ kdePackage, cmake, perl, python, pam, consolekit
{ kde, cmake, perl, python, pam, consolekit
, qt4, sip, pyqt4, kdelibs, kdepimlibs, kdebindings
, libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, libXScrnSaver
, lm_sensors, libxklavier, libusb, libpthreadstubs, boost
@ -6,9 +6,7 @@
, libdbusmenu_qt, libqalculate, pciutils, libraw1394, bluez
}:
kdePackage {
pn = "kdebase-workspace";
v = "4.5.0";
kde.package {
# TODO: qedje, qzion, ggadgets, libgps
buildInputs = [ cmake perl python qt4 pam consolekit sip pyqt4 kdelibs libXtst
@ -21,5 +19,9 @@ kdePackage {
description = "KDE Workspace";
longDescription = "KDE base components that are only required to work with X11 such KDM and KWin";
license = "GPL";
kde = {
name = "kdebase-workspace";
version = "4.5.0";
};
};
}

View File

@ -1,10 +1,7 @@
{ kdePackage, cmake, perl, qt4, kdelibs, pciutils, libraw1394
{ kde, cmake, perl, qt4, kdelibs, pciutils, libraw1394
, automoc4, strigi, qimageblitz, soprano}:
kdePackage {
pn = "kdebase";
v = "4.5.0";
kde.package {
preConfigure = "cd apps";
buildInputs = [ cmake perl qt4 kdelibs pciutils libraw1394 automoc4
@ -14,5 +11,9 @@ kdePackage {
description = "KDE Base components";
longDescription = "Applications that form the KDE desktop, like Plasma, System Settings, Konqueror, Dolphin, Kate, and Konsole";
license = "GPL";
kde = {
name = "kdebase";
version = "4.5.0";
};
};
}

View File

@ -1,21 +1,18 @@
{ kdePackage, lib, cmake, perl, python, sip, pyqt4, zlib, libpng, freetype, fontconfig, qt4, boost
{ kde, lib, cmake, perl, python, sip, pyqt4, zlib, libpng, freetype, fontconfig, qt4, boost
, kdelibs, kdepimlibs, automoc4, soprano, akonadi, attica, polkit_qt_1, ruby
}:
# This function will only build the pykde4 module. I don't need the other bindings and
# some bindings are even broken.
kdePackage rec {
pn = "kdebindings";
v = "4.5.0";
kde.package rec {
patches = [ ./python-site-packages-install-dir.diff ];
preConfigure = ''
CUSTOM_RUBY_SITE_ARCH_DIR=$(ruby -r rbconfig -e "print Config::CONFIG['sitearchdir']" | sed -e "s@${ruby}@$out@")
CUSTOM_RUBY_SITE_LIB_DIR=$(ruby -r rbconfig -e "print Config::CONFIG['sitelibdir']" | sed -e "s@${ruby}@$out@")
CUSTOM_PERL_SITE_ARCH_DIR=$(perl -MConfig -e 'print $Config{sitearch}' | sed -e "s@${perl}@$out@")
cmakeFlagsArray=(
cmakeFlagsArray+=(
-DSIP_DEFAULT_SIP_DIR=$out/share/sip
-DCUSTOM_RUBY_SITE_ARCH_DIR=$CUSTOM_RUBY_SITE_ARCH_DIR
-DCUSTOM_RUBY_SITE_LIB_DIR=$CUSTOM_RUBY_SITE_LIB_DIR
@ -31,6 +28,10 @@ kdePackage rec {
description = "KDE bindings";
longDescription = "Provides KDE bindings for several languages such as Java, Smoke and Python";
license = "LGPL";
kde = {
name = "kdebindings";
version = "4.5.0";
};
};
}

View File

@ -3,11 +3,13 @@
{
recurseForRelease = true;
inherit callPackage;
qt4 = qt47;
phonon = null;
kdePackage = import ./kde-package {
kde = import ./kde-package {
inherit stdenv fetchurl;
};
@ -58,7 +60,21 @@
kdeplasma_addons = callPackage ./plasma-addons { };
kdesdk = callPackage ./sdk { };
kdetoys = callPackage ./toys { };
kdeutils = callPackage ./utils { };
ark = callPackage ./utils/ark.nix { };
kcalc = callPackage ./utils/kcalc.nix { };
kcharselect = callPackage ./utils/kcharselect.nix { };
kdf = callPackage ./utils/kdf.nix { };
kfloppy = callPackage ./utils/kfloppy.nix { };
kgpg = callPackage ./utils/kgpg.nix { };
kremotecontrol = callPackage ./utils/kremotecontrol.nix { };
ktimer = callPackage ./utils/ktimer.nix { };
kwallet = callPackage ./utils/kwallet.nix { };
okteta = callPackage ./utils/okteta.nix { };
printer_applet = callPackage ./utils/printer-applet.nix { };
superkaramba = callPackage ./utils/superkaramba.nix { };
sweeper = callPackage ./utils/sweeper.nix { };
kdewebdev = callPackage ./webdev { };
#kdepim_runtime = callPackage ../kde-4.4/pim-runtime { };

View File

@ -1,10 +1,8 @@
{ kdePackage, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl
{ kde, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl
, xplanet, libspectre, pkgconfig, libqalculate
, kdelibs, automoc4, eigen, attica}:
kdePackage {
pn = "kdeedu";
v = "4.5.0";
kde.package {
#TODO:
#* Boost.Python (1.31 or higher) <http://www.boost.org/> - fails to find
@ -23,5 +21,9 @@ kdePackage {
meta = {
description = "KDE Educative software";
license = "GPL";
kde = {
name = "kdeedu";
version = "4.5.0";
};
};
}

View File

@ -1,9 +1,7 @@
{kdePackage, cmake, qt4, perl, shared_mime_info, kdelibs, automoc4, qca2
{kde, cmake, qt4, perl, shared_mime_info, kdelibs, automoc4, qca2
, kdebindings, twisted, python, pyqt4, sip, makeWrapper }:
kdePackage {
pn = "kdegames";
v = "4.5.0";
kde.package {
# TODO: ggz
buildInputs = [ cmake qt4 perl shared_mime_info kdelibs automoc4 qca2
@ -16,5 +14,9 @@ kdePackage {
meta = {
description = "KDE Games";
license = "GPL";
kde = {
name = "kdegames";
version = "4.5.0";
};
};
}

View File

@ -1,10 +1,8 @@
{ kdePackage, cmake, lib, perl, qt4, exiv2, lcms, saneBackends, libgphoto2
{ kde, cmake, lib, perl, qt4, exiv2, lcms, saneBackends, libgphoto2
, libspectre, popplerQt4, djvulibre, chmlib, shared_mime_info, libXxf86vm
, kdelibs, automoc4, strigi, qimageblitz, soprano, qca2, ebook_tools }:
kdePackage {
pn = "kdegraphics";
v = "4.5.0";
kde.package {
buildInputs = [ cmake perl qt4 exiv2 lcms saneBackends libgphoto2 libspectre
(popplerQt4.override { inherit qt4; }) chmlib shared_mime_info libXxf86vm
@ -17,5 +15,9 @@ kdePackage {
Okular document reader.
'';
license = "GPL";
kde = {
name = "kdegraphics";
version = "4.5.0";
};
};
}

View File

@ -1,21 +1,64 @@
{ stdenv, fetchurl }:
let
rec {
manifest = import ./manifest.nix;
in
a@{ pn, v, stable ? true, subdir ? null, ... }:
stdenv.mkDerivation ({
name = "${pn}-${v}";
src = fetchurl {
url = "mirror://kde/" + (if stable then "" else "un") + "stable/" +
(if subdir == null then "${v}/src" else subdir) + "/${pn}-${v}.tar.bz2";
sha256 = builtins.getAttr "${pn}-${v}.tar.bz2" manifest;
};
meta = {
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
platforms = stdenv.lib.platforms.linux;
inherit stable;
homepage = http://www.kde.org;
} // ( if a ? meta then a.meta else { } );
} // (removeAttrs a [ "meta" "pn" "v" "stable" "subdir" ]))
kdeSrc = { stable ? true, subdir ? null, module, release, sha256 ? null } :
fetchurl {
url = "mirror://kde/" + (if stable then "" else "un") + "stable/"
+ (if subdir == null then "${release}/src" else subdir)
+ "/${module}-${release}.tar.bz2";
sha256 =
if sha256 != null then sha256
else builtins.getAttr "${module}-${release}.tar.bz2" manifest;
};
defaultArgs = {name, stable ? true, subdir ? null, version,
module ? name, release ? version, ... }:
assert (name == module) -> (release == version);
(
{
name = "${name}-${version}";
src = kdeSrc { inherit stable subdir module release; };
meta = {
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
platforms = stdenv.lib.platforms.linux;
homepage = if name == module
then http://www.kde.org
else assert builtins.substring 0 3 module == "kde";
"http://"
+ builtins.substring 3
(builtins.sub (builtins.stringLength module) 3) module
+ ".kde.org/projects/${name}";
};
} // (if module == name then { } else {
cmakeFlags = ''
-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
-DBUILD_doc=TRUE -DBUILD_${name}=TRUE'';
})
);
package = a@{meta, ...}:
assert a.meta ? kde;
let
default = defaultArgs a.meta.kde;
in
# hand-written merge
stdenv.mkDerivation (
default
// removeAttrs a [ "meta" "cmakeFlags" ]
// {
meta = default.meta // a.meta;
}
// (if default ? cmakeFlags || a ? cmakeFlags then {
cmakeFlags =
(if default ? cmakeFlags then "${default.cmakeFlags}" else "")
+ (if default ? cmakeFlags && a ? cmakeFlags then " " else "")
+ (if a ? cmakeFlags then a.cmakeFlags else "");
} else { }
));
}

View File

@ -1,13 +1,11 @@
{ kdePackage, gcc, cmake, perl
{ kde, gcc, cmake, perl
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
, xz, flex, bison, openexr, aspell, avahi, kerberos, acl, attr, shared_desktop_ontologies, libXScrnSaver
, automoc4, strigi, soprano, qca2, attica, enchant, libdbusmenu_qt
, docbook_xml_dtd_42, docbook_xsl, polkit_qt_1
}:
kdePackage {
pn = "kdelibs";
v = "4.5.0";
kde.package {
buildInputs = [
cmake perl qt4 xz flex bison bzip2 pcre fam libxml2 libxslt
@ -22,14 +20,18 @@ kdePackage {
# cmake fails to find acl.h because of C++-style comment
# TODO: OpenEXR, hspell
cmakeFlags = [
"-DHAVE_ACL_LIBACL_H=ON" "-DHAVE_SYS_ACL_H=ON"
"-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook"
"-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook"
];
cmakeFlags = ''
-DHAVE_ACL_LIBACL_H=ON -DHAVE_SYS_ACL_H=ON
-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook
-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook
'';
meta = {
description = "KDE libraries";
license = "LGPL";
kde = {
name = "kdelibs";
version = "4.5.0";
};
};
}

View File

@ -1,9 +1,7 @@
{ kdePackage, cmake, perl, qt4, alsaLib, libvorbis, xineLib, taglib, flac,
{ kde, cmake, perl, qt4, alsaLib, libvorbis, xineLib, taglib, flac,
cdparanoia, lame , kdelibs, automoc4, ffmpeg}:
kdePackage {
pn = "kdemultimedia";
v = "4.5.0";
kde.package {
buildInputs = [ cmake perl qt4 alsaLib libvorbis xineLib flac taglib
cdparanoia lame kdelibs automoc4 ffmpeg ];
@ -14,5 +12,9 @@ kdePackage {
Contains various Multimedia utilties for KDE such as a movie player and sound volume mixer.
'';
license = "GPL";
kde = {
name = "kdemultimedia";
version = "4.5.0";
};
};
}

View File

@ -1,12 +1,10 @@
{ kdePackage, cmake, qt4, perl, speex, gmp, libxml2, libxslt, sqlite, alsaLib, libidn
{ kde, cmake, qt4, perl, speex, gmp, libxml2, libxslt, sqlite, alsaLib, libidn
, libvncserver, libmsn, giflib, gpgme, boost, libv4l, libotr
, libXi, libXtst, libXdamage, libXxf86vm, libktorrent, kdebase
, kdebase_workspace
, kdelibs, kdepimlibs, automoc4, qca2, soprano, qimageblitz, strigi}:
kdePackage {
pn = "kdenetwork";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl speex gmp libxml2 libxslt sqlite alsaLib libidn
libvncserver libmsn giflib gpgme boost libv4l libotr libXi libXtst
@ -30,5 +28,9 @@ kdePackage {
description = "KDE network utilities";
longDescription = "Various network utilities for KDE such as a messenger client and network configuration interface";
license = "GPL";
kde = {
name = "kdenetwork";
version = "4.5.0";
};
};
}

View File

@ -1,14 +1,16 @@
{ kdePackage, cmake, kdelibs, qt4, kdepimlibs, akonadi, pkgconfig, boost, shared_mime_info, libxml2, shared_desktop_ontologies, soprano, strigi, automoc4, libxslt }:
{ kde, cmake, kdelibs, qt4, kdepimlibs, akonadi, pkgconfig, boost, shared_mime_info, libxml2, shared_desktop_ontologies, soprano, strigi, automoc4, libxslt }:
kdePackage rec {
pn = "kdepim-runtime";
v = "4.4.92";
kde.package rec {
stable = false;
subdir = "kdepim/${v}/src";
subdir = "kdepim/${meta.kde.version}/src";
buildInputs = [ automoc4 cmake kdelibs qt4 kdepimlibs akonadi pkgconfig boost shared_mime_info shared_desktop_ontologies libxml2 soprano strigi libxslt ];
meta = {
description = "Runtime files for KDE PIM: akonadi agents etc.";
kde = {
name = "kdepim-runtime";
version = "4.4.92";
};
};
}

View File

@ -1,9 +1,7 @@
{ kdePackage, cmake, qt4, perl, boost, cyrus_sasl, gpgme, libical, openldap, shared_mime_info
{ kde, cmake, qt4, perl, boost, cyrus_sasl, gpgme, libical, openldap, shared_mime_info
, kdelibs, automoc4, akonadi, soprano}:
kdePackage {
pn = "kdepimlibs";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl boost cyrus_sasl gpgme libical openldap
shared_mime_info kdelibs automoc4 akonadi soprano ];
@ -11,5 +9,9 @@ kdePackage {
meta = {
description = "KDE PIM libraries";
license = "LGPL";
kde = {
name = "kdepimlibs";
version = "4.5.0";
};
};
}

View File

@ -1,11 +1,9 @@
{ kdePackage, cmake, qt4, perl, automoc4, kdelibs, soprano, kdeedu
{ kde, cmake, qt4, perl, automoc4, kdelibs, soprano, kdeedu
, boost, eigen, kdebase_workspace, attica, python, qca2, qimageblitz
, shared_mime_info, kdepimlibs, kdegraphics, libqalculate, libXtst }:
# TODO: qwt, scim, MARBLE!!
kdePackage {
pn = "kdeplasma-addons";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl automoc4 kdelibs boost eigen kdebase_workspace
attica python qca2 qimageblitz shared_mime_info kdepimlibs kdegraphics
@ -14,5 +12,9 @@ kdePackage {
meta = {
description = "KDE Plasma Addons";
license = "GPL";
kde = {
name = "kdeplasma-addons";
version = "4.5.0";
};
};
}

View File

@ -1,10 +1,8 @@
{ kdePackage, binutils, cmake, qt4, perl, libxml2, libxslt, boost, subversion, apr,
{ kde, binutils, cmake, qt4, perl, libxml2, libxslt, boost, subversion, apr,
aprutil , shared_mime_info, hunspell , kdelibs, kdepimlibs, automoc4,
kdebindings, strigi, kdebase, libtool, antlr}:
kdePackage {
pn = "kdesdk";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl libxml2 libxslt boost subversion aprutil apr
shared_mime_info kdelibs kdepimlibs automoc4 strigi hunspell kdebindings
@ -17,5 +15,9 @@ kdePackage {
description = "KDE SDK";
longDescription = "Contains various development utilities such as the Umbrello UML modeler and Cerivisia CVS front-end";
license = "GPL";
kde = {
name = "kdesdk";
version = "4.5.0";
};
};
}

View File

@ -1,9 +1,6 @@
{kdePackage, cmake}:
kdePackage {
pn = "oxygen-icons";
v = "4.5.0";
{kde, cmake}:
kde.package {
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1fil2rbvy4j47gqpn4xcjvjwxy4yq5mvpwcd5lhp8fdzgsc0jmdn";
@ -13,5 +10,9 @@ kdePackage {
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";
kde = {
name = "oxygen-icons";
version = "4.5.0";
};
};
}

View File

@ -1,10 +1,13 @@
{ kdePackage, cmake, qt4, pkgconfig, polkit, automoc4, glib }:
kdePackage {
pn = "polkit-qt-1";
v = "0.96.1";
subdir = "apps/KDE4.x/admin";
{ kde, cmake, qt4, pkgconfig, polkit, automoc4, glib }:
kde.package {
buildInputs = [ cmake qt4 automoc4 ];
propagatedBuildInputs = [ polkit glib ];
meta.kde = {
name = "polkit-qt-1";
module = "polkit-qt-1";
version = "0.96.1";
release = "0.96.1";
subdir = "apps/KDE4.x/admin";
};
}

View File

@ -1,12 +1,14 @@
{kdePackage, cmake, qt4, perl, kdelibs, kdebase_workspace, automoc4}:
{kde, cmake, qt4, perl, kdelibs, kdebase_workspace, automoc4}:
kdePackage {
pn = "kdetoys";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl kdelibs kdebase_workspace automoc4 ];
meta = {
description = "KDE Toys";
license = "GPL";
kde = {
name = "kdetoys";
version = "4.5.0";
};
};
}

View File

@ -0,0 +1,20 @@
{ kde, cmake, kdelibs, qt4, perl, libarchive, xz, automoc4, qjson,
kdebase }:
kde.package {
patchPhase = "cp -vn ${qjson}/share/apps/cmake/modules/FindQJSON.cmake cmake/modules";
buildInputs = [ cmake qt4 perl libarchive xz kdelibs automoc4 qjson
kdebase # for libkonq
];
meta = {
description = "KDE Archiving Tool";
kde = {
name = "ark";
module = "kdeutils";
version = "2.15";
release = "4.5.0";
};
};
}

View File

@ -1,28 +1,28 @@
{ kdePackage, cmake, qt4, perl, gmp, python, libzip, libarchive, xz
{ stdenv, fetchurl, cmake, qt4, perl, gmp, python, libarchive, xz
, sip, pyqt4, pycups, rhpl, system_config_printer, qjson, shared_mime_info
, kdebase_workspace
, kdelibs, kdepimlibs, kdebase, kdebindings, automoc4, qimageblitz, qca2}:
kdePackage {
pn = "kdeutils";
v = "4.5.0";
postPatch = ''
cp -vn ${qjson}/share/apps/cmake/modules/FindQJSON.cmake cmake/modules
sed -e "s@/usr\(/share/system-config-printer\)@${system_config_printer}\1@" -i \
printer-applet/cmake-modules/FindSystemConfigPrinter.py \
printer-applet/printer-applet.py
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" printer-applet/cmake-modules/FindSystemConfigPrinter.py
'';
buildInputs = [ cmake qt4 perl gmp python libzip libarchive xz sip pyqt4
pycups rhpl system_config_printer kdelibs kdepimlibs kdebase kdebindings
automoc4 qimageblitz qca2 qjson shared_mime_info kdebase_workspace ];
patches = [ ./log-feature.diff ];
meta = {
description = "KDE Utilities";
license = "GPL";
let
src = fetchurl {
url = mirror://kde/stable/src/kdeutils-4.5.0.tar.bz2;
sha256 = "1x4dwc193gsfcnryhkv2v3xafjr1a87ls0zfi56i1w2aj38b36l7";
};
in
{
ark = kdeSplitPackage
{
name = "ark-2.15";
inherit src;
patchPhase = "cp -vn ${qjson}/share/apps/cmake/modules/FindQJSON.cmake cmake/modules";
buildInputs = [ cmake qt4 perl libarchive xz kdelibs automoc4 qjson
kdebase # for libkonq
];
cmakeFlags = "-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE -DBUILD_doc=TRUE -DBUILD_ark=TRUE";
}
kcalc = callPackage ./kcalc.nix { inherit src; };
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, perl, kdelibs, qt4, automoc4, gmp }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 gmp ];
meta = {
description = "KDE Calculator";
kde = {
name = "kcalc";
module = "kdeutils";
version = "2.7";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 ];
meta = {
description = "KDE character selection utility";
kde = {
name = "kcharselect";
module = "kdeutils";
version = "1.7";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 ];
meta = {
description = "KDE free disk space utility";
kde = {
name = "kdf";
module = "kdeutils";
version = "0.11";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 ];
meta = {
description = "Helps you format floppies with the filesystem of your choice";
kde = {
name = "kfloppy";
module = "kdeutils";
version = "4.5.0";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4, kdepimlibs }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 kdepimlibs ];
meta = {
description = "Simple KDE GUI for gpg";
kde = {
name = "kgpg";
module = "kdeutils";
version = "2.4.0";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4, kdebase_workspace }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 kdebase_workspace ];
meta = {
description = "";
kde = {
name = "kremotecontrol";
module = "kdeutils";
version = "4.5.0";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 ];
meta = {
description = "KDE Timer";
kde = {
name = "ktimer";
module = "kdeutils";
version = "0.6";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 ];
meta = {
description = "KDE Wallet (password storage) management tool";
kde = {
name = "kwallet";
module = "kdeutils";
version = "1.6";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4, shared_mime_info, qca2 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 shared_mime_info qca2 ];
meta = {
description = "KDE byte editor";
kde = {
name = "okteta";
module = "kdeutils";
version = "0.5.0";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,21 @@
{ kde, cmake, kdelibs, qt4, perl, automoc4
, python, sip, pyqt4, pycups, rhpl, system_config_printer, kdebindings,
pythonDBus, makeWrapper }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 python sip pyqt4 pycups rhpl
system_config_printer kdebindings makeWrapper pythonDBus ];
postInstall="wrapProgram $out/bin/printer-applet --set PYTHONPATH $PYTHONPATH";
meta = {
description = "KDE printer applet";
longDescription = "Applet to view current print jobs and configure new printers";
kde = {
name = "printer-applet";
module = "kdeutils";
version = "1.5";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,17 @@
{ kde, cmake, perl, kdelibs, qt4, automoc4, qimageblitz, python }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 qimageblitz python ];
cmakeFlags = "-DBUILD_icons=TRUE -DBULD_plasma=TRUE";
meta = {
description = "A KDE Eye-candy Application";
kde = {
name = "superkaramba";
module = "kdeutils";
version = "0.55";
release = "4.5.0";
};
};
}

View File

@ -0,0 +1,15 @@
{ kde, cmake, perl, kdelibs, qt4, automoc4 }:
kde.package {
buildInputs = [ cmake qt4 perl kdelibs automoc4 ];
meta = {
description = "Helps clean unwanted traces the user leaves on the system";
kde = {
name = "sweeper";
module = "kdeutils";
version = "1.5";
release = "4.5.0";
};
};
}

View File

@ -1,14 +1,16 @@
{ kdePackage, cmake, qt4, perl, libxml2, libxslt, boost
{ kde, cmake, qt4, perl, libxml2, libxslt, boost
, kdelibs, kdepimlibs, automoc4, ruby, htmlTidy, zlib }:
kdePackage {
pn = "kdewebdev";
v = "4.5.0";
kde.package {
buildInputs = [ cmake qt4 perl libxml2 libxslt boost kdelibs kdepimlibs
automoc4 htmlTidy ruby zlib ];
meta = {
description = "KDE Web development utilities";
license = "GPL";
kde = {
name = "kdewebdev";
version = "4.5.0";
};
};
}