mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
svn merge ^/nixpkgs/trunk
A few trivial conflicts svn path=/nixpkgs/branches/stdenv-updates/; revision=31434
This commit is contained in:
commit
9ee0a9df9b
32
maintainers/scripts/debian-patches.sh
Executable file
32
maintainers/scripts/debian-patches.sh
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Download patches from debian project
|
||||
# Usage $0 debian-patches.txt debian-patches.nix
|
||||
# An example input and output files can be found in applications/graphics/xara/
|
||||
|
||||
DEB_URL=http://patch-tracker.debian.org/patch/series/dl
|
||||
declare -a deb_patches
|
||||
mapfile -t deb_patches < $1
|
||||
|
||||
prefix="${DEB_URL}/${deb_patches[0]}"
|
||||
|
||||
if [[ -n "$2" ]]; then
|
||||
exec 1> $2
|
||||
fi
|
||||
|
||||
cat <<EOF
|
||||
# Generated by $(basename $0) from $(basename $1)
|
||||
let
|
||||
prefix = "${prefix}";
|
||||
in
|
||||
[
|
||||
EOF
|
||||
for ((i=1;i < ${#deb_patches[@]}; ++i)); do
|
||||
url="${prefix}/${deb_patches[$i]}"
|
||||
sha256=$(nix-prefetch-url $url)
|
||||
echo " {"
|
||||
echo " url = \"\${prefix}/${deb_patches[$i]}\";"
|
||||
echo " sha256 = \"$sha256\";"
|
||||
echo " }"
|
||||
done
|
||||
echo "]"
|
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "prefix=$(out)" "verbose=yes" ];
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = makeFlags ++ [ "CC=${stdenv.cross.config}-gcc" "STRIP="];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Image viewing and manipulation programs";
|
||||
};
|
||||
|
@ -2,11 +2,9 @@ source $stdenv/setup
|
||||
|
||||
patchPhase=patchPhase
|
||||
patchPhase() {
|
||||
sed -e "s@-ljpeg6b@-ljpeg@" configure > configure.patched
|
||||
mv configure.patched configure
|
||||
chmod u+x configure
|
||||
sed -e "s@-ljpeg6b@-ljpeg@" -i configure
|
||||
}
|
||||
|
||||
genericBuild
|
||||
|
||||
ln -s $KDEDIR/share/mimelnk $out/share
|
||||
ln -sv $KDEDIR/share/mimelnk $out/share
|
||||
|
@ -1,23 +1,14 @@
|
||||
{stdenv, fetchurl, libX11, libXext, libSM, kdelibs, qt, libjpeg, libungif, libpng, libtiff, imlib, arts, expat, perl}:
|
||||
{ stdenv, fetchurl, kdelibs, imlib, cmake, pkgconfig, gettext }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kuickshow-0.8.5";
|
||||
builder = ./builder.sh;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kuickshow-0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/kuickshow/kuickshow-0.8.5.tgz;
|
||||
md5 = "7a95852a0670b18859a1e6789b256ebd";
|
||||
url = "http://hosti.leonde.de/~gis/${name}.tar.bz2";
|
||||
sha256 = "0l488a6p0ligbhv6p1lnx5k2d00x9bkkvms30winifa8rmisa9wl";
|
||||
};
|
||||
|
||||
configureFlags = "
|
||||
--with-imlib-config=${imlib}/bin
|
||||
--with-extra-includes=${libjpeg}/include
|
||||
--with-extra-libs=${libjpeg}/lib
|
||||
--x-includes=${libX11}/include
|
||||
--x-libraries=${libX11}/lib";
|
||||
buildInputs = [ kdelibs imlib ];
|
||||
|
||||
buildInputs = [kdelibs libX11 libXext libSM qt libjpeg libungif libpng libtiff imlib arts expat perl];
|
||||
inherit libjpeg;
|
||||
|
||||
KDEDIR = kdelibs;
|
||||
buildNativeInputs = [ cmake gettext pkgconfig ];
|
||||
}
|
||||
|
30
pkgs/applications/graphics/xara/debian-patches.nix
Normal file
30
pkgs/applications/graphics/xara/debian-patches.nix
Normal file
@ -0,0 +1,30 @@
|
||||
# Generated by debian-patches.sh from debian-patches.txt
|
||||
let
|
||||
prefix = "http://patch-tracker.debian.org/patch/series/dl/xaralx/0.7r1785-5";
|
||||
in
|
||||
[
|
||||
{
|
||||
url = "${prefix}/30_gtk_wxwidgets_symbol_clash";
|
||||
sha256 = "1rc9dh9mnp93mad96dkp7idyhhcw7h6w0g5s92mqgzj79hqgaziz";
|
||||
}
|
||||
{
|
||||
url = "${prefix}/40_algorithm_include";
|
||||
sha256 = "03jhl1qnxj7nl8malf6v1y24aldfz87x1p2jxp04mrr35nzvyyc0";
|
||||
}
|
||||
{
|
||||
url = "${prefix}/50_update_imagemagick_version_parser";
|
||||
sha256 = "1nilsqghlr649sc14n1aqkhdx7f66rq91gqccdpi17jwijs27497";
|
||||
}
|
||||
{
|
||||
url = "${prefix}/remove-icon-suffix";
|
||||
sha256 = "160zmkgwlsanqivnip89558yvd9zvqp8ks2wbyr2aigl2rafin22";
|
||||
}
|
||||
{
|
||||
url = "${prefix}/45_fix_gcc4";
|
||||
sha256 = "06zsj0z9v5n557gj8337v6xd26clbvm4dc0qhvpvzbisq81l9jyi";
|
||||
}
|
||||
{
|
||||
url = "${prefix}/55_fix_contstuctor_call";
|
||||
sha256 = "0b14glrcwhv0ja960h56n5jm4f9563ladap2pgaywihq485ql1c1";
|
||||
}
|
||||
]
|
7
pkgs/applications/graphics/xara/debian-patches.txt
Normal file
7
pkgs/applications/graphics/xara/debian-patches.txt
Normal file
@ -0,0 +1,7 @@
|
||||
xaralx/0.7r1785-5
|
||||
30_gtk_wxwidgets_symbol_clash
|
||||
40_algorithm_include
|
||||
50_update_imagemagick_version_parser
|
||||
remove-icon-suffix
|
||||
45_fix_gcc4
|
||||
55_fix_contstuctor_call
|
@ -1,35 +1,20 @@
|
||||
{stdenv, fetchurl, autoconf, automake, gettext, libtool, cvs, wxGTK, gtk,
|
||||
pkgconfig, libxml2, zip, libpng, libjpeg, shebangfix, perl, freetype}:
|
||||
{stdenv, fetchurl, automake, gettext, freetype, libxml2, pango, pkgconfig
|
||||
, wxGTK, gtk, perl, zip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xaralx-0.7r1766";
|
||||
name = "xaralx-0.7r1785";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://downloads2.xara.com/opensource/XaraLX-0.7r1766.tar.bz2;
|
||||
sha256 = "1rcl7hqvcai586jky7hvzxhnq8q0ka2rsmgiq5ijwclgr5d4ah7n";
|
||||
url = http://downloads2.xara.com/opensource/XaraLX-0.7r1785.tar.bz2;
|
||||
sha256 = "05xbzq1i1vw2mdsv7zjqfpxfv3g1j0g5kks0gq6sh373xd6y8lyh";
|
||||
};
|
||||
|
||||
buildInputs = [automake autoconf gettext libtool cvs wxGTK gtk pkgconfig libxml2 zip libpng libjpeg shebangfix perl];
|
||||
buildNativeInputs = [ automake pkgconfig gettext perl zip ];
|
||||
buildInputs = [ wxGTK gtk libxml2 freetype pango ];
|
||||
|
||||
inherit freetype libpng libjpeg libxml2;
|
||||
configureFlags = "--with-wx-config --disable-svnversion --disable-international";
|
||||
configureFlags = "--disable-svnversion";
|
||||
|
||||
patches = [./gtk_cflags.patch];
|
||||
patches = map fetchurl (import ./debian-patches.nix);
|
||||
|
||||
# Why do I need to add library path for freetype ?
|
||||
installPhase = "
|
||||
make install
|
||||
ensureDir \$out/lib
|
||||
mv \$out/{bin,lib}/XaraLX
|
||||
cat >> \$out/bin/XaraLX << EOF
|
||||
#!/bin/sh
|
||||
LD_LIBRARY_PATH=\$freetype/lib:\$libpng/lib:\$libjpeg/lib:\$libxml2/lib:
|
||||
\$out/lib/XaraLX \"\\$@\"
|
||||
EOF
|
||||
chmod +x \$out/bin/XaraLX
|
||||
";
|
||||
|
||||
patchPhase = "
|
||||
find . -iname \"*.pl\" | xargs shebangfix;
|
||||
unset patchPhase; patchPhase
|
||||
";
|
||||
prePatch = "patchShebangs Scripts";
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff -rc XaraLX-0.7r1766/Makefile.in XaraLX-0.7r1766.new/Makefile.in
|
||||
*** XaraLX-0.7r1766/Makefile.in 2007-01-31 13:43:04.000000000 +0100
|
||||
--- XaraLX-0.7r1766.new/Makefile.in 2007-05-15 00:19:36.000000000 +0200
|
||||
***************
|
||||
*** 256,262 ****
|
||||
@DARWIN_LINK_TRUE@XaraLX_SOURCES = Kernel/*.o wxOil/*.o tools/*.o wxXtra/*.o
|
||||
@DARWIN_LINK_FALSE@XaraLX_LDSOURCE = -Wl,--start-group $(XaraLX_SOURCES) -Wl,--end-group
|
||||
@DARWIN_LINK_TRUE@XaraLX_LDSOURCE = $(XaraLX_SOURCES)
|
||||
! XaraLX_LDFLAGS = --debug -L$(srcdir)/$(CDRAW_LIB_DIR) $(WX_LIBS) $(LIBS) $(LIBXML2_LIBS) -lCDraw
|
||||
UNZIP = unzip
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
all: all-recursive
|
||||
--- 256,262 ----
|
||||
@DARWIN_LINK_TRUE@XaraLX_SOURCES = Kernel/*.o wxOil/*.o tools/*.o wxXtra/*.o
|
||||
@DARWIN_LINK_FALSE@XaraLX_LDSOURCE = -Wl,--start-group $(XaraLX_SOURCES) -Wl,--end-group
|
||||
@DARWIN_LINK_TRUE@XaraLX_LDSOURCE = $(XaraLX_SOURCES)
|
||||
! XaraLX_LDFLAGS = --debug -L$(srcdir)/$(CDRAW_LIB_DIR) $(GTK_LIBS) $(WX_LIBS) $(LIBS) $(LIBXML2_LIBS) -lCDraw
|
||||
UNZIP = unzip
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
all: all-recursive
|
@ -3,18 +3,16 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gphoto2-2.4.5";
|
||||
name = "gphoto2-2.4.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
|
||||
sha256 = "0bjbgz9n7ijf8167i1bm7q3pg366axgx5zydck13d2znhd30x069";
|
||||
sha256 = "0ah42b7rnqh0z8bb96z7cdycxdh5k19h6lmfc02kdhrhqdr3q81y";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig libgphoto2 libexif popt gettext libjpeg readline libtool];
|
||||
buildNativeInputs = [ pkgconfig gettext ];
|
||||
buildInputs = [ libgphoto2 libexif popt libjpeg readline libtool ];
|
||||
|
||||
# There is a bug in 2.4.0 configure.ac (in their m4 macroses)
|
||||
#patchPhase = "sed -e 's@_tmp=true@_tmp=false@' -i configure configure.ac";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gphoto.org/;
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
{stdenv, fetchurl,
|
||||
zlib, libpng, libjpeg, perl, expat, qt,
|
||||
zlib, libpng, libjpeg, perl, expat, qt3,
|
||||
libX11, libXext, libSM, libICE,
|
||||
withKde, kdelibs, kdebase
|
||||
}:
|
||||
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
--without-arts --disable-docs
|
||||
--x-includes=${libX11}/include
|
||||
--x-libraries=${libX11}/lib
|
||||
--with-qt-dir=${qt}
|
||||
--with-qt-dir=${qt3}
|
||||
--with-kde-support=${if withKde then "yes" else "no"} --with-ical-support=${if withKde then "yes" else "no"}
|
||||
";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ composableDerivation, fetchurl, lib, qt, openssl, autoconf, automake, pkgconfig }:
|
||||
{ composableDerivation, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
|
||||
|
||||
let inherit (composableDerivation) edf wwf; in
|
||||
|
||||
@ -11,7 +11,7 @@ composableDerivation.composableDerivation {} ( fixed : {
|
||||
};
|
||||
|
||||
# TODO zaptel ? postgres ?
|
||||
buildInputs = [ qt openssl autoconf automake pkgconfig ];
|
||||
buildInputs = [ qt4 openssl autoconf automake pkgconfig ];
|
||||
|
||||
# /dev/null is used when linking which is a impure path for the wrapper
|
||||
preConfigure =
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoconf, automake, libtool, qt, pkgconfig
|
||||
{ stdenv, fetchurl, autoconf, automake, libtool, qt3, pkgconfig
|
||||
, openssl, libpng, alsaLib, libX11, libXext, libXt, libICE
|
||||
, libSM }:
|
||||
|
||||
@ -6,12 +6,12 @@ stdenv.mkDerivation {
|
||||
name = "kphone-1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/kphone/files/KPhone%20SI/KPhoneSIv1.2/kphoneSI_1.2.tar.gz;
|
||||
url = mirror://sourceforge/kphone/kphoneSI_1.2.tar.gz;
|
||||
sha256 = "1q309n2gsdsa8d7ff2zwnyc69ngpnnj143dys90dnlmzr9ckhhg3";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ autoconf automake libtool qt pkgconfig openssl libpng alsaLib
|
||||
[ autoconf automake libtool qt3 pkgconfig openssl libpng alsaLib
|
||||
libX11 libXext libXt libICE libSM
|
||||
];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, perl, x11, libxml2, libjpeg, libpng, openssl, qt, dclib}:
|
||||
{stdenv, fetchurl, perl, x11, libxml2, libjpeg, libpng, openssl, qt3, dclib}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "valknut-0.3.7";
|
||||
@ -9,6 +9,6 @@ stdenv.mkDerivation {
|
||||
md5 = "848f9b3f25af15c3f1837133ac4b9415";
|
||||
};
|
||||
|
||||
buildInputs = [perl x11 libxml2 libjpeg libpng openssl qt dclib];
|
||||
buildInputs = [perl x11 libxml2 libjpeg libpng openssl qt3 dclib];
|
||||
inherit openssl;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, commoncpp2, ccrtp, openssl, boost
|
||||
, libsndfile, libxml2, libjpeg, readline, qt, perl, file
|
||||
, libsndfile, libxml2, libjpeg, readline, qt3, perl, file
|
||||
, alsaLib, speex, libzrtpcpp, xorg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig commoncpp2 ccrtp openssl boost libsndfile
|
||||
libxml2 libjpeg readline qt perl file
|
||||
libxml2 libjpeg readline qt3 perl file
|
||||
# optional ? :
|
||||
alsaLib
|
||||
speex libzrtpcpp xorg.libX11 xorg.libXaw xorg.libICE xorg.libXext
|
||||
|
@ -18,6 +18,10 @@ stdenv.mkDerivation {
|
||||
git texinfo
|
||||
];
|
||||
|
||||
CPPFLAGS = "-I${gmp}/include -I${mpfr}/include";
|
||||
|
||||
LDFLAGS = "-L${gmp}/lib -L${mpfr}/lib";
|
||||
|
||||
buildPhase = ''
|
||||
sed -i acprep \
|
||||
-e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|'
|
||||
@ -25,7 +29,9 @@ stdenv.mkDerivation {
|
||||
python acprep update --no-pch --prefix=$out
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://ledger-cli.org/";
|
||||
@ -39,7 +45,7 @@ stdenv.mkDerivation {
|
||||
their data, there really is no alternative.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ stdenv.mkDerivation {
|
||||
their data, there really is no alternative.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchsvn, stdenv, cmake, qt, mesa }:
|
||||
{ fetchsvn, stdenv, cmake, qt4, mesa }:
|
||||
|
||||
# ViTE 1.1 has several bugs, so use the SVN version.
|
||||
let
|
||||
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
|
||||
patches = [ ./larger-line-buffer.patch ];
|
||||
|
||||
buildInputs = [ cmake qt mesa ];
|
||||
buildInputs = [ cmake qt4 mesa ];
|
||||
|
||||
NIX_LDFLAGS = "-lGLU";
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
{ stdenv, fetchurl, which, qt3, x11, xlibs
|
||||
a@{ stdenv, fetchurl, which, qt3, x11, xlibs
|
||||
, lame, zlib, mesa, alsaLib
|
||||
, freetype, perl
|
||||
}:
|
||||
|
||||
assert qt3.mysqlSupport;
|
||||
let
|
||||
qt3 = a.qt3.override { mysqlSupport = true; };
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mythtv-0.21";
|
||||
|
19
pkgs/applications/virtualization/qemu/0.15.nix
Normal file
19
pkgs/applications/virtualization/qemu/0.15.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, python, zlib, pkgconfig, glib, SDL, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qemu-0.15.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://wiki.qemu.org/download/${name}.tar.gz";
|
||||
sha256 = "1fmm7l7hm0vsmahp41pgvbl62hh833k802brn6hg8kcfkd6v21bp";
|
||||
};
|
||||
|
||||
buildInputs = [ python zlib pkgconfig glib SDL ncurses ];
|
||||
|
||||
meta = {
|
||||
description = "QEmu processor emulator";
|
||||
license = "GPLv2+";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
17
pkgs/data/fonts/cantarell-fonts/default.nix
Normal file
17
pkgs/data/fonts/cantarell-fonts/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ stdenv, fetchurl, xz }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cantarell-fonts-0.0.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/cantarell-fonts/0.0/cantarell-fonts-0.0.7.tar.xz;
|
||||
sha256 = "1410ywvi951ngmx58g339phzsaf1rgjja6i0xvg49r4ds90zh8ba";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ xz ];
|
||||
|
||||
meta = {
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -50,6 +50,8 @@
|
||||
|
||||
gnome_vfs_monikers = callPackage ./platform/gnome-vfs-monikers { };
|
||||
|
||||
libgnome_keyring = callPackage ./platform/libgnome-keyring { };
|
||||
|
||||
libgnome = callPackage ./platform/libgnome { };
|
||||
|
||||
libgnomeui = callPackage ./platform/libgnomeui { };
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl_gnome, pkgconfig, libxml2, bzip2, openssl, samba, dbus_glib
|
||||
, glib, fam, hal, cdparanoia, intltool, GConf, gnome_mime_data}:
|
||||
, glib, fam, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
@ -12,9 +12,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig libxml2 bzip2 openssl samba dbus_glib fam cdparanoia
|
||||
intltool gnome_mime_data
|
||||
]
|
||||
++ (if stdenv.isLinux then [hal] else []);
|
||||
intltool gnome_mime_data avahi acl
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ GConf glib ];
|
||||
}
|
||||
|
18
pkgs/desktops/gnome-2/platform/libgnome-keyring/default.nix
Normal file
18
pkgs/desktops/gnome-2/platform/libgnome-keyring/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, glib, dbus_libs, libgcrypt, pkgconfig, xz,
|
||||
intltool }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libgnome-keyring-2.32.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/libgnome-keyring/2.32/libgnome-keyring-2.32.0.tar.bz2;
|
||||
sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib dbus_libs libgcrypt ];
|
||||
buildNativeInputs = [ pkgconfig xz intltool ];
|
||||
|
||||
meta = {
|
||||
inherit (glib.meta) platforms maintainers;
|
||||
};
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
## CORE
|
||||
core:NetworkManager:0.9.1.90:
|
||||
core:brasero:3.2.0:
|
||||
core:cantarell-fonts:0.0.6:
|
||||
core:caribou:0.4.0:
|
||||
core:clutter:1.8.0:
|
||||
core:clutter-gtk:1.0.4:
|
||||
core:cogl:1.8.0:
|
||||
core:dconf:0.10.0:
|
||||
core:empathy:3.2.0:
|
||||
core:eog:3.2.0:
|
||||
core:epiphany:3.2.0:
|
||||
core:evince:3.2.0:
|
||||
core:evolution-data-server:3.2.0:
|
||||
core:folks:0.6.3.2:
|
||||
core:gcalctool:6.2.0:
|
||||
core:gdm:3.2.0:
|
||||
core:gjs:1.30.0:
|
||||
core:glib-networking:2.30.0:
|
||||
core:gnome-backgrounds:3.2.0:
|
||||
core:gnome-bluetooth:3.2.0:
|
||||
core:gnome-contacts:3.2.0.1:
|
||||
core:gnome-control-center:3.2.0:
|
||||
core:gnome-desktop:3.2.0:
|
||||
core:gnome-disk-utility:3.0.2:
|
||||
core:gnome-doc-utils:0.20.6:
|
||||
core:gnome-icon-theme:3.2.0:
|
||||
core:gnome-icon-theme-extras:3.0.0:
|
||||
core:gnome-icon-theme-symbolic:3.2.0:
|
||||
core:gnome-keyring:3.2.0:
|
||||
core:gnome-menus:3.2.0:
|
||||
core:gnome-online-accounts:3.2.0.1:
|
||||
core:gnome-packagekit:3.2.0:
|
||||
core:gnome-panel:3.2.0:
|
||||
core:gnome-power-manager:3.2.0:
|
||||
core:gnome-screensaver:3.2.0:
|
||||
core:gnome-session:3.2.0:
|
||||
core:gnome-settings-daemon:3.2.0:
|
||||
core:gnome-shell:3.2.0:
|
||||
core:gnome-system-monitor:3.2.0:
|
||||
core:gnome-terminal:3.2.0:
|
||||
core:gnome-themes-standard:3.2.0.2:
|
||||
core:gnome-user-docs:3.2.0.1:
|
||||
core:gnome-user-share:3.0.0:
|
||||
core:gnome-utils:3.2.0:
|
||||
core:gnome-video-effects:0.3.0:
|
||||
core:gobject-introspection:1.30.0:
|
||||
core:gsettings-desktop-schemas:3.2.0:
|
||||
core:gst-plugins-base:0.10.35:
|
||||
core:gst-plugins-good:0.10.30:
|
||||
core:gstreamer:0.10.35:
|
||||
core:gtk+:2.24.6:
|
||||
core:gtk-doc:1.18:
|
||||
core:gtkmm:3.2.0:
|
||||
core:gucharmap:3.2.0:
|
||||
core:gvfs:1.10.0:
|
||||
core:libgnome-keyring:3.2.0:
|
||||
core:libgnomekbd:3.2.0:
|
||||
core:libgtop:2.28.4:
|
||||
core:libgweather:3.2.0:
|
||||
core:libpeas:1.2.0:
|
||||
core:librsvg:2.34.1:
|
||||
core:libsoup:2.36.0:
|
||||
core:libwnck:3.2.0:
|
||||
core:metacity:2.34.1:
|
||||
core:mm-common:0.9.5:
|
||||
core:mousetweaks:3.2.0:
|
||||
core:mutter:3.2.0:
|
||||
core:nautilus:3.2.0:
|
||||
core:network-manager-applet:0.9.1.90:
|
||||
core:notification-daemon:0.7.2:
|
||||
core:pangomm:2.28.3:
|
||||
core:polkit-gnome:0.103:
|
||||
core:sushi:0.2.0:
|
||||
core:totem-pl-parser:2.32.6:
|
||||
core:vino:3.2.0:
|
||||
core:vte:0.30.0:
|
||||
core:yelp:3.2.0:
|
||||
core:yelp-tools:3.2.0:
|
||||
core:yelp-xsl:3.2.0:
|
||||
core:zenity:3.2.0:
|
||||
|
||||
## APPS
|
||||
apps:accerciser:3.2.0:
|
||||
apps:aisleriot:3.2.0:
|
||||
apps:anjuta:3.2.0:
|
||||
apps:cheese:3.2.0:
|
||||
apps:devhelp:3.2.0:
|
||||
apps:evolution:3.2.0:
|
||||
apps:file-roller:3.2.0:
|
||||
apps:gedit:3.2.0:
|
||||
apps:glade:3.10.0:
|
||||
apps:gnome-color-manager:3.2.0:
|
||||
apps:gnome-devel-docs:3.2.0:
|
||||
apps:gnome-documents:0.2.0:
|
||||
apps:gnome-games:3.2.0:
|
||||
apps:gnome-nettool:3.0.0:
|
||||
apps:hamster-applet:2.91.2:
|
||||
apps:nautilus-sendto:3.0.1:
|
||||
apps:nemiver:0.9.0:
|
||||
apps:orca:3.2.0:
|
||||
apps:rygel:0.12.3:
|
||||
apps:seahorse:3.2.0:
|
||||
apps:totem:3.2.0:
|
||||
apps:vinagre:3.2.0:
|
||||
|
@ -1,12 +1,22 @@
|
||||
{ callPackage }:
|
||||
|
||||
{
|
||||
clutter = callPackage ./platform/clutter.nix { };
|
||||
|
||||
cogl = callPackage ../../development/libraries/cogl { };
|
||||
|
||||
# Ensure that we use dbus-glib built with gtkLibs3x.glib
|
||||
dbus_glib = callPackage ../../development/libraries/dbus-glib { };
|
||||
|
||||
glib_networking = callPackage ./platform/glib-networking.nix {};
|
||||
glib_networking = callPackage ./platform/glib-networking.nix { };
|
||||
|
||||
libgnome_keyring = callPackage ./platform/libgnome-keyring.nix { };
|
||||
|
||||
libsoup = callPackage ./platform/libsoup.nix { };
|
||||
|
||||
gsettings_desktop_schemas = callPackage ./platform/gsettings-desktop-schemas.nix {};
|
||||
|
||||
GConf = callPackage ./platform/GConf.nix { };
|
||||
|
||||
gnome_user_docs = callPackage ./platform/gnome-user-docs.nix { };
|
||||
}
|
||||
|
@ -13,4 +13,11 @@ stdenv.mkDerivation rec {
|
||||
buildNativeInputs = [ pkgconfig xz intltool ];
|
||||
|
||||
configureFlags = "--disable-orbit";
|
||||
|
||||
meta = {
|
||||
homepage = http://projects.gnome.org/gconf/;
|
||||
description = "A system for storing application preferences";
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
inherit (gtk.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
24
pkgs/desktops/gnome-3/platform/clutter.nix
Normal file
24
pkgs/desktops/gnome-3/platform/clutter.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, glib, xz, pkgconfig, mesa, libX11, libXext, libXfixes
|
||||
, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "clutter-1.8.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/clutter/1.8/clutter-1.8.2.tar.xz;
|
||||
sha256 = "0bzsvnharawfg525lpavrp55mq4aih5nb01dwwqwnccg8hk9z2fw";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ xz pkgconfig ];
|
||||
buildInputs =
|
||||
[ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
||||
atk json_glib
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.clutter-project.org/;
|
||||
description = "An open source software library for creating fast, compelling, portable, and dynamic graphical user interfaces";
|
||||
platforms = stdenv.lib.platforms.mesaPlatforms;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, glib, xz, pkgconfig, intltool, gnutls, libgcrypt
|
||||
, gsettings_desktop_schemas }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
name = "glib-networking-2.30.2";
|
||||
|
||||
src = fetchurl {
|
||||
@ -18,5 +18,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
TODO = "Look at `--without-ca-certificates` again";
|
||||
inherit (glib.meta) platforms maintainers;
|
||||
};
|
||||
}
|
||||
|
12
pkgs/desktops/gnome-3/platform/gnome-user-docs.nix
Normal file
12
pkgs/desktops/gnome-3/platform/gnome-user-docs.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ stdenv, fetchurl, xz, itstool, libxml2, gettext }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnome-user-docs-3.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-user-docs/3.2/gnome-user-docs-3.2.2.tar.xz;
|
||||
sha256 = "1ka0nw2kc85p10y8x31v0wv06a88k7qrgafp4ys04y9fzz0rkcjj";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ xz itstool libxml2 gettext ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, xz, glib, pkgconfig, intltool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
name = "gsettings-desktop-schemas-3.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
@ -10,4 +10,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ glib ];
|
||||
buildNativeInputs = [ pkgconfig xz intltool ];
|
||||
|
||||
meta = {
|
||||
inherit (glib.meta) maintainers platforms;
|
||||
};
|
||||
}
|
||||
|
18
pkgs/desktops/gnome-3/platform/libgnome-keyring.nix
Normal file
18
pkgs/desktops/gnome-3/platform/libgnome-keyring.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, glib, dbus_libs, libgcrypt, pkgconfig, xz,
|
||||
intltool }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libgnome-keyring-3.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/libgnome-keyring/3.2/libgnome-keyring-3.2.2.tar.xz;
|
||||
sha256 = "1cxd2vb1lzm8smq1q45dsn13s6kdqdb60lashdk7hwv035xy9jrb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib dbus_libs libgcrypt ];
|
||||
buildNativeInputs = [ pkgconfig xz intltool ];
|
||||
|
||||
meta = {
|
||||
inherit (glib.meta) platforms maintainers;
|
||||
};
|
||||
}
|
24
pkgs/desktops/gnome-3/platform/libsoup.nix
Normal file
24
pkgs/desktops/gnome-3/platform/libsoup.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, glib, libxml2, pkgconfig, xz
|
||||
, gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libsoup-2.36.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/libsoup/2.36/libsoup-2.36.1.tar.xz;
|
||||
sha256 = "0r8zkr0a328jkww4dv9z1q691rw59nh4lf5f5pzzr9szzw3j8wkk";
|
||||
};
|
||||
|
||||
|
||||
buildNativeInputs = [ pkgconfig xz ];
|
||||
propagatedBuildInputs = [ glib libxml2 ]
|
||||
++ stdenv.lib.optionals gnomeSupport [ libgnome_keyring sqlite ];
|
||||
passthru.propagatedUserEnvPackages = [ glib_networking ];
|
||||
|
||||
# glib_networking is a runtime dependency, not a compile-time dependency
|
||||
configureFlags = "--disable-tls-check";
|
||||
|
||||
meta = {
|
||||
inherit (glib.meta) maintainers platforms;
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, xlibs, zlib, perl, qt, openssl, pcre
|
||||
{ stdenv, fetchurl, xlibs, zlib, perl, qt3, openssl, pcre
|
||||
, pkgconfig, libjpeg, libpng, libtiff, libxml2, libxslt, libtool, expat
|
||||
, freetype, bzip2, cups, attr, acl
|
||||
}:
|
||||
@ -22,10 +22,10 @@ stdenv.mkDerivation {
|
||||
./kdelibs-3.5.10-openssl_1.0.0.patch
|
||||
];
|
||||
|
||||
passthru = {inherit openssl libjpeg qt; inherit (xlibs) libX11;};
|
||||
passthru = {inherit openssl libjpeg qt3; inherit (xlibs) libX11;};
|
||||
|
||||
buildInputs = [
|
||||
zlib perl qt openssl pcre pkgconfig libjpeg libpng libtiff libxml2
|
||||
zlib perl qt3 openssl pcre pkgconfig libjpeg libpng libtiff libxml2
|
||||
libxslt expat libtool freetype bzip2 cups
|
||||
xlibs.libX11 xlibs.libXt xlibs.libXext xlibs.libXrender xlibs.libXft
|
||||
];
|
||||
|
56
pkgs/desktops/kde-4.8/default.nix
Normal file
56
pkgs/desktops/kde-4.8/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ callPackage, callPackageOrig, stdenv, qt48 }:
|
||||
|
||||
let
|
||||
release = "4.7.97";
|
||||
|
||||
# Need callPackageOrig to avoid infinite cycle
|
||||
kde = callPackageOrig ./kde-package {
|
||||
inherit release ignoreList extraSubpkgs callPackage;
|
||||
};
|
||||
|
||||
# The list of igored individual modules
|
||||
ignoreList = {
|
||||
# kdeadmin/strigi-analyzer has no real code
|
||||
kdeadmin = [ "strigi-analyzer" ];
|
||||
# kdesdk/kioslave is splitted into kioslave-svn and kioslave-git
|
||||
kdesdk = [ "kioslave" ];
|
||||
# Most of kdebindings do not compile due to a bug in the buildsystem
|
||||
kdebindings = [ "kimono" "korundum" "kross-interpreters" "perlkde" "perlqt"
|
||||
"qtruby" "qyoto" "smokekde" ];
|
||||
};
|
||||
|
||||
# Extra subpackages in the manifest format
|
||||
extraSubpkgs = {
|
||||
kdesdk =
|
||||
[
|
||||
{
|
||||
name = "kioslave-svn";
|
||||
sane = "kioslave_svn";
|
||||
subdir = "kioslave";
|
||||
}
|
||||
{
|
||||
name = "kioslave-perldoc";
|
||||
sane = "kioslave_perldoc";
|
||||
subdir = "kioslave";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
kde.modules // kde.individual //
|
||||
{
|
||||
inherit (kde) manifest modules individual splittedModuleList;
|
||||
|
||||
akonadi = callPackage ./support/akonadi { };
|
||||
|
||||
qt4 = qt48;
|
||||
|
||||
kdebase_workspace = kde.modules.kde_workspace;
|
||||
|
||||
inherit release;
|
||||
|
||||
full = stdenv.lib.attrValues kde.modules;
|
||||
|
||||
l10n = callPackage ./l10n { inherit release; };
|
||||
}
|
12
pkgs/desktops/kde-4.8/files/polkit-install.patch
Normal file
12
pkgs/desktops/kde-4.8/files/polkit-install.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru -x '*~' kdelibs-4.6.90-orig/kdecore/auth/ConfigureChecks.cmake kdelibs-4.6.90/kdecore/auth/ConfigureChecks.cmake
|
||||
--- kdelibs-4.6.90-orig/kdecore/auth/ConfigureChecks.cmake 2011-05-20 22:24:54.000000000 +0200
|
||||
+++ kdelibs-4.6.90/kdecore/auth/ConfigureChecks.cmake 2011-07-12 14:03:00.000000000 +0200
|
||||
@@ -139,7 +139,7 @@
|
||||
${CMAKE_INSTALL_PREFIX} _KDE4_AUTH_POLICY_FILES_INSTALL_DIR
|
||||
${POLKITQT-1_POLICY_FILES_INSTALL_DIR})
|
||||
|
||||
- set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR ${_KDE4_AUTH_POLICY_FILES_INSTALL_DIR} CACHE STRING
|
||||
+ set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR "\${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions" CACHE STRING
|
||||
"Where policy files generated by KAuth will be installed" FORCE)
|
||||
elseif(KDE4_AUTH_BACKEND_NAME STREQUAL "FAKE")
|
||||
set (KAUTH_COMPILING_FAKE_BACKEND TRUE)
|
9
pkgs/desktops/kde-4.8/kactivities.nix
Normal file
9
pkgs/desktops/kde-4.8/kactivities.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
propagatedBuildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "KDE activities library and daemon";
|
||||
};
|
||||
}
|
10
pkgs/desktops/kde-4.8/kde-baseapps/kate.nix
Normal file
10
pkgs/desktops/kde-4.8/kde-baseapps/kate.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Kate, the KDE Advanced Text Editor, as well as KWrite";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
10
pkgs/desktops/kde-4.8/kde-baseapps/kde-baseapps.nix
Normal file
10
pkgs/desktops/kde-4.8/kde-baseapps/kde-baseapps.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ kde, kdelibs, shared_desktop_ontologies, glib, htmlTidy }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs shared_desktop_ontologies glib htmlTidy ];
|
||||
|
||||
meta = {
|
||||
description = "Base KDE applications, including the Dolphin file manager and Konqueror web browser";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.8/kde-baseapps/konsole.nix
Normal file
11
pkgs/desktops/kde-4.8/kde-baseapps/konsole.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Konsole, the KDE terminal emulator";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
300
pkgs/desktops/kde-4.8/kde-package/4.7.97.nix
Normal file
300
pkgs/desktops/kde-4.8/kde-package/4.7.97.nix
Normal file
@ -0,0 +1,300 @@
|
||||
{stable=false;
|
||||
hashes=builtins.listToAttrs[
|
||||
{name="analitza";value="1xxhzqdcjinxyh9w24bn77qnxxp85rb7c50ad7ssb0wv4x9n62k9";}
|
||||
{name="ark";value="0wagf0nws8mslz12gj38bp4rckw67qgfljigmiwlbq8nd1xl8j7g";}
|
||||
{name="blinken";value="1w6jrmnaq04pnfvqmi7jwcanag0rrj7n3zlcmv1sp0lw4wp1ymwi";}
|
||||
{name="cantor";value="088b2aj4bp8w8vk02v9sbm5mpfhvgbnw8pjdcn2gm3m14s93w0h5";}
|
||||
{name="filelight";value="16y7v1m4ypjmlbih05i0r3k0s9av77jxq3v9g6vq6ikh98m9fcgf";}
|
||||
{name="gwenview";value="05hxanwh7irj15riix8z2j50p295y73qaxgr82km093k9a0d1fkp";}
|
||||
{name="jovie";value="1sv6aiy8d2ks1dbad5wjrq1w8vza87b09fqaspkkcbi0r1kdh4za";}
|
||||
{name="kaccessible";value="1cr1b9fmf5qmh640q5h0h8phz9rrmqszrwhwrfzsmd7nxsl1y27v";}
|
||||
{name="kactivities";value="0gyprn0mrh3swfjaxmvrbgyj81jx4qp8c0r8ym6dl1fsxri3p92a";}
|
||||
{name="kalgebra";value="0fy6bimaycrbj5wy0422iybxw29cc0jl0683rx7r90vdyaf85jdp";}
|
||||
{name="kalzium";value="149mmwz37akr3dzpin8s6hyyvp9dk5m3ijax80nc4z7sf7ciipqk";}
|
||||
{name="kamera";value="1y6vykyvzmlm4zikcd74qjirqmygj0w6h1ra8whcgp3mwzfbybhq";}
|
||||
{name="kanagram";value="18ccq0bpqj0kk7b36i1bxywcw6jpa6g136kd8lpd6ppy8fn9mfb0";}
|
||||
{name="kate";value="13iwdhsghn7n80vl8cvsx3095algw9z8q1pcabcfiwkffkzdpcd2";}
|
||||
{name="kbruch";value="178vc3nbqwbprw7ksdnbxxp1kibp74a8wmdkp6avhl9l694fwlyb";}
|
||||
{name="kcalc";value="1llr012q5li9da1d4dlx0fsi1bvbl3w65213i78c5pwrq9w4l5cn";}
|
||||
{name="kcharselect";value="14mw7rc0ghd1g7s40v7irkwmfs0k8xqhwka1s33k8y7lnan5gic7";}
|
||||
{name="kcolorchooser";value="1x8c71d4vq8wl693wkjlbbalzn2nfa2rkimblyvv8779193bpvng";}
|
||||
{name="kdeadmin";value="0h1bmrd6yz7qnpi2b76mqjdbrvchmb7wsw5a04pgs2cii0fgzpw1";}
|
||||
{name="kdeartwork";value="01v1cmlscr4nixphad8j09xf6vh99y8924cf0x0vazxrqg23b792";}
|
||||
{name="kde-baseapps";value="17g902kswan3qcfaig1zb2xdip59z9p199zingc4wjm3sr2bjd6j";}
|
||||
{name="kde-base-artwork";value="1rxfrcq5c70dvrgisn5zd8lnj3q36ic5w6lp25yd23zyb89ybdff";}
|
||||
{name="kdegames";value="0r3sijgsb40b9jp4imrx50l1pn8yxv7qkj80pyz3ad0q73hn7lyr";}
|
||||
{name="kdegraphics-strigi-analyzer";value="1zw679b3s24aa2q771d1qxm70v081b7wasv9p4cla2a6kkicfzxq";}
|
||||
{name="kdegraphics-thumbnailers";value="1xwnk1fkmysfz1kidabb72cafn15nr36yazpb4na1byzvwdyzlwy";}
|
||||
{name="kdelibs";value="1mf29b8vyp9h9pi0bm17hkmscnmq1if14p9p18prc3ssnvyljjy3";}
|
||||
{name="kdemultimedia";value="1115xgm197wx8m7cqmwsfaq8plrs6ksvrb7bsxqcghslsd9af9m2";}
|
||||
{name="kdenetwork";value="0fhclhwpw8kjvzb577bl6hhcpa9i4qlyxhkflifslkfq1015h3r3";}
|
||||
{name="kdepim";value="19hcv3plzypnivi7ki9h477l152y5hhk0zr03gas9xggwl8hyw0w";}
|
||||
{name="kdepimlibs";value="0c05vjld2hbg08cnjqdc3cbwviakhxc6f9qlxlqh2yy8idmd3gkq";}
|
||||
{name="kdepim-runtime";value="05c9siwb5gv0b1dsqfabalmgkpgklly6bxlfvk9gl9v9dxnsjlb4";}
|
||||
{name="kdeplasma-addons";value="056bkr7794kv5qy51l3cip1xp69h67ps4m47g9scykr8qsknvkjy";}
|
||||
{name="kde-runtime";value="1g04wvjsnqxr187mv59hb2f1hsfyh7x8qyypqhc0r09b9z8ri41q";}
|
||||
{name="kdesdk";value="0cn4hlxfmk9rfy1n2m064wcgjlxfx1lrfvkw0dwvfabyhqipcidi";}
|
||||
{name="kdetoys";value="043wqxqsj36c0nwsl1qlzkdpkxn2q0pf9mgj35zrmzn9kvsrfxc7";}
|
||||
{name="kde-wallpapers";value="1i2l5h0z3bj5kfagdvzi0f1rrv4a1yq0kn23ggdvv6gi1gj5mbrp";}
|
||||
{name="kdewebdev";value="0wycx5m9ir7k0nrl8jyir0c1cai6wg4i07ffrvwg0mwv083v562q";}
|
||||
{name="kde-workspace";value="058rm45cxj28m5z6afih9v4f5ingj9nhq4ab0ccs2gpk7arphdyr";}
|
||||
{name="kdf";value="0fx2basl17qlx2a8mmlk7hcdvb8vg2pnqazgxf0fpy0m8kn3f9c0";}
|
||||
{name="kfloppy";value="0617i1c64lyxkj2zl3p0m9wgb1c1ay43miiyapfbw5sbqnjclrpl";}
|
||||
{name="kgamma";value="17zhsr0q75q48qn46gg8j2ddpggcg8r2xz7r2rd94w3nkvb61lar";}
|
||||
{name="kgeography";value="13gbpkpiwlp5ccb4nslskgs6gdyg2gy1qn35xwjzg7dh5yy4knwz";}
|
||||
{name="kgpg";value="0yrqvhw3k9r2mpximk3fg5qng6hsr2n6ahy48cl8a27rrjy9awnd";}
|
||||
{name="khangman";value="0gbdj78bdh2m7sfbj0x8vzi13mnad6fv3ymdk80xlll34vrd0jpr";}
|
||||
{name="kig";value="0ypb4vvc4igjl1j7krzp6q7rdd7b4459aa4px6d8ajlyq3g8xv94";}
|
||||
{name="kimono";value="1a31n5gr05z546f7rjhcykgpp6nkz6j13s83h9ag8m9xf7nrqbcf";}
|
||||
{name="kiten";value="0c0s6haqhwgmj2lc2qjsirjfsbpkffs1v7dgampjy1zkf4harass";}
|
||||
{name="klettres";value="04w23p53kdqkp455795pgghw05njarkdsd0rnb5j6cvf1bgasycn";}
|
||||
{name="kmag";value="037fcpflw1rf6084qxp6ipfrbqqr7a3sd746mhmhbvmmdia0s0df";}
|
||||
{name="kmousetool";value="0fbms2sqz60p4vnjzplmnw6fkizpzky5vcdm3x3l66ijfsagnwzh";}
|
||||
{name="kmouth";value="03vpf0ly044dqjass5qvq9xgp99bizs45cz7lzfhlq8rx4zknjnn";}
|
||||
{name="kmplot";value="14anq2mgd0jb8p82si6i4ggy2gp9w2shlvi1mxamksf9bxcy7ivs";}
|
||||
{name="kolourpaint";value="0x74df72rw0zn7pishca9qjajg2jw551rvz5q4yllk31x96xfq8v";}
|
||||
{name="konsole";value="15w1lj0vaga7fpxv08pkg7wnn9hx8dgdrymk1hxq0ipylwz2clzj";}
|
||||
{name="korundum";value="1hlr5w2nk1qnm7xbgml4abbm4mskipabk46m31f7lyniaf5nh4py";}
|
||||
{name="kremotecontrol";value="1wwwwa9fxdpdy8zz9sbcnja94pmqhl2jcaqikd18saqc0mrk331j";}
|
||||
{name="kross-interpreters";value="1hwwmg5l912ahb1bw03zjg3rlycz6lmwnbr8bssrlp6mfq9by8xx";}
|
||||
{name="kruler";value="10c3l0nxr0v1x1hxmvryj8hw2q7anmi75610m2spbzh5n0qrhzky";}
|
||||
{name="ksaneplugin";value="1by1mxilyf5nv6a12pv31fb01q1mflnzr0dfshk2fr0i927m6rxw";}
|
||||
{name="ksecrets";value="15rad9gwhbwan51qljhdcry0r5lnf6mrin524q8b5djdhk9w2h3v";}
|
||||
{name="ksnapshot";value="08asqkxxzk3y5lyahygksdjvsy6a65x3jp2j5pnbgpf1yd91wl0l";}
|
||||
{name="kstars";value="079f315sr2wcjawx73wlkc9nq9nnrj83d8l59jqiy3nmzsspjmjb";}
|
||||
{name="ktimer";value="1s2ymf6kn5hhhqhs9nnqfsfgsy137yk2ais3hpija5mz4a85w0zr";}
|
||||
{name="ktouch";value="0434s9d1i3nw2slxz74v66c84mzlpm7jlfz666w1h5nm8870d3r6";}
|
||||
{name="kturtle";value="0wivxlf9wprd0baq8y9ygybc77bl82gq7wmyx3zaf7jr9nifish9";}
|
||||
{name="kwallet";value="1227s24qs7s4ic2dwk7kw7rcw8lgq2k2vzgbjkmydk3d9wjzk6nw";}
|
||||
{name="kwordquiz";value="0hc8bf0m24m6mnv7vk74sz7cjw1rc8wshy76wvp671hjxmajprdm";}
|
||||
{name="libkdcraw";value="1j3x5fbi594yjhmwx1gzar45yjh0qazzx58bq6xh0zb7xlc47wfg";}
|
||||
{name="libkdeedu";value="11v81ba5y9p5zmx51d5w5lgr6d32bahclx82mxzyb5zypzc7kb4s";}
|
||||
{name="libkexiv2";value="09mwd2vzqkxd3n7rwq5xf5bjqgzjnw5mdzz9svx3bppvcsc74xj6";}
|
||||
{name="libkipi";value="1317zrrjgx04pnq7xqg2qk3bzpr1fikkivqwf133b89h1ksdqdwd";}
|
||||
{name="libksane";value="0fi2iigcliild4d4gzxy3n7lz41vkwwxsychn0knjvlbgs4ykjfh";}
|
||||
{name="marble";value="0qifpsn6z22akngxi0hjslp5qh4avr217234z1aq6h7s5wql1f0x";}
|
||||
{name="mobipocket";value="02k0k306mcnd2c41sa5hr76lm5asd4qqp7x2zy7ksqyfds5n97fs";}
|
||||
{name="okular";value="04v2qdjn1mgc1n7fq17r7z2cb7zlc7bkvm6y2cqqllk70f4s4kmh";}
|
||||
{name="oxygen-icons";value="1vgdp7lxbkm9a43x0y1q1446qi57c7r1nik5a89lakyqjha6c0yk";}
|
||||
{name="parley";value="1gr941sixbjpl410qks25dpwgp81sjg6f18196p2a629aqk3ghw6";}
|
||||
{name="perlkde";value="02jq01bf5wszc8i9mnfgzmx8385if3lxyj0nj65k22hv6s6y7jic";}
|
||||
{name="perlqt";value="0zzmlr7hp8bvrsr2k6z2xrhb33vryvvxhk0a8aiwii0d84qfws8r";}
|
||||
{name="printer-applet";value="19z5zrypvdbvn207ygbsz418w8gan43lhs55hhk8gyjks0kbks9v";}
|
||||
{name="pykde4";value="1sb06rppbzm682s7yjlr26k4n78l9lzmhvmxzgysxw9br54dk1hc";}
|
||||
{name="qtruby";value="1g8s8i82n5hxs5lwiipgvgwzripd9injmgzrvgxfdnf014772jf5";}
|
||||
{name="qyoto";value="1pnnjj75mm488chd3v79g628b0fgxgglvj9iq6gd2s9dkld3gw2m";}
|
||||
{name="rocs";value="1xdswahdsvr3c6cf4cf2c51l5v14sd3r3ac6j96q5sk3siv33msn";}
|
||||
{name="smokegen";value="1pc2kg6i0476fvcg9kl3787k40g56vb2l3zb0xqx6cwr13m8lvih";}
|
||||
{name="smokekde";value="1l74j9j4m6lp706k1b99g7l5cklpzdn66snrs495a8k9789vgv5c";}
|
||||
{name="smokeqt";value="0vxmfp0wpdg47x7nz7pl220jzgp6ya4jrhk64an9wpc506qz3k1x";}
|
||||
{name="step";value="11bihc857vi97in8zly5p049acfr74asbis1r4y07fsip2945mbz";}
|
||||
{name="superkaramba";value="02bd14gik9i4ag0j7c9q4hk0f28m0g64wa9gcgmgnx7kwbsfzx5y";}
|
||||
{name="svgpart";value="1px8jbdpfyjm44qwpm2b0brc03zhha5wbj9wpx7lrdq0qyrwiyf6";}
|
||||
{name="sweeper";value="03gsh431gylqii92v5lc7f7417kjgmsg1cyj861wgp9rav2hf1av";}
|
||||
];
|
||||
modules=[
|
||||
{
|
||||
module="kdegraphics";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="gwenview"; }
|
||||
{ name="kamera"; }
|
||||
{ name="kcolorchooser"; }
|
||||
{ name="kdegraphics-strigi-analyzer"; sane="kdegraphics_strigi_analyzer"; }
|
||||
{ name="kdegraphics-thumbnailers"; sane="kdegraphics_thumbnailers"; }
|
||||
{ name="kgamma"; }
|
||||
{ name="kolourpaint"; }
|
||||
{ name="kruler"; }
|
||||
{ name="ksaneplugin"; }
|
||||
{ name="ksnapshot"; }
|
||||
{ name="libkdcraw"; }
|
||||
{ name="libkexiv2"; }
|
||||
{ name="libkipi"; }
|
||||
{ name="libksane"; }
|
||||
{ name="mobipocket"; }
|
||||
{ name="okular"; }
|
||||
{ name="svgpart"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeutils";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="ark"; }
|
||||
{ name="filelight"; }
|
||||
{ name="kcalc"; }
|
||||
{ name="kcharselect"; }
|
||||
{ name="kdf"; }
|
||||
{ name="kfloppy"; }
|
||||
{ name="kgpg"; }
|
||||
{ name="kremotecontrol"; }
|
||||
{ name="ksecrets"; }
|
||||
{ name="ktimer"; }
|
||||
{ name="kwallet"; }
|
||||
{ name="printer-applet"; sane="printer_applet"; }
|
||||
{ name="superkaramba"; }
|
||||
{ name="sweeper"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeedu";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="analitza"; }
|
||||
{ name="blinken"; }
|
||||
{ name="cantor"; }
|
||||
{ name="kalgebra"; }
|
||||
{ name="kalzium"; }
|
||||
{ name="kanagram"; }
|
||||
{ name="kbruch"; }
|
||||
{ name="kgeography"; }
|
||||
{ name="khangman"; }
|
||||
{ name="kig"; }
|
||||
{ name="kiten"; }
|
||||
{ name="klettres"; }
|
||||
{ name="kmplot"; }
|
||||
{ name="kstars"; }
|
||||
{ name="ktouch"; }
|
||||
{ name="kturtle"; }
|
||||
{ name="kwordquiz"; }
|
||||
{ name="libkdeedu"; }
|
||||
{ name="marble"; }
|
||||
{ name="parley"; }
|
||||
{ name="rocs"; }
|
||||
{ name="step"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdebindings";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="kimono"; }
|
||||
{ name="korundum"; }
|
||||
{ name="kross-interpreters"; sane="kross_interpreters"; }
|
||||
{ name="perlkde"; }
|
||||
{ name="perlqt"; }
|
||||
{ name="pykde4"; }
|
||||
{ name="qtruby"; }
|
||||
{ name="qyoto"; }
|
||||
{ name="smokegen"; }
|
||||
{ name="smokekde"; }
|
||||
{ name="smokeqt"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeaccessibility";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="jovie"; }
|
||||
{ name="kaccessible"; }
|
||||
{ name="kmag"; }
|
||||
{ name="kmousetool"; }
|
||||
{ name="kmouth"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kde-baseapps";
|
||||
sane="kde_baseapps"; split=true;
|
||||
pkgs=[
|
||||
{ name="kate"; }
|
||||
{ name="kde-baseapps"; sane="kde_baseapps"; }
|
||||
{ name="konsole"; }
|
||||
];
|
||||
}
|
||||
{ module="kactivities"; split=false;}
|
||||
{ module="kdeadmin"; split=false;
|
||||
pkgs=[
|
||||
{ name="strigi-analyzer"; sane="strigi_analyzer";}
|
||||
{ name="kuser"; }
|
||||
{ name="kcron"; }
|
||||
{ name="ksystemlog"; }
|
||||
{ name="system-config-printer-kde"; sane="system_config_printer_kde";}
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kdeartwork"; split=false;
|
||||
pkgs=[
|
||||
{ name="ColorSchemes"; }
|
||||
{ name="IconThemes"; }
|
||||
{ name="emoticons"; }
|
||||
{ name="kscreensaver"; }
|
||||
{ name="kwin-styles"; sane="kwin_styles";}
|
||||
{ name="sounds"; }
|
||||
{ name="styles"; }
|
||||
{ name="wallpapers"; }
|
||||
{ name="HighResolutionWallpapers"; }
|
||||
{ name="WeatherWallpapers"; }
|
||||
{ name="desktopthemes"; }
|
||||
{ name="aurorae"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kdegames"; split=false;}
|
||||
{ module="kdelibs"; split=false;}
|
||||
{ module="kdemultimedia"; split=false;}
|
||||
{ module="kdenetwork"; split=false;
|
||||
pkgs=[
|
||||
{ name="kfile-plugins"; sane="kfile_plugins";}
|
||||
{ name="kget"; }
|
||||
{ name="kopete"; }
|
||||
{ name="krdc"; }
|
||||
{ name="kppp"; }
|
||||
{ name="krfb"; }
|
||||
{ name="kdnssd"; }
|
||||
{ name="filesharing"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kdepim"; split=false;}
|
||||
{ module="kdepimlibs"; split=false;}
|
||||
{ module="kdepim-runtime"; sane="kdepim_runtime"; split=false;}
|
||||
{ module="kdeplasma-addons"; sane="kdeplasma_addons"; split=false;}
|
||||
{ module="kde-runtime"; sane="kde_runtime"; split=false;}
|
||||
{ module="kdesdk"; split=false;
|
||||
pkgs=[
|
||||
{ name="cervisia"; }
|
||||
{ name="lokalize"; }
|
||||
{ name="kdeaccounts-plugin"; sane="kdeaccounts_plugin";}
|
||||
{ name="dolphin-plugins-svn"; sane="dolphin_plugins_svn";subdir="dolphin-plugins/svn"; }
|
||||
{ name="dolphin-plugins-git"; sane="dolphin_plugins_git";subdir="dolphin-plugins/git"; }
|
||||
{ name="dolphin-plugins-hg"; sane="dolphin_plugins_hg";subdir="dolphin-plugins/hg"; }
|
||||
{ name="dolphin-plugins-bazaar"; sane="dolphin_plugins_bazaar";subdir="dolphin-plugins/bazaar"; }
|
||||
{ name="kcachegrind"; }
|
||||
{ name="kapptemplate"; }
|
||||
{ name="kpartloader"; }
|
||||
{ name="strigi-analyzer"; sane="strigi_analyzer";}
|
||||
{ name="kioslave"; }
|
||||
{ name="okteta"; }
|
||||
{ name="kmtrace"; }
|
||||
{ name="kompare"; }
|
||||
{ name="kprofilemethod"; }
|
||||
{ name="kstartperf"; }
|
||||
{ name="kuiviewer"; }
|
||||
{ name="poxml"; }
|
||||
{ name="scripts"; }
|
||||
{ name="umbrello"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kdetoys"; split=false;
|
||||
pkgs=[
|
||||
{ name="kteatime"; }
|
||||
{ name="ktux"; }
|
||||
{ name="amor"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kde-wallpapers"; sane="kde_wallpapers"; split=false;}
|
||||
{ module="kdewebdev"; split=false;
|
||||
pkgs=[
|
||||
{ name="klinkstatus"; }
|
||||
{ name="kfilereplace"; }
|
||||
{ name="kimagemapeditor"; }
|
||||
{ name="kommander"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kde-workspace"; sane="kde_workspace"; split=false;}
|
||||
{ module="oxygen-icons"; sane="oxygen_icons"; split=false;}
|
||||
];
|
||||
}
|
127
pkgs/desktops/kde-4.8/kde-package/default.nix
Normal file
127
pkgs/desktops/kde-4.8/kde-package/default.nix
Normal file
@ -0,0 +1,127 @@
|
||||
{ callPackage, runCommand, stdenv, fetchurl, qt4, cmake, automoc4
|
||||
, release, ignoreList, extraSubpkgs
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) filter fold;
|
||||
inherit (builtins) getAttr hasAttr remoteAttrs listToAttrs tail head;
|
||||
in
|
||||
rec {
|
||||
manifest = import (./. + "/${release}.nix");
|
||||
|
||||
# src attribute for $name tarball
|
||||
kdesrc = name: fetchurl {
|
||||
url = "mirror://kde/" + (if manifest.stable then "" else "un")
|
||||
+ "stable/${release}/src/${name}-${release}.tar.bz2";
|
||||
sha256 = getAttr name manifest.hashes;
|
||||
};
|
||||
|
||||
# Default meta attribute
|
||||
defMeta = {
|
||||
homepage = http://www.kde.org;
|
||||
inherit (qt4.meta) platforms maintainers;
|
||||
};
|
||||
|
||||
# KDE package built from the whole tarball
|
||||
# This function is used both for monolithic modules and modules which are
|
||||
# released as individual tarballs
|
||||
kdeMonoPkg = name: let n_ = name; in a@{meta, name ? n_, ...}:
|
||||
stdenv.mkDerivation ({
|
||||
name = "${name}-${release}";
|
||||
src = kdesrc name;
|
||||
meta = defMeta // meta;
|
||||
enableParallelBuilding = true;
|
||||
} // (removeAttrs a [ "meta" "name" ]));
|
||||
|
||||
# kdeMonoPkg wrapper for modules splitted upstream compatible with combinePkgs
|
||||
# API.
|
||||
kdeSplittedPkg = module: {name, sane ? name}: kdeMonoPkg name;
|
||||
|
||||
# Build subdirectory ${subdir} of tarball ${module}-${release}.tar.bz2
|
||||
kdeSubdirPkg = module:
|
||||
{name, subdir ? name, sane ? name}:
|
||||
let name_ = name; in
|
||||
a@{cmakeFlags ? [], name ? name_, meta ? {}, ...}:
|
||||
stdenv.mkDerivation ({
|
||||
name = "${name}-${release}";
|
||||
src = kdesrc module;
|
||||
cmakeFlags =
|
||||
[ "-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE"
|
||||
"-DBUILD_doc=TRUE"
|
||||
"-DBUILD_${subdir}=TRUE"
|
||||
] ++ cmakeFlags;
|
||||
meta = defMeta // meta;
|
||||
enableParallelBuilding = true;
|
||||
} // (removeAttrs a [ "meta" "name" "cmakeFlags" ]));
|
||||
|
||||
# A KDE monolithic module
|
||||
kdeMonoModule = name: path: callPackage path { kde = kdeMonoPkg name; };
|
||||
|
||||
# Combine packages in one module.
|
||||
# Arguments:
|
||||
# * pkgFun --- a function of the following signature:
|
||||
# module: manifest_attrs: manual_attrs: derivation;
|
||||
# * module --- name of the module
|
||||
# * pkgs --- list of packages in manifest format
|
||||
combinePkgs = pkgFun: module: pkgs:
|
||||
let
|
||||
f = p@{name, ...}:
|
||||
callPackage (./.. + "/${module}/${name}.nix") { kde = pkgFun module p; };
|
||||
list = map f pkgs;
|
||||
attrs = listToAttrs (map
|
||||
({name, sane ? name, ...}@p: { name = sane; value = f p; })
|
||||
pkgs);
|
||||
in
|
||||
runCommand "${module}-${release}"
|
||||
({passthru = attrs // {
|
||||
propagatedUserEnvPackages = list;
|
||||
projects = attrs;
|
||||
};})
|
||||
''
|
||||
mkdir -pv $out/nix-support
|
||||
echo "${toString list}" | tee $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
|
||||
# Given manifest module data, return the module
|
||||
kdeModule = { module, sane ? module, split, pkgs ? [] }:
|
||||
let
|
||||
pkgs_ = filterPkgs module pkgs;
|
||||
in
|
||||
# Module is splitted by upstream
|
||||
if split then combinePkgs kdeSplittedPkg module pkgs_
|
||||
# Monolithic module
|
||||
else if pkgs == [] then kdeMonoModule module (./.. + "/${module}.nix")
|
||||
# Module is splitted by us
|
||||
else combinePkgs kdeSubdirPkg module pkgs_;
|
||||
|
||||
# The same, as nameValuePair with sane name
|
||||
kdeModuleNV = a@{ module, sane ? module, ... }:
|
||||
{ name = sane; value = kdeModule a; };
|
||||
|
||||
filterPkgs = module: (p:
|
||||
removeNames (stdenv.lib.attrByPath [module] [] ignoreList) p
|
||||
++ (stdenv.lib.attrByPath [module] [] extraSubpkgs));
|
||||
|
||||
# Remove attrsets with x.name in subst. Optimized for empty subst.
|
||||
removeNames = subst: big:
|
||||
fold (s: out: filter (x: x.name != s) out) big subst;
|
||||
|
||||
modules = listToAttrs (map kdeModuleNV manifest.modules);
|
||||
|
||||
splittedModuleList =
|
||||
let
|
||||
splitted = filter (a: a ? pkgs) manifest.modules;
|
||||
names = map ({module, sane ? module, ...}: sane) splitted;
|
||||
in
|
||||
map (m: m.projects) (stdenv.lib.attrVals names modules);
|
||||
|
||||
individual =
|
||||
stdenv.lib.zipAttrsWith
|
||||
(
|
||||
name: list:
|
||||
if tail list == []
|
||||
then head list
|
||||
else abort "Multiple modules define ${name}"
|
||||
)
|
||||
splittedModuleList;
|
||||
}
|
146
pkgs/desktops/kde-4.8/kde-package/kde-manifest.sh
Executable file
146
pkgs/desktops/kde-4.8/kde-package/kde-manifest.sh
Executable file
@ -0,0 +1,146 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Usage: download kde release to $dir, then run
|
||||
# $0 $dir
|
||||
|
||||
dir="$1"
|
||||
|
||||
# Detect release number & whether it is a stable release
|
||||
if [[ ! -d "${dir}" ]]; then
|
||||
echo "${dir} is not a directory (or doesn't exist)!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
release=$(ls "${dir}"/kdelibs-*.tar.bz2 | \
|
||||
sed -e 's/.*kdelibs-//' -e 's/\.tar\.bz2//')
|
||||
|
||||
if [[ ${release##*.} -gt 50 ]]; then
|
||||
stable="false"
|
||||
else
|
||||
stable="true"
|
||||
fi
|
||||
|
||||
echo "Detected release ${release}" >&2
|
||||
|
||||
declare -A hash
|
||||
declare -A modules
|
||||
declare -a packages
|
||||
declare -a top_level
|
||||
|
||||
# xsltproc output declares -A module
|
||||
if [[ ! -f kde_projects.xml ]]; then
|
||||
curl -O -J http://projects.kde.org/kde_projects.xml
|
||||
fi
|
||||
eval `xsltproc kde-submodules.xslt kde_projects.xml`
|
||||
|
||||
module[kde-baseapps]=kde-baseapps
|
||||
unset module[kactivities]
|
||||
|
||||
print_sane() {
|
||||
echo "Called print_sane $1" >&2
|
||||
sane="${1//[^a-z0-9_]/_}"
|
||||
if [[ "$sane" != "$1" ]]; then
|
||||
echo "Sane version is $sane" >&2
|
||||
echo -n "sane=\"$sane\";"
|
||||
fi
|
||||
}
|
||||
|
||||
for i in `cd "${dir}"; ls *-${release}.tar.bz2`; do
|
||||
package=${i%-${release}.tar.bz2}
|
||||
packages+=( "$package" )
|
||||
echo -n "${package}.. " >&2
|
||||
hash[$package]=$(nix-hash --type sha256 --flat --base32 "${dir}/${i}")
|
||||
echo -n ${hash[$package]} >&2
|
||||
|
||||
if [ -n "${module[$package]}" ]; then
|
||||
m="${module[$package]}"
|
||||
echo " (${m})" >&2
|
||||
modules[$m]=1
|
||||
else
|
||||
top_level+=( "$package" )
|
||||
echo " (top-level)" >&2
|
||||
fi
|
||||
#nix-store --add-fixed sha256 "${dir}/${i}" >&2
|
||||
done
|
||||
|
||||
|
||||
print_pkg_hash() {
|
||||
echo " {name=\"${1}\";value=\"${hash[$1]}\";}"
|
||||
}
|
||||
|
||||
print_hashes(){
|
||||
echo "hashes=builtins.listToAttrs["
|
||||
for p in "${packages[@]}"; do print_pkg_hash "$p"; done
|
||||
echo "];"
|
||||
}
|
||||
|
||||
print_split_module(){
|
||||
echo -n "$1:" >&2
|
||||
echo -e "{\n module=\"$1\";"
|
||||
print_sane "$1"
|
||||
echo " split=true;"
|
||||
echo " pkgs=["
|
||||
for p in "${packages[@]}"; do
|
||||
if [[ "${module[$p]}" == "$1" ]]; then
|
||||
echo -n " { name=\"$p\"; "
|
||||
print_sane "$p"
|
||||
echo " }"
|
||||
echo -n " $p" >&2
|
||||
fi
|
||||
done
|
||||
echo " ];"
|
||||
echo "}"
|
||||
echo >&2
|
||||
}
|
||||
|
||||
print_mono_module(){
|
||||
echo -en "{ module=\"$1\"; "
|
||||
print_sane "$1"
|
||||
echo -n "$1 ... " >&2
|
||||
echo -n " split=false;"
|
||||
cml="$1-$release/CMakeLists.txt"
|
||||
tar -xf "${dir}/$1-${release}.tar.bz2" "$cml"
|
||||
if grep '^[^#]*add_subdirectory' $cml >/dev/null; then
|
||||
if grep '^[^#]*add_subdirectory' $cml | grep -v macro_optional_add_subdirectory >/dev/null; then
|
||||
echo " is monolithic (has unconditionally added subdirs)" >&2
|
||||
else
|
||||
subdirs=( `grep '^[^#]*add_subdirectory' $cml |
|
||||
sed -e 's/[^#]*add_subdirectory *( *\(.*\) *)/\1/' |
|
||||
grep -v '\(doc\|cmake\)'` )
|
||||
echo " seems splittable, subdirs: ${subdirs[*]}" >&2
|
||||
echo -e "\n pkgs=["
|
||||
for s in "${subdirs[@]}"; do
|
||||
echo -en " {"
|
||||
echo -n " name=\"${s//\//-}\"; "
|
||||
print_sane "$s"
|
||||
if [[ $s != "${s//\//-}" ]]; then
|
||||
echo -n "subdir=\"$s\"; "
|
||||
fi
|
||||
echo "}"
|
||||
done
|
||||
echo -e " ];\n"
|
||||
fi
|
||||
else
|
||||
echo " is monolithic (has no subdirs)" >&2
|
||||
fi
|
||||
rm $cml
|
||||
rmdir $1-$release
|
||||
echo "}"
|
||||
}
|
||||
|
||||
print_modules(){
|
||||
echo "modules=["
|
||||
echo "Printing modules splitted by upstream" >&2
|
||||
for m in "${!modules[@]}"; do print_split_module "$m"; done
|
||||
echo >&2
|
||||
echo "Printing modules not splitted by upstream (${top_level[*]})" >&2
|
||||
for m in "${top_level[@]}"; do print_mono_module "$m"; done
|
||||
echo "];"
|
||||
}
|
||||
|
||||
echo "Writing ${release}.nix" >&2
|
||||
exec > "${release}.nix"
|
||||
echo "{stable=${stable};"
|
||||
print_hashes
|
||||
print_modules
|
||||
echo "}"
|
22
pkgs/desktops/kde-4.8/kde-package/kde-submodules.xslt
Normal file
22
pkgs/desktops/kde-4.8/kde-package/kde-submodules.xslt
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- xslt file for http://projects.kde.org/kde_projects.xml -->
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output method="text" />
|
||||
<xsl:template match="/">
|
||||
<xsl:for-each select="kdeprojects/component[@identifier='kde']">
|
||||
<xsl:text>declare -A module
</xsl:text>
|
||||
<xsl:for-each select="module">
|
||||
<xsl:variable name="module" select='@identifier' />
|
||||
<xsl:for-each select=".//project[repo]">
|
||||
<xsl:text>module["</xsl:text>
|
||||
<xsl:value-of select='@identifier' />
|
||||
<xsl:text>"]="</xsl:text>
|
||||
<xsl:value-of select="$module" />
|
||||
<xsl:text>"
</xsl:text>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
16
pkgs/desktops/kde-4.8/kde-runtime.nix
Normal file
16
pkgs/desktops/kde-4.8/kde-runtime.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ kde, kdelibs, shared_desktop_ontologies, bzip2, xz, libssh, exiv2, attica
|
||||
, libcanberra, virtuoso, samba, ntrack
|
||||
}:
|
||||
|
||||
kde {
|
||||
buildInputs =
|
||||
[ kdelibs shared_desktop_ontologies bzip2 xz libssh exiv2 attica
|
||||
samba (libcanberra.override { gtk = null; }) ntrack
|
||||
];
|
||||
|
||||
passthru.propagatedUserEnvPackages = [ virtuoso ];
|
||||
|
||||
meta = {
|
||||
license = "LGPL";
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.8/kde-wallpapers.nix
Normal file
14
pkgs/desktops/kde-4.8/kde-wallpapers.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "29f4e8b24435ee8c64affdc6250f59ed9f78445118fe0a4e216d89969dd2006b";
|
||||
|
||||
meta = {
|
||||
description = "Wallpapers for KDE";
|
||||
};
|
||||
}
|
32
pkgs/desktops/kde-4.8/kde-workspace.nix
Normal file
32
pkgs/desktops/kde-4.8/kde-workspace.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies,
|
||||
lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate,
|
||||
consolekit, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi,
|
||||
pykde4
|
||||
}:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs =
|
||||
[ kdelibs qimageblitz libdbusmenu_qt pykde4
|
||||
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
||||
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
||||
xorg.libpthreadstubs
|
||||
boost gpsd shared_desktop_ontologies lm_sensors pciutils libraw1394
|
||||
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
||||
];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
# Fix incorrect path to kde4-config.
|
||||
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
|
||||
|
||||
# Fix the path to the keyboard configuration files.
|
||||
substituteInPlace kcontrol/keyboard/xkb_rules.cpp \
|
||||
--replace /usr/share/X11 ${xkeyboard_config}/etc/X11
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeaccessibility/jovie.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeaccessibility/jovie.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, speechd }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs speechd ];
|
||||
|
||||
meta = {
|
||||
description = "Text-to-speech synthesis daemon";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeaccessibility/kaccessible.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeaccessibility/kaccessible.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, speechd }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs speechd ];
|
||||
|
||||
meta = {
|
||||
description = "Bridge that provides accessibility services to applications";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeaccessibility/kmag.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeaccessibility/kmag.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Screen magnifier for KDE";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeaccessibility/kmousetool.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeaccessibility/kmousetool.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libXtst }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libXtst ];
|
||||
|
||||
meta = {
|
||||
description = "A program that clicks the mouse for you";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeaccessibility/kmouth.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeaccessibility/kmouth.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A type-and-say front end for speech synthesizers";
|
||||
};
|
||||
}
|
5
pkgs/desktops/kde-4.8/kdeadmin/kcron.nix
Normal file
5
pkgs/desktops/kde-4.8/kdeadmin/kcron.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
}
|
5
pkgs/desktops/kde-4.8/kdeadmin/ksystemlog.nix
Normal file
5
pkgs/desktops/kde-4.8/kdeadmin/ksystemlog.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
}
|
5
pkgs/desktops/kde-4.8/kdeadmin/kuser.nix
Normal file
5
pkgs/desktops/kde-4.8/kdeadmin/kuser.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ kde, kdelibs, kdepimlibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs kdepimlibs ];
|
||||
}
|
33
pkgs/desktops/kde-4.8/kdeadmin/system-config-printer-kde.nix
Normal file
33
pkgs/desktops/kde-4.8/kdeadmin/system-config-printer-kde.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ kde, pkgconfig, pythonPackages, sip, pycups, pygobject, system_config_printer,
|
||||
kdelibs, kdepimlibs, pykde4, cups, nettools }:
|
||||
|
||||
let s_c_p = system_config_printer.override { withGUI = false; }; in
|
||||
kde {
|
||||
buildInputs = [ kdelibs kdepimlibs pythonPackages.python pycups pykde4 sip
|
||||
pygobject s_c_p ];
|
||||
|
||||
passthru = { system_config_printer = s_c_p; };
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
for i in system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py system-config-printer-kde/system-config-printer-kde.py; do
|
||||
substituteInPlace $i \
|
||||
--replace /usr/share/system-config-printer ${s_c_p}/share/system-config-printer \
|
||||
--replace /usr/bin/cupstestppd ${cups}/bin/cupstestppd \
|
||||
--replace /bin/hostname ${nettools}/bin/hostname
|
||||
done
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# Bake the required Python path into the printer configuration program.
|
||||
res=
|
||||
for i in $(IFS=:; echo $PYTHONPATH); do res="$res''${res:+,} '$i'"; done
|
||||
|
||||
sed -i $out/share/apps/system-config-printer-kde/system-config-printer-kde.py \
|
||||
-e "1 a import sys\nsys.path = [$res] + sys.path"
|
||||
|
||||
mkdir -p $out/nix-support
|
||||
echo ${pykde4} > $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/ColorSchemes.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/ColorSchemes.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kde-color-schemes";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE color schemes";
|
||||
};
|
||||
}
|
73
pkgs/desktops/kde-4.8/kdeartwork/FindXscreensaver.cmake
Normal file
73
pkgs/desktops/kde-4.8/kdeartwork/FindXscreensaver.cmake
Normal file
@ -0,0 +1,73 @@
|
||||
#Macro to find xscreensaver directory
|
||||
|
||||
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
if (NOT XSCREENSAVER_FOUND)
|
||||
FIND_PATH(XSCREENSAVER_DIR deco
|
||||
HINTS
|
||||
${KDE4_INCLUDE_DIR}
|
||||
PATHS
|
||||
/usr
|
||||
/usr/local
|
||||
/opt/local
|
||||
/usr/X11R6
|
||||
/opt/kde
|
||||
/opt/kde3
|
||||
/usr/kde
|
||||
/usr/local/kde
|
||||
/usr/local/xscreensaver
|
||||
/usr/openwin/lib/xscreensaver
|
||||
/etc
|
||||
PATH_SUFFIXES
|
||||
lib${LIB_SUFFIX}/xscreensaver
|
||||
lib${LIB_SUFFIX}/misc/xscreensaver
|
||||
lib/xscreensaver
|
||||
lib64/xscreensaver
|
||||
lib/misc/xscreensaver
|
||||
libexec/xscreensaver
|
||||
bin/xscreensaver-hacks
|
||||
hacks)
|
||||
message(STATUS "XSCREENSAVER_DIR <${XSCREENSAVER_DIR}>")
|
||||
|
||||
FIND_PATH(XSCREENSAVER_CONFIG_DIR deco.xml
|
||||
PATHS
|
||||
${KDE4_INCLUDE_DIR}
|
||||
/usr/
|
||||
/usr/local/
|
||||
/opt/local/
|
||||
/usr/X11R6/
|
||||
/opt/kde/
|
||||
/opt/kde3/
|
||||
/usr/kde/
|
||||
/usr/local/kde/
|
||||
/usr/openwin/lib/xscreensaver/
|
||||
/etc/
|
||||
PATH_SUFFIXES xscreensaver xscreensaver/config share/xscreensaver/config
|
||||
)
|
||||
MESSAGE(STATUS "XSCREENSAVER_CONFIG_DIR :<${XSCREENSAVER_CONFIG_DIR}>")
|
||||
|
||||
endif(NOT XSCREENSAVER_FOUND)
|
||||
|
||||
#MESSAGE(STATUS "XSCREENSAVER_CONFIG_DIR :<${XSCREENSAVER_CONFIG_DIR}>")
|
||||
#MESSAGE(STATUS "XSCREENSAVER_DIR :<${XSCREENSAVER_DIR}>")
|
||||
|
||||
# Need to fix hack
|
||||
if(XSCREENSAVER_DIR AND XSCREENSAVER_CONFIG_DIR)
|
||||
set(XSCREENSAVER_FOUND TRUE)
|
||||
endif(XSCREENSAVER_DIR AND XSCREENSAVER_CONFIG_DIR)
|
||||
|
||||
if (XSCREENSAVER_FOUND)
|
||||
if (NOT Xscreensaver_FIND_QUIETLY)
|
||||
message(STATUS "Found XSCREENSAVER_CONFIG_DIR <${XSCREENSAVER_CONFIG_DIR}>")
|
||||
endif (NOT Xscreensaver_FIND_QUIETLY)
|
||||
else (XSCREENSAVER_FOUND)
|
||||
if (Xscreensaver_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "XScreenSaver not found")
|
||||
endif (Xscreensaver_FIND_REQUIRED)
|
||||
endif (XSCREENSAVER_FOUND)
|
||||
|
||||
|
||||
MARK_AS_ADVANCED(XSCREENSAVER_DIR XSCREENSAVER_CONFIG_DIR)
|
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-wallpapers-high-resolution";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "KDE wallpapers in high resolution";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.8/kdeartwork/IconThemes.nix
Normal file
13
pkgs/desktops/kde-4.8/kdeartwork/IconThemes.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kdeartwork-icon-themes";
|
||||
|
||||
# Sources contain primary and kdeclassic as well but they're not installed
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "KDE nuvola and mono icon themes";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/WeatherWallpapers.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/WeatherWallpapers.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-weather-wallpapers";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE wallpapers (weather)";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.8/kdeartwork/aurorae.nix
Normal file
7
pkgs/desktops/kde-4.8/kdeartwork/aurorae.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "aurorae-themes";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/desktopthemes.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/desktopthemes.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kde-desktop-themes";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE desktop themes";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/emoticons.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/emoticons.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kde-emotion-icons";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE emotion icons (smiles)";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.8/kdeartwork/kscreensaver.nix
Normal file
13
pkgs/desktops/kde-4.8/kdeartwork/kscreensaver.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2 }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 ];
|
||||
|
||||
preConfigure = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
||||
|
||||
cmakeFlags = [ "-DBUILD_asciiquarium:BOOL=ON" ];
|
||||
|
||||
meta = {
|
||||
description = "KDE screensavers";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeartwork/kwin-styles.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeartwork/kwin-styles.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, kde_workspace }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs kde_workspace ];
|
||||
|
||||
meta = {
|
||||
description = "Styles for KWin";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/sounds.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/sounds.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-sounds";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "New login/logout sounds";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/styles.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/styles.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-style-phase";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Phase, a widget style for KDE";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.8/kdeartwork/wallpapers.nix
Normal file
11
pkgs/desktops/kde-4.8/kdeartwork/wallpapers.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-wallpapers";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE wallpapers";
|
||||
};
|
||||
}
|
10
pkgs/desktops/kde-4.8/kdebindings/perlqt.nix
Normal file
10
pkgs/desktops/kde-4.8/kdebindings/perlqt.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ kde, cmake, smokeqt, perl }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ smokeqt perl ];
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
description = "Perl bindings for Qt library";
|
||||
};
|
||||
}
|
49
pkgs/desktops/kde-4.8/kdebindings/pykde-purity.patch
Normal file
49
pkgs/desktops/kde-4.8/kdebindings/pykde-purity.patch
Normal file
@ -0,0 +1,49 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c853e38..5df3253 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -73,7 +73,7 @@ INCLUDE_DIRECTORIES(
|
||||
${QT_QTWEBKIT_INCLUDE_DIR}
|
||||
${KDE4_INCLUDE_DIR}
|
||||
${KDE4_INCLUDE_DIR}/solid
|
||||
- ${KDE4_INCLUDE_DIR}/phonon
|
||||
+ ${PHONON_INCLUDE_DIR}/phonon
|
||||
${KDE4_INCLUDE_DIR}/kio
|
||||
${KDE4_INCLUDE_DIR}/kdeprint
|
||||
${KDE4_INCLUDE_DIR}/kdeprint/lpr
|
||||
@@ -232,7 +232,7 @@ _pkg_config = {
|
||||
'pykde_kde_sip_flags': '${_SIP_TAGS} ${_SIP_X} ${SIP_EXTRA_OPTIONS}',
|
||||
'pykde_mod_dir': '${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4',
|
||||
'pykde_modules': '${PYKDE_MODULES}',
|
||||
- 'pykde_sip_dir': '${SIP_DEFAULT_SIP_DIR}/PyKDE4',
|
||||
+ 'pykde_sip_dir': '${CMAKE_INSTALL_PREFIX}/share/sip/PyKDE4',
|
||||
'pykde_version': kde_version_hex,
|
||||
'pykde_version_str': '${KDE_VERSION}'
|
||||
}
|
||||
@@ -244,7 +244,7 @@ PYTHON_INSTALL(${CMAKE_CURRENT_BINARY_DIR}/pykdeconfig.py ${PYTHON_SITE_PACKAGES
|
||||
|
||||
# Install the .sip files for anyone that wants to build bindings on top of PyKDE4.
|
||||
# (Don't forget the / at the end of sip/.)
|
||||
-INSTALL(DIRECTORY sip/ DESTINATION ${SIP_DEFAULT_SIP_DIR}/PyKDE4
|
||||
+INSTALL(DIRECTORY sip/ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sip/PyKDE4
|
||||
PATTERN "*~" EXCLUDE # This sucks, why can't I just whitelist what I _do_ want?
|
||||
PATTERN ".svn" EXCLUDE
|
||||
PATTERN "*.in" EXCLUDE)
|
||||
diff --git a/kpythonpluginfactory/CMakeLists.txt b/kpythonpluginfactory/CMakeLists.txt
|
||||
index 41fa0fe..642d867 100644
|
||||
--- a/kpythonpluginfactory/CMakeLists.txt
|
||||
+++ b/kpythonpluginfactory/CMakeLists.txt
|
||||
@@ -3,7 +3,12 @@
|
||||
set(kpythonpluginfactory_SRCS
|
||||
kpythonpluginfactory.cpp)
|
||||
|
||||
-GET_FILENAME_COMPONENT(LIB_PYTHON ${PYTHON_LIBRARY} NAME)
|
||||
+option(HARDCODE_LIB_PYTHON_PATH "Whether the path to libpython.so should be hardcoded" OFF)
|
||||
+if(HARDCODE_LIB_PYTHON_PATH)
|
||||
+ get_filename_component(LIB_PYTHON ${PYTHON_LIBRARY} REALPATH)
|
||||
+else(HARDCODE_LIB_PYTHON_PATH)
|
||||
+ get_filename_component(LIB_PYTHON ${PYTHON_LIBRARY} NAME)
|
||||
+endif(HARDCODE_LIB_PYTHON_PATH)
|
||||
ADD_DEFINITIONS(-DLIB_PYTHON=\\"${LIB_PYTHON}\\")
|
||||
ADD_DEFINITIONS(-DKDE_DEFAULT_DEBUG_AREA=15000)
|
||||
|
30
pkgs/desktops/kde-4.8/kdebindings/pykde4.nix
Normal file
30
pkgs/desktops/kde-4.8/kdebindings/pykde4.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ kde, kdelibs, python, sip, pyqt4, kdepimlibs, shared_desktop_ontologies,
|
||||
boost, lndir }:
|
||||
|
||||
let pydir = "lib/python${python.majorVersion}"; in
|
||||
|
||||
kde {
|
||||
buildInputs = [ python kdepimlibs shared_desktop_ontologies boost ];
|
||||
|
||||
propagatedBuildInputs = [ pyqt4 sip ];
|
||||
|
||||
#NIX_CFLAGS_COMPILE = "-I${phonon}/include/phonon";
|
||||
|
||||
patches = [ ./pykde-purity.patch ];
|
||||
|
||||
cmakeFlags = "-DHARDCODE_LIB_PYTHON_PATH=ON";
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
# Symlink PyQt into PyKDE. This is necessary because PyQt looks
|
||||
# in its PyQt4/uic/widget-plugins directory for plugins, and KDE
|
||||
# needs to install a plugin.
|
||||
mkdir -pv $out/${pydir}
|
||||
${lndir}/bin/lndir ${pyqt4}/${pydir} $out/${pydir}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for KDE";
|
||||
kde.name = "pykde4";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.8/kdebindings/smokegen.nix
Normal file
13
pkgs/desktops/kde-4.8/kdebindings/smokegen.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, qt4, cmake }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ qt4 ];
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
patchPhase = "sed -e /RPATH/d -i CMakeLists.txt";
|
||||
|
||||
meta = {
|
||||
description = "C++ parser used to generate language bindings for Qt/KDE";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
10
pkgs/desktops/kde-4.8/kdebindings/smokekde.nix
Normal file
10
pkgs/desktops/kde-4.8/kdebindings/smokekde.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ kde, kdelibs, smokeqt }:
|
||||
|
||||
kde {
|
||||
propagatedBuildInputs = [ kdelibs smokeqt ];
|
||||
|
||||
meta = {
|
||||
description = "C++ parser used to generate language bindings for Qt/KDE";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.8/kdebindings/smokeqt.nix
Normal file
12
pkgs/desktops/kde-4.8/kdebindings/smokeqt.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, qt4, cmake, phonon, qimageblitz, smokegen }:
|
||||
|
||||
kde {
|
||||
propagatedBuildInputs = [ qt4 phonon qimageblitz ];
|
||||
buildNativeInputs = [ cmake ];
|
||||
propagatedBuildNativeInputs = [ smokegen ];
|
||||
|
||||
meta = {
|
||||
description = "C++ parser used to generate language bindings for Qt/KDE";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
32
pkgs/desktops/kde-4.8/kdeedu/FindLibfacile.cmake
Normal file
32
pkgs/desktops/kde-4.8/kdeedu/FindLibfacile.cmake
Normal file
@ -0,0 +1,32 @@
|
||||
# - Try to find Libfacile
|
||||
# Once done this will define
|
||||
#
|
||||
# LIBFACILE_FOUND - system has Libfacile
|
||||
# LIBFACILE_INCLUDE_DIR - the Libfacile include directory
|
||||
# LIBFACILE_LIBRARIES - Link these to use Libfacile
|
||||
#
|
||||
# Copyright (c) 2006, Carsten Niehaus, <cniehaus@gmx.de>
|
||||
# Copyright (c) 2006, Montel Laurent, <montel@kde.org>
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
|
||||
find_package(OCaml)
|
||||
|
||||
if( OCAML_FOUND )
|
||||
find_library(LIBFACILE_LIBRARIES NAMES facile.a
|
||||
HINTS ${OCAMLC_DIR}
|
||||
PATH_SUFFIXES facile ocaml/facile
|
||||
)
|
||||
find_path(LIBFACILE_INCLUDE_DIR NAMES facile.cmi
|
||||
HINTS ${OCAMLC_DIR}
|
||||
PATH_SUFFIXES facile lib/ocaml/facile
|
||||
)
|
||||
endif(OCAML_FOUND)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Libfacile DEFAULT_MSG LIBFACILE_INCLUDE_DIR
|
||||
LIBFACILE_LIBRARIES OCAML_FOUND)
|
||||
|
||||
# show the LIBFACILE_INCLUDE_DIR and LIBFACILE_LIBRARIES variables only in the advanced view
|
||||
mark_as_advanced(LIBFACILE_INCLUDE_DIR LIBFACILE_LIBRARIES )
|
8
pkgs/desktops/kde-4.8/kdeedu/analitza.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/analitza.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, readline }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs readline ];
|
||||
|
||||
meta = {
|
||||
description = "Library part of KAlgebra";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/blinken.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/blinken.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Memory Enhancement Game";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/cantor.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/cantor.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libspectre }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libspectre ];
|
||||
|
||||
meta = {
|
||||
description = "KDE Frontend to Mathematical Software";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/kalgebra.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/kalgebra.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdeedu, readline }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu readline ];
|
||||
|
||||
meta = {
|
||||
description = "2D and 3D Graph Calculator";
|
||||
};
|
||||
}
|
15
pkgs/desktops/kde-4.8/kdeedu/kalzium-feature-log.patch
Normal file
15
pkgs/desktops/kde-4.8/kdeedu/kalzium-feature-log.patch
Normal file
@ -0,0 +1,15 @@
|
||||
commit d96c6e70400dcd4e3514065e607388b80f96d6a1
|
||||
Author: Yury G. Kudryashov <urkud.urkud@gmail.com>
|
||||
Date: Mon Aug 15 00:53:16 2011 +0400
|
||||
|
||||
Display feature log
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 132934c..eec6942 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -47,3 +47,4 @@ add_subdirectory(src)
|
||||
add_subdirectory(data)
|
||||
add_subdirectory(plasmoid)
|
||||
add_subdirectory(libscience)
|
||||
+macro_display_feature_log()
|
15
pkgs/desktops/kde-4.8/kdeedu/kalzium.nix
Normal file
15
pkgs/desktops/kde-4.8/kdeedu/kalzium.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ kde, kdelibs, facile, ocaml, eigen, openbabel, avogadro }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs facile ocaml eigen openbabel avogadro ];
|
||||
|
||||
prePatch = ''
|
||||
cp -v ${./FindLibfacile.cmake} cmake/modules/FindLibfacile.cmake
|
||||
sed -e 's/\+facile/''${LIBFACILE_INCLUDE_DIR}/' -i src/CMakeOCamlInstructions.cmake
|
||||
'';
|
||||
|
||||
patches = [ ./kalzium-feature-log.patch ];
|
||||
|
||||
meta = {
|
||||
description = "Periodic Table of Elements";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/kanagram.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/kanagram.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdeedu }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu ];
|
||||
|
||||
meta = {
|
||||
description = "Letter Order Game";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/kbruch.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/kbruch.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Practice Fractions";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/kgeography.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/kgeography.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Geography Trainer";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/khangman.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/khangman.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdeedu }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu ];
|
||||
|
||||
meta = {
|
||||
description = "KDE hangman game";
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.8/kdeedu/kig.nix
Normal file
12
pkgs/desktops/kde-4.8/kdeedu/kig.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, kdelibs, boost, python}:
|
||||
kde {
|
||||
buildInputs = [ kdelibs boost python ];
|
||||
|
||||
cmakeFlags = ''
|
||||
-DBOOST_PYTHON_INCLUDES:PATH=${boost}/include;${python}/include/${python.libPrefix}
|
||||
-DBOOST_PYTHON_LIBS=boost_python;${python.libPrefix} -DKIG_ENABLE_PYTHON_SCRIPTING=1
|
||||
'';
|
||||
meta = {
|
||||
description = "KDE Interactive Geometry";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/kiten.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/kiten.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Japanese Reference/Study Tool";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/klettres.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/klettres.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE alphabet tutorial";
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.8/kdeedu/kmplot.nix
Normal file
12
pkgs/desktops/kde-4.8/kdeedu/kmplot.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE mathematical function plotter";
|
||||
kde = {
|
||||
name = "kmplot";
|
||||
};
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/kstars.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/kstars.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, eigen, xplanet, indilib }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs eigen xplanet indilib ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE graphical desktop planetarium";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/ktouch.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/ktouch.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Touch Typing Tutor";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/kturtle.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/kturtle.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Educational Programming Environment";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/kwordquiz.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/kwordquiz.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libkdeedu }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu ];
|
||||
|
||||
meta = {
|
||||
description = "Flash Card Trainer";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.8/kdeedu/libkdeedu.nix
Normal file
8
pkgs/desktops/kde-4.8/kdeedu/libkdeedu.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Libraries used by KDE Education applications";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/marble.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/marble.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, gpsd }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs gpsd ];
|
||||
|
||||
meta = {
|
||||
description = "Marble Virtual Globe";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.8/kdeedu/parley.nix
Normal file
9
pkgs/desktops/kde-4.8/kdeedu/parley.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libkdeedu, libxml2, attica }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu libxml2 attica ];
|
||||
|
||||
meta = {
|
||||
description = "Vocabulary Trainer";
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.8/kdeedu/rocs.nix
Normal file
14
pkgs/desktops/kde-4.8/kdeedu/rocs.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ kde, kdelibs, boost }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs (boost.override { enableExceptions = true; }) ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fexceptions";
|
||||
|
||||
meta = {
|
||||
description = "A KDE graph theory viewer";
|
||||
kde = {
|
||||
name = "rocs";
|
||||
};
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.8/kdeedu/step.nix
Normal file
12
pkgs/desktops/kde-4.8/kdeedu/step.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, kdelibs, gsl, libqalculate, eigen }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs gsl libqalculate eigen ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE interactive physical simulator";
|
||||
kde = {
|
||||
name = "step";
|
||||
};
|
||||
};
|
||||
}
|
18
pkgs/desktops/kde-4.8/kdegames.nix
Normal file
18
pkgs/desktops/kde-4.8/kdegames.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ kde, kdelibs, qca2, twisted, pythonPackages, sip, makeWrapper, pykde4,
|
||||
openal, libsndfile, qhull }:
|
||||
|
||||
kde rec {
|
||||
buildInputs = [ kdelibs qca2 pythonPackages.python pythonPackages.wrapPython
|
||||
openal libsndfile qhull ] ++ pythonPath;
|
||||
|
||||
pythonPath = [ pythonPackages.twisted pykde4 ];
|
||||
|
||||
# TODO: ggz
|
||||
|
||||
postInstall = "wrapPythonPrograms";
|
||||
|
||||
meta = {
|
||||
description = "KDE Games";
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.8/kdegraphics/gwenview.nix
Normal file
12
pkgs/desktops/kde-4.8/kdegraphics/gwenview.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs =
|
||||
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi ];
|
||||
|
||||
meta = {
|
||||
description = "Gwenview, the KDE image viewer";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user