mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
svn merge ^/nixpkgs/trunk
One tree conflict (glib/2.28.x.nix). I hope that I ported r31723 correctly. svn path=/nixpkgs/branches/glib-2.30/; revision=31912
This commit is contained in:
@@ -2,23 +2,31 @@
|
||||
# attribute with the expected `system' argument). Too bad
|
||||
# nix-instantiate can't to do this.
|
||||
|
||||
let
|
||||
with import ../../pkgs/lib;
|
||||
|
||||
lib = (import ../.. {}).lib;
|
||||
let
|
||||
trace = if (builtins.getEnv "VERBOSE") == "1" then builtins.trace else (x: y: y);
|
||||
|
||||
rel = removeAttrs (import ../../pkgs/top-level/release.nix) [ "tarball" "xbursttools" ];
|
||||
|
||||
seqList = xs: res: lib.fold (x: xs: lib.seq x xs) res xs;
|
||||
seqList = xs: res: fold (x: xs: seq x xs) res xs;
|
||||
|
||||
strictAttrs = as: seqList (lib.attrValues as) as;
|
||||
strictAttrs = as: seqList (attrValues as) as;
|
||||
|
||||
maybe = as: let y = builtins.tryEval (strictAttrs as); in if y.success then y.value else builtins.trace "FAIL" null;
|
||||
|
||||
call = attrs: lib.flip lib.mapAttrs attrs
|
||||
(n: v: builtins.trace n (
|
||||
call = attrs: flip mapAttrs attrs
|
||||
(n: v: trace n (
|
||||
if builtins.isFunction v then maybe (v { system = "i686-linux"; })
|
||||
else if builtins.isAttrs v then call v
|
||||
else null
|
||||
));
|
||||
|
||||
in call rel
|
||||
# Add the ‘recurseForDerivations’ attribute to ensure that
|
||||
# nix-instantiate recurses into nested attribute sets.
|
||||
recurse = attrs:
|
||||
if isDerivation attrs
|
||||
then attrs
|
||||
else { recurseForDerivations = true; } // mapAttrs (n: v: recurse v) attrs;
|
||||
|
||||
in recurse (call rel)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
if [[ -z "$VERBOSE" ]]; then
|
||||
echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
|
||||
fi
|
||||
nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,21 +0,0 @@
|
||||
{stdenv, fetchurl, alsaLib, esound, libogg, libvorbis, glib, gtk}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xmms-1.2.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://nixos.org/tarballs/xmms-1.2.10.tar.bz2;
|
||||
md5 = "03a85cfc5e1877a2e1f7be4fa1d3f63c";
|
||||
};
|
||||
|
||||
# Patch borrowed from SuSE 10.0 to fix pause/continue on ALSA.
|
||||
patches = [./alsa.patch];
|
||||
|
||||
buildInputs = [alsaLib esound libogg libvorbis glib gtk];
|
||||
|
||||
meta = {
|
||||
description = "A music player very similar to Winamp";
|
||||
homepage = http://www.xmms.org;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -8,19 +8,19 @@ assert (libXft != null) -> libpng != null; # probably a bug
|
||||
assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "emacs-23.3";
|
||||
name = "emacs-23.3b";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/emacs/${name}.tar.bz2";
|
||||
sha256 = "0kfa546qi0idkwk29gclgi13qd8q54pcqgy9qwjknlclszprdp3a";
|
||||
sha256 = "1vp6qbbjgh5zpd87j3ggsvgf8q6cax8z3cdx3syv5v2662dapp46";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
buildInputs =
|
||||
[ ncurses x11 texinfo libXaw Xaw3d libXpm libpng libjpeg libungif
|
||||
libtiff librsvg libXft gconf
|
||||
]
|
||||
]
|
||||
++ stdenv.lib.optionals (gtk != null) [ gtk pkgconfig ]
|
||||
++ stdenv.lib.optional stdenv.isLinux dbus;
|
||||
|
||||
|
||||
34
pkgs/applications/editors/emacs-24/builder.sh
Normal file
34
pkgs/applications/editors/emacs-24/builder.sh
Normal file
@@ -0,0 +1,34 @@
|
||||
source $stdenv/setup
|
||||
|
||||
# This hook is supposed to be run on Linux. It patches the proper locations of
|
||||
# the crt{1,i,n}.o files into the build to ensure that Emacs is linked with
|
||||
# *our* versions, not the ones found in the system, as it would do by default.
|
||||
# On other platforms, this appears to be unnecessary.
|
||||
preConfigure() {
|
||||
case "${system}" in
|
||||
x86_64-linux) glibclibdir=lib64 ;;
|
||||
i686-linux) glibclibdir=lib ;;
|
||||
*) return;
|
||||
esac
|
||||
|
||||
libc=$(cat ${NIX_GCC}/nix-support/orig-libc)
|
||||
echo "libc: $libc"
|
||||
|
||||
for i in src/s/*.h src/m/*.h; do
|
||||
substituteInPlace $i \
|
||||
--replace /usr/${glibclibdir}/crt1.o $libc/${glibclibdir}/crt1.o \
|
||||
--replace /usr/${glibclibdir}/crti.o $libc/${glibclibdir}/crti.o \
|
||||
--replace /usr/${glibclibdir}/crtn.o $libc/${glibclibdir}/crtn.o \
|
||||
--replace /usr/lib/crt1.o $libc/${glibclibdir}/crt1.o \
|
||||
--replace /usr/lib/crti.o $libc/${glibclibdir}/crti.o \
|
||||
--replace /usr/lib/crtn.o $libc/${glibclibdir}/crtn.o
|
||||
done
|
||||
|
||||
for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
|
||||
substituteInPlace $i --replace /bin/pwd pwd
|
||||
done
|
||||
}
|
||||
|
||||
preBuild="make bootstrap"
|
||||
|
||||
genericBuild
|
||||
78
pkgs/applications/editors/emacs-24/default.nix
Normal file
78
pkgs/applications/editors/emacs-24/default.nix
Normal file
@@ -0,0 +1,78 @@
|
||||
{ stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d
|
||||
, pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif
|
||||
, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
|
||||
, alsaLib
|
||||
}:
|
||||
|
||||
# XXX: ?
|
||||
# - checking for alsa >= 1.0.0... no
|
||||
# - checking for Wand >= 6.2.8... no
|
||||
# - imagemagickBig instead of imagemagick?
|
||||
|
||||
assert (gtk != null) -> (pkgconfig != null);
|
||||
assert (libXft != null) -> libpng != null; # probably a bug
|
||||
assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "emacs-24.0.92";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://alpha.gnu.org/gnu/emacs/pretest/${name}.tar.gz";
|
||||
sha256 = "0pwps72zj7mm6asly1vdq46dcj3in4qrkb6ss9xq6nbf039nj4w6";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ ncurses x11 texinfo libXaw Xaw3d libXpm libpng libjpeg libungif
|
||||
libtiff librsvg libXft gconf libxml2 imagemagick gnutls alsaLib
|
||||
]
|
||||
++ stdenv.lib.optionals (gtk != null) [ gtk pkgconfig ]
|
||||
++ stdenv.lib.optional stdenv.isLinux dbus;
|
||||
|
||||
configureFlags =
|
||||
stdenv.lib.optionals (gtk != null) [ "--with-x-toolkit=gtk" "--with-xft"]
|
||||
|
||||
# On NixOS, help Emacs find `crt*.o'.
|
||||
++ stdenv.lib.optional (stdenv ? glibc)
|
||||
[ "--with-crt-dir=${stdenv.glibc}/lib" ];
|
||||
|
||||
postInstall = ''
|
||||
cat >$out/share/emacs/site-lisp/site-start.el <<EOF
|
||||
;; nixos specific load-path
|
||||
(when (getenv "NIX_PROFILES") (setq load-path
|
||||
(append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/"))
|
||||
(split-string (getenv "NIX_PROFILES"))))
|
||||
load-path)))
|
||||
EOF
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "PRETEST: GNU Emacs 24.x, the extensible, customizable text editor";
|
||||
|
||||
longDescription = ''
|
||||
GNU Emacs is an extensible, customizable text editor—and more. At its
|
||||
core is an interpreter for Emacs Lisp, a dialect of the Lisp
|
||||
programming language with extensions to support text editing.
|
||||
|
||||
The features of GNU Emacs include: content-sensitive editing modes,
|
||||
including syntax coloring, for a wide variety of file types including
|
||||
plain text, source code, and HTML; complete built-in documentation,
|
||||
including a tutorial for new users; full Unicode support for nearly all
|
||||
human languages and their scripts; highly customizable, using Emacs
|
||||
Lisp code or a graphical interface; a large number of extensions that
|
||||
add other functionality, including a project planner, mail and news
|
||||
reader, debugger interface, calendar, and more. Many of these
|
||||
extensions are distributed with GNU Emacs; others are available
|
||||
separately.
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/emacs/;
|
||||
license = "GPLv3+";
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ ludo simons chaoflow ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -6,8 +6,8 @@ stdenv.mkDerivation {
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el;
|
||||
sha256 = "17sbhf4r6jh4610x8qb2y0y3hww7w33vfsjqg4vrz99pr29xffry";
|
||||
url = http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.cgi;
|
||||
sha256 = "70cf41a2ea6a478a45143a8cd672381c01ed894448200e602531acbf2b1fd160";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ fetchurl, stdenv, emacs, texinfo, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "org-7.5";
|
||||
name = "org-7.8.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://orgmode.org/${name}.tar.gz";
|
||||
sha256 = "978822bc4c5f9f67450fbaa8572f1d4217406b7e28551278c9f23f7e9515cd4b";
|
||||
sha256 = "49357cca7d892e70cd2dfcc0b5d96d9fd164ef5a1f251ace3865ecb27dc1e958";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs texinfo ];
|
||||
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
license = "GPLv3+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.chaoflow ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
maintainers = with stdenv.lib.maintainers; [ ludo chaoflow ];
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
preConfigure() {
|
||||
libc=$(cat ${NIX_GCC}/nix-support/orig-libc)
|
||||
echo "libc: $libc"
|
||||
|
||||
for i in src/s/*.h src/m/*.h; do
|
||||
substituteInPlace $i \
|
||||
--replace /usr/lib/crt1.o $libc/lib/crt1.o \
|
||||
--replace /usr/lib/crti.o $libc/lib/crti.o \
|
||||
--replace /usr/lib/crtn.o $libc/lib/crtn.o
|
||||
done
|
||||
|
||||
for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
|
||||
substituteInPlace $i --replace /bin/pwd pwd
|
||||
done
|
||||
}
|
||||
|
||||
preBuild="make bootstrap"
|
||||
|
||||
genericBuild
|
||||
@@ -1,68 +0,0 @@
|
||||
{ xawSupport ? true
|
||||
, xpmSupport ? true
|
||||
, dbusSupport ? true
|
||||
, xaw3dSupport ? false
|
||||
, gtkGUI ? false
|
||||
, xftSupport ? false
|
||||
, stdenv, fetchcvs, ncurses, x11, libXaw ? null, libXpm ? null, Xaw3d ? null
|
||||
, pkgconfig ? null, gtk ? null, libXft ? null, dbus ? null
|
||||
, libpng, libjpeg, libungif, libtiff, texinfo
|
||||
, autoconf, automake
|
||||
}:
|
||||
|
||||
assert xawSupport -> libXaw != null;
|
||||
assert xpmSupport -> libXpm != null;
|
||||
assert dbusSupport -> dbus != null;
|
||||
assert xaw3dSupport -> Xaw3d != null;
|
||||
assert gtkGUI -> pkgconfig != null && gtk != null;
|
||||
assert xftSupport -> libXft != null && libpng != null; # libpng = probably a bug
|
||||
|
||||
let date = "2009-06-26"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "emacs-snapshot-23-${date}";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchcvs {
|
||||
inherit date;
|
||||
cvsRoot = ":pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs";
|
||||
module = "emacs";
|
||||
sha256 = "bf9b21a0634f45474a1ce91e6153ced69194f1e9c0acd6626a931198f4a5972f";
|
||||
};
|
||||
|
||||
preConfigure = "autoreconf -vfi";
|
||||
|
||||
buildInputs = [
|
||||
autoconf automake
|
||||
ncurses x11 texinfo
|
||||
(if xawSupport then libXaw else null)
|
||||
(if xpmSupport then libXpm else null)
|
||||
(if dbusSupport then dbus else null)
|
||||
(if xaw3dSupport then Xaw3d else null)
|
||||
libpng libjpeg libungif libtiff # maybe not strictly required?
|
||||
]
|
||||
++ (if gtkGUI then [pkgconfig gtk] else [])
|
||||
++ (if xftSupport then [libXft] else []);
|
||||
|
||||
configureFlags = "
|
||||
${if gtkGUI then "--with-x-toolkit=gtk --enable-font-backend --with-xft" else ""}
|
||||
";
|
||||
|
||||
postInstall = ''
|
||||
cat >$out/share/emacs/site-lisp/site-start.el <<EOF
|
||||
;; nixos specific load-path
|
||||
(when (getenv "NIX_PROFILES") (setq load-path
|
||||
(append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/"))
|
||||
(split-string (getenv "NIX_PROFILES"))))
|
||||
load-path)))
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GNU Emacs with Unicode, GTK and Xft support (23.x alpha)";
|
||||
homepage = http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs;
|
||||
license = "GPLv3+";
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.linux; # GTK & co. are needed.
|
||||
};
|
||||
}
|
||||
@@ -1,28 +1,53 @@
|
||||
{ stdenv, fetchurl, ant }:
|
||||
{ stdenv, fetchurl, ant, jre }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jedit-4.2";
|
||||
name = "jedit-4.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sf/jedit/jedit42source.tar.gz;
|
||||
sha256 = "1ckqghsw2r30kfkqfgjl4k47gdwpz8c1h85haw0y0ymq4rqh798j";
|
||||
url = mirror://sf/jedit/jedit4.4.2source.tar.bz2;
|
||||
sha256 = "5e9ad9c32871b77ef0b9fe46dcfcea57ec52558d36113b7280194a33430b8ceb";
|
||||
};
|
||||
|
||||
phases = "unpackPhase buildPhase";
|
||||
setSourceRoot = ''
|
||||
sourceRoot=jEdit
|
||||
'';
|
||||
|
||||
buildPhase = "
|
||||
sed -i 's/\\<SplashScreen\\>/org.gjt.sp.jedit.gui.SplashScreen/g' org/gjt/sp/jedit/GUIUtilities.java
|
||||
ant dist
|
||||
ensureDir $out/lib
|
||||
cp jedit.jar $out/lib
|
||||
ensureDir \$out/lib/modes
|
||||
cp modes/catalog \$out/lib/modes
|
||||
";
|
||||
buildPhase = ''
|
||||
ant build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/share/jEdit
|
||||
cp build/jedit.jar $out/share/jEdit
|
||||
ensureDir $out/share/jEdit/modes
|
||||
cp -r modes/* $out/share/jEdit/modes
|
||||
ensureDir $out/share/jEdit/icons
|
||||
cp -r icons/* $out/share/jEdit/icons
|
||||
ensureDir $out/share/jEdit/macros
|
||||
cp -r macros/* $out/share/jEdit/macros
|
||||
ensureDir $out/share/jEdit/doc
|
||||
cp -r doc/* $out/share/jEdit/doc
|
||||
|
||||
sed -i "s|Icon=.*|Icon=$out/share/jEdit/icons/jedit-icon48.png|g" package-files/linux/deb/jedit.desktop
|
||||
ensureDir $out/share/applications
|
||||
mv package-files/linux/deb/jedit.desktop $out/share/applications/jedit.desktop
|
||||
|
||||
patch package-files/linux/jedit << EOF
|
||||
5a6,8
|
||||
> # specify the correct JAVA_HOME
|
||||
> JAVA_HOME=${jre}
|
||||
>
|
||||
EOF
|
||||
sed -i "s|/usr/share/jEdit/@jar.filename@|$out/share/jEdit/jedit.jar|g" package-files/linux/jedit
|
||||
ensureDir $out/bin
|
||||
cp package-files/linux/jedit $out/bin/jedit
|
||||
chmod +x $out/bin/jedit
|
||||
'';
|
||||
|
||||
buildInputs = [ ant ];
|
||||
|
||||
meta = {
|
||||
description = "really nice programmers editor written in Java. Give it a try";
|
||||
description = "Mature programmer's text editor (Java based)";
|
||||
homepage = http://www.jedit.org;
|
||||
license = "GPL";
|
||||
};
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ fetchurl, stdenv, ncurses, boehmgc, perl, help2man }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zile-2.4.2";
|
||||
name = "zile-2.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/zile/${name}.tar.gz";
|
||||
sha256 = "0ia91c18fyssnhabfb22npmidjkx32rqfkjgxxjibvdwfja25d3k";
|
||||
sha256 = "0rygkc3i9bngzn49kq9fnrbz80d8pa2yjy8iz7vjlc4ayc2akvc3";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses boehmgc ];
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
assert stdenv ? glibc;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.1";
|
||||
version = "0.9.3";
|
||||
name = "darktable-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/darktable/darktable-${version}.tar.gz";
|
||||
sha256 = "b687a5f1b2a6c8aa230c1dc3ef83bf74a103e3ebe1c61cdea95a612a7375f21e";
|
||||
sha256 = "0al9fxifqv9vg8rj6vybjsn6f25pq5ij9367imlhpmsv6m9m5mqw";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
|
||||
22
pkgs/applications/graphics/darktable/libpng-15.patch
Normal file
22
pkgs/applications/graphics/darktable/libpng-15.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
commit 5803d31ae7704e0349821dcc20a94a1cddda69f1
|
||||
Author: Tim Harder <radhermit@gmail.com>
|
||||
Date: Wed Sep 21 14:13:55 2011 -0700
|
||||
|
||||
Fix build with libpng-1.5
|
||||
|
||||
Explicitly include the zlib.h header for the Z_BEST_COMPRESSION and
|
||||
Z_DEFAULT_STRATEGY macros since >=libpng-1.5 doesn't pull it in anymore
|
||||
via the png.h header.
|
||||
|
||||
diff --git a/src/imageio/format/png.c b/src/imageio/format/png.c
|
||||
index 40c7d48..c7be566 100644
|
||||
--- a/src/imageio/format/png.c
|
||||
+++ b/src/imageio/format/png.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <png.h>
|
||||
#include <inttypes.h>
|
||||
+#include <zlib.h>
|
||||
|
||||
DT_MODULE(1)
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2, eigen,
|
||||
kdegraphics, lcms, jasper, libgphoto2, kdepimlibs, gettext, soprano, kdeedu,
|
||||
lcms, jasper, libgphoto2, kdepimlibs, gettext, soprano, libjpeg, libtiff,
|
||||
liblqr1, lensfun, pkgconfig, qjson, libkdcraw, opencv, libkexiv2, libkipi, boost,
|
||||
shared_desktop_ontologies, marble }:
|
||||
shared_desktop_ontologies, marble, clapack, mysql }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "digikam-2.4.1";
|
||||
name = "digikam-2.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/digikam/${name}.tar.bz2";
|
||||
sha256 = "0fyyhc26syd1d1m8jqyg2i66hwd523mh419ln8y944jkrjj6gadc";
|
||||
sha256 = "06l52j8i45vyfj3b81ivifqsqdjlcj4g68d8w06c5lhzniwjqaam";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 kdelibs kdegraphics automoc4 phonon qimageblitz qca2 eigen
|
||||
lcms jasper libgphoto2 kdepimlibs gettext soprano kdeedu liblqr1 lensfun
|
||||
pkgconfig qjson libkdcraw opencv libkexiv2 libkipi boost shared_desktop_ontologies
|
||||
marble ];
|
||||
buildNativeInputs = [ cmake automoc4 pkgconfig ];
|
||||
|
||||
KDEDIRS=kdeedu;
|
||||
buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff
|
||||
jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw
|
||||
opencv libkexiv2 libkipi boost shared_desktop_ontologies marble mysql ];
|
||||
|
||||
# Make digikam find some FindXXXX.cmake
|
||||
preConfigure = ''
|
||||
cp ${qjson}/share/apps/cmake/modules/FindQJSON.cmake cmake/modules;
|
||||
cp ${marble}/share/apps/cmake/modules/FindMarble.cmake cmake/modules;
|
||||
'';
|
||||
KDEDIRS="${marble}:${qjson}";
|
||||
|
||||
patches = [ ./libkvkontakte-not-topdir.patch ./ftbfs-libkipi.patch ];
|
||||
|
||||
meta = {
|
||||
description = "Photo Management Program";
|
||||
|
||||
68
pkgs/applications/graphics/digikam/ftbfs-libkipi.patch
Normal file
68
pkgs/applications/graphics/digikam/ftbfs-libkipi.patch
Normal file
@@ -0,0 +1,68 @@
|
||||
commit 25cc9c9876a5233bd630105d0110319892d4e18c
|
||||
Author: Gilles Caulier <caulier.gilles@gmail.com>
|
||||
Date: Tue Jan 3 15:16:37 2012 +0100
|
||||
|
||||
enable checkall and clearall buttons only with libkipi version 1.4.0
|
||||
BUGS: 290496
|
||||
|
||||
diff --git a/core/utilities/setup/setupplugins.cpp b/utilities/setup/setupplugins.cpp
|
||||
index 0f4030a..b8efb35 100644
|
||||
--- a/core/utilities/setup/setupplugins.cpp
|
||||
+++ b/core/utilities/setup/setupplugins.cpp
|
||||
@@ -6,8 +6,8 @@
|
||||
* Date : 2004-01-02
|
||||
* Description : setup Kipi plugins tab.
|
||||
*
|
||||
- * Copyright (C) 2004-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
|
||||
- * Copyright (C) 2011 by Andi Clemens <andi dot clemens at googlemail dot com>
|
||||
+ * Copyright (C) 2004-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
|
||||
+ * Copyright (C) 2011-2012 by Andi Clemens <andi dot clemens at googlemail dot com>
|
||||
*
|
||||
* This program is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General
|
||||
@@ -100,6 +100,11 @@ SetupPlugins::SetupPlugins(QWidget* parent)
|
||||
|
||||
panel->setLayout(mainLayout);
|
||||
|
||||
+#if KIPI_VERSION < 0x010400
|
||||
+ d->checkAllBtn->setVisible(false);
|
||||
+ d->clearBtn->setVisible(false);
|
||||
+#endif
|
||||
+
|
||||
initPlugins();
|
||||
|
||||
// --------------------------------------------------------
|
||||
@@ -158,14 +163,18 @@ void SetupPlugins::applyPlugins()
|
||||
void SetupPlugins::slotCheckAll()
|
||||
{
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
+#if KIPI_VERSION >= 0x010400
|
||||
d->kipiConfig->slotCheckAll();
|
||||
+#endif
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
void SetupPlugins::slotClear()
|
||||
{
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
+#if KIPI_VERSION >= 0x010400
|
||||
d->kipiConfig->slotClear();
|
||||
+#endif
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
diff --git a/core/utilities/setup/setupplugins.h b/utilities/setup/setupplugins.h
|
||||
index 271a569..114e0fa 100644
|
||||
--- a/core/utilities/setup/setupplugins.h
|
||||
+++ b/core/utilities/setup/setupplugins.h
|
||||
@@ -6,8 +6,8 @@
|
||||
* Date : 2004-01-02
|
||||
* Description : setup Kipi plugins tab.
|
||||
*
|
||||
- * Copyright (C) 2004-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
|
||||
- * Copyright (C) 2011 by Andi Clemens <andi dot clemens at googlemail dot com>
|
||||
+ * Copyright (C) 2004-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
|
||||
+ * Copyright (C) 2011-2012 by Andi Clemens <andi dot clemens at googlemail dot com>
|
||||
*
|
||||
* This program is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General
|
||||
@@ -0,0 +1,33 @@
|
||||
commit 0f0cfa14805519cfd9e0b97ee9668dc4f86379de
|
||||
Author: Yury G. Kudryashov <urkud.urkud@gmail.com>
|
||||
Date: Wed Jan 18 05:07:13 2012 +0400
|
||||
|
||||
Use CMAKE_CURRENT_{SOURCE,BINARY}_DIR
|
||||
|
||||
Some projects (e.g., digikam) include snapshots of this library into their
|
||||
release tarballs, so the libkvkontakte_SOURCE_DIR != CMAKE_SOURCE_DIR.
|
||||
|
||||
diff --git a/extra/libkvkontakte/CMakeLists.txt b/extra/libkvkontakte/CMakeLists.txt
|
||||
index f19b28b..4310a74 100644
|
||||
--- a/extra/libkvkontakte/CMakeLists.txt
|
||||
+++ b/extra/libkvkontakte/CMakeLists.txt
|
||||
@@ -21,7 +21,7 @@ set(INCLUDE_INSTALL_DIR include )
|
||||
|
||||
|
||||
# === Closer to the code, close to the body ===
|
||||
-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
|
||||
+set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
|
||||
find_package(KDE4 REQUIRED)
|
||||
include(KDE4Defaults)
|
||||
include(MacroLibrary)
|
||||
@@ -35,8 +35,8 @@ macro_log_feature(QJSON_FOUND "QJSON" "Qt library for handling JSON data" "http:
|
||||
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
|
||||
include_directories(
|
||||
- ${CMAKE_SOURCE_DIR}
|
||||
- ${CMAKE_BINARY_DIR}
|
||||
+ ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}
|
||||
${KDE4_INCLUDES}
|
||||
${QJSON_INCLUDE_DIR}
|
||||
)
|
||||
42
pkgs/applications/graphics/k3d/default.nix
Normal file
42
pkgs/applications/graphics/k3d/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{stdenv, fetchurl, gtkLibs, gnome
|
||||
, cmake, mesa, zlib, python, expat, libxml2, libsigcxx, libuuid, freetype
|
||||
, libpng, boost, doxygen, cairomm, pkgconfig, imagemagick, libjpeg, libtiff
|
||||
, gettext, intltool, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.8.0.2";
|
||||
name = "k3d-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/k3d/K-3D%20Source/K-3D%200.8.0.2/k3d-source-0.8.0.2.tar.bz2";
|
||||
sha256 = "01fd2qb0zddif3wz1a2wdmwyzn81cf73678qp2gjs8iikmdz6w7x";
|
||||
};
|
||||
|
||||
patches = [ (fetchurl {
|
||||
url = "http://patch-tracker.debian.org/patch/series/dl/k3d/0.8.0.2-15/k3d_gtkmm224.patch";
|
||||
sha256 = "0a81fg96zby6kidqwj6n8mhbrh0j5fpnmfh7lr6havz5r2is9ks5";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib"
|
||||
'';
|
||||
|
||||
buildInputs = with gtkLibs; with gnome; [
|
||||
cmake mesa zlib python expat libxml2 libsigcxx libuuid freetype libpng
|
||||
boost doxygen cairomm pkgconfig imagemagick libjpeg libtiff gettext
|
||||
intltool perl
|
||||
gtkmm glibmm gtkglext
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A 3D editor with support for procedural editing";
|
||||
homepage = "http://k-3d.org/";
|
||||
platforms = with stdenv.lib.platforms;
|
||||
linux;
|
||||
maintainers = with stdenv.lib.maintainers;
|
||||
[raskin];
|
||||
};
|
||||
}
|
||||
30
pkgs/applications/graphics/openscad/default.nix
Normal file
30
pkgs/applications/graphics/openscad/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{stdenv, fetchurl, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
|
||||
, mpfr, gmp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2011.12";
|
||||
name = "openscad-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/openscad/openscad/${name}.src.tar.gz";
|
||||
sha256 = "0gaqwzxbbzc21lhb4y26j8g0g28dhrwrgkndizp5ddab5axi4zjh";
|
||||
};
|
||||
|
||||
buildInputs = [qt4 bison flex eigen boost mesa glew opencsg cgal gmp mpfr];
|
||||
|
||||
configurePhase = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I ${eigen}/include/eigen2 "
|
||||
qmake PREFIX="$out"
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "3D parametric model compiler";
|
||||
homepage = "http://openscad.org/";
|
||||
platforms = with stdenv.lib.platforms;
|
||||
linux;
|
||||
maintainers = with stdenv.lib.maintainers;
|
||||
[raskin];
|
||||
};
|
||||
}
|
||||
@@ -13,14 +13,14 @@ assert monotoneSupport -> (monotone != null);
|
||||
|
||||
let
|
||||
name = "ikiwiki";
|
||||
version = "3.20111229";
|
||||
version = "3.20120109";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "${name}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.de.debian.org/debian/pool/main/i/ikiwiki/${name}_${version}.tar.gz";
|
||||
sha256 = "6470d40c77ae055cfe8c5bbe2f64c765fc84f1ed2dcdd7dcc7577ae190414b89";
|
||||
sha256 = "0a47135c039f3dfd62162dd3b250397fcdab2dbb4bf4cf0433099f6e48d6f3e8";
|
||||
};
|
||||
|
||||
buildInputs = [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
{stdenv, fetchurl, kdelibs, x11, zlib, libpng, libjpeg, perl, qt3, gpgme,
|
||||
libgpgerror}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kbasket-1.0.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://basket.kde.org/downloads/basket-1.0.3.1.tar.gz;
|
||||
sha256 = "1dgghxmabc3bz1644p6dfnjdjbm80jj6fh343r22nkp703q6fqbk";
|
||||
};
|
||||
|
||||
buildInputs = [kdelibs x11 zlib libjpeg libpng perl qt3 gpgme libgpgerror];
|
||||
|
||||
configureFlags = [ "--without-arts" "--with-extra-includes=${libjpeg}/include" "--x-libraries=${x11}/lib" ];
|
||||
|
||||
meta = {
|
||||
description = "Multi-purpose note-taking application";
|
||||
homepage = http://kbasket.kde.org/;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
||||
@@ -7,23 +7,23 @@
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" ;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chromium-17.0.943.0-pre${version}";
|
||||
name = "chromium-18.0.975.0-pre${version}";
|
||||
|
||||
# To determine the latest revision, get
|
||||
# ‘http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux/LAST_CHANGE’.
|
||||
# For the version number, see ‘about:config’.
|
||||
version = "110566";
|
||||
# For the version number, see ‘about:version’.
|
||||
version = "114925";
|
||||
|
||||
src =
|
||||
if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux_x64/${version}/chrome-linux.zip";
|
||||
sha256 = "0pi2qbcvqy9gn2s0bfqlam3mj5ghnnnkrbxrrjl63737377an7ha";
|
||||
sha256 = "19ayrcz1vw7nqr3bbas5f414n3kibf7knd285azrk29f7a7dnpd6";
|
||||
}
|
||||
else if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux/${version}/chrome-linux.zip";
|
||||
sha256 = "0mk8ikgz97i69qy1cy3cqw4a2ff2ixjzyw5i86fmrq7m1f156yva";
|
||||
sha256 = "1bhcd3plw3r62bfysc9nszn07xv3gamf5lkwd6ardwyxanclc7x6";
|
||||
}
|
||||
else throw "Chromium is not supported on this platform.";
|
||||
|
||||
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Chromium, an open source web browser";
|
||||
homepage = http://www.chromium.org/;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
maintainers = with stdenv.lib.maintainers; [ goibhniu chaoflow ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, unzip, xulrunner, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "conkeror-1.0pre-20110917";
|
||||
name = "conkeror-1.0pre-20120105";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://repo.or.cz/w/conkeror.git/snapshot/9d1f522674379874e502545babe0c843f78fa43c.zip;
|
||||
sha256 = "1ga3d9rc3xfaxvjnhnar752q9ga897q9fck0864i7rh0w7xbrhx2";
|
||||
url = http://repo.or.cz/w/conkeror.git/snapshot/da0f9962eeedca9133e8b1928108594173f1769c.zip;
|
||||
sha256 = "75176e5bb077a5ad05b82df01939edeb240e2caba9657a6e175fb3aabf23b393";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip makeWrapper ];
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
homepage = http://conkeror.org/;
|
||||
license = [ "MPLv1.1" "GPLv2" "LGPLv2.1" ];
|
||||
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
||||
maintainers = with stdenv.lib.maintainers; [ astsmtl chaoflow ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
|
||||
if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "http://dl.google.com/linux/direct/google-talkplugin_current_x86_64.rpm";
|
||||
sha256 = "14cf9bef6f70ff850b773dbb92833bbe45645db2636b7e17720fdc6b60e76d63";
|
||||
sha256 = "1jdcnz4iwnjmrr5xyqgam1yd0dc2vyd9iij5imnir4r88l5fc9wh";
|
||||
}
|
||||
else
|
||||
throw "Google Talk does not support your platform.";
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
{stdenv, fetchurl, openssl, curl, ncurses, libjpeg
|
||||
, withGpg ? true, gpgme ? null}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "centerim-4.22.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://centerim.org/download/releases/${name}.tar.gz";
|
||||
sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl curl ncurses libjpeg ]
|
||||
++ stdenv.lib.optional withGpg gpgme;
|
||||
|
||||
configureFlags = [ "--with-openssl=${openssl}" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.centerim.org/;
|
||||
description = "Fork of CenterICQ, a curses instant messaging program";
|
||||
license = "GPLv2+";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, libgadu, libXScrnSaver, libsndfile, libX11,
|
||||
alsaLib, aspell, libidn, qca2, phonon }:
|
||||
alsaLib, aspell, libidn, qca2, phonon, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0j88pyp2nqpc57j38zr135ypfiv4v329gfgiz9rdbqi8j26cyp7g";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 libgadu libXScrnSaver libsndfile libX11 alsaLib aspell libidn qca2 phonon
|
||||
buildInputs = [ cmake qt4 libgadu libXScrnSaver libsndfile libX11 alsaLib aspell libidn qca2 phonon pkgconfig
|
||||
];
|
||||
|
||||
configureFlags = "CPPFLAGS=-DQT_NO_DEBUG";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM,
|
||||
libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, gst_all }:
|
||||
libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, gst_all, which, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "psi-0.14";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE
|
||||
qca2 qca2_ossl pkgconfig];
|
||||
qca2 qca2_ossl pkgconfig which glib];
|
||||
|
||||
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
psiMedia = (import ./psimedia.nix) {
|
||||
inherit stdenv fetchurl qt4 speex gst_all liboil;
|
||||
inherit stdenv fetchurl qt4 speex gst_all liboil which glib pkgconfig;
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, qt4, gst_all, liboil, speex}:
|
||||
{stdenv, fetchurl, qt4, gst_all, liboil, speex, which, glib, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "psimedia";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
||||
};
|
||||
|
||||
buildInputs = [qt4 gst_all.gstreamer gst_all.gstPluginsBase liboil speex];
|
||||
buildInputs = [qt4 gst_all.gstreamer gst_all.gstPluginsBase liboil speex which glib pkgconfig];
|
||||
|
||||
configurePhase = ''./configure'';
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@ let
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="1.1.1";
|
||||
version="1.1.2";
|
||||
baseName="vacuum-im";
|
||||
name="${baseName}-${version}";
|
||||
url="http://vacuum-im.googlecode.com/files/${name}.tar.xz";
|
||||
hash="b4b3472bf83173f6be1bbe69520bf6cab97e24cf9fd8a7b60e4ffdc1cb43b1dc";
|
||||
url="http://vacuum-im.googlecode.com/files/vacuum-${version}.tar.xz";
|
||||
hash="451dde9b3587503b035fa1ddd2c99f2052a0b17a603491c59e8c47a8bcd4746d";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
@@ -29,12 +29,7 @@ rec {
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["addInputs" "preBuild" "doQMake" "doMakeInstall"];
|
||||
|
||||
preBuild = a.fullDepEntry (''
|
||||
echo "Fixing a name collision with a function added in Qt 4.7"
|
||||
sed -re 's/qHash[(][a-z ]*QUrl/vacuum_obsolete_&/' -i src/plugins/dataforms/dataforms.cpp
|
||||
'') ["minInit" "doUnpack"];
|
||||
phaseNames = ["addInputs" "doQMake" "doMakeInstall"];
|
||||
|
||||
doQMake = a.fullDepEntry (''
|
||||
qmake INSTALL_PREFIX=$out -recursive vacuum.pro
|
||||
@@ -48,6 +43,9 @@ rec {
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
license = with a.lib.licenses;
|
||||
gpl3;
|
||||
homepage = "http://code.google.com/p/vacuum-im/";
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{stdenv, fetchurl, pkgconfig, tcl, gtk}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xchat-2.8.4";
|
||||
name = "xchat-2.8.8";
|
||||
src = fetchurl {
|
||||
url = http://www.xchat.org/files/source/2.8/xchat-2.8.4.tar.bz2;
|
||||
sha256 = "0qyx6rdvnjwy52amcmkjj134sysfkzbyv7b66vjsla3i8yg9lnpr";
|
||||
url = http://www.xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2;
|
||||
sha256 = "0d6d69437b5e1e45f3e66270fe369344943de8a1190e498fafa5296315a27db0";
|
||||
};
|
||||
buildInputs = [pkgconfig tcl gtk];
|
||||
configureFlags = "--disable-nls";
|
||||
|
||||
@@ -1,41 +1,51 @@
|
||||
{ fetchurl, stdenv, bash, emacs, gdb, git, glib, gmime, gnupg1, pkgconfig, talloc, xapian }:
|
||||
{ fetchurl, stdenv, bash, emacs, gdb, glib, gmime, gnupg1,
|
||||
pkgconfig, talloc, xapian
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "notmuch-0.9";
|
||||
name = "notmuch-0.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://notmuchmail.org/releases/${name}.tar.gz";
|
||||
sha256 = "e6f1046941d2894d143cb7c19d4810f97946f98742f6d9b8a7208ddb858c57e4";
|
||||
sha256 = "ce062b31db6868babaf3088adee95bfd1030b2691493e815da1730dd262226c0";
|
||||
};
|
||||
|
||||
buildInputs = [ bash emacs gdb git glib gmime gnupg1 pkgconfig talloc xapian ];
|
||||
buildInputs = [ bash emacs gdb glib gmime gnupg1 pkgconfig talloc xapian ];
|
||||
|
||||
patchPhase = ''
|
||||
(cd test && for prg in \
|
||||
aggregate-results.sh \
|
||||
argument-parsing \
|
||||
atomicity \
|
||||
author-order \
|
||||
basic \
|
||||
crypto \
|
||||
count \
|
||||
dump-restore \
|
||||
emacs \
|
||||
emacs-large-search-buffer \
|
||||
encoding \
|
||||
from-guessing \
|
||||
help-test \
|
||||
hooks \
|
||||
json \
|
||||
long-id \
|
||||
maildir-sync \
|
||||
multipart \
|
||||
new \
|
||||
notmuch-test \
|
||||
python \
|
||||
raw \
|
||||
reply \
|
||||
search \
|
||||
search-by-folder \
|
||||
search-insufficient-from-quoting \
|
||||
search-folder-coherence \
|
||||
search-limiting \
|
||||
search-output \
|
||||
search-position-overlap-bug \
|
||||
symbol-hiding \
|
||||
tagging \
|
||||
test-lib.sh \
|
||||
test-verbose \
|
||||
thread-naming \
|
||||
@@ -47,15 +57,16 @@ stdenv.mkDerivation rec {
|
||||
done)
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
make test
|
||||
'';
|
||||
# XXX: emacs tests broken
|
||||
#postBuild = ''
|
||||
# make test
|
||||
#'';
|
||||
|
||||
meta = {
|
||||
description = "Notmuch -- The mail indexer";
|
||||
longDescription = "";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.chaoflow ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
maintainers = with stdenv.lib.maintainers; [ chaoflow ];
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
};
|
||||
}
|
||||
|
||||
115
pkgs/applications/networking/mailreaders/thunderbird/9.x.nix
Normal file
115
pkgs/applications/networking/mailreaders/thunderbird/9.x.nix
Normal file
@@ -0,0 +1,115 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, perl, python, zip, unzip
|
||||
, libIDL, dbus_glib, bzip2, alsaLib, nspr, yasm, mesa, nss
|
||||
, libnotify, cairo, pixman, fontconfig
|
||||
, libjpeg
|
||||
|
||||
, # If you want the resulting program to call itself "Thunderbird"
|
||||
# instead of "Shredder", enable this option. However, those
|
||||
# binaries may not be distributed without permission from the
|
||||
# Mozilla Foundation, see
|
||||
# http://www.mozilla.org/foundation/trademarks/.
|
||||
enableOfficialBranding ? false
|
||||
|
||||
}:
|
||||
|
||||
let version = "9.0.1";
|
||||
|
||||
# This patch may become necessary when we use a more recent version of libpng
|
||||
# for now, it's actually not needed
|
||||
# pngPatch = fetchurl {
|
||||
# url = http://www.linuxfromscratch.org/patches/blfs/svn/thunderbird-9.0.1-libpng-1.5-1.patch;
|
||||
# sha256 = "8454bdde3be8dc37c9f5e6f597914f0a585ff4b357d3fc86c6c9f80208b6068d";
|
||||
# };
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "thunderbird-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.bz2";
|
||||
sha256 = "4fc392915e22b81ef0bd08e6e2d8d0348e66f0930f35bf8ac47eb49f64453e2d";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig perl python zip unzip bzip2 gtk dbus_glib alsaLib libIDL nspr
|
||||
libnotify cairo pixman fontconfig yasm mesa /* nss */
|
||||
libjpeg
|
||||
];
|
||||
|
||||
# fix some paths in pngPatch
|
||||
# prePatch = ''
|
||||
# substitute ${pngPatch} png.patch --replace "mozilla-release/modules/" "comm-release/mozilla/modules/"
|
||||
# '';
|
||||
|
||||
patches = [
|
||||
# "png.patch" # produced by postUnpack
|
||||
|
||||
# Fix weird dependencies such as a so file which depends on "-lpthread".
|
||||
# ./thunderbird-build-deps.patch
|
||||
];
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-application=mail"
|
||||
"--enable-optimize"
|
||||
"--with-pthreads"
|
||||
"--disable-debug"
|
||||
"--enable-strip"
|
||||
"--with-pthreads"
|
||||
"--with-system-jpeg"
|
||||
# "--with-system-png" # png 1.5.x not merged in nixpkgs yet
|
||||
"--with-system-zlib"
|
||||
"--with-system-bz2"
|
||||
"--with-system-nspr"
|
||||
"--enable-system-cairo"
|
||||
"--disable-crashreporter"
|
||||
"--disable-necko-wifi"
|
||||
"--disable-webm"
|
||||
"--disable-tests"
|
||||
"--enable-calendar"
|
||||
]
|
||||
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
|
||||
|
||||
# The Thunderbird Makefiles refer to the variables LIBXUL_DIST,
|
||||
# prefix, and PREFIX in some places where they are not set. In
|
||||
# particular, there are some linker flags like
|
||||
# `-rpath-link=$(LIBXUL_DIST)/bin'. Since this expands to
|
||||
# `-rpath-link=/bin', the build fails due to the purity checks in
|
||||
# the ld wrapper. So disable the purity check for now.
|
||||
preBuild = "NIX_ENFORCE_PURITY=0";
|
||||
|
||||
# This doesn't work:
|
||||
#makeFlags = "LIBXUL_DIST=$(out) prefix=$(out) PREFIX=$(out)";
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# Fix some references to /bin paths in the Xulrunner shell script.
|
||||
substituteInPlace $out/lib/thunderbird-*/thunderbird \
|
||||
--replace /bin/pwd "$(type -tP pwd)" \
|
||||
--replace /bin/ls "$(type -tP ls)"
|
||||
|
||||
# Create a desktop item.
|
||||
ensureDir $out/share/applications
|
||||
cat > $out/share/applications/thunderbird.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=$out/bin/thunderbird
|
||||
Icon=$out/lib/thunderbird-${version}/chrome/icons/default/default256.png
|
||||
Name=Thunderbird
|
||||
GenericName=Mail Reader
|
||||
Categories=Application;Network;
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Mozilla Thunderbird, a full-featured email client";
|
||||
homepage = http://www.mozilla.org/thunderbird/;
|
||||
license =
|
||||
# Official branding implies thunderbird name and logo cannot be reuse,
|
||||
# see http://www.mozilla.org/foundation/licensing.html
|
||||
if enableOfficialBranding then licenses.proprietary else licenses.mpl11;
|
||||
maintainers = with maintainers; [ pierron ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
38
pkgs/applications/networking/newsreaders/kwooty/default.nix
Normal file
38
pkgs/applications/networking/newsreaders/kwooty/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, gettext
|
||||
, kdelibs, kdebase_workspace, perl
|
||||
, openssl, phonon, automoc4
|
||||
, libX11, libXext, libXft
|
||||
, unrar, p7zip, par2cmdline, coreutils
|
||||
}:
|
||||
|
||||
let version = "0.8.0";
|
||||
name = "kwooty-${version}";
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/kwooty/${name}.tar.gz";
|
||||
sha256 = "bb50fb9b3d6c973f2abee62cfc11a7086900a4b676c12bf4e0a2adc170a977fc";
|
||||
};
|
||||
|
||||
patches = [ ./searchPath.patch ];
|
||||
|
||||
postPatch = ''
|
||||
echo "Changing paths to archive utilities to the nix store";
|
||||
substituteInPlace "src/utility.cpp" \
|
||||
--replace "/usr/bin/unrar" "${unrar}/bin" \
|
||||
--replace "/usr/bin/unpar" "${par2cmdline}/bin" \
|
||||
--replace "/usr/bin/7z" "${p7zip}/bin" \
|
||||
--replace "/usr/bin/nice" "${coreutils}/bin/nice"
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
[ stdenv perl cmake qt4 gettext automoc4 openssl
|
||||
kdelibs kdebase_workspace phonon
|
||||
libX11 libXext libXft
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Binary news reader for KDE";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
--- kwooty-kwooty/src/utility.cpp 2012-01-24 22:22:45.091383072 +0100
|
||||
+++ kwooty-kwooty/src/utility.cpp 2012-01-24 22:29:08.526208140 +0100
|
||||
@@ -299,6 +299,7 @@
|
||||
|
||||
QString programPathName;
|
||||
QStringList searchPathList = Settings::searchPathList();
|
||||
+ searchPathList << "/usr/bin/unpar" << "/usr/bin/unrar" << "/usr/bin/7z";
|
||||
|
||||
QStringList programsWithDifferentNames = programToSearch.split(";");
|
||||
|
||||
@@ -363,7 +364,7 @@
|
||||
QStringList niceProcessArgs;
|
||||
|
||||
// look for 'nice' location :
|
||||
- QString nicePath = KStandardDirs::findExe("nice");
|
||||
+ QString nicePath = QString("/usr/bin/nice");
|
||||
niceProcessArgs.append(nicePath);
|
||||
niceProcessArgs.append("-n");
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
assert gtkSupport -> (gtk != null) && (libglade != null);
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnunet-0.9.0";
|
||||
name = "gnunet-0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gnunet/${name}.tar.gz";
|
||||
sha256 = "1a0faq2j20dxhpdq0lpi8mjhddwmscbaa1bsxk460p5mj8n55i3p";
|
||||
sha256 = "0ipx027lzcgdv70adfk8f4h0zrzm9mlhy3vj9cgc0ck8x52llfpq";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -41,9 +41,18 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
# XXX: There are several test failures, forwarded to bug-gnunet@gnu.org.
|
||||
doCheck = false;
|
||||
|
||||
/* FIXME: Tests must be run this way, but there are still a couple of
|
||||
failures.
|
||||
|
||||
postInstall =
|
||||
'' export GNUNET_PREFIX="$out"
|
||||
export PATH="$out/bin:$PATH"
|
||||
make -k check
|
||||
'';
|
||||
*/
|
||||
|
||||
meta = {
|
||||
description = "GNUnet, GNU's decentralized anonymous and censorship-resistant P2P framework";
|
||||
|
||||
|
||||
@@ -5,14 +5,14 @@ stdenv.mkDerivation rec {
|
||||
name = pname + "-" + version;
|
||||
|
||||
pname = "ktorrent";
|
||||
version = "4.1.1";
|
||||
version = "4.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
|
||||
sha256 = "1h0fqh344sfwfbvnwhn00k8czb14568flapjf4754zss6bxpw4g4";
|
||||
sha256 = "0ih68bml6ic3mxk5l4ypgmxwyg9mglp57gw5igrnm5yszm7jz19g";
|
||||
};
|
||||
|
||||
patches = [ ./find-workspace.diff ];
|
||||
patches = [ ./find-workspace.diff ./drop-taskmanager-dependency.patch ];
|
||||
|
||||
KDEDIRS = libktorrent;
|
||||
|
||||
|
||||
@@ -0,0 +1,175 @@
|
||||
commit 6d4a6ae51692966862ccb20d17cb217717519d40
|
||||
Author: Joris Guisson <joris.guisson@gmail.com>
|
||||
Date: Wed Nov 23 20:17:08 2011 +0100
|
||||
|
||||
Use dbus to show ktorrent window from plasma applet. This removes the dependency on libtaskmanager.
|
||||
|
||||
BUG: 287309
|
||||
Changelog removed by Yury G. Kudryashov
|
||||
|
||||
diff --git a/plasma/applet/CMakeLists.txt b/plasma/applet/CMakeLists.txt
|
||||
index 3a72241..4307cf2 100644
|
||||
--- a/plasma/applet/CMakeLists.txt
|
||||
+++ b/plasma/applet/CMakeLists.txt
|
||||
@@ -5,25 +5,15 @@ if(NOT QT_VERSION_OK)
|
||||
|
||||
else(NOT QT_VERSION_OK)
|
||||
|
||||
- set(TASKMANAGER_FOUND FALSE)
|
||||
- FIND_PATH(TASKMANAGER_INCLUDE_DIR NAMES taskmanager.h PATHS ${KDE4_INCLUDE_DIR}/taskmanager ${INCLUDE_INSTALL_DIR}/taskmanager.h)
|
||||
- FIND_LIBRARY(TASKMANAGER_LIBRARY NAMES taskmanager PATHS ${KDE4_LIB_DIR} ${LIB_INSTALL_DIR})
|
||||
-
|
||||
- if(TASKMANAGER_INCLUDE_DIR AND TASKMANAGER_LIBRARY)
|
||||
- set(TASKMANAGER_FOUND TRUE)
|
||||
- message(STATUS "Found libtaskmanager: ${TASKMANAGER_LIBRARY} ")
|
||||
- include_directories(${TASKMANAGER_INCLUDE_DIR})
|
||||
- set(ktapplet_SRCS applet.cpp chunkbar.cpp fadingitem.cpp fadingnavigationwidget.cpp)
|
||||
-
|
||||
- kde4_add_ui_files(ktapplet_SRCS appletconfig.ui)
|
||||
-
|
||||
- kde4_add_plugin(plasma_applet_ktorrent ${ktapplet_SRCS})
|
||||
- target_link_libraries(plasma_applet_ktorrent ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${TASKMANAGER_LIBRARY} ${LIBKTORRENT_LIBRARIES} ktcore)
|
||||
-
|
||||
- install(TARGETS plasma_applet_ktorrent DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
- install(FILES plasma-applet-ktorrent.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||||
- endif(TASKMANAGER_INCLUDE_DIR AND TASKMANAGER_LIBRARY)
|
||||
-
|
||||
- macro_log_feature(TASKMANAGER_FOUND "libtaskmanager" "libtaskmanager library and header files" "http://www.kde.org/" FALSE "" "libtaskmanager is needed for KTorrent Plasmoid")
|
||||
+
|
||||
+ set(ktapplet_SRCS applet.cpp chunkbar.cpp fadingitem.cpp fadingnavigationwidget.cpp)
|
||||
+
|
||||
+ kde4_add_ui_files(ktapplet_SRCS appletconfig.ui)
|
||||
+
|
||||
+ kde4_add_plugin(plasma_applet_ktorrent ${ktapplet_SRCS})
|
||||
+ target_link_libraries(plasma_applet_ktorrent ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${LIBKTORRENT_LIBRARIES} ktcore)
|
||||
+
|
||||
+ install(TARGETS plasma_applet_ktorrent DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
+ install(FILES plasma-applet-ktorrent.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||||
|
||||
endif(NOT QT_VERSION_OK)
|
||||
diff --git a/plasma/applet/applet.cpp b/plasma/applet/applet.cpp
|
||||
index 59e7191..bf09479 100644
|
||||
--- a/plasma/applet/applet.cpp
|
||||
+++ b/plasma/applet/applet.cpp
|
||||
@@ -21,6 +21,9 @@
|
||||
#include "applet.h"
|
||||
#include <QFile>
|
||||
#include <QGraphicsLinearLayout>
|
||||
+#include <QDBusConnection>
|
||||
+#include <QDBusConnectionInterface>
|
||||
+#include <QDBusMessage>
|
||||
#include <KConfigDialog>
|
||||
#include <KLocale>
|
||||
#include <KRun>
|
||||
@@ -31,12 +34,11 @@
|
||||
#include <Plasma/IconWidget>
|
||||
#endif
|
||||
#include <Plasma/Label>
|
||||
-#include <taskmanager/taskmanager.h>
|
||||
-#include <taskmanager/task.h>
|
||||
#include <util/functions.h>
|
||||
#include "chunkbar.h"
|
||||
#include "fadingnavigationwidget.h"
|
||||
|
||||
+
|
||||
using namespace bt;
|
||||
|
||||
namespace ktplasma
|
||||
@@ -174,7 +176,8 @@ namespace ktplasma
|
||||
}
|
||||
}
|
||||
|
||||
- void Applet::updateNavigation() {
|
||||
+ void Applet::updateNavigation()
|
||||
+ {
|
||||
navigation->setEnabled(connected_to_app && !sources.empty()
|
||||
&& (sources.count() > 1 || !sources.contains(current_source)));
|
||||
}
|
||||
@@ -193,12 +196,14 @@ namespace ktplasma
|
||||
}
|
||||
}
|
||||
|
||||
- void Applet::updateSources() {
|
||||
+ void Applet::updateSources()
|
||||
+ {
|
||||
sources = engine->sources();
|
||||
sources.removeOne("core");
|
||||
}
|
||||
|
||||
- void Applet::setSource(QString source) {
|
||||
+ void Applet::setSource(QString source)
|
||||
+ {
|
||||
if (!current_source.isEmpty())
|
||||
engine->disconnectSource(current_source,this);
|
||||
clearData();
|
||||
@@ -340,20 +345,39 @@ namespace ktplasma
|
||||
|
||||
void Applet::iconClicked()
|
||||
{
|
||||
- TaskManager::TaskDict tasks = TaskManager::TaskManager::self()->tasks();
|
||||
- for (TaskManager::TaskDict::iterator i = tasks.begin();i != tasks.end();i ++)
|
||||
+ QDBusConnection session_bus = QDBusConnection::sessionBus();
|
||||
+ QDBusConnectionInterface* dbus_service = session_bus.interface();
|
||||
+ if (!session_bus.isConnected() || !dbus_service || !dbus_service->isServiceRegistered("org.ktorrent.ktorrent"))
|
||||
{
|
||||
- if (i.value()->className() == "ktorrent")
|
||||
- {
|
||||
- KWindowSystem::activateWindow(i.key());
|
||||
- return;
|
||||
- }
|
||||
+ // can't find the window, try launching it
|
||||
+ KUrl::List empty;
|
||||
+ KRun::run("ktorrent", empty, 0);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ QDBusMessage msg = QDBusMessage::createMethodCall("org.ktorrent.ktorrent", "/ktorrent/MainWindow_1", "org.kde.KMainWindow", "winId");
|
||||
+ QDBusPendingCall call = session_bus.asyncCall(msg, 5000);
|
||||
+ QDBusPendingCallWatcher* watcher = new QDBusPendingCallWatcher(call ,this);
|
||||
+ connect(watcher, SIGNAL(finished(QDBusPendingCallWatcher*)), this, SLOT(dbusCallFinished(QDBusPendingCallWatcher*)));
|
||||
}
|
||||
-
|
||||
- // can't find the window, try launching it
|
||||
- KUrl::List empty;
|
||||
- KRun::run("ktorrent", empty, 0);
|
||||
}
|
||||
+
|
||||
+ void Applet::dbusCallFinished(QDBusPendingCallWatcher* self)
|
||||
+ {
|
||||
+ if (self->isError())
|
||||
+ {
|
||||
+ // call failed, try launching it
|
||||
+ KUrl::List empty;
|
||||
+ KRun::run("ktorrent", empty, 0);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ QDBusPendingReply<qlonglong> reply = *self;
|
||||
+ KWindowSystem::activateWindow(reply.value());
|
||||
+ }
|
||||
+ self->deleteLater();
|
||||
+ }
|
||||
+
|
||||
|
||||
void Applet::clearData()
|
||||
{
|
||||
diff --git a/plasma/applet/applet.h b/plasma/applet/applet.h
|
||||
index 29b3265..d396118 100644
|
||||
--- a/plasma/applet/applet.h
|
||||
+++ b/plasma/applet/applet.h
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "fadingnavigationwidget.h"
|
||||
|
||||
class QGraphicsLinearLayout;
|
||||
+class QDBusPendingCallWatcher;
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
@@ -68,6 +69,7 @@ namespace ktplasma
|
||||
void iconClicked();
|
||||
void selectPrev();
|
||||
void selectNext();
|
||||
+ void dbusCallFinished(QDBusPendingCallWatcher* self);
|
||||
|
||||
private:
|
||||
void updateTorrentCombo();
|
||||
@@ -1,19 +1,4 @@
|
||||
Fix finding taskmanager.h and kworkspace.h
|
||||
diff --git a/plasma/applet/CMakeLists.txt b/plasma/applet/CMakeLists.txt
|
||||
index 3a72241..69b1205 100644
|
||||
--- a/plasma/applet/CMakeLists.txt
|
||||
+++ b/plasma/applet/CMakeLists.txt
|
||||
@@ -6,7 +6,9 @@ if(NOT QT_VERSION_OK)
|
||||
else(NOT QT_VERSION_OK)
|
||||
|
||||
set(TASKMANAGER_FOUND FALSE)
|
||||
- FIND_PATH(TASKMANAGER_INCLUDE_DIR NAMES taskmanager.h PATHS ${KDE4_INCLUDE_DIR}/taskmanager ${INCLUDE_INSTALL_DIR}/taskmanager.h)
|
||||
+ FIND_PATH(TASKMANAGER_INCLUDE_DIR
|
||||
+ NAMES taskmanager/taskmanager.h
|
||||
+ HINTS ${KDE4_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR})
|
||||
FIND_LIBRARY(TASKMANAGER_LIBRARY NAMES taskmanager PATHS ${KDE4_LIB_DIR} ${LIB_INSTALL_DIR})
|
||||
|
||||
if(TASKMANAGER_INCLUDE_DIR AND TASKMANAGER_LIBRARY)
|
||||
Fix finding kworkspace.h
|
||||
diff --git a/plugins/shutdown/CMakeLists.txt b/plugins/shutdown/CMakeLists.txt
|
||||
index 59e5470..5b932ff 100644
|
||||
--- a/plugins/shutdown/CMakeLists.txt
|
||||
|
||||
@@ -1,29 +1,36 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, cmake
|
||||
, openssl
|
||||
, printerSupport ? true, cups
|
||||
, pkgconfig
|
||||
, zlib
|
||||
, libX11
|
||||
, libXcursor
|
||||
, libXdamage
|
||||
, libXext
|
||||
, alsaLib
|
||||
}:
|
||||
|
||||
assert printerSupport -> cups != null;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freerdp-0.8.2";
|
||||
name = "freerdp-${version}";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/freerdp/${name}.tar.gz";
|
||||
sha256 = "1q9hhwyc4hk49hsmd2kghrfsawxcc7gy7vcmhdf91l8v95xp16iq";
|
||||
url = "https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-${version}.tar.gz";
|
||||
sha256 = "1h7b2ykgsp1b04p67syb3p2xgpsb45i6zl1jvm09h0dr5an85awd";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmake
|
||||
openssl
|
||||
pkgconfig
|
||||
zlib
|
||||
libX11
|
||||
libXcursor
|
||||
libXdamage
|
||||
libXext
|
||||
alsaLib
|
||||
] ++ stdenv.lib.optional printerSupport cups;
|
||||
|
||||
@@ -46,4 +53,3 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -53,6 +53,16 @@ stdenv.mkDerivation rec {
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/skype
|
||||
|
||||
# Desktop icon for Skype
|
||||
patch skype.desktop << EOF
|
||||
5c5
|
||||
< Icon=skype.png
|
||||
---
|
||||
> Icon=$out/opt/skype/icons/SkypeBlue_48x48.png
|
||||
EOF
|
||||
ensureDir $out/share/applications
|
||||
mv skype.desktop $out/share/applications
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,17 +1,26 @@
|
||||
{ stdenv, fetchurl, perl
|
||||
, enableACLs ? true, acl ? null
|
||||
, enableCopyDevicesPatch ? false
|
||||
}:
|
||||
|
||||
assert enableACLs -> acl != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rsync-3.0.9";
|
||||
|
||||
src = fetchurl {
|
||||
mainSrc = fetchurl {
|
||||
url = http://rsync.samba.org/ftp/rsync/src/rsync-3.0.9.tar.gz;
|
||||
sha256 = "01bw4klqsrlhh3i9lazd485sd9qx5djvnwa21lj2h3a9sn6hzw9h";
|
||||
};
|
||||
|
||||
patchesSrc = fetchurl {
|
||||
url = http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.9.tar.gz;
|
||||
sha256 = "0c1e9b56e99667dfc47641124460bac61a04c5d2ee89f575c6bc78c7a69005a9";
|
||||
};
|
||||
|
||||
srcs = [mainSrc] ++ stdenv.lib.optional enableCopyDevicesPatch patchesSrc;
|
||||
patches = [] ++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
||||
|
||||
buildInputs = stdenv.lib.optional enableACLs acl;
|
||||
buildNativeInputs = [perl];
|
||||
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
{ stdenv, fetchurl, cmake, kdelibs, automoc4, kdepimlibs, gettext,
|
||||
shared_mime_info, perl, boost, gpgme }:
|
||||
shared_mime_info, perl, boost, gpgme, gmpxx, libalkimia, libofx, libical }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kmymoney-4.5.3";
|
||||
name = "kmymoney-4.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/kmymoney2/${name}.tar.bz2";
|
||||
sha256 = "1yvgyzybfm1ajswwq3w3kdij4y2cyhfkk52xhv7dbp1wrxsp5cx9";
|
||||
sha256 = "0ympq70z0a9zrs623jznj6hnjph2rdhpra0np2mqm1mmy72bkjjz";
|
||||
};
|
||||
|
||||
buildInputs = [ kdelibs kdepimlibs perl boost gpgme ];
|
||||
buildInputs = [ kdepimlibs perl boost gpgme gmpxx libalkimia libofx libical ];
|
||||
buildNativeInputs = [ cmake automoc4 gettext shared_mime_info ];
|
||||
|
||||
KDEDIRS = libalkimia;
|
||||
|
||||
patches = [ ./qgpgme.patch ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
, pcre, expat, boost, mpfr, git, texinfo }:
|
||||
|
||||
let
|
||||
rev = "cf35984971341b8a8688";
|
||||
rev = "d2915c66";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "ledger3-${rev}";
|
||||
name = "ledger3-2012.01.${rev}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/jwiegley/ledger.git";
|
||||
inherit rev;
|
||||
sha256 = "4078983db9fc8d232fa71a31b47e505c531971b4515d6ef723e7d333a2352d2a";
|
||||
sha256 = "a489c8b1c48889040d2cebaac1a0019e90acac0b51c9abf7914944dcb4b801e7";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -24,7 +24,8 @@ stdenv.mkDerivation {
|
||||
|
||||
buildPhase = ''
|
||||
sed -i acprep \
|
||||
-e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|'
|
||||
-e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|' \
|
||||
-e 's|/usr/bin/python|${python}/bin/python|'
|
||||
export MAKEFLAGS="-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES"
|
||||
python acprep update --no-pch --prefix=$out
|
||||
'';
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSIONBASE=3.4.5
|
||||
|
||||
VERSION=3.4.5.2
|
||||
|
||||
if [ $# -gt 2 ]; then
|
||||
VERSIONBASE=$1
|
||||
VERSION=$2
|
||||
fi
|
||||
|
||||
echo '{fetchurl} : ['
|
||||
|
||||
for a in artwork base bootstrap calc components extensions extras filters \
|
||||
help impress libs-core libs-extern libs-extern-sys libs-gui postprocess \
|
||||
translations ure writer sdk testing; do
|
||||
|
||||
URL=http://download.documentfoundation.org/libreoffice/src/$VERSIONBASE/libreoffice-$a-$VERSION.tar.bz2
|
||||
|
||||
echo '(fetchurl {'
|
||||
echo " url = \"$URL\";"
|
||||
echo " sha256 = \"`nix-prefetch-url $URL`\";"
|
||||
echo '})'
|
||||
done
|
||||
|
||||
echo ']'
|
||||
78
pkgs/applications/office/openoffice/libreoffice-srcs.nix
Normal file
78
pkgs/applications/office/openoffice/libreoffice-srcs.nix
Normal file
@@ -0,0 +1,78 @@
|
||||
{fetchurl} : [
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-artwork-3.4.5.2.tar.bz2";
|
||||
sha256 = "01vi1njw0agpvxi0141k2arzhgq1kjbda7sj1l0l304qj9n78b1q";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-base-3.4.5.2.tar.bz2";
|
||||
sha256 = "0f5rsyrn33iz0sny3wxsghv7c7yrbhas42yarb5rq958i3kpm6wz";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-calc-3.4.5.2.tar.bz2";
|
||||
sha256 = "1l00y0qj1s9m31jmqg7q7bczxa5xsng388nqc9zc3vd6zjf4xy9i";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-components-3.4.5.2.tar.bz2";
|
||||
sha256 = "1sq6yl06x006wxj1i89lv75sskb1bkxws82rcj1gvih6r8czih52";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-extensions-3.4.5.2.tar.bz2";
|
||||
sha256 = "18xhk9h9vl9qhwlgv8ks3xi6hls2vgnkygnz1yhpf4p2g2y6nv7z";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-extras-3.4.5.2.tar.bz2";
|
||||
sha256 = "0zxm30na6hzpjfasi1g890magf63kmg39y6y56wz9hv2z9p5q8jv";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-filters-3.4.5.2.tar.bz2";
|
||||
sha256 = "002qxqav39530csraq16ga4fnvw8v9wqbvp88b6lzi2m5yqpbl46";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-help-3.4.5.2.tar.bz2";
|
||||
sha256 = "1agsqzz73dmsy2jsw63qq1ljx4h0ppz7zwqllc7617yiak0rqsqq";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-impress-3.4.5.2.tar.bz2";
|
||||
sha256 = "0ivabx4wl7dkfalr0z4gqm5976phc6mkidnv1i580ixrf0zdz483";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-libs-core-3.4.5.2.tar.bz2";
|
||||
sha256 = "0blwd58hf51iixikrjrlqdm6n40wv5k2c9c8krfzxfcvk20mvv4b";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-libs-extern-3.4.5.2.tar.bz2";
|
||||
sha256 = "01cm3fjfj08a7b8i6iszml2ly1wa2hnkqqq1irvjb0wb1fjjxq3s";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-libs-extern-sys-3.4.5.2.tar.bz2";
|
||||
sha256 = "1528n6mnlhpdhi9zfvqziwr6knsak212ghjww0jlfh31ky3whlh0";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-libs-gui-3.4.5.2.tar.bz2";
|
||||
sha256 = "0win8si2yjkbfrwx46dw6as82iw7x4wd53cirncsrwvzksdqphcr";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-postprocess-3.4.5.2.tar.bz2";
|
||||
sha256 = "1rspqy1drfvj3rdfx8d7wbwn17vw08n26qmb98xwkgf5najdpfnp";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-translations-3.4.5.2.tar.bz2";
|
||||
sha256 = "0ngynrskq6h58gybswcpklj49cyvh0igksngbr0gz6n1yq3471iz";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-ure-3.4.5.2.tar.bz2";
|
||||
sha256 = "0wg06gbaq3ynqzaxaaqgxkjssxnggw6xqgfm63rmn9c1cd4q0mzy";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-writer-3.4.5.2.tar.bz2";
|
||||
sha256 = "0k7xf94abavdzpns1z13phl3vjz0xkfv2h5sn7rgpr3dy184klxh";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-sdk-3.4.5.2.tar.bz2";
|
||||
sha256 = "1f9iv875aw9sic4gl45ik1vx24gpq9iarjl673wz6l0wxr6hgrgw";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-testing-3.4.5.2.tar.bz2";
|
||||
sha256 = "05sk3li5jgmjv722ncsr2i7arhmsvkkvmh4qw7xl70p8dpxhla8q";
|
||||
})
|
||||
]
|
||||
137
pkgs/applications/office/openoffice/libreoffice.nix
Normal file
137
pkgs/applications/office/openoffice/libreoffice.nix
Normal file
@@ -0,0 +1,137 @@
|
||||
{ stdenv, fetchurl, pam, python, tcsh, libxslt, perl, ArchiveZip
|
||||
, CompressZlib, zlib, libjpeg, expat, pkgconfig, freetype, libwpd
|
||||
, libxml2, db4, sablotron, curl, libXaw, fontconfig, libsndfile, neon
|
||||
, bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which
|
||||
, icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups
|
||||
, libXinerama, openssl, gperf, cppunit, GConf, ORBit2
|
||||
, autoconf, openldap, postgresql, bash
|
||||
, langs ? [ "en-US" "ca" "ru" "eo" "fr" "nl" "de" "en-GB" ]
|
||||
}:
|
||||
|
||||
throw "The expression for libreoffice is still not ready"
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libreoffice-3.4.5.2";
|
||||
|
||||
srcs_download = import ./libreoffice-srcs.nix { inherit fetchurl; };
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/3.4.5/libreoffice-bootstrap-3.4.5.2.tar.bz2";
|
||||
sha256 = "05xz6ykddrm6mrgl9jssr2xpg2ir0x6c1c3n1cph0mvd0hiz58x9";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's,/usr/bin/env bash,${bash}/bin/bash,' Makefile.in bin/unpack-sources
|
||||
|
||||
# Needed to find genccode
|
||||
PATH=$PATH:${icu}/sbin
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
for a in $srcs_download; do
|
||||
FILE=$(basename $a)
|
||||
# take out the hash
|
||||
cp -v $a src/$(echo $FILE | sed 's/[^-]*-//')
|
||||
done
|
||||
|
||||
# Remove an exit 1, ignoring the lack of wget or curl
|
||||
sed '/wget nor curl/{n;d}' -i download
|
||||
./download
|
||||
|
||||
# Fix svtools: hardcoded jpeg path
|
||||
sed -i -e 's,^JPEG3RDLIB=.*,JPEG3RDLIB=${libjpeg}/lib/libjpeg.so,' solenv/inc/libs.mk
|
||||
# Fix sysui: wants to create a tar for root
|
||||
sed -i -e 's,--own.*root,,' sysui/desktop/slackware/makefile.mk
|
||||
# Fix libtextcat: wants to set rpath to /usr/local/lib
|
||||
sed -i -e 's,^CONFIGURE_FLAGS.*,& --prefix='$TMPDIR, libtextcat/makefile.mk
|
||||
# Fix hunspell: the checks fail due to /bin/bash missing, and I find this fix easier
|
||||
sed -i -e 's,make && make check,make,' hunspell/makefile.mk
|
||||
# Fix redland: wants to set rpath to /usr/local/lib
|
||||
sed -i -e 's,^CONFIGURE_FLAGS.*,& --prefix='$TMPDIR, redland/redland/makefile.mk \
|
||||
redland/raptor/makefile.mk redland/rasqal/makefile.mk
|
||||
|
||||
# This to aovid using /lib:/usr/lib at linking
|
||||
sed -i '/gb_LinkTarget_LDFLAGS/{ n; /rpath-link/d;}' solenv/gbuild/platform/unxgcc.mk
|
||||
|
||||
find -name "*.cmd" -exec sed -i s,/lib:/usr/lib,, {} \;
|
||||
|
||||
make
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
# Helpful, while testing the expression
|
||||
# "--with-num-cpus=4"
|
||||
|
||||
"--enable-verbose"
|
||||
|
||||
# Without these, configure does not finish
|
||||
"--disable-gnome-vfs"
|
||||
"--disable-gstreamer"
|
||||
"--disable-opengl"
|
||||
"--without-junit"
|
||||
"--without-system-mythes"
|
||||
|
||||
# Without this, it wants to download
|
||||
"--with-cairo"
|
||||
"--with-system-libs"
|
||||
"--with-system-python"
|
||||
"--with-system-boost"
|
||||
"--with-system-db"
|
||||
|
||||
# I imagine this helps. Copied from go-oo.
|
||||
"--disable-epm"
|
||||
"--disable-fontooo"
|
||||
"--disable-gnome-vfs"
|
||||
"--disable-gnome-vfs"
|
||||
"--disable-mathmldtd"
|
||||
"--disable-mozilla"
|
||||
"--disable-odk"
|
||||
"--disable-pasf"
|
||||
"--disable-dbus"
|
||||
"--disable-kde"
|
||||
"--disable-kde4"
|
||||
"--disable-mono"
|
||||
"--with-package-format=native"
|
||||
"--with-jdk-home=${jdk}"
|
||||
"--with-ant-home=${ant}"
|
||||
"--without-afms"
|
||||
"--without-dict"
|
||||
"--without-fonts"
|
||||
"--without-myspell-dicts"
|
||||
"--without-nas"
|
||||
"--without-ppds"
|
||||
"--without-system-agg"
|
||||
"--without-system-beanshell"
|
||||
"--without-system-hsqldb"
|
||||
"--without-system-xalan"
|
||||
"--without-system-xerces"
|
||||
"--without-system-xml-apis"
|
||||
"--without-system-xt"
|
||||
"--without-system-jars"
|
||||
"--without-system-hunspell"
|
||||
"--without-system-altlinuxhyph"
|
||||
"--without-system-lpsolve"
|
||||
"--without-system-graphite"
|
||||
"--without-system-mozilla"
|
||||
"--without-system-libwps"
|
||||
"--without-system-libwpg"
|
||||
"--without-system-redland"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pam python tcsh libxslt perl ArchiveZip CompressZlib zlib
|
||||
libjpeg expat pkgconfig freetype libwpd libxml2 db4 sablotron curl
|
||||
libXaw fontconfig libsndfile neon bison flex zip unzip gtk libmspack
|
||||
getopt file jdk cairo which icu boost libXext libX11 libXtst libXi
|
||||
cups libXinerama openssl gperf GConf ORBit2
|
||||
ant autoconf openldap postgresql cppunit
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Libre-office, variant of openoffice.org";
|
||||
homepage = http://libreoffice.org/;
|
||||
license = "LGPL";
|
||||
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
20
pkgs/applications/office/skrooge/default.nix
Normal file
20
pkgs/applications/office/skrooge/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl, kdelibs, grantlee, qca2, libofx, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "skrooge-1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://skrooge.org/files/${name}.tar.bz2";
|
||||
sha256 = "0qkd1hay7lglb0b4iw3arlwgm0yr8x789x7zf815skxvfhdaclv5";
|
||||
};
|
||||
|
||||
buildInputs = [ kdelibs grantlee qca2 libofx ];
|
||||
|
||||
buildNativeInputs = [ gettext ];
|
||||
|
||||
meta = {
|
||||
inherit (kdelibs.meta) platforms;
|
||||
description = "A personal finance manager for KDE";
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
18
pkgs/applications/office/zanshin/default.nix
Normal file
18
pkgs/applications/office/zanshin/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, kdelibs, kdepimlibs, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zanshin-0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://files.kde.org/zanshin/zanshin-0.2.0.tar.bz2";
|
||||
sha256 = "0kskk8rj4bwx5zywxw0h2lgl7byw9dxzdcafb6xp5cvdkjkg9j87";
|
||||
};
|
||||
|
||||
buildInputs = [ kdelibs kdepimlibs boost ];
|
||||
|
||||
meta = {
|
||||
description = "GTD for KDE";
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
inherit (kdelibs.meta) platforms;
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel }:
|
||||
{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, mesa, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "avogadro-1.0.3";
|
||||
@@ -8,9 +8,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0s44r78vm7hf4cs13d2qki3gf178gjj1ihph6rs04g6s4figvdpg";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 eigen zlib openbabel ];
|
||||
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
|
||||
|
||||
buildNativeInputs = [ cmake ];
|
||||
buildNativeInputs = [ cmake pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
|
||||
|
||||
meta = {
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
|
||||
17
pkgs/applications/science/electronics/archimedes/default.nix
Normal file
17
pkgs/applications/science/electronics/archimedes/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "archimedes-2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/archimedes/${name}.tar.gz";
|
||||
sha256 = "1ajg4xvk5slv05fsbikrina9g4bmhx8gykk249yz21pir67sdk4x";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "GNU package for semiconductor device simulations";
|
||||
homepage = http://www.gnu.org/software/archimedes;
|
||||
license = "GPLv2+";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
@@ -9,11 +9,11 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hol_light-20111224";
|
||||
name = "hol_light-20120109";
|
||||
src = fetchsvn {
|
||||
url = http://hol-light.googlecode.com/svn/trunk;
|
||||
rev = "116";
|
||||
sha256 = "c840cc2dfeb2088484692cb0073e6a7bb85e3e44e95aee1e0f5a8e223f7ccae6";
|
||||
rev = "118";
|
||||
sha256 = "97e72dad731338328c031421512c26d440a989ea083f3ae34820eb8413aff495";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib camlp5 ];
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.20111231";
|
||||
version = "3.20120123";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "git-annex-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.de.debian.org/debian/pool/main/g/git-annex/git-annex_${version}.tar.gz";
|
||||
sha256 = "4f53e7fc9560838be7efd0c90543c93ce1c7d2ba36b7754200586d845ec114f5";
|
||||
sha256 = "dad93dad08ddfd0d239ee57bbf61dd2ee3755d9a94e2946ac5d7bb4cfa565488";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://git-annex.branchable.com/";
|
||||
description = "Manage files with git without checking them into git";
|
||||
license = "GPLv3+";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
longDescription = ''
|
||||
Git-annex allows managing files with git, without checking the
|
||||
|
||||
35
pkgs/applications/version-management/gource/default.nix
Normal file
35
pkgs/applications/version-management/gource/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre, SDL_image, glew, mesa }:
|
||||
|
||||
let
|
||||
name = "gource-0.37";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://gource.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "03kd9nn65cl1p2jgn6pvpxmvnfscz3c8jqds90fsc0z37ij2iiyn";
|
||||
};
|
||||
|
||||
buildInputs = [glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa];
|
||||
|
||||
meta = {
|
||||
homepage = "http://code.google.com/p/gource/";
|
||||
description = "software version control visualization tool";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
longDescription = ''
|
||||
Software projects are displayed by Gource as an animated tree with
|
||||
the root directory of the project at its centre. Directories
|
||||
appear as branches with files as leaves. Developers can be seen
|
||||
working on the tree at the times they contributed to the project.
|
||||
|
||||
Currently Gource includes built-in log generation support for Git,
|
||||
Mercurial and Bazaar and SVN. Gource can also parse logs produced
|
||||
by several third party tools for CVS repositories.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
@@ -2,14 +2,14 @@
|
||||
, guiSupport ? false, tk ? null, ssl, curses }:
|
||||
|
||||
let
|
||||
name = "mercurial-2.0";
|
||||
name = "mercurial-2.0.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mercurial.selenic.com/release/${name}.tar.gz";
|
||||
sha256 = "1565ns768vgvsqx6pn5q9r2670lmvq8y4zy0jwgwfx2h9n5bgymg";
|
||||
sha256 = "ca8b8fb93f2e3e8c3cdf2f81d87e92592f5f20c5bfcaaeb6a75550d4a69572c9";
|
||||
};
|
||||
|
||||
inherit python; # pass it so that the same version can be used in hg2git
|
||||
@@ -49,7 +49,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "A fast, lightweight SCM system for very large distributed projects";
|
||||
homepage = http://www.selenic.com/mercurial/;
|
||||
homepage = "http://www.selenic.com/mercurial/";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,8 +6,10 @@
|
||||
, pythonBindings ? false
|
||||
, perlBindings ? false
|
||||
, javahlBindings ? false
|
||||
, saslSupport ? false
|
||||
, stdenv, fetchurl, apr, aprutil, neon, zlib, sqlite
|
||||
, httpd ? null, expat, swig ? null, jdk ? null, python ? null, perl ? null
|
||||
, sasl ? null
|
||||
}:
|
||||
|
||||
assert bdbSupport -> aprutil.bdbSupport;
|
||||
@@ -31,7 +33,8 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ zlib apr aprutil sqlite ]
|
||||
++ stdenv.lib.optional httpSupport neon
|
||||
++ stdenv.lib.optional pythonBindings python
|
||||
++ stdenv.lib.optional perlBindings perl;
|
||||
++ stdenv.lib.optional perlBindings perl
|
||||
++ stdenv.lib.optional saslSupport sasl;
|
||||
|
||||
configureFlags = ''
|
||||
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
|
||||
@@ -39,6 +42,7 @@ stdenv.mkDerivation rec {
|
||||
${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"}
|
||||
${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""}
|
||||
${if stdenv.isDarwin then "--enable-keychain" else "--disable-keychain"}
|
||||
${if saslSupport then "--enable-sasl --with-sasl=${sasl}" else "--disable-sasl"}
|
||||
--with-zlib=${zlib}
|
||||
--with-sqlite=${sqlite}
|
||||
'';
|
||||
|
||||
@@ -61,19 +61,19 @@ let
|
||||
license = "unfree";
|
||||
};
|
||||
} else null;
|
||||
|
||||
|
||||
ffmpegGit = fetchgit {
|
||||
url = "git://git.videolan.org/ffmpeg.git";
|
||||
rev = "80d156d";
|
||||
sha256 = "6d0124621491b8adc5f1bfb426ab137efc72dab99a89835aa3c30b970cb14004";
|
||||
rev = "9e53f62be1a171eaf9620958c225d42cf5142a30";
|
||||
sha256 = "be0ef2a394c82a0eee0be66bc0b943d37efb90f74ce1030aa89606109434c943";
|
||||
};
|
||||
|
||||
mplayerRev = "33472";
|
||||
|
||||
mplayerRev = "34586";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mplayer-r${mplayerRev}";
|
||||
name = "mplayer-${mplayerRev}";
|
||||
|
||||
src = fetchsvn {
|
||||
# Old kind of URL:
|
||||
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
url = "svn://svn.mplayerhq.hu/mplayer/trunk";
|
||||
rev = "${mplayerRev}";
|
||||
sha256 = "01b0b5x6li8c2m2mam7mabmk02npvprcwrim00a51sdlvqxh309v";
|
||||
sha256 = "5688add3256b5de8e0410194232aaaeb01531bb507459ffe4f07e69cb2d81bd7";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
@@ -166,5 +166,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://mplayerhq.hu";
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.urkud ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
29
pkgs/applications/video/dvswitch/default.nix
Normal file
29
pkgs/applications/video/dvswitch/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, alsaLib, boost, cmake, gtkmm, libXau, libXdmcp,
|
||||
libXv, libav, pixman, libpthreadstubs, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dvswitch-${version}";
|
||||
version = "0.8.3.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://alioth.debian.org/frs/download.php/3615/${name}.tar.gz";
|
||||
sha256 = "7bd196389f9913ae08e12a29e168d79324c508bb545eab114df77b0375cd87f0";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsaLib boost cmake gtkmm libXau libXdmcp libXv libav
|
||||
libpthreadstubs pixman pkgconfig
|
||||
];
|
||||
|
||||
installPhase = "
|
||||
ensureDir $out
|
||||
cp src/dv* $out/
|
||||
";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "digital video mixer intended for interactive live mixing of several incoming DV video streams";
|
||||
homepage = "http://dvswitch.alioth.debian.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
||||
@@ -1,19 +1,19 @@
|
||||
{ stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon, mlt, gettext
|
||||
, qimageblitz, qjson, shared_mime_info, soprano }:
|
||||
, qimageblitz, qjson, shared_mime_info, soprano, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kdenlive-${version}";
|
||||
version = "0.8";
|
||||
version = "0.8.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/kdenlive/${name}.tar.gz";
|
||||
sha256 = "18e3390c9eb7124af5cd43819c679374aec46dcaf1fc5cdb43918db470c1076f";
|
||||
sha256 = "a454a0659c9673453800df8382dfdbcb87acfb9b174712ffeb46b8304bf00717";
|
||||
};
|
||||
|
||||
patches = [ ./kdenlive-newmlt.patch ];
|
||||
patches = [ ./qtgl-header-change.patch ];
|
||||
|
||||
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext
|
||||
qimageblitz qjson shared_mime_info soprano ];
|
||||
qimageblitz qjson shared_mime_info soprano pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "Free and open source video editor";
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
From http://kdenlive.org/forum/cant-start-kdnlive-sdl-module-missing-mlt
|
||||
|
||||
Kdenlive 0.8 tries to detect mlt by reading from stderr, but between
|
||||
mlt 0.7.2 and 0.7.4 mlt this has changed from stderr to stdout.
|
||||
===================================================================
|
||||
--- kdenlive-0.8/src.orig/wizard.cpp 2011-04-26 21:44:22.000000000 +0200
|
||||
+++ kdenlive-0.8/src/wizard.cpp 2011-07-21 18:22:18.470831892 +0200
|
||||
@@ -214,7 +214,7 @@
|
||||
button(QWizard::NextButton)->setEnabled(false);
|
||||
} else {
|
||||
checkProcess.waitForFinished();
|
||||
- QByteArray result = checkProcess.readAllStandardError();
|
||||
+ QByteArray result = checkProcess.readAllStandardOutput();
|
||||
|
||||
// Check MLT avformat module
|
||||
QTreeWidgetItem *avformatItem = new QTreeWidgetItem(m_mltCheck.programList, QStringList() << QString() << i18n("Avformat module (FFmpeg)"));
|
||||
@@ -246,7 +246,7 @@
|
||||
kDebug() << "// Error querying MLT's version";
|
||||
} else {
|
||||
checkProcess.waitForFinished();
|
||||
- mltVersion = checkProcess.readAllStandardError();
|
||||
+ mltVersion = checkProcess.readAllStandardOutput();
|
||||
mltVersion = mltVersion.section('\n', 0, 0).simplified();
|
||||
mltVersion = mltVersion.section(' ', -1).simplified();
|
||||
version = 1000 * mltVersion.section('.', 0, 0).toInt() + 100 * mltVersion.section('.', 1, 1).toInt() + mltVersion.section('.', 2, 2).toInt();
|
||||
@@ -275,7 +275,7 @@
|
||||
kDebug() << "// Error parsing MLT's avformat codecs";
|
||||
} else {
|
||||
checkProcess2.waitForFinished();
|
||||
- QByteArray codecList = checkProcess2.readAllStandardError();
|
||||
+ QByteArray codecList = checkProcess2.readAllStandardOutput();
|
||||
QString acodecList(codecList);
|
||||
QStringList result;
|
||||
QStringList alist = acodecList.split('\n', QString::SkipEmptyParts);
|
||||
@@ -292,7 +292,7 @@
|
||||
kDebug() << "// Error parsing MLT's avformat codecs";
|
||||
} else {
|
||||
checkProcess2.waitForFinished();
|
||||
- QByteArray codecList = checkProcess2.readAllStandardError();
|
||||
+ QByteArray codecList = checkProcess2.readAllStandardOutput();
|
||||
QString vcodecList(codecList);
|
||||
QStringList result;
|
||||
QStringList vlist = vcodecList.split('\n', QString::SkipEmptyParts);
|
||||
@@ -309,7 +309,7 @@
|
||||
kDebug() << "// Error parsing MLT's avformat codecs";
|
||||
} else {
|
||||
checkProcess2.waitForFinished();
|
||||
- QByteArray codecList = checkProcess2.readAllStandardError();
|
||||
+ QByteArray codecList = checkProcess2.readAllStandardOutput();
|
||||
QString vcodecList(codecList);
|
||||
QStringList result;
|
||||
QStringList vlist = vcodecList.split('\n', QString::SkipEmptyParts);
|
||||
@@ -606,7 +606,7 @@
|
||||
|
||||
checkProcess.waitForFinished();
|
||||
|
||||
- QByteArray result = checkProcess.readAllStandardError();
|
||||
+ QByteArray result = checkProcess.readAllStandardOutput();
|
||||
if (!result.contains("- avformat")) errorMessage.append(i18n("MLT's avformat (FFMPEG) module not found. Please check your FFMPEG and MLT install. Kdenlive will not work until this issue is fixed.") + "\n");*/
|
||||
|
||||
QProcess checkProcess2;
|
||||
@@ -616,7 +616,7 @@
|
||||
|
||||
checkProcess2.waitForFinished();
|
||||
|
||||
- QByteArray result = checkProcess2.readAllStandardError();
|
||||
+ QByteArray result = checkProcess2.readAllStandardOutput();
|
||||
if (!result.contains("sdl") || !result.contains("sdl_preview")) errorMessage.append(i18n("MLT's SDL module not found. Please check your MLT install. Kdenlive will not work until this issue is fixed.") + '\n');
|
||||
|
||||
if (!errorMessage.isEmpty()) {
|
||||
14
pkgs/applications/video/kdenlive/qtgl-header-change.patch
Normal file
14
pkgs/applications/video/kdenlive/qtgl-header-change.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Correct for changed Qt opengl includes.
|
||||
Reference: http://www.kdenlive.org/mantis/view.php?id=2396
|
||||
|
||||
diff -Naur kdenlive-0.8.2.1.orig//src/videoglwidget.cpp kdenlive-0.8.2.1/src/videoglwidget.cpp
|
||||
--- kdenlive-0.8.2.1.orig//src/videoglwidget.cpp 2012-01-24 00:04:53.588121469 -0430
|
||||
+++ kdenlive-0.8.2.1/src/videoglwidget.cpp 2012-01-24 00:05:32.817410938 -0430
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtOpenGL>
|
||||
#include "videoglwidget.h"
|
||||
+#include "GL/glu.h"
|
||||
|
||||
#ifndef GL_TEXTURE_RECTANGLE_EXT
|
||||
#define GL_TEXTURE_RECTANGLE_EXT GL_TEXTURE_RECTANGLE_NV
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, perl, xlibs, libdvdnav
|
||||
, zlib, a52dec, libmad, faad2, ffmpeg, alsaLib
|
||||
, pkgconfig, dbus, hal, fribidi, qt4, freefont_ttf
|
||||
, libvorbis, libtheora, speex, lua, libgcrypt, libupnp
|
||||
, pkgconfig, dbus, fribidi, qt4, freefont_ttf
|
||||
, libvorbis, libtheora, speex, lua5, libgcrypt, libupnp
|
||||
, libcaca, pulseaudio, flac, schroedinger, libxml2, librsvg
|
||||
, mpeg2dec, udev, gnutls, avahi, libcddb, jackaudio, SDL, SDL_image
|
||||
, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, liboggz
|
||||
@@ -10,29 +10,27 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vlc-${version}";
|
||||
version = "1.1.11";
|
||||
version = "1.1.13";
|
||||
|
||||
patchPhase = ''sed -e "s@/bin/echo@echo@g" -i configure'';
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/vlc/${name}.tar.bz2";
|
||||
sha256 = "1jz1yklvh5apy2ygqwnyq61mhg09h0fn32hdygxfsaxq12z609b8";
|
||||
url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.bz2";
|
||||
sha256 = "1h93jdx89dfgxlnw66lfcdk9kisadm689zanvgkzbfb3si2frv83";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
|
||||
pkgconfig dbus hal fribidi qt4 libvorbis libtheora speex lua libgcrypt
|
||||
dbus fribidi qt4 libvorbis libtheora speex lua5 libgcrypt
|
||||
libupnp libcaca pulseaudio flac schroedinger libxml2 librsvg mpeg2dec
|
||||
udev gnutls avahi libcddb jackaudio SDL SDL_image libmtp unzip taglib
|
||||
libkate libtiger libv4l samba liboggz libass libdvbpsi
|
||||
]
|
||||
++ (with xlibs; [ xlibs.xlibs libXv libXvMC libXpm xcbutil libva ]);
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
configureFlags = [ "--enable-alsa"
|
||||
"--disable-glx"
|
||||
"--disable-remoteosd"
|
||||
"--disable-dbus"
|
||||
"--disable-dbus-control"
|
||||
"--with-kde-solid=$out/share/apps/solid/actions"
|
||||
];
|
||||
|
||||
|
||||
@@ -1,26 +1,29 @@
|
||||
{stdenv, fetchurl, pkgconfig, xlibs, xineLib, libpng, readline, ncurses, curl}:
|
||||
{stdenv, fetchurl, pkgconfig, xlibs, xineLib, libpng, readline, ncurses, curl
|
||||
, lirc, xz, shared_mime_info }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xine-ui-0.99.5";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xine-ui-0.99.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/xine/xine-ui-0.99.5.tar.gz;
|
||||
sha256 = "07jywadk6fhk3wn1j9m0cfa0zy0i17kz0nyyxwa3shvhznfals0k";
|
||||
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
||||
sha256 = "1wwylnckm5kfq5fi154w8jqf5cwvp7c1ani15q7sgfrfdkmy7caf";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ xz pkgconfig shared_mime_info ];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig xineLib libpng readline ncurses curl
|
||||
[ xineLib libpng readline ncurses curl lirc
|
||||
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
|
||||
xlibs.libXinerama xlibs.libXi
|
||||
xlibs.libXinerama xlibs.libXi xlibs.libXft
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
sed -e '/curl.types.h/d' -i *.c *.h */*.c */*.h */*/*.c */*/*.h
|
||||
'';
|
||||
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
|
||||
|
||||
configureFlags = "--with-readline=${readline}";
|
||||
|
||||
NIX_LDFLAGS = "-lXext -lgcc_s";
|
||||
LIRC_CFLAGS="-I${lirc}/include";
|
||||
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
||||
#NIX_LDFLAGS = "-lXext -lgcc_s";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.xine-project.org/;
|
||||
|
||||
@@ -1,29 +1,33 @@
|
||||
{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, imlib
|
||||
, xlibs, automake, pkgconfig, gtk }:
|
||||
{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, freetype
|
||||
, fontconfig, xlibs, automake, pkgconfig, gdk_pixbuf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "icewm-1.3.6";
|
||||
name = "icewm-1.3.7";
|
||||
|
||||
buildInputs =
|
||||
[ gettext libjpeg libtiff libungif libpng imlib
|
||||
[ gettext libjpeg libtiff libungif libpng
|
||||
xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr
|
||||
pkgconfig gtk
|
||||
xlibs.libICE xlibs.libSM freetype fontconfig
|
||||
pkgconfig gdk_pixbuf
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/icewm/${name}.tar.gz";
|
||||
sha256 = "1pr7rc10rddwvy4ncng4mf5fpxd1nqjsw34xba9ngsg32rg57b91";
|
||||
sha256 = "0yw813d8amrl0n1fvdiyznxah92wcylj9kj1qhjc6h73d827h6na";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = "-lfontconfig";
|
||||
|
||||
# The fuloong2f is not supported by 1.3.6 still
|
||||
#
|
||||
# Don't know whether 1.3.7 supports fuloong2f and don't know how to test it
|
||||
# on x86_64 hardware. So I left this 'cp' -- urkud
|
||||
|
||||
preConfigure = ''
|
||||
cp ${automake}/share/automake*/config.{sub,guess} .
|
||||
cp -v ${automake}/share/automake*/config.{sub,guess} .
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A window manager for the X Window System";
|
||||
homepage = http://www.icewm.org/;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ stdenv.mkDerivation {
|
||||
if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else
|
||||
if stdenv.system == "armv5tel-linux" then "ld-linux.so.3" else
|
||||
if stdenv.system == "powerpc-linux" then "ld.so.1" else
|
||||
if stdenv.system == "mips64-linux" then "ld.so.1" else
|
||||
if stdenv.system == "mips64el-linux" then "ld.so.1" else
|
||||
abort "don't know the name of the dynamic linker for this platform")
|
||||
else "";
|
||||
}
|
||||
|
||||
@@ -14,4 +14,5 @@ stdenv.mkDerivation {
|
||||
outputHash = if (md5 != null) then md5 else sha256;
|
||||
|
||||
inherit url tag;
|
||||
preferLocalBuild = true;
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ stdenv.mkDerivation {
|
||||
if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else
|
||||
if stdenv.system == "armv5tel-linux" then "ld-linux.so.3" else
|
||||
if stdenv.system == "powerpc-linux" then "ld.so.1" else
|
||||
if stdenv.system == "mips64-linux" then "ld.so.1" else
|
||||
if stdenv.system == "mips64el-linux" then "ld.so.1" else
|
||||
abort "don't know the name of the dynamic linker for this platform")
|
||||
else "";
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://oscaf.sourceforge.net/;
|
||||
description = "Ontologies necessary for the Nepomuk semantic desktop";
|
||||
longDescription = ''
|
||||
The shared-desktop-ontologies package brings the semantic web to the
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ callPackage, callPackageOrig, stdenv, qt48 }:
|
||||
|
||||
let
|
||||
release = "4.7.97";
|
||||
release = "4.8.0";
|
||||
|
||||
# Need callPackageOrig to avoid infinite cycle
|
||||
kde = callPackageOrig ./kde-package {
|
||||
@@ -52,5 +52,8 @@ kde.modules // kde.individual //
|
||||
|
||||
full = stdenv.lib.attrValues kde.modules;
|
||||
|
||||
l10n = callPackage ./l10n { inherit release; };
|
||||
l10n = callPackage ./l10n {
|
||||
inherit release;
|
||||
inherit (kde.manifest) stable;
|
||||
};
|
||||
}
|
||||
|
||||
17
pkgs/desktops/kde-4.8/files/kde-wallpapers-buildsystem.patch
Normal file
17
pkgs/desktops/kde-4.8/files/kde-wallpapers-buildsystem.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3d3e247..f78db67 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,10 @@
|
||||
-find_package(KDE4 REQUIRED)
|
||||
-include(KDE4Defaults)
|
||||
+project(kde-wallpapers NONE)
|
||||
+if( WALLPAPER_INSTALL_DIR )
|
||||
+ message(STATUS "Installing wallpapers to user-supplied directory ${WALLPAPER_INSTALL_DIR}")
|
||||
+else()
|
||||
+ find_package(KDE4 REQUIRED)
|
||||
+ include(KDE4Defaults)
|
||||
+endif()
|
||||
|
||||
install(DIRECTORY Air DESTINATION ${WALLPAPER_INSTALL_DIR} PATTERN .svn EXCLUDE)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ kde, kdelibs }:
|
||||
{ kde, kdelibs, shared_desktop_ontologies }:
|
||||
|
||||
kde {
|
||||
propagatedBuildInputs = [ kdelibs ];
|
||||
propagatedBuildInputs = [ kdelibs shared_desktop_ontologies ];
|
||||
|
||||
meta = {
|
||||
description = "KDE activities library and daemon";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
{ kde, kdelibs, kde_baseapps }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
buildInputs = [ kdelibs kde_baseapps ];
|
||||
|
||||
meta = {
|
||||
description = "Konsole, the KDE terminal emulator";
|
||||
|
||||
@@ -1,300 +0,0 @@
|
||||
{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;}
|
||||
];
|
||||
}
|
||||
299
pkgs/desktops/kde-4.8/kde-package/4.8.0.nix
Normal file
299
pkgs/desktops/kde-4.8/kde-package/4.8.0.nix
Normal file
@@ -0,0 +1,299 @@
|
||||
{stable=true;
|
||||
hashes=builtins.listToAttrs[
|
||||
{name="analitza";value="080s52jr6qbag4v5z2yw6jps5r8am2vfw6g8lih7ipq2vhf9rzbp";}
|
||||
{name="ark";value="1mvdalg45nn33bgfddqimv06b6l25ja0na2vvcfdmk1jxw7yzcr7";}
|
||||
{name="blinken";value="0ajgh45y8p8db6yx36vrl6a81h7wylx074wv4lii28gqvgdb0qip";}
|
||||
{name="cantor";value="16s03wjm7yz0fck754d1590g5n0nv4nsqf9da32nyjlivlp5vh9x";}
|
||||
{name="filelight";value="1rsb5n3fx90f2ln2bxc7m2d6f7fg45f02ch0dapv2qkrzc2li4jf";}
|
||||
{name="gwenview";value="1131nx5a95mshj55gqgixsh4lslk9rsl78pm98mydqsdqvlns8v0";}
|
||||
{name="jovie";value="1bg64z3yxwi85pl0yimzbb7a7r9hjqpmplcjb6v3qp6mazymavin";}
|
||||
{name="kaccessible";value="1dk9m2mmm553mx9jjmvg8qpvrkjzkbzy4gqk35yz33nkfdpcqdgb";}
|
||||
{name="kactivities";value="1bk8prycvck4ad86d5pj77czrbwfl5s1a3iq7245i30wl0nkdpr6";}
|
||||
{name="kalgebra";value="08azpq13wm8crgmwkvrhz77gzhywy6h079q36wffm1d0nr5r1f6x";}
|
||||
{name="kalzium";value="00q8alp4kry9q21nf29w9mj19m4c108mdn3c8rfz55yyy6mkcr2p";}
|
||||
{name="kamera";value="0lqw2zdc4vpdhgdg430b07gcd73kann4x054gbg3cgvrkjm2kw3x";}
|
||||
{name="kanagram";value="0z37x65m8p01msl5zg3lqfzb09wali0wnl72rqr65rvzn2h52j08";}
|
||||
{name="kate";value="01mqahcp0c7n90m734ky455nlrgciqg5ranp5bvffkw3zj0i6qx1";}
|
||||
{name="kbruch";value="0z1602khvp1h1xc2d4vf6gxvr7slfq79n403gmqxy0a2qdnxdi8b";}
|
||||
{name="kcalc";value="1q1j93ivq2p8dxz2lf9ylp3jh70136iy9l7n1k06y072kjamwcig";}
|
||||
{name="kcharselect";value="0q67cngwyadks66a3imgw4iqkjinb7hdlgah0lx8gb2nn0pdk0n5";}
|
||||
{name="kcolorchooser";value="0h909x9wiwlfk0bk5yjzdpd7x14rqbnz353svkraw54k1p73y4ga";}
|
||||
{name="kdeadmin";value="1c23b54gia9829nblicys0vpb2lz3cya4s9h3637jsv0ksxql8jy";}
|
||||
{name="kdeartwork";value="05bk1m8nz6m1px8fha82iwjs73yakjn5g0kmsplnxk2f8213r9v7";}
|
||||
{name="kde-baseapps";value="1qrl4df3340iqshp54f2f2xqjzc87byvknjdhc9xx0npq8y8mn4w";}
|
||||
{name="kdegames";value="1d0cw0ri9bcrk89ai1bx6cqw6jxa2f13bzf9qx8ychgcpmp7raqa";}
|
||||
{name="kdegraphics-mobipocket";value="0mvqa4ln9gbpisqmdksmg3jizaxwwp3d45c97fg3pspybmj2mi4r";}
|
||||
{name="kdegraphics-strigi-analyzer";value="1d6hf876ssql4zkvkwp34q73rd38c528i2xda35gd56rg9baszz9";}
|
||||
{name="kdegraphics-thumbnailers";value="0arpazfah4v1db1bh1hf1qzv1mjgvgs9czm5bi8k28xsfm99yqzj";}
|
||||
{name="kdelibs";value="17haj04m7af5xh92l5z6a42nscdgsw2cfkp50ikr6crqqr816967";}
|
||||
{name="kdemultimedia";value="14678fbjban7yz89wqsrbyn050myh1py9d6d9811njvv1kjj56kb";}
|
||||
{name="kdenetwork";value="1qyr9lx8hrw4dp27p72zwnhyiammiv69rydr2d9yajrl7b69ipz6";}
|
||||
{name="kdepim";value="0n05hgzazc55s04kglv2bgjx1kri1pjf0rdy2y6lwfwqchzmnnz6";}
|
||||
{name="kdepimlibs";value="0zl3pf7nhg21b999pbhhz3ppdr0n5y3gibws57r483zb9g6c8iq7";}
|
||||
{name="kdepim-runtime";value="19whdvwjf56s2gq4ihvlxd761bvlzv8kagcvzdrhnrdapilf2l57";}
|
||||
{name="kdeplasma-addons";value="0sq5mnzhnrzhlgw79mwr764gahqd1prj9gn41hxmlnmqd8mqfycw";}
|
||||
{name="kde-runtime";value="0lx7qq78y8xlm3wmyms1zzj5z4wy1iw69pv1xknz6dnx5s3znx86";}
|
||||
{name="kdesdk";value="0wy7li6agzbfhwza9zqbpfnmxigjilsf0cg47lnz9cc35k1ddq5r";}
|
||||
{name="kdetoys";value="1rimzsjdj8ikvw97cjzdc7v6xcib7b9v7fvdff2rij6caqlqy9ha";}
|
||||
{name="kde-wallpapers";value="0jf3fb33vlc1srwmyqhd19rjllyp4vjfs8hcp4yp1z6chf817x7m";}
|
||||
{name="kdewebdev";value="0mssi6k2dxb2cszc43ffiw8n879ccyx0znr9lqvgn1xj6lbq0xd9";}
|
||||
{name="kde-workspace";value="1vmv0kzh91lfa4kyvp111hf85fn2480rc4dhld26a7jck1arcsqi";}
|
||||
{name="kdf";value="1ymaiy6mlq44c7cma4ka9214vb44sgd5qijhv8q6cc02i1n7pzij";}
|
||||
{name="kfloppy";value="06jdskyfmcckyvmhh7h689j2pdrn10w3zafasssvibz9vs7ckk6h";}
|
||||
{name="kgamma";value="18ywm3801vpi4lza5n23476irk3m3djf9cbya468kvs23m67604w";}
|
||||
{name="kgeography";value="0dkb7riqbigak5bznfmq0l0pvacskcxjxwgnh2q9pzdsbax6g0y9";}
|
||||
{name="kgpg";value="0b3pdv4xnlh6xg7vvr3vnzlcggrk8a9a8cq9lwwlzgjvhn2ljk7x";}
|
||||
{name="khangman";value="0ykz88q3w527avjqq4zz9dbklkwhv3x52fk7x5bd352n3yvzc39g";}
|
||||
{name="kig";value="0wkw2jngjc04g0ydc6rz6abnlqpi9l57yf9q6ad2xwavf8naawhh";}
|
||||
{name="kimono";value="037l6d5g0zx7x52nd36rz9yylnpinpj7cgdw2laiczyq15r3w9wh";}
|
||||
{name="kiten";value="0jnkw324plbp7h4ah75k98nai4vpw1nmsr4hg5cflzc2nqmvyigh";}
|
||||
{name="klettres";value="0b9p5hlx3pk8h9p8z7y62mvx96k4blv73nmw7c7338apj0xk2xn7";}
|
||||
{name="kmag";value="0hcy8y7y6w746p6ka30npsnmhwcr3s2263s7kspcm8k4xf43z51m";}
|
||||
{name="kmousetool";value="1gqdsfzywj5iz8skn75nwa6gvzfzd4i3vma9c098pa508srachf8";}
|
||||
{name="kmouth";value="1jijjpppr49za141fzq21bn7mgfp9z3vsyrrb8ik7v84zx4f46dk";}
|
||||
{name="kmplot";value="0mzr4pf2z5j2b7af4rfrn5spzcb1nllk7zkn460izhmr5k59hrzl";}
|
||||
{name="kolourpaint";value="1r2lcrfswm9mivmjwj37w9hkhl9zbmn7shrwl0xjgsdpkfqzd130";}
|
||||
{name="konsole";value="1k1r85j72vbkxg0balj95d2b24gycbqlfp4632krkp98p27k9d3r";}
|
||||
{name="korundum";value="1xy0gqms9fa0a48z1bwf0p6293q23fz4hyrm02b4c4bn08c2izp4";}
|
||||
{name="kremotecontrol";value="05rmjq67bxssfyzc82ba1b77zv3nwmjyqf9qh43izj5vlf9cd0d5";}
|
||||
{name="kross-interpreters";value="1dw5n6z29mlgc8x9za914ppd6f7maik9b61pn6m9b53rjcf3xx10";}
|
||||
{name="kruler";value="1cw37khl676l1jqzm74bajdjzky0w43y4kidy7x5ycbm1bw1wqmj";}
|
||||
{name="ksaneplugin";value="0vmamcmy8g9k63dm9vnbqhyjdalh8a0ypw8xc1wyanwnh3plvjxn";}
|
||||
{name="ksecrets";value="0yb4dlg6spzgspg6ax9lhajzp201v5dblrldmbg0yja8w40vz4cb";}
|
||||
{name="ksnapshot";value="0bwm48a22xm57zw0wznm9frslabzlrsl701krf4dggwvjgxjcz7f";}
|
||||
{name="kstars";value="0swqj1pvlb2nmm8bfw00nna2m481545271hnpk5mhrmmxzmmdvs1";}
|
||||
{name="ktimer";value="1isx067ccg5w95wlrs1z6xcc0qkdbr6ngi6i7qh7zb4f4v594gkg";}
|
||||
{name="ktouch";value="1nggn0qw2wf86cgsy1hnk99f5zrfmw5x3gzwm9czpniyvh6w7yyv";}
|
||||
{name="kturtle";value="0sb7pkx75i7dc0qg6kbb7hdjkfkkbbsadrvygk1rq5wmahh1piaw";}
|
||||
{name="kwallet";value="0jizkaxa5y95h8fh07yfij89zw1jidr8ysgf71d8fmaswblqkv7f";}
|
||||
{name="kwordquiz";value="02sdpr9jy738rhlmxllzpri1f6hmc9qb47fki8lb2wqiz5rr57j9";}
|
||||
{name="libkdcraw";value="0xnb5ksydkvdcvagsfk5bksz2k2kwawjxl6v6pr0dld86d621051";}
|
||||
{name="libkdeedu";value="11dnnfnxcc130qrmmr7kjafy2b91z3zh4k4sqsfq5v054kmr5vvc";}
|
||||
{name="libkexiv2";value="1knn3igvpwc9knvb83yq2r05aax7pwv33khcjhhmxh55ms1kiz31";}
|
||||
{name="libkipi";value="1pbrplwy8r58h04b96dil20a31bn14szz71siy1h3whn2qg3hda4";}
|
||||
{name="libksane";value="19r6lnr92yp3v0w9rplggyfrnw19k1x2nwsvv7rhapwxqpqszpks";}
|
||||
{name="marble";value="0bkihnkmzwqgq0fghb0qilhw2j66kkbal0nds0h4zgjml2mvf4kk";}
|
||||
{name="okular";value="0hzj4rn9vdisq2v6lka6986slcb04h7s3svrgk9mh56l062vavsd";}
|
||||
{name="oxygen-icons";value="1jwb95zscvqrj6g7a8kmzzywyq72wwldkkkf0klwczpd6kclzbf0";}
|
||||
{name="parley";value="0ja3fahwc0dpfnabvpa1gsqqwqdb72wbvnl79m1asd7f7hlj9s1v";}
|
||||
{name="perlkde";value="1nsaqp3pyyf8lpnnqw28h3gsg1f0dgbf1cavl1k00w997v6ih1k9";}
|
||||
{name="perlqt";value="082fn1bgj5ws1df8ixnxj7z4n4x5b1mn8wfkszr33wgf9jf9sa7s";}
|
||||
{name="printer-applet";value="0sx0rly7rlnvd6hcrnh8yn35r4vpx8lkvlfgjkqp5bksm3bc3ybd";}
|
||||
{name="pykde4";value="1b00xswl5ixi84dk3c2c4wn4cywpj0bgmg57mhilq23r9dp38dwl";}
|
||||
{name="qtruby";value="00qqhv2l7ad4qm2rwf7iw4f2vgz3slxvlmzsz1wd7j6m1z5n2zqr";}
|
||||
{name="qyoto";value="0nhw0l0gn08h6fp3msfn5iq2q49pkmfi611a11nw1n3057ppiis0";}
|
||||
{name="rocs";value="09a9jgb2088xp1z150zjr36nzsrxgzkqhvy2rxq8qj0ls7m2mcnn";}
|
||||
{name="smokegen";value="1wp7kq7j3vgrnzj4g8fqmmhdg1nkkprnm6g25sn9zw9s0f4228l1";}
|
||||
{name="smokekde";value="17sb2fpb84s15pza92ah3g1cbjyxjjpxb6ni2qjpin45llwdpz06";}
|
||||
{name="smokeqt";value="0zdckhi52hjd5ajlzaas8ykcm5qh5yp48vrdh4cwvj8sv32bhbgd";}
|
||||
{name="step";value="1ai50fc75ahbzac7ssvwhz81wg75w755pxx2w68ibplrw1qihrsh";}
|
||||
{name="superkaramba";value="0gqg2g1h9h16wsfmw7875njdj2p0n51p03d0x10i2zajf9d34hhp";}
|
||||
{name="svgpart";value="09zsdz69n08ifkq8f27av360zky4qpvrn234xnbyq48y0dcvjv2f";}
|
||||
{name="sweeper";value="1wajv5jnx1nbckg6zrqy0imdrb8hb4nfb6xg2fs9rqx942c0bhzz";}
|
||||
];
|
||||
modules=[
|
||||
{
|
||||
module="kdegraphics";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="gwenview"; }
|
||||
{ name="kamera"; }
|
||||
{ name="kcolorchooser"; }
|
||||
{ name="kdegraphics-mobipocket"; sane="kdegraphics_mobipocket"; }
|
||||
{ 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="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;}
|
||||
];
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{ kde, kdelibs, shared_desktop_ontologies, bzip2, xz, libssh, exiv2, attica
|
||||
, libcanberra, virtuoso, samba, ntrack
|
||||
, libcanberra, virtuoso, samba, ntrack, libjpeg
|
||||
}:
|
||||
|
||||
kde {
|
||||
buildInputs =
|
||||
[ kdelibs shared_desktop_ontologies bzip2 xz libssh exiv2 attica
|
||||
samba (libcanberra.override { gtk = null; }) ntrack
|
||||
samba (libcanberra.override { gtk = null; }) ntrack libjpeg
|
||||
];
|
||||
|
||||
passthru.propagatedUserEnvPackages = [ virtuoso ];
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{ kde, kdelibs }:
|
||||
{ kde, cmake }:
|
||||
|
||||
kde {
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
patches = [ ./files/kde-wallpapers-buildsystem.patch ];
|
||||
|
||||
cmakeFlags = "-DWALLPAPER_INSTALL_DIR=share/wallpapers";
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "29f4e8b24435ee8c64affdc6250f59ed9f78445118fe0a4e216d89969dd2006b";
|
||||
outputHash = "208ebe74f3ffc83fc51cd1197ceb2c5b8b8de8f33fab86b760bfc41d31c2aab6";
|
||||
|
||||
meta = {
|
||||
description = "Wallpapers for KDE";
|
||||
|
||||
@@ -1,20 +1,23 @@
|
||||
{ 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
|
||||
pykde4, libjpeg, pkgconfig, libXft, libXxf86misc, kactivities
|
||||
}:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs =
|
||||
[ kdelibs qimageblitz libdbusmenu_qt pykde4
|
||||
[ kdelibs qimageblitz libdbusmenu_qt pykde4 libjpeg libXft libXxf86misc
|
||||
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
|
||||
kactivities
|
||||
];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
# Fix incorrect path to kde4-config.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ kde, kdelibs, libXtst }:
|
||||
{ kde, kdelibs, libXtst, libXt }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libXtst ];
|
||||
buildInputs = [ kdelibs libXtst libXt ];
|
||||
|
||||
meta = {
|
||||
description = "A program that clicks the mouse for you";
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2 }:
|
||||
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2, libXt, pkgconfig }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 ];
|
||||
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 libXt ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
preConfigure = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
||||
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
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)
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
|
||||
@@ -8,11 +8,9 @@ kde {
|
||||
|
||||
propagatedBuildInputs = [ pyqt4 sip ];
|
||||
|
||||
#NIX_CFLAGS_COMPILE = "-I${phonon}/include/phonon";
|
||||
patches = [ ./pykde4-hardcode-lib-python.patch ];
|
||||
|
||||
patches = [ ./pykde-purity.patch ];
|
||||
|
||||
cmakeFlags = "-DHARDCODE_LIB_PYTHON_PATH=ON";
|
||||
cmakeFlags = "-DHARDCODE_LIB_PYTHON_PATH=ON ";
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
@@ -21,6 +19,7 @@ kde {
|
||||
# needs to install a plugin.
|
||||
mkdir -pv $out/${pydir}
|
||||
${lndir}/bin/lndir ${pyqt4}/${pydir} $out/${pydir}
|
||||
cmakeFlagsArray=( "-DSIP_DEFAULT_SIP_DIR=$prefix/share/sip" )
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
# - 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 )
|
||||
@@ -1,6 +1,6 @@
|
||||
{ kde, kdelibs, libkdeedu, readline }:
|
||||
{ kde, kdelibs, libkdeedu, analitza }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu readline ];
|
||||
buildInputs = [ kdelibs libkdeedu analitza ];
|
||||
|
||||
meta = {
|
||||
description = "2D and 3D Graph Calculator";
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
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()
|
||||
@@ -2,13 +2,6 @@
|
||||
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";
|
||||
};
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
{ kde, kdelibs, qca2, twisted, pythonPackages, sip, makeWrapper, pykde4,
|
||||
openal, libsndfile, qhull }:
|
||||
openal, libsndfile, qhull, sqlite, pkgconfig }:
|
||||
|
||||
kde rec {
|
||||
buildInputs = [ kdelibs qca2 pythonPackages.python pythonPackages.wrapPython
|
||||
openal libsndfile qhull ] ++ pythonPath;
|
||||
openal libsndfile qhull sqlite ] ++ pythonPath;
|
||||
|
||||
pythonPath = [ pythonPackages.twisted pykde4 ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
# TODO: ggz
|
||||
|
||||
postInstall = "wrapPythonPrograms";
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi }:
|
||||
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi
|
||||
, libjpeg, pkgconfig }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs =
|
||||
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi ];
|
||||
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi libjpeg ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "Gwenview, the KDE image viewer";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ kde, kdelibs }:
|
||||
{ kde, kdelibs, libjpeg, lcms1 }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
buildInputs = [ kdelibs libjpeg lcms1 ];
|
||||
|
||||
meta = {
|
||||
description = "Library for decoding RAW images";
|
||||
|
||||
@@ -11,7 +11,7 @@ kde {
|
||||
[
|
||||
acl attr attica avahi bzip2 enchant fam getopt giflib herqq jasper
|
||||
libdbusmenu_qt libXScrnSaver libxslt pcre polkit_qt_1 qca2
|
||||
shared_desktop_ontologies udev xz libxml2 libjpeg
|
||||
shared_desktop_ontologies udev xz libxml2 libjpeg kerberos
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ qt4 soprano strigi phonon ];
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
{ kde, alsaLib, libvorbis, taglib, flac, cdparanoia, lame, kdelibs, ffmpeg,
|
||||
libmusicbrainz3, libtunepimp }:
|
||||
libmusicbrainz3, libtunepimp, pulseaudio }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs =
|
||||
# Note: kdemultimedia can use xine-lib, but it doesn't seem useful
|
||||
# without the Phonon Xine backend.
|
||||
[ kdelibs cdparanoia taglib libvorbis libmusicbrainz3 libtunepimp ffmpeg
|
||||
flac lame ];
|
||||
flac lame pulseaudio
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "KDE multimedia programs such as a movie player and volume utility";
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ kde, kdelibs, libktorrent, kde_workspace, kdepimlibs,
|
||||
shared_desktop_ontologies, kde_baseapps, gpgme, boost, libmms, qca2 }:
|
||||
{ kde, kdelibs, libktorrent, kde_workspace, kdepimlibs, sqlite
|
||||
, shared_desktop_ontologies, kde_baseapps, gpgme, boost, libmms, qca2 }:
|
||||
|
||||
kde {
|
||||
buildInputs =
|
||||
[ kdelibs libktorrent kde_workspace shared_desktop_ontologies kdepimlibs
|
||||
kde_baseapps gpgme boost libmms qca2
|
||||
kde_baseapps gpgme boost libmms qca2 sqlite
|
||||
];
|
||||
|
||||
KDEDIRS = libktorrent;
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
{ kde, kdelibs, speex, libmsn, libotr, kdepimlibs, qimageblitz, libktorrent,
|
||||
jasper, libidn, mediastreamer, msilbc, pkgconfig, libxml2, libxslt, giflib,
|
||||
libgadu, boost, qca2, gpgme }:
|
||||
libgadu, boost, qca2, gpgme, sqlite }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs speex libmsn libotr kdepimlibs qimageblitz libktorrent
|
||||
jasper libidn mediastreamer msilbc libxml2 libxslt giflib libgadu boost qca2
|
||||
gpgme ];
|
||||
gpgme sqlite ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
KDEDIRS = libktorrent;
|
||||
|
||||
patchPhase = "cp -v ${./FindmsiLBC.cmake} kopete/cmake/modules/FindmsiLBC.cmake";
|
||||
patchPhase =
|
||||
''
|
||||
cp -v ${./FindmsiLBC.cmake} kopete/cmake/modules/FindmsiLBC.cmake
|
||||
'';
|
||||
|
||||
cmakeFlags = [ "-DBUILD_skypebuttons=TRUE" ];
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ kde, kdelibs, libvncserver }:
|
||||
{ kde, kdelibs, libvncserver, libjpeg }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libvncserver ];
|
||||
buildInputs = [ kdelibs libvncserver libjpeg ];
|
||||
|
||||
patches = [ ./kdenetwork.patch ];
|
||||
}
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
--- a/kget/CMakeLists.txt 2010-08-16 19:08:36.000000000 +0400
|
||||
+++ b/kget/CMakeLists.txt 2010-08-16 22:04:24.000000000 +0400
|
||||
@@ -53,21 +53,20 @@
|
||||
add_subdirectory(desktop)
|
||||
add_subdirectory(plasma)
|
||||
|
||||
-# find kworkspace library to allow the shutdown after downloads completed option
|
||||
-find_library(KDE4_KWORKSPACE_LIBRARY NAMES kworkspace PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
||||
-if(KDE4_KWORKSPACE_LIBRARY)
|
||||
- set(KDE4_KWORKSPACE_LIBS ${kworkspace_LIB_DEPENDS} ${KDE4_KWORKSPACE_LIBRARY})
|
||||
+macro_optional_find_package(KDE4Workspace)
|
||||
+macro_log_feature(KDE4WORKSPACE_FOUND "KDE4Workspace" "KDE4 workspace libraries, part of kdebase-workspace" "http://www.kde.org" FALSE "" "Allows 'shutdown after downloads completed' in kget")
|
||||
+if(KDE4WORKSPACE_FOUND)
|
||||
add_definitions(-DHAVE_KWORKSPACE)
|
||||
- set(KWORKSPACE_FOUND true)
|
||||
-endif(KDE4_KWORKSPACE_LIBRARY)
|
||||
+ include_directories(${KDE4WORKSPACE_INCLUDE_DIR})
|
||||
+endif(KDE4WORKSPACE_FOUND)
|
||||
|
||||
# find libkonq to allow actions and open with options in the context menu of a transfer
|
||||
-find_library(KDE4_KONQUEROR_LIBRARY NAMES konq PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
||||
-if(KDE4_KONQUEROR_LIBRARY)
|
||||
- set(KDE4_KONQUEROR_LIBS ${konq_LIB_DEPENDS} ${KDE4_KONQUEROR_LIBRARY})
|
||||
+macro_optional_find_package(LibKonq)
|
||||
+macro_log_feature(LIBKONQ_FOUND "libkonq" "KDE4 Konqueror library" "http://www.kde.org" FALSE "" "Needed to build actions and open with options in the context menu of a transfer")
|
||||
+if(LIBKONQ_FOUND)
|
||||
add_definitions(-DHAVE_KONQUEROR)
|
||||
- set(KONQUEROR_FOUND true)
|
||||
-endif(KDE4_KONQUEROR_LIBRARY)
|
||||
+ include_directories(${LIBKONQ_INCLUDE_DIR})
|
||||
+endif(LIBKONQ_FOUND)
|
||||
|
||||
|
||||
include_directories(
|
||||
@@ -142,9 +141,9 @@
|
||||
|
||||
target_link_libraries(kgetcore ${KDE4_KIO_LIBS})
|
||||
|
||||
-if (KWORKSPACE_FOUND)
|
||||
- target_link_libraries(kgetcore ${KDE4_KWORKSPACE_LIBS})
|
||||
-endif (KWORKSPACE_FOUND)
|
||||
+if (KDE4WORKSPACE_FOUND)
|
||||
+ target_link_libraries(kgetcore ${KDE4WORKSPACE_KWORKSPACE_LIBS})
|
||||
+endif (KDE4WORKSPACE_FOUND)
|
||||
|
||||
if (HAVE_NEPOMUK)
|
||||
target_link_libraries(kgetcore ${SOPRANO_LIBRARIES} ${NEPOMUK_LIBRARIES})
|
||||
@@ -294,9 +293,9 @@
|
||||
target_link_libraries(kget ${SOPRANO_LIBRARIES} ${NEPOMUK_LIBRARIES})
|
||||
endif (HAVE_NEPOMUK)
|
||||
|
||||
-if (KONQUEROR_FOUND)
|
||||
- target_link_libraries(kget ${KDE4_KONQUEROR_LIBS})
|
||||
-endif (KONQUEROR_FOUND)
|
||||
+if (LIBKONQ_FOUND)
|
||||
+ target_link_libraries(kget ${LIBKONQ_LIBRARY})
|
||||
+endif (LIBKONQ_FOUND)
|
||||
|
||||
if (QGPGME_FOUND)
|
||||
target_link_libraries(kget ${QGPGME_LIBRARIES})
|
||||
@@ -1,11 +1,11 @@
|
||||
{ kde, boost, gpgme, libassuan, libxml2, libxslt, kdepimlibs, kdepim_runtime
|
||||
, akonadi, shared_desktop_ontologies, cyrus_sasl, grantlee }:
|
||||
, akonadi, shared_desktop_ontologies, cyrus_sasl, grantlee, prison }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs =
|
||||
[ kdepimlibs boost akonadi shared_desktop_ontologies libxml2
|
||||
libxslt cyrus_sasl gpgme libassuan grantlee
|
||||
libxslt cyrus_sasl gpgme libassuan grantlee prison
|
||||
];
|
||||
|
||||
passthru.propagatedUserEnvPackages = [ akonadi kdepimlibs kdepim_runtime ];
|
||||
|
||||
@@ -12,7 +12,7 @@ index 59bcb96..2eac05d 100644
|
||||
|
||||
if(SVNCONFIG_EXECUTABLE)
|
||||
|
||||
@@ -56,15 +59,9 @@ else(SVNCONFIG_EXECUTABLE)
|
||||
@@ -56,15 +59,8 @@ else(SVNCONFIG_EXECUTABLE)
|
||||
set(SVN_INCLUDES ${SVN_INCLUDES} ${_INCLUDES})
|
||||
else(APRCONFIG_EXECUTABLE)
|
||||
FIND_PATH(_INCLUDES apr_pools.h
|
||||
@@ -26,12 +26,11 @@ index 59bcb96..2eac05d 100644
|
||||
- /usr/local/include/apr-1/
|
||||
- /usr/local/include/apr-1.0/
|
||||
+ HINTS ${SVN_INCLUDES}
|
||||
+ PATHS /usr /usr/local
|
||||
+ SUFFIXES apr-0 apr-1 apr-1.0
|
||||
)
|
||||
if(_INCLUDES)
|
||||
set(SVN_INCLUDES ${SVN_INCLUDES} ${_INCLUDES})
|
||||
@@ -72,6 +69,25 @@ else(SVNCONFIG_EXECUTABLE)
|
||||
@@ -72,6 +69,24 @@ else(SVNCONFIG_EXECUTABLE)
|
||||
set(SVN_FOUND FALSE) # no apr == can't compile!
|
||||
endif(_INCLUDES)
|
||||
endif(APRCONFIG_EXECUTABLE)
|
||||
@@ -45,7 +44,6 @@ index 59bcb96..2eac05d 100644
|
||||
+ else(APUCONFIG_EXECUTABLE)
|
||||
+ FIND_PATH(_INCLUDES apu.h
|
||||
+ HINTS ${SVN_INCLUDES}
|
||||
+ PATHS /usr /usr/local
|
||||
+ SUFFIXES apr-0 apr-1 apr-1.0
|
||||
+ )
|
||||
+ if(_INCLUDES)
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
|
||||
index 63cdef8..0c5b50a 100644
|
||||
--- a/doc/CMakeLists.txt
|
||||
+++ b/doc/CMakeLists.txt
|
||||
@@ -3,22 +3,30 @@ if( UNIX )
|
||||
add_subdirectory(cervisia)
|
||||
endif()
|
||||
endif( UNIX )
|
||||
-add_subdirectory(kapptemplate)
|
||||
+if(BUILD_kapptemplate)
|
||||
+ add_subdirectory(kapptemplate)
|
||||
+endif()
|
||||
if(BUILD_kbugbuster)
|
||||
add_subdirectory(kbugbuster)
|
||||
endif()
|
||||
if(BUILD_kcachegrind)
|
||||
add_subdirectory(kcachegrind)
|
||||
endif()
|
||||
-add_subdirectory(kmtrace)
|
||||
+if(BUILD_kmtrace)
|
||||
+ add_subdirectory(kmtrace)
|
||||
+endif()
|
||||
if(BUILD_kompare)
|
||||
add_subdirectory(kompare)
|
||||
endif()
|
||||
if(BUILD_lokalize)
|
||||
add_subdirectory(lokalize)
|
||||
endif()
|
||||
-add_subdirectory(poxml)
|
||||
-add_subdirectory(scripts)
|
||||
+if(BUILD_poxml)
|
||||
+ add_subdirectory(poxml)
|
||||
+endif()
|
||||
+if(BUILD_scripts)
|
||||
+ add_subdirectory(scripts)
|
||||
+endif()
|
||||
|
||||
if(LIBXSLT_FOUND AND LIBXML2_FOUND)
|
||||
if(BUILD_umbrello)
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user