Merge remote-tracking branch 'origin/stdenv-updates'
This commit is contained in:
commit
234c6b74c6
@ -1,44 +1,37 @@
|
|||||||
{ stdenv, fetchsvn, scons, boost, pkgconfig, fftw, librdf_raptor
|
{ stdenv, fetchurl, scons, boost, pkgconfig, fftw, librdf_raptor2
|
||||||
, librdf_rasqal, jackaudio, flac, libsamplerate, alsaLib, libxml2
|
, librdf_rasqal, jackaudio, flac, libsamplerate, alsaLib, libxml2
|
||||||
|
, lilv, lv2, serd, sord, sratom, suil # these are probably optional
|
||||||
, libxslt, libsndfile, libsigcxx, libusb, cairomm, glib, pango
|
, libxslt, libsndfile, libsigcxx, libusb, cairomm, glib, pango
|
||||||
, gtk, glibmm, gtkmm, libgnomecanvas, liblo, aubio
|
, gtk, glibmm, gtkmm, libgnomecanvas, libgnomecanvasmm, liblo, aubio
|
||||||
, fftwSinglePrec, libmad, automake, autoconf, libtool, liblrdf }:
|
, fftwSinglePrec, libmad, automake, autoconf, libtool, liblrdf, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ardour-${version}";
|
name = "ardour-${version}";
|
||||||
version = "2.8.12";
|
version = "2.8.16";
|
||||||
|
|
||||||
# svn is the source to get official releases from their site?
|
src = fetchurl {
|
||||||
# alternative: wget --data-urlencode 'key=7c4b2e1df903aae5ff5cc4077cda801e' http://ardour.org/downloader
|
url = "mirror://gentoo/distfiles/${name}.tar.bz2";
|
||||||
# but hash is changing ?
|
sha256 = "0h2y0x4yznalllja53anjil2gmgcb26f39zshc4gl1d1kc8k5vip";
|
||||||
|
|
||||||
# TODO: see if this is also true when using a tag (~goibhniu)
|
|
||||||
|
|
||||||
# This version does not run it exits with the following error:
|
|
||||||
# raptor_new_uri_for_rdf_concept called with Raptor V1 world object
|
|
||||||
# raptor_general.c:240:raptor_init: fatal error: raptor_init() failedAborted
|
|
||||||
src = fetchsvn {
|
|
||||||
url = "http://subversion.ardour.org/svn/ardour2/tags/${version}";
|
|
||||||
sha256 = "0d4y8bv12kb0yd2srvxn5388sa4cl5d5rk381saj9f3jgpiciyky";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
sed -e "s#/usr/bin/which#type -P#" -i libs/glibmm2/autogen.sh
|
#sed -e "s#/usr/bin/which#type -P#" -i libs/glibmm2/autogen.sh
|
||||||
echo '#include "ardour/svn_revision.h"' > libs/ardour/svn_revision.cc
|
echo '#include "ardour/svn_revision.h"' > libs/ardour/svn_revision.cc
|
||||||
echo -e 'namespace ARDOUR {\n extern const char* svn_revision = "2.8.12";\n }\n' >> libs/ardour/svn_revision.cc
|
echo -e 'namespace ARDOUR {\n extern const char* svn_revision = "2.8.12";\n }\n' >> libs/ardour/svn_revision.cc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
scons boost pkgconfig fftw librdf_raptor librdf_rasqal jackaudio
|
scons boost pkgconfig fftw librdf_raptor2 librdf_rasqal jackaudio
|
||||||
flac libsamplerate alsaLib libxml2 libxslt libsndfile libsigcxx
|
flac libsamplerate alsaLib libxml2 libxslt libsndfile libsigcxx
|
||||||
libusb cairomm glib pango gtk glibmm gtkmm libgnomecanvas liblrdf
|
#lilv lv2 serd sord sratom suil
|
||||||
liblo aubio fftwSinglePrec libmad autoconf automake libtool
|
libusb cairomm glib pango gtk glibmm gtkmm libgnomecanvas libgnomecanvasmm liblrdf
|
||||||
|
liblo aubio fftwSinglePrec libmad autoconf automake libtool curl
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
export CXX=g++
|
export CXX=g++
|
||||||
scons PREFIX=$out install
|
scons PREFIX=$out SYSLIBS=1 install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ":";
|
installPhase = ":";
|
||||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Then build the plugins.
|
# Then build the plugins.
|
||||||
(
|
(
|
||||||
buildNativeInputs="$out $buildNativeInputs" # to find audacious
|
nativeBuildInputs="$out $nativeBuildInputs" # to find audacious
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
rm -rfv audacious-*
|
rm -rfv audacious-*
|
||||||
src=$pluginsSrc
|
src=$pluginsSrc
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
|
patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
|
||||||
|
|
||||||
buildNativeInputs = [ groff ];
|
nativeBuildInputs = [ groff ];
|
||||||
buildInputs = [ id3lib ];
|
buildInputs = [ id3lib ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh";
|
sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./socket.patch ];
|
# http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346
|
||||||
|
patches = [ ./socket.patch ./gcc-47.patch ];
|
||||||
|
|
||||||
buildInputs = [ alsaLib gtk jackaudio libuuid libxml2 makeWrapper
|
buildInputs = [ alsaLib gtk jackaudio libuuid libxml2 makeWrapper
|
||||||
pkgconfig readline ];
|
pkgconfig readline ];
|
||||||
|
11
pkgs/applications/audio/lash/gcc-47.patch
Normal file
11
pkgs/applications/audio/lash/gcc-47.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -rupN liblash/lash.c lash-0.5.4/liblash/lash.c
|
||||||
|
--- a/liblash/lash.c 2007-03-09 10:34:40.000000000 -0500
|
||||||
|
+++ b/liblash/lash.c 2012-07-22 18:17:46.003963521 -0400
|
||||||
|
@@ -22,6 +22,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <strings.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
+#include <sys/resource.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <sys/socket.h>
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ alsaLib boost fftwSinglePrec fltk jackaudio libsndfile mesa
|
buildInputs = [ alsaLib boost fftwSinglePrec fltk jackaudio libsndfile mesa
|
||||||
minixml zlib ];
|
minixml zlib ];
|
||||||
buildNativeInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
preConfigure = "cd src";
|
preConfigure = "cd src";
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib fftw fltk13 minixml zlib ];
|
buildInputs = [ alsaLib fftw fltk13 minixml zlib ];
|
||||||
buildNativeInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchurl {
|
(fetchurl {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ fetchurl, stdenv }:
|
{ fetchurl, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ed-1.5";
|
name = "ed-1.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/ed/${name}.tar.gz";
|
url = "mirror://gnu/ed/${name}.tar.gz";
|
||||||
sha256 = "18gvhyhwpabmgv4lh21lg8vl3z7acdyhh2mr2kj9g75wksj39pcp";
|
sha256 = "0c908wb5pm48rjrrfbm5dhrqzys8f1dbvi90dn0vgwjzk80l2hl9";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* FIXME: Tests currently fail on Darwin:
|
/* FIXME: Tests currently fail on Darwin:
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
preConfigure() {
|
|
||||||
libc=$(cat ${NIX_GCC}/nix-support/orig-libc)
|
|
||||||
echo "libc: $libc"
|
|
||||||
|
|
||||||
case "${system}" in
|
|
||||||
x86_64-*) glibclibdir=lib64 ;;
|
|
||||||
*) glibclibdir=lib ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
genericBuild
|
|
@ -1,58 +0,0 @@
|
|||||||
{ xawSupport ? true
|
|
||||||
, xpmSupport ? true
|
|
||||||
, xaw3dSupport ? false
|
|
||||||
, gtkGUI ? false
|
|
||||||
, stdenv, fetchurl, x11, libXaw ? null, libXpm ? null, Xaw3d ? null
|
|
||||||
, pkgconfig ? null, gtk ? null
|
|
||||||
, ncurses
|
|
||||||
}:
|
|
||||||
|
|
||||||
assert xawSupport && !xaw3dSupport -> libXaw != null;
|
|
||||||
assert xawSupport && xaw3dSupport -> Xaw3d != null;
|
|
||||||
assert xpmSupport -> libXpm != null;
|
|
||||||
assert gtkGUI -> pkgconfig != null && gtk != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "emacs-22.3";
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnu/emacs/${name}.tar.gz";
|
|
||||||
sha256 = "05hd89bchcpwzcx5la0alcp0wb7xywvnf98dxrshrqlfvccvgnbv";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ncurses x11]
|
|
||||||
++ stdenv.lib.optional xawSupport (if xaw3dSupport then Xaw3d else libXaw)
|
|
||||||
++ stdenv.lib.optional xpmSupport libXpm
|
|
||||||
++ stdenv.lib.optionals gtkGUI [pkgconfig gtk];
|
|
||||||
|
|
||||||
configureFlags =
|
|
||||||
stdenv.lib.optional gtkGUI "--with-x-toolkit=gtk";
|
|
||||||
|
|
||||||
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, *the* 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.
|
|
||||||
'';
|
|
||||||
|
|
||||||
homepage = http://www.gnu.org/software/emacs/;
|
|
||||||
license = "GPLv3+";
|
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.all;
|
|
||||||
};
|
|
||||||
}
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs ];
|
buildInputs = [ emacs ];
|
||||||
buildNativeInputs = [ texinfo texLive ];
|
nativeBuildInputs = [ texinfo texLive ];
|
||||||
|
|
||||||
configurePhase =
|
configurePhase =
|
||||||
'' sed -i mk/default.mk \
|
'' sed -i mk/default.mk \
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ kdevplatform kdebase_workspace okteta ];
|
buildInputs = [ kdevplatform kdebase_workspace okteta ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake pkgconfig automoc4 shared_mime_info gettext perl ];
|
nativeBuildInputs = [ cmake pkgconfig automoc4 shared_mime_info gettext perl ];
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[ ( fetchurl {
|
[ ( fetchurl {
|
||||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0nx5fmjrxrndnzvknxnybd8qh15jzfxzbny2rljq3amjw02y9lc2";
|
sha256 = "0nx5fmjrxrndnzvknxnybd8qh15jzfxzbny2rljq3amjw02y9lc2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ cmake gettext ];
|
nativeBuildInputs = [ cmake gettext ];
|
||||||
buildInputs = [ kdelibs ];
|
buildInputs = [ kdelibs ];
|
||||||
|
|
||||||
# for KDE 4.7 the nl translations fail since kile-2.1.2
|
# for KDE 4.7 the nl translations fail since kile-2.1.2
|
||||||
|
@ -13,7 +13,7 @@ composableDerivation {} {
|
|||||||
|
|
||||||
configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"];
|
configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"];
|
||||||
|
|
||||||
buildNativeInputs = [ncurses pkgconfig]
|
nativeBuildInputs = [ncurses pkgconfig]
|
||||||
++ [ gtk libX11 libXext libSM libXpm libXt libXaw libXau libXmu glib
|
++ [ gtk libX11 libXext libSM libXpm libXt libXaw libXau libXmu glib
|
||||||
libICE ];
|
libICE ];
|
||||||
|
|
||||||
@ -27,11 +27,11 @@ composableDerivation {} {
|
|||||||
// edf { name = "xsmp"; } #Disable XSMP session management
|
// edf { name = "xsmp"; } #Disable XSMP session management
|
||||||
// edf { name = "xsmp_interact"; } #Disable XSMP interaction
|
// edf { name = "xsmp_interact"; } #Disable XSMP interaction
|
||||||
// edf { name = "mzscheme"; } #Include MzScheme interpreter.
|
// edf { name = "mzscheme"; } #Include MzScheme interpreter.
|
||||||
// edf { name = "perl"; feat = "perlinterp"; enable = { buildNativeInputs = [perl]; };} #Include Perl interpreter.
|
// edf { name = "perl"; feat = "perlinterp"; enable = { nativeBuildInputs = [perl]; };} #Include Perl interpreter.
|
||||||
// edf { name = "python"; feat = "pythoninterp"; enable = { buildNativeInputs = [python]; }; } #Include Python interpreter.
|
// edf { name = "python"; feat = "pythoninterp"; enable = { nativeBuildInputs = [python]; }; } #Include Python interpreter.
|
||||||
// edf { name = "tcl"; enable = { buildNativeInputs = [tcl]; }; } #Include Tcl interpreter.
|
// edf { name = "tcl"; enable = { nativeBuildInputs = [tcl]; }; } #Include Tcl interpreter.
|
||||||
// edf { name = "ruby"; feat = "rubyinterp"; enable = { buildNativeInputs = [ruby]; };} #Include Ruby interpreter.
|
// edf { name = "ruby"; feat = "rubyinterp"; enable = { nativeBuildInputs = [ruby]; };} #Include Ruby interpreter.
|
||||||
// edf { name = "lua" ; feat = "luainterp"; enable = { buildNativeInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};}
|
// edf { name = "lua" ; feat = "luainterp"; enable = { nativeBuildInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};}
|
||||||
// edf { name = "cscope"; } #Include cscope interface.
|
// edf { name = "cscope"; } #Include cscope interface.
|
||||||
// edf { name = "workshop"; } #Include Sun Visual Workshop support.
|
// edf { name = "workshop"; } #Include Sun Visual Workshop support.
|
||||||
// edf { name = "netbeans"; } #Disable NetBeans integration support.
|
// edf { name = "netbeans"; } #Disable NetBeans integration support.
|
||||||
@ -42,7 +42,7 @@ composableDerivation {} {
|
|||||||
// edf { name = "fontset"; } #Include X fontset output support.
|
// edf { name = "fontset"; } #Include X fontset output support.
|
||||||
// edf { name = "acl"; } #Don't check for ACL support.
|
// edf { name = "acl"; } #Don't check for ACL support.
|
||||||
// edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon).
|
// edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon).
|
||||||
// edf { name = "nls"; enable = {buildNativeInputs = [gettext];}; } #Don't support NLS (gettext()).
|
// edf { name = "nls"; enable = {nativeBuildInputs = [gettext];}; } #Don't support NLS (gettext()).
|
||||||
;
|
;
|
||||||
|
|
||||||
cfg = {
|
cfg = {
|
||||||
@ -70,11 +70,11 @@ composableDerivation {} {
|
|||||||
|
|
||||||
postInstall = "
|
postInstall = "
|
||||||
rpath=`patchelf --print-rpath \$out/bin/vim`;
|
rpath=`patchelf --print-rpath \$out/bin/vim`;
|
||||||
for i in $\buildNativeInputs; do
|
for i in \$nativeBuildInputs; do
|
||||||
echo adding \$i/lib
|
echo adding \$i/lib
|
||||||
rpath=\$rpath:\$i/lib
|
rpath=\$rpath:\$i/lib
|
||||||
done
|
done
|
||||||
echo \$buildNativeInputs
|
echo \$nativeBuildInputs
|
||||||
echo \$rpath
|
echo \$rpath
|
||||||
patchelf --set-rpath \$rpath \$out/bin/{vim,gvim}
|
patchelf --set-rpath \$rpath \$out/bin/{vim,gvim}
|
||||||
";
|
";
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses pkgconfig ];
|
buildInputs = [ ncurses pkgconfig ];
|
||||||
buildNativeInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-multibyte"
|
"--enable-multibyte"
|
||||||
|
@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses boehmgc ];
|
buildInputs = [ ncurses boehmgc ];
|
||||||
buildNativeInputs = [ help2man perl ];
|
nativeBuildInputs = [ help2man perl ];
|
||||||
|
|
||||||
# `help2man' wants to run Zile, which fails when cross-compiling.
|
# `help2man' wants to run Zile, which fails when cross-compiling.
|
||||||
crossAttrs.buildNativeInputs = [];
|
crossAttrs.nativeBuildInputs = [];
|
||||||
|
|
||||||
# Tests can't be run because most of them rely on the ability to
|
# Tests can't be run because most of them rely on the ability to
|
||||||
# fiddle with the terminal.
|
# fiddle with the terminal.
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./install.patch ];
|
patches = [ ./install.patch ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
NIX_LDFLAGS = "-llcms -ljpeg";
|
NIX_LDFLAGS = "-llcms -ljpeg";
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
libxslt docbook_xsl libart_lgpl
|
libxslt docbook_xsl libart_lgpl
|
||||||
] ++ stdenv.lib.optional withGNOME libgnomeui;
|
] ++ stdenv.lib.optional withGNOME libgnomeui;
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig intltool perl ];
|
nativeBuildInputs = [ pkgconfig intltool perl ];
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
|
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1prnaywnbv0xpw6knqagzc4gn1vsj9kw2hvdasjwknc9ljiyl721";
|
sha256 = "1prnaywnbv0xpw6knqagzc4gn1vsj9kw2hvdasjwknc9ljiyl721";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ cmake automoc4 pkgconfig ];
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff
|
buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff
|
||||||
jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw
|
jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [djvulibre qt4];
|
buildInputs = [djvulibre qt4];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
patches = [ ./djview4-qt-4.8.patch ];
|
patches = [ ./djview4-qt-4.8.patch ];
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1riia87v5nsx858xnlvc7sspr1p36adjqrdch1255ikr5xbv6h6x";
|
sha256 = "1riia87v5nsx858xnlvc7sspr1p36adjqrdch1255ikr5xbv6h6x";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig which ];
|
nativeBuildInputs = [ pkgconfig which ];
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
[ libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
||||||
imagemagick curl saneBackends
|
imagemagick curl saneBackends
|
||||||
|
@ -36,7 +36,7 @@ let
|
|||||||
libLQR = pluginDerivation {
|
libLQR = pluginDerivation {
|
||||||
name = "liblqr-1-0.4.1";
|
name = "liblqr-1-0.4.1";
|
||||||
# required by lqrPlugin, you don't havet to install this lib explicitely
|
# required by lqrPlugin, you don't havet to install this lib explicitely
|
||||||
buildInputs = [ gimp ] ++ gimp.buildNativeInputs;
|
buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://registry.gimp.org/files/liblqr-1-0.4.1.tar.bz2;
|
url = http://registry.gimp.org/files/liblqr-1-0.4.1.tar.bz2;
|
||||||
sha256 = "02g90wag7xi5rjlmwq8h0qs666b1i2sa90s4303hmym40il33nlz";
|
sha256 = "02g90wag7xi5rjlmwq8h0qs666b1i2sa90s4303hmym40il33nlz";
|
||||||
@ -50,7 +50,7 @@ rec {
|
|||||||
Video
|
Video
|
||||||
*/
|
*/
|
||||||
name = "gap-2.6.0";
|
name = "gap-2.6.0";
|
||||||
buildInputs = [ gimp pkgconfig glib pkgs.intltool gimp.gtk ] ++ gimp.buildNativeInputs;
|
buildInputs = [ gimp pkgconfig glib pkgs.intltool gimp.gtk ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2;
|
url = ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2;
|
||||||
sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
|
sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
|
||||||
@ -74,7 +74,7 @@ rec {
|
|||||||
Filters/Generic/FFT Inverse
|
Filters/Generic/FFT Inverse
|
||||||
*/
|
*/
|
||||||
name = "fourier-0.3.3";
|
name = "fourier-0.3.3";
|
||||||
buildInputs = [ gimp pkgs.fftwSinglePrec pkgconfig glib] ++ gimp.buildNativeInputs;
|
buildInputs = [ gimp pkgs.fftwSinglePrec pkgconfig glib] ++ gimp.nativeBuildInputs;
|
||||||
postInstall = "fail";
|
postInstall = "fail";
|
||||||
installPhase = "installPlugins fourier";
|
installPhase = "installPlugins fourier";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -91,7 +91,7 @@ rec {
|
|||||||
Filters/Enhance/Smart remove selection
|
Filters/Enhance/Smart remove selection
|
||||||
*/
|
*/
|
||||||
name = "resynthesizer-0.16";
|
name = "resynthesizer-0.16";
|
||||||
buildInputs = [ gimp pkgs.fftw ] ++ gimp.buildNativeInputs;
|
buildInputs = [ gimp pkgs.fftw ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.logarithmic.net/pfh-files/resynthesizer/resynthesizer-0.16.tar.gz;
|
url = http://www.logarithmic.net/pfh-files/resynthesizer/resynthesizer-0.16.tar.gz;
|
||||||
sha256 = "1k90a1jzswxmajn56rdxa4r60v9v34fmqsiwfdxqcvx3yf4yq96x";
|
sha256 = "1k90a1jzswxmajn56rdxa4r60v9v34fmqsiwfdxqcvx3yf4yq96x";
|
||||||
@ -105,7 +105,7 @@ rec {
|
|||||||
|
|
||||||
texturize = pluginDerivation {
|
texturize = pluginDerivation {
|
||||||
name = "texturize-2.1";
|
name = "texturize-2.1";
|
||||||
buildInputs = [ gimp ] ++ gimp.buildNativeInputs;
|
buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://prdownloads.sourceforge.net/gimp-texturize/texturize-2.1_src.tgz;
|
url = http://prdownloads.sourceforge.net/gimp-texturize/texturize-2.1_src.tgz;
|
||||||
sha256 = "0cdjq25g3yfxx6bzx6nid21kq659s1vl9id4wxyjs2dhcv229cg3";
|
sha256 = "0cdjq25g3yfxx6bzx6nid21kq659s1vl9id4wxyjs2dhcv229cg3";
|
||||||
@ -118,7 +118,7 @@ rec {
|
|||||||
Filters/Enhance/Wavelet sharpen
|
Filters/Enhance/Wavelet sharpen
|
||||||
*/
|
*/
|
||||||
name = "wavelet-sharpen-0.1.2";
|
name = "wavelet-sharpen-0.1.2";
|
||||||
buildInputs = [ gimp ] ++ gimp.buildNativeInputs;
|
buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz;
|
url = http://registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz;
|
||||||
sha256 = "0vql1k67i21g5ivaa1jh56rg427m0icrkpryrhg75nscpirfxxqw";
|
sha256 = "0vql1k67i21g5ivaa1jh56rg427m0icrkpryrhg75nscpirfxxqw";
|
||||||
@ -131,7 +131,7 @@ rec {
|
|||||||
Layer/Liquid Rescale
|
Layer/Liquid Rescale
|
||||||
*/
|
*/
|
||||||
name = "lqr-plugin-0.6.1";
|
name = "lqr-plugin-0.6.1";
|
||||||
buildInputs = [ pkgconfig libLQR gimp ] ++ gimp.buildNativeInputs;
|
buildInputs = [ pkgconfig libLQR gimp ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2;
|
url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2;
|
||||||
sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9";
|
sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9";
|
||||||
@ -146,7 +146,7 @@ rec {
|
|||||||
let imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough?
|
let imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough?
|
||||||
in pluginDerivation {
|
in pluginDerivation {
|
||||||
name = "gmic-1.3.2.0";
|
name = "gmic-1.3.2.0";
|
||||||
buildInputs = [ imagemagick pkgconfig gimp pkgs.fftwSinglePrec ] ++ gimp.buildNativeInputs;
|
buildInputs = [ imagemagick pkgconfig gimp pkgs.fftwSinglePrec ] ++ gimp.nativeBuildInputs;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://dfn.dl.sourceforge.net/sourceforge/gmic/gmic_1.3.2.0.tar.gz;
|
url = http://dfn.dl.sourceforge.net/sourceforge/gmic/gmic_1.3.2.0.tar.gz;
|
||||||
sha256 = "0mxq664vzzc2l6k6sqm9syp34mihhi262i6fixk1g12lmc28797h";
|
sha256 = "0mxq664vzzc2l6k6sqm9syp34mihhi262i6fixk1g12lmc28797h";
|
||||||
@ -172,7 +172,7 @@ rec {
|
|||||||
# or use the binary
|
# or use the binary
|
||||||
ufraw = pluginDerivation {
|
ufraw = pluginDerivation {
|
||||||
name = "ufraw-0.15";
|
name = "ufraw-0.15";
|
||||||
buildInputs = [pkgs.lcms gimp] ++ gimp.buildNativeInputs;
|
buildInputs = [pkgs.lcms gimp] ++ gimp.nativeBuildInputs;
|
||||||
# --enable-mime - install mime files, see README for more information
|
# --enable-mime - install mime files, see README for more information
|
||||||
# --enable-extras - build extra (dcraw, nikon-curve) executables
|
# --enable-extras - build extra (dcraw, nikon-curve) executables
|
||||||
# --enable-dst-correction - enable DST correction for file timestamps.
|
# --enable-dst-correction - enable DST correction for file timestamps.
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
|||||||
zlib libtool
|
zlib libtool
|
||||||
];
|
];
|
||||||
|
|
||||||
buildNativeInputs = [ xz ];
|
nativeBuildInputs = [ xz ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i 's/-ltiff.*'\'/\'/ $out/bin/*
|
sed -i 's/-ltiff.*'\'/\'/ $out/bin/*
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ panotools wxGTK libtiff libpng openexr boost tclap
|
buildInputs = [ panotools wxGTK libtiff libpng openexr boost tclap
|
||||||
exiv2 gettext ilmbase mesa freeglut glew libXmu libXi ];
|
exiv2 gettext ilmbase mesa freeglut glew libXmu libXi ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
propagatedUserEnvPackages = [ enblendenfuse autopanosiftc ];
|
propagatedUserEnvPackages = [ enblendenfuse autopanosiftc ];
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
libksane libxslt gettext opencv libgpod gdk_pixbuf qjson
|
libksane libxslt gettext opencv libgpod gdk_pixbuf qjson
|
||||||
];
|
];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig cmake automoc4 ];
|
nativeBuildInputs = [ pkgconfig cmake automoc4 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Photo Management Program";
|
description = "Photo Management Program";
|
||||||
|
@ -10,5 +10,5 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ kdelibs imlib ];
|
buildInputs = [ kdelibs imlib ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake gettext pkgconfig ];
|
nativeBuildInputs = [ cmake gettext pkgconfig ];
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [saneBackends libX11 gtk pkgconfig] ++
|
buildInputs = [saneBackends libX11 gtk pkgconfig] ++
|
||||||
(if (libusb != null) then [libusb] else []);
|
(if libusb != null then [libusb] else []);
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.sane-project.org/";
|
homepage = "http://www.sane-project.org/";
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
||||||
(if (libusb != null) then [libusb] else []);
|
(if libusb != null then [libusb] else []);
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.sane-project.org/;
|
homepage = http://www.sane-project.org/;
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "05xbzq1i1vw2mdsv7zjqfpxfv3g1j0g5kks0gq6sh373xd6y8lyh";
|
sha256 = "05xbzq1i1vw2mdsv7zjqfpxfv3g1j0g5kks0gq6sh373xd6y8lyh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ automake pkgconfig gettext perl zip ];
|
nativeBuildInputs = [ automake pkgconfig gettext perl zip ];
|
||||||
buildInputs = [ wxGTK gtk libxml2 freetype pango ];
|
buildInputs = [ wxGTK gtk libxml2 freetype pango ];
|
||||||
|
|
||||||
configureFlags = "--disable-svnversion";
|
configureFlags = "--disable-svnversion";
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [x11 libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
|
buildInputs = [x11 libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
|
||||||
|
|
||||||
buildNativeInputs = [ imake makeWrapper ];
|
nativeBuildInputs = [ imake makeWrapper ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${libXpm}/include/X11";
|
NIX_CFLAGS_COMPILE = "-I${libXpm}/include/X11";
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
pango libX11 xproto zlib poppler poppler_data
|
pango libX11 xproto zlib poppler poppler_data
|
||||||
];
|
];
|
||||||
|
|
||||||
buildNativeInputs = [ autoconf automake libtool pkgconfig ];
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
||||||
|
|
||||||
# Build with poppler-0.18.x
|
# Build with poppler-0.18.x
|
||||||
patchFlags = "-p0";
|
patchFlags = "-p0";
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
inherit python;
|
inherit python;
|
||||||
|
|
||||||
buildNativeInputs = [ makeWrapper pkgconfig ];
|
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ python pyqt4 sip popplerQt4 libpng imagemagick libjpeg
|
[ python pyqt4 sip popplerQt4 libpng imagemagick libjpeg
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0bcpmnlk03382x577qbnbw3i6y08hr3qmg85pqj35scnl6van74c";
|
sha256 = "0bcpmnlk03382x577qbnbw3i6y08hr3qmg85pqj35scnl6van74c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [
|
nativeBuildInputs = [
|
||||||
glibc
|
glibc
|
||||||
glib
|
glib
|
||||||
stdenv.gcc.gcc
|
stdenv.gcc.gcc
|
||||||
@ -55,7 +55,7 @@ stdenv.mkDerivation {
|
|||||||
chmod +x $out/bin/googleearth
|
chmod +x $out/bin/googleearth
|
||||||
|
|
||||||
fullPath=
|
fullPath=
|
||||||
for i in $buildNativeInputs; do
|
for i in $nativeBuildInputs; do
|
||||||
fullPath=$fullPath:$i/lib
|
fullPath=$fullPath:$i/lib
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "08x1p8xhl65r79a6gn1fi63z1lspd5j55l05diiyzcwfxvqwsm47";
|
sha256 = "08x1p8xhl65r79a6gn1fi63z1lspd5j55l05diiyzcwfxvqwsm47";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig gettext ];
|
nativeBuildInputs = [ pkgconfig gettext ];
|
||||||
buildInputs = [ libgphoto2 libexif popt libjpeg readline libtool ];
|
buildInputs = [ libgphoto2 libexif popt libjpeg readline libtool ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ kdelibs ];
|
buildInputs = [ kdelibs ];
|
||||||
|
|
||||||
buildNativeInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "KDE Wacom graphic tablet configuration tool";
|
description = "KDE Wacom graphic tablet configuration tool";
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ neon libusb openssl udev avahi freeipmi ];
|
buildInputs = [ neon libusb openssl udev avahi freeipmi ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-all"
|
[ "--with-all"
|
||||||
|
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ gdal qt4 flex bison proj geos x11 sqlite gsl pyqt4 qwt
|
buildInputs = [ gdal qt4 flex bison proj geos x11 sqlite gsl pyqt4 qwt
|
||||||
fcgi ];
|
fcgi ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake python];
|
nativeBuildInputs = [ cmake python];
|
||||||
|
|
||||||
patches = [ ./r14988.diff ];
|
patches = [ ./r14988.diff ];
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1yrf73r8mixskh8b531wb8dfs9z7rrw010xsrflhjhjmqh94h8mw";
|
sha256 = "1yrf73r8mixskh8b531wb8dfs9z7rrw010xsrflhjhjmqh94h8mw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
buildInputs = [ kdelibs kdebase_workspace ];
|
buildInputs = [ kdelibs kdebase_workspace ];
|
||||||
|
|
||||||
|
@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ pkgconfig gettext gtk gconf curl libexif sqlite libxml2 ];
|
buildInputs = [ pkgconfig gettext gtk gconf curl libexif sqlite libxml2 ];
|
||||||
|
|
||||||
|
# bogus includes fail with newer library version
|
||||||
|
postPatch = ''
|
||||||
|
sed -i -e 's,#include <glib/.*>,#include <glib.h>,g' src/*.c
|
||||||
|
sed -i -e 's,#include <curl/.*>,#include <curl/curl.h>,g' src/*.c src/*.h
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "tangoGPS, a user friendly map and GPS user interface";
|
description = "tangoGPS, a user friendly map and GPS user interface";
|
||||||
|
|
||||||
@ -30,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
conveniently pre-cache areas with tangoGPS.
|
conveniently pre-cache areas with tangoGPS.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = http://www.tangogps.org/;
|
#homepage = http://www.tangogps.org/; # no longer valid, I couldn't find any other
|
||||||
|
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
};
|
};
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
|
sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "GTD (getting things done) implementation";
|
description = "GTD (getting things done) implementation";
|
||||||
|
@ -69,7 +69,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig fuse devicemapper wxGTK nasm ];
|
buildInputs = [ pkgconfig fuse devicemapper wxGTK nasm ];
|
||||||
makeFlags = if (wxGUI) then "" else "NOGUI=1";
|
makeFlags = if wxGUI then "" else "NOGUI=1";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Free Open-Source filesystem on-the-fly encryption";
|
description = "Free Open-Source filesystem on-the-fly encryption";
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ kdelibs ];
|
buildInputs = [ kdelibs ];
|
||||||
|
|
||||||
buildNativeInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://yakuake.kde.org;
|
homepage = http://yakuake.kde.org;
|
||||||
|
@ -127,8 +127,7 @@ in stdenv.mkDerivation rec {
|
|||||||
patches = optional cupsSupport ./cups_allow_deprecated.patch
|
patches = optional cupsSupport ./cups_allow_deprecated.patch
|
||||||
++ optional pulseSupport ./pulseaudio_array_bounds.patch
|
++ optional pulseSupport ./pulseaudio_array_bounds.patch
|
||||||
++ optional post25 ./clone_detached.patch
|
++ optional post25 ./clone_detached.patch
|
||||||
# XXX: Remove after stdenv-updates merge!
|
++ [ ./glibc-2.16-use-siginfo_t.patch ];
|
||||||
++ singleton "/dev/null";
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -r -e 's/-f(stack-protector)(-all)?/-fno-\1/' build/common.gypi
|
sed -i -r -e 's/-f(stack-protector)(-all)?/-fno-\1/' build/common.gypi
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
--- a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h.orig 2012-12-22 16:01:44.000000000 +0200
|
||||||
|
+++ b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h 2012-12-23 21:53:26.746069153 +0200
|
||||||
|
@@ -250,7 +250,7 @@
|
||||||
|
struct kernel_old_sigaction {
|
||||||
|
union {
|
||||||
|
void (*sa_handler_)(int);
|
||||||
|
- void (*sa_sigaction_)(int, struct siginfo *, void *);
|
||||||
|
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
|
||||||
|
};
|
||||||
|
unsigned long sa_mask;
|
||||||
|
unsigned long sa_flags;
|
||||||
|
@@ -287,13 +287,13 @@
|
||||||
|
unsigned long sa_flags;
|
||||||
|
union {
|
||||||
|
void (*sa_handler_)(int);
|
||||||
|
- void (*sa_sigaction_)(int, struct siginfo *, void *);
|
||||||
|
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
|
||||||
|
};
|
||||||
|
struct kernel_sigset_t sa_mask;
|
||||||
|
#else
|
||||||
|
union {
|
||||||
|
void (*sa_handler_)(int);
|
||||||
|
- void (*sa_sigaction_)(int, struct siginfo *, void *);
|
||||||
|
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
|
||||||
|
};
|
||||||
|
unsigned long sa_flags;
|
||||||
|
void (*sa_restorer)(void);
|
@ -21,12 +21,12 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
propagatedBuildInputs = [ ncurses.hostDrv zlib.hostDrv openssl.hostDrv ];
|
propagatedBuildInputs = [ ncurses.crossDrv zlib.crossDrv openssl.crossDrv ];
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--enable-finger --enable-html-highlight
|
--enable-finger --enable-html-highlight
|
||||||
--enable-gopher --enable-cgi --enable-bittorrent --enable-nntp
|
--enable-gopher --enable-cgi --enable-bittorrent --enable-nntp
|
||||||
--with-openssl=${openssl.hostDrv}
|
--with-openssl=${openssl.crossDrv}
|
||||||
--with-bzip2=${bzip2.hostDrv}
|
--with-bzip2=${bzip2.crossDrv}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
|
++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
|
||||||
++ stdenv.lib.optional enableDirectFB [ directfb ];
|
++ stdenv.lib.optional enableDirectFB [ directfb ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig bzip2 ];
|
nativeBuildInputs = [ pkgconfig bzip2 ];
|
||||||
|
|
||||||
configureFlags = [ "--with-ssl" ]
|
configureFlags = [ "--with-ssl" ]
|
||||||
++ stdenv.lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics"
|
++ stdenv.lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics"
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
|||||||
configureFlags = if sslSupport then "--with-ssl" else "";
|
configureFlags = if sslSupport then "--with-ssl" else "";
|
||||||
|
|
||||||
buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl;
|
buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl;
|
||||||
buildNativeInputs = [ ncurses ];
|
nativeBuildInputs = [ ncurses ];
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
configureFlags = "--enable-widec" +
|
configureFlags = "--enable-widec" +
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
{ stdenv, fetchurl, kdelibs, gettext, pkgconfig, shared_desktop_ontologies, qca2, qoauth }:
|
{ stdenv, fetchurl, kde4, gettext, pkgconfig, shared_desktop_ontologies, qca2, qoauth }:
|
||||||
|
|
||||||
|
assert builtins.compareVersions "4.8.3" kde4.release != 1; # https://bugs.kde.org/show_bug.cgi?id=306077
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rekonq-1.1";
|
name = "rekonq-1.70"; # >=1.80 need kde >=4.9.0
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/rekonq/${name}.tar.bz2";
|
url = "mirror://sourceforge/rekonq/${name}.tar.bz2";
|
||||||
sha256 = "1bs733mwyfb7bxnial8n49b82ip04sark2mxwlq7ixxsbgq7972l";
|
sha256 = "05zqm329vajsn32l5b5nlbw92gl3irdcx8kifr4y921i9bkzigad";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ kdelibs qca2 qoauth ];
|
buildInputs = [ kde4.kdelibs qca2 qoauth ];
|
||||||
|
|
||||||
buildNativeInputs = [ gettext pkgconfig shared_desktop_ontologies ];
|
nativeBuildInputs = [ gettext pkgconfig shared_desktop_ontologies ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
@ -19,9 +19,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
|
sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./glibc214.patch ]
|
||||||
# Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that
|
# Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that
|
||||||
# alpha. At the time of writing this, boehm-gc-7.1 is the last stable.
|
# alpha. At the time of writing this, boehm-gc-7.1 is the last stable.
|
||||||
patches = stdenv.lib.optional (boehmgc.name != "boehm-gc-7.1") [ ./newgc.patch ];
|
++ stdenv.lib.optional (boehmgc.name != "boehm-gc-7.1") [ ./newgc.patch ];
|
||||||
|
|
||||||
buildInputs = [ncurses boehmgc gettext zlib]
|
buildInputs = [ncurses boehmgc gettext zlib]
|
||||||
++ stdenv.lib.optional sslSupport openssl
|
++ stdenv.lib.optional sslSupport openssl
|
||||||
@ -36,6 +37,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace ./configure --replace /usr /no-such-path
|
substituteInPlace ./configure --replace /usr /no-such-path
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://w3m.sourceforge.net/;
|
homepage = http://w3m.sourceforge.net/;
|
||||||
description = "A text-mode web browser";
|
description = "A text-mode web browser";
|
||||||
|
60
pkgs/applications/networking/browsers/w3m/glibc214.patch
Normal file
60
pkgs/applications/networking/browsers/w3m/glibc214.patch
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.3-glibc214.patch?revision=1.1
|
||||||
|
|
||||||
|
--- a/istream.c.~1.27.~ 2011-01-04 18:22:22.000000000 +0900
|
||||||
|
+++ b/istream.c 2011-06-24 08:15:23.522990618 +0900
|
||||||
|
@@ -22,8 +22,8 @@
|
||||||
|
static void basic_close(int *handle);
|
||||||
|
static int basic_read(int *handle, char *buf, int len);
|
||||||
|
|
||||||
|
-static void file_close(struct file_handle *handle);
|
||||||
|
-static int file_read(struct file_handle *handle, char *buf, int len);
|
||||||
|
+static void file_close(struct afile_handle *handle);
|
||||||
|
+static int file_read(struct afile_handle *handle, char *buf, int len);
|
||||||
|
|
||||||
|
static int str_read(Str handle, char *buf, int len);
|
||||||
|
|
||||||
|
@@ -114,7 +114,7 @@
|
||||||
|
stream = New(union input_stream);
|
||||||
|
init_base_stream(&stream->base, STREAM_BUF_SIZE);
|
||||||
|
stream->file.type = IST_FILE;
|
||||||
|
- stream->file.handle = New(struct file_handle);
|
||||||
|
+ stream->file.handle = New(struct afile_handle);
|
||||||
|
stream->file.handle->f = f;
|
||||||
|
if (closep)
|
||||||
|
stream->file.handle->close = closep;
|
||||||
|
@@ -658,13 +658,13 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
-file_close(struct file_handle *handle)
|
||||||
|
+file_close(struct afile_handle *handle)
|
||||||
|
{
|
||||||
|
handle->close(handle->f);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
-file_read(struct file_handle *handle, char *buf, int len)
|
||||||
|
+file_read(struct afile_handle *handle, char *buf, int len)
|
||||||
|
{
|
||||||
|
return fread(buf, 1, len, handle->f);
|
||||||
|
}
|
||||||
|
--- a/istream.h.~1.12.~ 2003-10-21 01:41:56.000000000 +0900
|
||||||
|
+++ b/istream.h 2011-06-24 08:15:54.392991144 +0900
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
|
||||||
|
typedef struct stream_buffer *StreamBuffer;
|
||||||
|
|
||||||
|
-struct file_handle {
|
||||||
|
+struct afile_handle {
|
||||||
|
FILE *f;
|
||||||
|
void (*close) ();
|
||||||
|
};
|
||||||
|
@@ -53,7 +53,7 @@
|
||||||
|
|
||||||
|
struct file_stream {
|
||||||
|
struct stream_buffer stream;
|
||||||
|
- struct file_handle *handle;
|
||||||
|
+ struct afile_handle *handle;
|
||||||
|
char type;
|
||||||
|
char iseos;
|
||||||
|
int (*read) ();
|
@ -4,11 +4,11 @@
|
|||||||
, gsm, speex, portaudio, spandsp, libuuid
|
, gsm, speex, portaudio, spandsp, libuuid
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.4.2";
|
version = "0.4.3";
|
||||||
name = "baresip-${version}";
|
name = "baresip-${version}";
|
||||||
src=fetchurl {
|
src=fetchurl {
|
||||||
url = "http://www.creytiv.com/pub/baresip-${version}.tar.gz";
|
url = "http://www.creytiv.com/pub/baresip-${version}.tar.gz";
|
||||||
sha256 = "3ac15b3d3cf17b2417ba871e7eaaaf41ab10cb30b900adcee357d5e91ea033e7";
|
sha256 = "03vpzn0c3mybnwn84ha3yci780qsjm669dwja1srj0hbrq81rbil";
|
||||||
};
|
};
|
||||||
buildInputs = [zlib openssl libre librem pkgconfig
|
buildInputs = [zlib openssl libre librem pkgconfig
|
||||||
cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good
|
cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good
|
||||||
|
@ -2,12 +2,18 @@
|
|||||||
, withGpg ? true, gpgme ? null}:
|
, withGpg ? true, gpgme ? null}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "centerim-4.22.10";
|
version = "4.22.10";
|
||||||
|
debPatch = "2";
|
||||||
|
name = "centerim-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://centerim.org/download/releases/${name}.tar.gz";
|
url = "http://centerim.org/download/releases/${name}.tar.gz";
|
||||||
sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
|
sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
|
||||||
};
|
};
|
||||||
|
patches = fetchurl {
|
||||||
|
url = "mirror://debian/pool/main/c/centerim/centerim_${version}-${debPatch}.diff.gz";
|
||||||
|
sha256 = "18iz3hkvr31jsyznryvyldxm9ckyrpy9sczxikrnw2i2r1xyfj8m";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl curl ncurses libjpeg ]
|
buildInputs = [ openssl curl ncurses libjpeg ]
|
||||||
++ stdenv.lib.optional withGpg gpgme;
|
++ stdenv.lib.optional withGpg gpgme;
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex libsoup ];
|
buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex libsoup ];
|
||||||
|
|
||||||
buildNativeInputs = [ intltool pkgconfig ];
|
nativeBuildInputs = [ intltool pkgconfig ];
|
||||||
|
|
||||||
preConfigure = "rm -r mediastreamer2 oRTP";
|
preConfigure = "rm -r mediastreamer2 oRTP";
|
||||||
|
|
||||||
|
@ -0,0 +1,86 @@
|
|||||||
|
http://pkgs.fedoraproject.org/gitweb/?p=psimedia.git;a=blob_plain;f=psimedia-remove-v4l.patch;hb=HEAD
|
||||||
|
|
||||||
|
--- a/gstprovider/deviceenum/deviceenum_unix.cpp
|
||||||
|
+++ b/gstprovider/deviceenum/deviceenum_unix.cpp
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
# include <sys/stat.h>
|
||||||
|
# include <dirent.h>
|
||||||
|
# include <sys/ioctl.h>
|
||||||
|
-# include <linux/videodev.h>
|
||||||
|
+# include <linux/videodev2.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace DeviceEnum {
|
||||||
|
@@ -478,72 +478,7 @@
|
||||||
|
// v4l detection scheme adapted from PWLib (used by Ekiga/Gnomemeeting)
|
||||||
|
static QList<Item> get_v4l_items()
|
||||||
|
{
|
||||||
|
-#ifdef Q_OS_LINUX
|
||||||
|
- QList<Item> out;
|
||||||
|
-
|
||||||
|
- QList<V4LName> list = get_v4l_names("/sys/class/video4linux", true);
|
||||||
|
- if(list.isEmpty())
|
||||||
|
- list = get_v4l_names("/proc/video/dev", false);
|
||||||
|
-
|
||||||
|
- // if we can't find anything, then do a raw scan for possibilities
|
||||||
|
- if(list.isEmpty())
|
||||||
|
- {
|
||||||
|
- QStringList possible = scan_for_videodevs("/dev");
|
||||||
|
- foreach(QString str, possible)
|
||||||
|
- {
|
||||||
|
- V4LName v;
|
||||||
|
- v.dev = str;
|
||||||
|
- list += v;
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- for(int n = 0; n < list.count(); ++n)
|
||||||
|
- {
|
||||||
|
- V4LName &v = list[n];
|
||||||
|
-
|
||||||
|
- // if we already have a friendly name then we'll skip the confirm
|
||||||
|
- // in order to save resources. the only real drawback here that
|
||||||
|
- // I can think of is if the device isn't a capture type. but
|
||||||
|
- // what does it mean to have a V4L device that isn't capture??
|
||||||
|
- if(v.friendlyName.isEmpty())
|
||||||
|
- {
|
||||||
|
- int fd = open(QFile::encodeName(v.dev).data(), O_RDONLY | O_NONBLOCK);
|
||||||
|
- if(fd == -1)
|
||||||
|
- continue;
|
||||||
|
-
|
||||||
|
- // get video capabilities and close
|
||||||
|
- struct video_capability caps;
|
||||||
|
- memset(&caps, 0, sizeof(caps));
|
||||||
|
- int ret = ioctl(fd, VIDIOCGCAP, &caps);
|
||||||
|
- close(fd);
|
||||||
|
- if(ret == -1)
|
||||||
|
- continue;
|
||||||
|
-
|
||||||
|
- if(!(caps.type & VID_TYPE_CAPTURE))
|
||||||
|
- continue;
|
||||||
|
-
|
||||||
|
- v.friendlyName = caps.name;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- Item i;
|
||||||
|
- i.type = Item::Video;
|
||||||
|
- i.dir = Item::Input;
|
||||||
|
- i.name = v.friendlyName;
|
||||||
|
- i.driver = "v4l";
|
||||||
|
- i.id = v.dev;
|
||||||
|
-
|
||||||
|
- // HACK
|
||||||
|
- if(v.friendlyName == "Labtec Webcam Notebook")
|
||||||
|
- i.explicitCaptureSize = QSize(640, 480);
|
||||||
|
-
|
||||||
|
- out += i;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- return out;
|
||||||
|
-#else
|
||||||
|
- // return empty list if non-linux
|
||||||
|
return QList<Item>();
|
||||||
|
-#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
static QList<Item> get_v4l2_items()
|
@ -2,14 +2,14 @@
|
|||||||
, glib, pkgconfig }:
|
, glib, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "psimedia";
|
name = "psimedia-1.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://delta.affinix.com/download/psimedia/psimedia-1.0.3.tar.bz2";
|
url = "http://delta.affinix.com/download/psimedia/${name}.tar.bz2";
|
||||||
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./glib-2.32.patch ];
|
patches = [ ./glib-2.32.patch ./linux-headers.patch ];
|
||||||
|
|
||||||
buildInputs = [ qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig ];
|
buildInputs = [ qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig ];
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
cp -r * $out/libexec/skype/
|
cp -r * $out/libexec/skype/
|
||||||
|
|
||||||
fullPath=
|
fullPath=
|
||||||
for i in $buildNativeInputs; do
|
for i in $nativeBuildInputs; do
|
||||||
fullPath=$fullPath''${fullPath:+:}$i/lib
|
fullPath=$fullPath''${fullPath:+:}$i/lib
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
, sqlite, libsoup, libnice, gnutls }:
|
, sqlite, libsoup, libnice, gnutls }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "telepathy-gabble-0.16.0";
|
name = "telepathy-gabble-0.17.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/releases/telepathy-gabble/${name}.tar.gz";
|
url = "${meta.homepage}/releases/telepathy-gabble/${name}.tar.gz";
|
||||||
sha256 = "0fk65f7q75z3wm5h4wad7g5sm2j6r8v2845b74ycl29br78ki2hf";
|
sha256 = "137sslbgh0326lmwihcr2ybljgq9mzsx5wnciilpx884si22wpk8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [pkgconfig libxslt];
|
nativeBuildInputs = [pkgconfig libxslt];
|
||||||
buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ];
|
buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ];
|
||||||
|
|
||||||
configureFlags = "--with-ca-certificates=/etc/ca-bundle.crt";
|
configureFlags = "--with-ca-certificates=/etc/ca-bundle.crt";
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "telepathy-haze";
|
pname = "telepathy-haze";
|
||||||
name = "${pname}-0.6.0";
|
name = "${pname}-0.7.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
|
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
|
||||||
sha256 = "1qrgmcr8ga6nvaz9hhn0mv0p7v799wsawrg3k5l791cgxx5carz2";
|
sha256 = "1gaj8518ilm3gnzqf3lmiqgnwkay8wfbsqngcz15whzji8sl608b";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib telepathy_glib dbus_glib pidgin ];
|
buildInputs = [ glib telepathy_glib dbus_glib pidgin ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig libxslt ];
|
nativeBuildInputs = [ pkgconfig libxslt ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A Telepathy connection manager based on libpurple";
|
description = "A Telepathy connection manager based on libpurple";
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
[
|
|
||||||
{name="ktp-accounts-kcm";key="accounts_kcm";sha256="1a312cfm1i8ipqp0r09zfhlk7vacp006pbhwwvyf0sgracizr0cp";}
|
|
||||||
{name="ktp-approver";key="approver";sha256="0wfpwlk5f3n37xl619jzjxmgrq81qnr9kg9m955zbcad2jsx3z35";}
|
|
||||||
{name="ktp-auth-handler";key="auth_handler";sha256="1q5jjj3np3kg7py28jb74q8lpi6camw7907950igpnwzbzmacxwa";}
|
|
||||||
{name="ktp-call-ui";key="call_ui";sha256="08k59q0gf6fq0mmz72akiqkldqy6grw1gs7jz44gzmr82jvaqjb3";}
|
|
||||||
{name="ktp-common-internals";key="common_internals";sha256="1cmil7wp6rgqzl0bciphqmvdzipm856c45kx2mzrk6n1vnl9l500";}
|
|
||||||
{name="ktp-contact-applet";key="contact_applet";sha256="1j42yqq06bkpfb4jgm88qqbwnz9538ys5aghyfg147jr50h9pk8k";}
|
|
||||||
{name="ktp-contact-list";key="contact_list";sha256="1ndpr2z99clmy8f7l8l6ws7bljmmqvfrb5f0nrym91lyvcdz7sb2";}
|
|
||||||
{name="ktp-contact-runner";key="contact_runner";sha256="1v8mcp8q1cfmxdg65qqh159q9pynz3pc3y0ycr6hn1nrgxncs48k";}
|
|
||||||
{name="ktp-filetransfer-handler";key="filetransfer_handler";sha256="0dj2if34wxajwylgfxwd5chvxk63lxmsq52sc039dsj9p174cp3y";}
|
|
||||||
{name="ktp-kded-integration-module";key="kded_integration_module";sha256="0p873h6cjdinfinfz1cggyw611v2gllmkvzczszxnl8q2hcprx96";}
|
|
||||||
{name="ktp-presence-applet";key="presence_applet";sha256="1y8yhbbjp9qgycn93lqd6ss7jln1hpxa0dnqgirijfjn15c20nfl";}
|
|
||||||
{name="ktp-send-file";key="send_file";sha256="0sacvda2xs5g7w2xca9p6z61f2w69sgw0g3sj2fazrsm0x7a0z0d";}
|
|
||||||
{name="ktp-text-ui";key="text_ui";sha256="1xsslwaisk90wa45rgps3500wl1fbxq4qp6njljf4qbysyw4wfdb";}
|
|
||||||
{name="telepathy-logger-qt";key="telepathy_logger_qt";sha256="1398iyb72grhwwi0idxdwj1qdi2s02cp2wvjv72wvv3vyfwb51kn";}
|
|
||||||
]
|
|
@ -0,0 +1,16 @@
|
|||||||
|
[
|
||||||
|
{name="ktp-accounts-kcm";key="accounts_kcm";sha256="0nmjwbm7ycy5awwlx359889am7qbvs64gk0bd1800a9jl2lhvw56";}
|
||||||
|
{name="ktp-approver";key="approver";sha256="0n0a2abbz7xvzp3p4l6khgbhbjylppvskcyma440fmfv3j3jdc12";}
|
||||||
|
{name="ktp-auth-handler";key="auth_handler";sha256="11vfim3ck60cy22x84bz6cw0267kf884qa00nbm033kpwjbx4zr6";}
|
||||||
|
{name="ktp-call-ui";key="call_ui";sha256="0gmppn4f5a9yd3pnzga3sdwz37c7qpmx586914r64jbkii196xg4";}
|
||||||
|
{name="ktp-common-internals";key="common_internals";sha256="1lkmaym8bv5ijy7sksbihr63qify9b9vrhrikck6q23n8sk112n9";}
|
||||||
|
{name="ktp-contact-applet";key="contact_applet";sha256="0gsf1m276mhvysy30qqw1h7ssdipyyjh43jbf2lx4bb934by9wby";}
|
||||||
|
{name="ktp-contact-list";key="contact_list";sha256="19nlzs650lwmzr30lrviv0qw1xd061pdrk17cm512ldvzibc70ab";}
|
||||||
|
{name="ktp-contact-runner";key="contact_runner";sha256="0x3zkk11x9npx30w330s8n49ybqlyhgcndvqizg4sbj1lfbrmhn1";}
|
||||||
|
{name="ktp-filetransfer-handler";key="filetransfer_handler";sha256="0w90hsypzgakqx96xkf0wk2qqns6v5ji814gvc3rf9ajcwh0d024";}
|
||||||
|
{name="ktp-kded-integration-module";key="kded_integration_module";sha256="0sz0d1yfj35q5r1gc4m6v2c8r0cik2vzvkqfx9pqy8g97d7q1nmj";}
|
||||||
|
{name="ktp-presence-applet";key="presence_applet";sha256="081jas1vzh6nwj3w60bw3w95gpdbi74pdi9rdxv0wvra5w76s4i6";}
|
||||||
|
{name="ktp-send-file";key="send_file";sha256="19nlm4sfa0m0y856nzs3hrncbznc35zwbsxavssd9wrbb8p9cns6";}
|
||||||
|
{name="ktp-text-ui";key="text_ui";sha256="0g8114adqyvzsdm8ldhidf2gyxkv0bnky71zg70gmhkdmzcfssyn";}
|
||||||
|
{name="telepathy-logger-qt";key="telepathy_logger_qt";sha256="17bfkbxc7gfcspmjd5w6vn9a75f36qinj7illqafb7k0jqqz2nq6";}
|
||||||
|
]
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pkgconfig = pkgconfigUpstream;
|
pkgconfig = pkgconfigUpstream;
|
||||||
version = "0.4.0";
|
version = "0.5.3";
|
||||||
manifest = import (./. + "/${version}.nix");
|
manifest = import (./. + "/${version}.nix");
|
||||||
|
|
||||||
overrides = {
|
overrides = {
|
||||||
@ -20,7 +20,7 @@ let
|
|||||||
text_ui = [ ktp.telepathy_logger_qt qt_gstreamer telepathy_logger ];
|
text_ui = [ ktp.telepathy_logger_qt qt_gstreamer telepathy_logger ];
|
||||||
};
|
};
|
||||||
|
|
||||||
extraBuildNativeInputs = {
|
extraNativeBuildInputs = {
|
||||||
telepathy_logger_qt = [ flex bison ];
|
telepathy_logger_qt = [ flex bison ];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ let
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ gettext pkgconfig ] ++ (stdenv.lib.attrByPath [ key ] [] extraBuildNativeInputs);
|
nativeBuildInputs = [ gettext pkgconfig ] ++ (stdenv.lib.attrByPath [ key ] [] extraNativeBuildInputs);
|
||||||
buildInputs = [ kdelibs telepathy_qt ]
|
buildInputs = [ kdelibs telepathy_qt ]
|
||||||
++ stdenv.lib.optional (name != "ktp-common-internals") ktp.common_internals
|
++ stdenv.lib.optional (name != "ktp-common-internals") ktp.common_internals
|
||||||
++ (stdenv.lib.attrByPath [ key ] [] extraBuildInputs);
|
++ (stdenv.lib.attrByPath [ key ] [] extraBuildInputs);
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
project = "telepathy-logger";
|
project = "telepathy-logger";
|
||||||
name = "${project}-0.4.0";
|
name = "${project}-0.8.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://telepathy.freedesktop.org/releases/${project}/${name}.tar.bz2";
|
url = "http://telepathy.freedesktop.org/releases/${project}/${name}.tar.bz2";
|
||||||
sha256 = "1rb58ipz56c9bac8b31md5gk1fw7jim8x9dx3cm5gmxg2q3apd86";
|
sha256 = "18i00l8lnp5dghqmgmpxnn0is2a20pkisxy0sb78hnd2dz0z6xnl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib pkgconfig intltool ];
|
buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib pkgconfig intltool ];
|
||||||
|
|
||||||
buildNativeInputs = [ libxslt ];
|
nativeBuildInputs = [ libxslt ];
|
||||||
|
|
||||||
configureFlags = "--enable-call";
|
configureFlags = "--enable-call";
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt }:
|
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-5.12.0";
|
name = "${pname}-5.14.0";
|
||||||
pname = "telepathy-mission-control";
|
pname = "telepathy-mission-control";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
|
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
|
||||||
sha256 = "0xsycjk2l19h026adqms8ik7c2xj9j9rba76znfh46ryaijyn2k6";
|
sha256 = "0c4asjgk7pk39i8njf0q1df0mhisif83lq716ln6r0wja9zh9q2q";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ telepathy_glib ];
|
buildInputs = [ telepathy_glib ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig libxslt ];
|
nativeBuildInputs = [ pkgconfig libxslt ];
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "11cmmdq31kivm6nsv61hxy3hxnnmbd8sj55xqwx9hyqzybh70dyf";
|
sha256 = "11cmmdq31kivm6nsv61hxy3hxnnmbd8sj55xqwx9hyqzybh70dyf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [pkgconfigUpstream libxslt python];
|
nativeBuildInputs = [pkgconfigUpstream libxslt python];
|
||||||
buildInputs = [ libxml2 dbus_glib telepathy_glib sofia_sip];
|
buildInputs = [ libxml2 dbus_glib telepathy_glib sofia_sip];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ glib libxml2 telepathy_glib avahi libsoup libuuid gnutls
|
buildInputs = [ glib libxml2 telepathy_glib avahi libsoup libuuid gnutls
|
||||||
sqlite ];
|
sqlite ];
|
||||||
|
|
||||||
buildNativeInputs = [ libxslt pkgconfigUpstream ];
|
nativeBuildInputs = [ libxslt pkgconfigUpstream ];
|
||||||
|
|
||||||
configureFlags = "--disable-avahi-tests";
|
configureFlags = "--disable-avahi-tests";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, gtk, libpcap, libglade, libgnome, libgnomeui,
|
{ stdenv, fetchurl, pkgconfig, libtool, gtk, libpcap, libglade, libgnome, libgnomeui
|
||||||
gnomedocutils, scrollkeeper, libxslt}:
|
, gnomedocutils, scrollkeeper, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "etherape-0.9.12";
|
name = "etherape-0.9.12";
|
||||||
@ -9,8 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--disable-scrollkeeper" ];
|
configureFlags = [ "--disable-scrollkeeper" ];
|
||||||
buildInputs = [ gtk libpcap pkgconfig libglade libgnome libgnomeui gnomedocutils
|
buildInputs = [
|
||||||
scrollkeeper libxslt ];
|
pkgconfig libtool gtk libpcap libglade libgnome libgnomeui gnomedocutils
|
||||||
|
scrollkeeper libxslt
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://etherape.sourceforge.net/;
|
homepage = http://etherape.sourceforge.net/;
|
||||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [] ++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
patches = [] ++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional enableACLs acl;
|
buildInputs = stdenv.lib.optional enableACLs acl;
|
||||||
buildNativeInputs = [perl];
|
nativeBuildInputs = [perl];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://samba.anu.edu.au/rsync/;
|
homepage = http://samba.anu.edu.au/rsync/;
|
||||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'' else "";
|
'' else "";
|
||||||
|
|
||||||
dontStrip = if ! ocaml.nativeCompilers then true else false;
|
dontStrip = !ocaml.nativeCompilers;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.cis.upenn.edu/~bcpierce/unison/;
|
homepage = http://www.cis.upenn.edu/~bcpierce/unison/;
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ kdelibs qimageblitz kdepimlibs gpgme ];
|
buildInputs = [ kdelibs qimageblitz kdepimlibs gpgme ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake gettext ];
|
nativeBuildInputs = [ cmake gettext ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A multi-purpose note-taking application";
|
description = "A multi-purpose note-taking application";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0q6ydi7hzrzwqzb38gikdh1l2zf8qp4i3nkgyb01148bjwrhvf21";
|
sha256 = "0q6ydi7hzrzwqzb38gikdh1l2zf8qp4i3nkgyb01148bjwrhvf21";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ cmake perl pkgconfig ];
|
nativeBuildInputs = [ cmake perl pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
|
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
|
||||||
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
|
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ kdepimlibs perl boost gpgme gmpxx libalkimia libofx libical ];
|
buildInputs = [ kdepimlibs perl boost gpgme gmpxx libalkimia libofx libical ];
|
||||||
buildNativeInputs = [ cmake automoc4 gettext shared_mime_info pkgconfig ];
|
nativeBuildInputs = [ cmake automoc4 gettext shared_mime_info pkgconfig ];
|
||||||
|
|
||||||
KDEDIRS = libalkimia;
|
KDEDIRS = libalkimia;
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
license = "GPL";
|
license = "GPL";
|
||||||
homepage = http://www.koffice.org;
|
homepage = http://www.koffice.org;
|
||||||
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
||||||
inherit (kdelibs.meta) platforms;
|
# doesn't build, seems dead and superseded by calligra
|
||||||
|
#inherit (kdelibs.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ kdelibs grantlee qca2 libofx ];
|
buildInputs = [ kdelibs grantlee qca2 libofx ];
|
||||||
|
|
||||||
buildNativeInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (kdelibs.meta) platforms;
|
inherit (kdelibs.meta) platforms;
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
|
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
|
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
|
||||||
|
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
{stdenv, fetchurl, qt3, libX11}:
|
{stdenv, fetchurl, qt3, libX11}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qucs-0.0.15";
|
name = "qucs-0.0.16";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/qucs/${name}.tar.gz";
|
url = "mirror://sourceforge/qucs/${name}.tar.gz";
|
||||||
sha256 = "0ggs2nicj8q270l0rbmzg4jc0d0zdxvfsjh4wgww670ma5855xsp";
|
sha256 = "1h8ba84k06rix5zl5p9p414zj2facbnlf1vxwh4a1sp4h9dbfnzy";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./tr1-complex.patch ];
|
||||||
|
patchFlags = "-p0";
|
||||||
|
|
||||||
buildInputs = [ qt3 libX11 ];
|
buildInputs = [ qt3 libX11 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
10
pkgs/applications/science/electronics/qucs/tr1-complex.patch
Normal file
10
pkgs/applications/science/electronics/qucs/tr1-complex.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- qucs-core/configure.orig 2011-07-03 07:34:09.069218113 -0500
|
||||||
|
+++ qucs-core/configure 2011-07-03 07:34:46.618990497 -0500
|
||||||
|
@@ -5884,7 +5884,6 @@
|
||||||
|
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
-#include <tr1/complex>
|
||||||
|
using namespace std;
|
||||||
|
using namespace std::tr1;
|
||||||
|
int
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
propagatedBuildInputs = [ cln ];
|
propagatedBuildInputs = [ cln ];
|
||||||
buildInputs = [ readline ];
|
buildInputs = [ readline ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
configureFlags = "--disable-rpath";
|
configureFlags = "--disable-rpath";
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Perl is only for the documentation
|
# Perl is only for the documentation
|
||||||
buildNativeInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
patches = [ ./gcc43.patch ];
|
patches = [ ./gcc43.patch ];
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ libxml2 freetype glew mesa qt4 libjpeg ];
|
buildInputs = [ libxml2 freetype glew mesa qt4 libjpeg ];
|
||||||
|
|
||||||
buildNativeInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
|
|
||||||
# FIXME: "make check" needs Docbook's DTD 4.4, among other things.
|
# FIXME: "make check" needs Docbook's DTD 4.4, among other things.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib openssl readline sqlite ];
|
buildInputs = [ zlib openssl readline sqlite ];
|
||||||
buildNativeInputs = [ tcl ];
|
nativeBuildInputs = [ tcl ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ apr aprutil subversion db4 kdelibs ];
|
buildInputs = [ apr aprutil subversion db4 kdelibs ];
|
||||||
|
|
||||||
buildNativeInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "KDE SVN front-end";
|
description = "KDE SVN front-end";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, boost, zlib, botan, libidn
|
{ stdenv, fetchurl, boost, zlib, botan, libidn
|
||||||
, lua, pcre, sqlite, perl, pkgconfig }:
|
, lua, pcre, sqlite, perl, pkgconfig, expect }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "5c530bc4652b2c08b5291659f0c130618a14780f075f981e947952dcaefc31dc";
|
sha256 = "5c530bc4652b2c08b5291659f0c130618a14780f075f981e947952dcaefc31dc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [boost zlib botan libidn lua pcre sqlite pkgconfig];
|
patches = [ ./glibc-file-handle.patch ];
|
||||||
|
|
||||||
|
buildInputs = [ boost zlib botan libidn lua pcre sqlite pkgconfig expect ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/${name}
|
mkdir -p $out/share/${name}
|
||||||
@ -25,6 +27,8 @@ stdenv.mkDerivation rec {
|
|||||||
cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/${perlVersion}
|
cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/${perlVersion}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
#doCheck = true; # some tests fail (and they take VERY long)
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A free distributed version control system";
|
description = "A free distributed version control system";
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
|
@ -0,0 +1,166 @@
|
|||||||
|
Revision: da62cad10eda55aa233ac124273f3db4f541137a
|
||||||
|
Parent: 65bcb8cf8b32f68a5b48629b328f6d65979e58df
|
||||||
|
Author: Thomas Moschny <thomas.moschny@gmx.de>
|
||||||
|
Date: 07.05.2011 13:32:06
|
||||||
|
Branch: net.venge.monotone
|
||||||
|
|
||||||
|
Changelog:
|
||||||
|
|
||||||
|
* src/rcs_file.cc: Rename struct "file_handle" to "rcs_file_handle"
|
||||||
|
to avoid a name clash with a struct of same name defined by newer
|
||||||
|
glibc's "fcntl.h". For aesthetic reasons, also rename struct
|
||||||
|
"file_source".
|
||||||
|
|
||||||
|
References:
|
||||||
|
https://code.monotone.ca/p/monotone/source/commit/da62cad10eda55aa233ac124273f3db4f541137a/
|
||||||
|
https://bugs.gentoo.org/396651
|
||||||
|
|
||||||
|
============================================================
|
||||||
|
--- a/src/rcs_file.cc 885b3fbe7b6cfed78816f0e57cd71d44616213c6
|
||||||
|
+++ b/src/rcs_file.cc 03cf68912a4a708545ebce3d415c0e970ddead0b
|
||||||
|
@@ -42,12 +42,12 @@ struct
|
||||||
|
|
||||||
|
#ifdef HAVE_MMAP
|
||||||
|
struct
|
||||||
|
-file_handle
|
||||||
|
+rcs_file_handle
|
||||||
|
{
|
||||||
|
string const & filename;
|
||||||
|
off_t length;
|
||||||
|
int fd;
|
||||||
|
- file_handle(string const & fn) :
|
||||||
|
+ rcs_file_handle(string const & fn) :
|
||||||
|
filename(fn),
|
||||||
|
length(0),
|
||||||
|
fd(-1)
|
||||||
|
@@ -60,13 +60,13 @@ file_handle
|
||||||
|
if (fd == -1)
|
||||||
|
throw oops("open of " + filename + " failed");
|
||||||
|
}
|
||||||
|
- ~file_handle()
|
||||||
|
+ ~rcs_file_handle()
|
||||||
|
{
|
||||||
|
if (close(fd) == -1)
|
||||||
|
throw oops("close of " + filename + " failed");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
-struct file_source
|
||||||
|
+struct rcs_file_source
|
||||||
|
{
|
||||||
|
string const & filename;
|
||||||
|
int fd;
|
||||||
|
@@ -91,7 +91,7 @@ struct file_source
|
||||||
|
++pos;
|
||||||
|
return good();
|
||||||
|
}
|
||||||
|
- file_source(string const & fn,
|
||||||
|
+ rcs_file_source(string const & fn,
|
||||||
|
int f,
|
||||||
|
off_t len) :
|
||||||
|
filename(fn),
|
||||||
|
@@ -104,7 +104,7 @@ struct file_source
|
||||||
|
if (mapping == MAP_FAILED)
|
||||||
|
throw oops("mmap of " + filename + " failed");
|
||||||
|
}
|
||||||
|
- ~file_source()
|
||||||
|
+ ~rcs_file_source()
|
||||||
|
{
|
||||||
|
if (munmap(mapping, length) == -1)
|
||||||
|
throw oops("munmapping " + filename + " failed, after reading RCS file");
|
||||||
|
@@ -112,12 +112,12 @@ struct
|
||||||
|
};
|
||||||
|
#elif defined(WIN32)
|
||||||
|
struct
|
||||||
|
-file_handle
|
||||||
|
+rcs_file_handle
|
||||||
|
{
|
||||||
|
string const & filename;
|
||||||
|
off_t length;
|
||||||
|
HANDLE fd;
|
||||||
|
- file_handle(string const & fn) :
|
||||||
|
+ rcs_file_handle(string const & fn) :
|
||||||
|
filename(fn),
|
||||||
|
length(0),
|
||||||
|
fd(NULL)
|
||||||
|
@@ -134,7 +134,7 @@ file_handle
|
||||||
|
if (fd == NULL)
|
||||||
|
throw oops("open of " + filename + " failed");
|
||||||
|
}
|
||||||
|
- ~file_handle()
|
||||||
|
+ ~rcs_file_handle()
|
||||||
|
{
|
||||||
|
if (CloseHandle(fd)==0)
|
||||||
|
throw oops("close of " + filename + " failed");
|
||||||
|
@@ -142,7 +142,7 @@ struct
|
||||||
|
};
|
||||||
|
|
||||||
|
struct
|
||||||
|
-file_source
|
||||||
|
+rcs_file_source
|
||||||
|
{
|
||||||
|
string const & filename;
|
||||||
|
HANDLE fd,map;
|
||||||
|
@@ -167,7 +167,7 @@ file_source
|
||||||
|
++pos;
|
||||||
|
return good();
|
||||||
|
}
|
||||||
|
- file_source(string const & fn,
|
||||||
|
+ rcs_file_source(string const & fn,
|
||||||
|
HANDLE f,
|
||||||
|
off_t len) :
|
||||||
|
filename(fn),
|
||||||
|
@@ -183,7 +183,7 @@ file_source
|
||||||
|
if (mapping==NULL)
|
||||||
|
throw oops("MapViewOfFile of " + filename + " failed");
|
||||||
|
}
|
||||||
|
- ~file_source()
|
||||||
|
+ ~rcs_file_source()
|
||||||
|
{
|
||||||
|
if (UnmapViewOfFile(mapping)==0)
|
||||||
|
throw oops("UnmapViewOfFile of " + filename + " failed");
|
||||||
|
@@ -193,7 +193,7 @@ file_source
|
||||||
|
};
|
||||||
|
#else
|
||||||
|
// no mmap at all
|
||||||
|
-typedef istream file_source;
|
||||||
|
+typedef istream rcs_file_source;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
@@ -220,7 +220,7 @@ static token_type
|
||||||
|
}
|
||||||
|
|
||||||
|
static token_type
|
||||||
|
-get_token(file_source & ist,
|
||||||
|
+get_token(rcs_file_source & ist,
|
||||||
|
string & str,
|
||||||
|
size_t & line,
|
||||||
|
size_t & col)
|
||||||
|
@@ -303,14 +303,14 @@ struct parser
|
||||||
|
|
||||||
|
struct parser
|
||||||
|
{
|
||||||
|
- file_source & ist;
|
||||||
|
+ rcs_file_source & ist;
|
||||||
|
rcs_file & r;
|
||||||
|
string token;
|
||||||
|
token_type ttype;
|
||||||
|
|
||||||
|
size_t line, col;
|
||||||
|
|
||||||
|
- parser(file_source & s,
|
||||||
|
+ parser(rcs_file_source & s,
|
||||||
|
rcs_file & r)
|
||||||
|
: ist(s), r(r), line(1), col(1)
|
||||||
|
{}
|
||||||
|
@@ -489,8 +489,8 @@ parse_rcs_file(string const & filename,
|
||||||
|
parse_rcs_file(string const & filename, rcs_file & r)
|
||||||
|
{
|
||||||
|
#if defined(HAVE_MMAP) || defined(WIN32)
|
||||||
|
- file_handle handle(filename);
|
||||||
|
- file_source ifs(filename, handle.fd, handle.length);
|
||||||
|
+ rcs_file_handle handle(filename);
|
||||||
|
+ rcs_file_source ifs(filename, handle.fd, handle.length);
|
||||||
|
#else
|
||||||
|
ifstream ifs(filename.c_str());
|
||||||
|
ifs.unsetf(ios_base::skipws);
|
@ -1,11 +1,11 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rcs-5.8";
|
name = "rcs-5.8.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/rcs/${name}.tar.gz";
|
url = "mirror://gnu/rcs/${name}.tar.gz";
|
||||||
sha256 = "0q12nlghv4khxw5lk0y4949caghzg4jg0ripddi2h3q75vmfh6vh";
|
sha256 = "1b1y6s4gy3miv2bvx0z01kvnv58h35sw766lccdkxkalk43cml04";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ kdelibs phonon soprano shared_desktop_ontologies kdemultimedia taglib gettext ];
|
buildInputs = [ kdelibs phonon soprano shared_desktop_ontologies kdemultimedia taglib gettext ];
|
||||||
buildNativeInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A media player for KDE based on Nepomuk and Phonon";
|
description = "A media player for KDE based on Nepomuk and Phonon";
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec{
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick ];
|
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick ];
|
||||||
buildNativeInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tools for generating DVD files to be played on standalone DVD players";
|
description = "Tools for generating DVD files to be played on standalone DVD players";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# this is the bare minimum configuration, as I'm only interested in MP4Box
|
# this is the bare minimum configuration, as I'm only interested in MP4Box
|
||||||
# For most other functionality, this should probably be extended
|
# For most other functionality, this should probably be extended
|
||||||
buildNativeInputs = [ pkgconfig zlib ];
|
nativeBuildInputs = [ pkgconfig zlib ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open Source multimedia framework for research and academic purposes";
|
description = "Open Source multimedia framework for research and academic purposes";
|
||||||
|
@ -114,7 +114,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional libpngSupport libpng
|
++ optional libpngSupport libpng
|
||||||
;
|
;
|
||||||
|
|
||||||
buildNativeInputs = [ yasm ];
|
nativeBuildInputs = [ yasm ];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
echo CONFIG_MPEGAUDIODSP=yes >> config.mak
|
echo CONFIG_MPEGAUDIODSP=yes >> config.mak
|
||||||
|
@ -93,7 +93,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional libpngSupport libpng
|
++ optional libpngSupport libpng
|
||||||
;
|
;
|
||||||
|
|
||||||
buildNativeInputs = [ yasm python3 ];
|
nativeBuildInputs = [ yasm python3 ];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
patchShebangs TOOLS
|
patchShebangs TOOLS
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
||||||
];
|
];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig which ];
|
nativeBuildInputs = [ pkgconfig which ];
|
||||||
|
|
||||||
patches = [ ./settings.patch ];
|
patches = [ ./settings.patch ];
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
libdc1394 libraw1394
|
libdc1394 libraw1394
|
||||||
];
|
];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--enable-alsa"
|
[ "--enable-alsa"
|
||||||
|
90
pkgs/applications/video/xbmc/default.nix
Normal file
90
pkgs/applications/video/xbmc/default.nix
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
{ stdenv, lib, fetchurl, makeWrapper
|
||||||
|
, pkgconfig, cmake, gnumake, yasm, python
|
||||||
|
, boost
|
||||||
|
, gettext, pcre, yajl, fribidi
|
||||||
|
, openssl, gperf
|
||||||
|
, libX11, xproto, inputproto
|
||||||
|
, libXt, libXmu, libXext, xextproto
|
||||||
|
, libXinerama, libXrandr, randrproto
|
||||||
|
, libXtst, libXfixes, fixesproto
|
||||||
|
, SDL, SDL_image, SDL_mixer, alsaLib
|
||||||
|
, mesa, glew, fontconfig, freetype, ftgl
|
||||||
|
, libjpeg, jasper, libpng, libtiff
|
||||||
|
, ffmpeg, libmpeg2, libsamplerate, libmad
|
||||||
|
, libogg, libvorbis, flac
|
||||||
|
, lzo, libcdio, libmodplug, libass
|
||||||
|
, sqlite, mysql, nasm
|
||||||
|
, curl, bzip2, zip, unzip, glxinfo, xdpyinfo
|
||||||
|
, dbus_libs ? null, dbusSupport ? true
|
||||||
|
, udev, udevSupport ? true
|
||||||
|
, libusb ? null, usbSupport ? false
|
||||||
|
, samba ? null, sambaSupport ? true
|
||||||
|
# TODO: would be nice to have nfsSupport (needs libnfs library)
|
||||||
|
, libvdpau ? null, vdpauSupport ? true
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert dbusSupport -> dbus_libs != null;
|
||||||
|
assert udevSupport -> udev != null;
|
||||||
|
assert usbSupport -> libusb != null && ! udevSupport; # libusb won't be used if udev is avaliable
|
||||||
|
assert sambaSupport -> samba != null;
|
||||||
|
assert vdpauSupport -> libvdpau != null && ffmpeg.vdpauSupport;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xbmc-11.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://mirrors.xbmc.org/releases/source/${name}.tar.gz";
|
||||||
|
sha256 = "1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
pkgconfig cmake gnumake yasm python
|
||||||
|
boost
|
||||||
|
gettext pcre yajl fribidi
|
||||||
|
openssl gperf
|
||||||
|
libX11 xproto inputproto
|
||||||
|
libXt libXmu libXext xextproto
|
||||||
|
libXinerama libXrandr randrproto
|
||||||
|
libXtst libXfixes fixesproto
|
||||||
|
SDL SDL_image SDL_mixer alsaLib
|
||||||
|
mesa glew fontconfig freetype ftgl
|
||||||
|
libjpeg jasper libpng libtiff
|
||||||
|
ffmpeg libmpeg2 libsamplerate libmad
|
||||||
|
libogg libvorbis flac
|
||||||
|
lzo libcdio libmodplug libass
|
||||||
|
sqlite mysql nasm
|
||||||
|
curl bzip2 zip unzip glxinfo xdpyinfo
|
||||||
|
]
|
||||||
|
++ lib.optional dbusSupport dbus_libs
|
||||||
|
++ lib.optional udevSupport udev
|
||||||
|
++ lib.optional usbSupport libusb
|
||||||
|
++ lib.optional sambaSupport samba
|
||||||
|
++ lib.optional vdpauSupport libvdpau;
|
||||||
|
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-external-libraries"
|
||||||
|
"--disable-webserver"
|
||||||
|
]
|
||||||
|
++ lib.optional (! sambaSupport) "--disable-samba"
|
||||||
|
++ lib.optional vdpauSupport "--enable-vdpau";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for p in $(ls $out/bin/) ; do
|
||||||
|
wrapProgram $out/bin/$p \
|
||||||
|
--prefix PATH ":" "${python}/bin" \
|
||||||
|
--prefix PATH ":" "${glxinfo}/bin" \
|
||||||
|
--prefix PATH ":" "${xdpyinfo}/bin" \
|
||||||
|
--prefix LD_LIBRARY_PATH ":" "${curl}/lib" \
|
||||||
|
--prefix LD_LIBRARY_PATH ":" "${libvdpau}/lib"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://xbmc.org/;
|
||||||
|
description = "XBMC Media Center";
|
||||||
|
license = "GPLv2";
|
||||||
|
};
|
||||||
|
}
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x";
|
sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig shared_mime_info ];
|
nativeBuildInputs = [ pkgconfig shared_mime_info ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ xineLib libpng readline ncurses curl lirc libjpeg
|
[ xineLib libpng readline ncurses curl lirc libjpeg
|
||||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildPhase = "make";
|
buildPhase = "make";
|
||||||
|
|
||||||
buildNativeInputs = [ makeWrapper pythonPackages.wrapPython ];
|
nativeBuildInputs = [ makeWrapper pythonPackages.wrapPython ];
|
||||||
|
|
||||||
# patch the runner script in order to make wrapPythonPrograms work and run the program using a syscall
|
# patch the runner script in order to make wrapPythonPrograms work and run the program using a syscall
|
||||||
# example code: /etc/nixos/nixpkgs/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix
|
# example code: /etc/nixos/nixpkgs/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{stdenv, fetchurl, cmake, pkgconfig
|
{stdenv, fetchurl, cmake, pkgconfig
|
||||||
, libXrender, renderproto, gtk, libwnck, pango, cairo
|
, libXrender, renderproto, gtk, libwnck, pango, cairo
|
||||||
, GConf, libXdamage, damageproto, libxml2, libxslt, glibmm
|
, GConf, libXdamage, damageproto, libxml2, libxslt, glibmm
|
||||||
|
, metacity
|
||||||
, libstartup_notification, libpthreadstubs, libxcb, intltool
|
, libstartup_notification, libpthreadstubs, libxcb, intltool
|
||||||
, ORBit2, libXau
|
, ORBit2, libXau
|
||||||
, dbus, dbus_glib, librsvg, mesa
|
, dbus, dbus_glib, librsvg, mesa
|
||||||
@ -14,15 +15,15 @@ let
|
|||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
baseName="compiz";
|
baseName="compiz";
|
||||||
version="0.9.8.6";
|
version="0.9.9.0";
|
||||||
name="compiz-0.9.8.6";
|
name="compiz-${version}";
|
||||||
hash="0agz5s11lwrkhk3svz3rwimlb6318ln3zcywlzczwks139svxnk6";
|
url="https://launchpad.net/compiz/0.9.9/${version}/+download/${name}.tar.bz2";
|
||||||
url="https://launchpad.net/compiz/0.9.8/0.9.8.6/+download/compiz-0.9.8.6.tar.bz2";
|
sha256="0nxv9lv0zwzs82p2d5g38sbvzbqgfs837xdgwc26lh5wdv31d93s";
|
||||||
sha256="0agz5s11lwrkhk3svz3rwimlb6318ln3zcywlzczwks139svxnk6";
|
|
||||||
};
|
};
|
||||||
buildInputs = [cmake pkgconfig
|
buildInputs = [cmake pkgconfig
|
||||||
libXrender renderproto gtk libwnck pango cairo
|
libXrender renderproto gtk libwnck pango cairo
|
||||||
GConf libXdamage damageproto libxml2 libxslt glibmm libstartup_notification
|
GConf libXdamage damageproto libxml2 libxslt glibmm libstartup_notification
|
||||||
|
metacity
|
||||||
libpthreadstubs libxcb intltool
|
libpthreadstubs libxcb intltool
|
||||||
ORBit2 libXau
|
ORBit2 libXau
|
||||||
dbus dbus_glib librsvg mesa
|
dbus dbus_glib librsvg mesa
|
||||||
@ -40,7 +41,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE=" -Wno-error ";
|
NIX_CFLAGS_COMPILE = " -Wno-error ";
|
||||||
|
NIX_CFLAGS_LINK = "-lm -ldl -pthread -lutil";
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/ccsm" \
|
wrapProgram "$out/bin/ccsm" \
|
||||||
--prefix PYTHONPATH : "$PYTHONPATH" \
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
||||||
|
@ -20,21 +20,21 @@ let inherit (builtins) head tail trace; in
|
|||||||
else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz"
|
else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz"
|
||||||
else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) ||
|
else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) ||
|
||||||
(hasSuffixHack ".tbz" s) then "tbz2"
|
(hasSuffixHack ".tbz" s) then "tbz2"
|
||||||
else if (hasSuffixHack ".tar.Z" s) then "tZ"
|
else if hasSuffixHack ".tar.Z" s then "tZ"
|
||||||
else if (hasSuffixHack ".tar.lzma" s) then "tar.lzma"
|
else if hasSuffixHack ".tar.lzma" s then "tar.lzma"
|
||||||
else if (hasSuffixHack ".tar.xz" s) then "tar.xz"
|
else if hasSuffixHack ".tar.xz" s then "tar.xz"
|
||||||
else if (hasSuffixHack ".zip" s) || (hasSuffixHack ".ZIP" s) then "zip"
|
else if (hasSuffixHack ".zip" s) || (hasSuffixHack ".ZIP" s) then "zip"
|
||||||
else if (hasSuffixHack "-cvs-export" s) then "cvs-dir"
|
else if hasSuffixHack "-cvs-export" s then "cvs-dir"
|
||||||
else if (hasSuffixHack "-git-export" s) then "git-dir"
|
else if hasSuffixHack "-git-export" s then "git-dir"
|
||||||
else if (hasSuffixHack ".nar.bz2" s) then "narbz2"
|
else if hasSuffixHack ".nar.bz2" s then "narbz2"
|
||||||
else if (hasSuffixHack ".rpm" s) then "rpm"
|
else if hasSuffixHack ".rpm" s then "rpm"
|
||||||
|
|
||||||
# Mostly for manually specified directories..
|
# Mostly for manually specified directories..
|
||||||
else if (hasSuffixHack "/" s) then "dir"
|
else if hasSuffixHack "/" s then "dir"
|
||||||
|
|
||||||
# Last block - for single files!! It should be always after .tar.*
|
# Last block - for single files!! It should be always after .tar.*
|
||||||
else if (hasSuffixHack ".bz2" s) then "plain-bz2"
|
else if hasSuffixHack ".bz2" s then "plain-bz2"
|
||||||
else if (hasSuffixHack ".gz" s) then "plain-gz"
|
else if hasSuffixHack ".gz" s then "plain-gz"
|
||||||
|
|
||||||
# For bootstrap calls
|
# For bootstrap calls
|
||||||
else if (s ==("" + (substring 0 0 s))) then "empty"
|
else if (s ==("" + (substring 0 0 s))) then "empty"
|
||||||
@ -391,7 +391,7 @@ let inherit (builtins) head tail trace; in
|
|||||||
|
|
||||||
cmakeFlags = attrByPath ["cmakeFlags"] [] args;
|
cmakeFlags = attrByPath ["cmakeFlags"] [] args;
|
||||||
|
|
||||||
cmakeRPathFlag = if (attrByPath ["cmakeSkipRpath "] true args) then " -DCMAKE_SKIP_BUILD_RPATH=ON " else "";
|
cmakeRPathFlag = if attrByPath ["cmakeSkipRpath "] true args then " -DCMAKE_SKIP_BUILD_RPATH=ON " else "";
|
||||||
|
|
||||||
cmakeBuildDir = attrByPath ["cmakeBuildDir"] "build" args;
|
cmakeBuildDir = attrByPath ["cmakeBuildDir"] "build" args;
|
||||||
|
|
||||||
@ -508,7 +508,7 @@ let inherit (builtins) head tail trace; in
|
|||||||
);
|
);
|
||||||
|
|
||||||
builderDefsPackage = bd: func:
|
builderDefsPackage = bd: func:
|
||||||
if (builtins.isFunction func) then
|
if builtins.isFunction func then
|
||||||
(foldArgs
|
(foldArgs
|
||||||
(x: y: ((func (bd // x // y)) // y))
|
(x: y: ((func (bd // x // y)) // y))
|
||||||
(innerBuilderDefsPackage bd)
|
(innerBuilderDefsPackage bd)
|
||||||
@ -588,7 +588,7 @@ let inherit (builtins) head tail trace; in
|
|||||||
url = srcInfo.url;
|
url = srcInfo.url;
|
||||||
sha256 = srcInfo.hash;
|
sha256 = srcInfo.hash;
|
||||||
} //
|
} //
|
||||||
(if (srcInfo ? downloadName) then {name = srcInfo.downloadName;} else {}));
|
(if srcInfo ? downloadName then {name = srcInfo.downloadName;} else {}));
|
||||||
|
|
||||||
fetchGitFromSrcInfo = srcInfo: fetchgit {
|
fetchGitFromSrcInfo = srcInfo: fetchgit {
|
||||||
url = srcInfo.url;
|
url = srcInfo.url;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
internalAttrs = [
|
internalAttrs = [
|
||||||
"internalAttrs" "buildDepends" "buildTools" "extraLibraries" "pkgconfigDepends"
|
"internalAttrs" "buildDepends" "buildTools" "extraLibraries" "pkgconfigDepends"
|
||||||
"isLibrary" "isExecutable" "testDepends"
|
"isLibrary" "isExecutable" "testDepends"
|
||||||
] ++ stdenv.lib.optional (!args.doCheck or false) "doCheck";
|
];
|
||||||
|
|
||||||
# Stuff happening after the user preferences have been processed. We remove
|
# Stuff happening after the user preferences have been processed. We remove
|
||||||
# internal attributes and strip null elements from the dependency lists, all
|
# internal attributes and strip null elements from the dependency lists, all
|
||||||
@ -55,7 +55,7 @@
|
|||||||
# but often propagatedBuildInputs is preferable anyway
|
# but often propagatedBuildInputs is preferable anyway
|
||||||
buildInputs = [ghc Cabal] ++ self.extraBuildInputs;
|
buildInputs = [ghc Cabal] ++ self.extraBuildInputs;
|
||||||
extraBuildInputs = self.buildTools ++
|
extraBuildInputs = self.buildTools ++
|
||||||
(stdenv.lib.optionals (self.doCheck or false) self.testDepends) ++
|
(stdenv.lib.optionals self.doCheck self.testDepends) ++
|
||||||
(if self.pkgconfigDepends == [] then [] else [pkgconfig]) ++
|
(if self.pkgconfigDepends == [] then [] else [pkgconfig]) ++
|
||||||
(if self.isLibrary then [] else self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends);
|
(if self.isLibrary then [] else self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends);
|
||||||
|
|
||||||
@ -69,6 +69,9 @@
|
|||||||
# build-depends Cabal field
|
# build-depends Cabal field
|
||||||
buildDepends = [];
|
buildDepends = [];
|
||||||
|
|
||||||
|
# build-depends Cabal fields stated in test-suite stanzas
|
||||||
|
testDepends = [];
|
||||||
|
|
||||||
# build-tools Cabal field
|
# build-tools Cabal field
|
||||||
buildTools = [];
|
buildTools = [];
|
||||||
|
|
||||||
@ -81,32 +84,45 @@
|
|||||||
isLibrary = ! self.isExecutable;
|
isLibrary = ! self.isExecutable;
|
||||||
isExecutable = false;
|
isExecutable = false;
|
||||||
|
|
||||||
libraryProfiling =
|
# ignore version restrictions on the build inputs that the cabal file might specify
|
||||||
if enableLibraryProfiling then ["--enable-library-profiling"]
|
jailbreak = false;
|
||||||
else ["--disable-library-profiling"];
|
|
||||||
|
# pass the '--enable-split-objs' flag to cabal in the configure stage
|
||||||
|
enableSplitObjs = true;
|
||||||
|
|
||||||
|
# pass the '--enable-tests' flag to cabal in the configure stage
|
||||||
|
# and run any regression test suites the package might have
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
extraConfigureFlags = [
|
||||||
|
(stdenv.lib.enableFeature enableLibraryProfiling "library-profiling")
|
||||||
|
(stdenv.lib.enableFeature self.enableSplitObjs "split-objs")
|
||||||
|
(stdenv.lib.enableFeature self.doCheck "tests")
|
||||||
|
];
|
||||||
|
|
||||||
# compiles Setup and configures
|
# compiles Setup and configures
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
eval "$preConfigure"
|
eval "$preConfigure"
|
||||||
|
|
||||||
${lib.optionalString (lib.attrByPath ["jailbreak"] false self) "${jailbreakCabal}/bin/jailbreak-cabal ${self.pname}.cabal && "
|
${lib.optionalString self.jailbreak "${jailbreakCabal}/bin/jailbreak-cabal ${self.pname}.cabal"}
|
||||||
}${lib.optionalString (lib.attrByPath ["doCheck"] false self) "configureFlags+=\" --enable-test\" && "
|
|
||||||
}for i in Setup.hs Setup.lhs; do
|
for i in Setup.hs Setup.lhs; do
|
||||||
test -f $i && ghc --make $i
|
test -f $i && ghc --make $i
|
||||||
done
|
done
|
||||||
|
|
||||||
for p in $extraBuildInputs $propagatedBuildNativeInputs; do
|
for p in $extraBuildInputs $propagatedNativeBuildInputs; do
|
||||||
if [ -d "$p/include" ]; then
|
if [ -d "$p/include" ]; then
|
||||||
extraLibDirs="$extraLibDirs --extra-include-dir=$p/include"
|
extraConfigureFlags+=" --extra-include-dir=$p/include"
|
||||||
fi
|
fi
|
||||||
for d in lib{,64}; do
|
for d in lib{,64}; do
|
||||||
if [ -d "$p/$d" ]; then
|
if [ -d "$p/$d" ]; then
|
||||||
extraLibDirs="$extraLibDirs --extra-lib-dir=$p/$d"
|
extraConfigureFlags+=" --extra-lib-dir=$p/$d"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
./Setup configure --verbose --prefix="$out" $libraryProfiling $extraLibDirs $configureFlags
|
echo "configure flags: $extraConfigureFlags $configureFlags"
|
||||||
|
./Setup configure --verbose --prefix="$out" $extraConfigureFlags $configureFlags
|
||||||
|
|
||||||
eval "$postConfigure"
|
eval "$postConfigure"
|
||||||
'';
|
'';
|
||||||
@ -117,13 +133,20 @@
|
|||||||
|
|
||||||
./Setup build
|
./Setup build
|
||||||
|
|
||||||
${lib.optionalString (lib.attrByPath ["doCheck"] false self) "./Setup test && "
|
export GHC_PACKAGE_PATH=$(ghc-packages)
|
||||||
}export GHC_PACKAGE_PATH=$(ghc-packages)
|
|
||||||
[ -n "$noHaddock" ] || ./Setup haddock
|
[ -n "$noHaddock" ] || ./Setup haddock
|
||||||
|
|
||||||
eval "$postBuild"
|
eval "$postBuild"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkPhase = stdenv.lib.optional self.doCheck ''
|
||||||
|
eval "$preCheck"
|
||||||
|
|
||||||
|
./Setup test
|
||||||
|
|
||||||
|
eval "$postCheck"
|
||||||
|
'';
|
||||||
|
|
||||||
# installs via Cabal; creates a registration file for nix-support
|
# installs via Cabal; creates a registration file for nix-support
|
||||||
# so that the package can be used in other Haskell-builds; also
|
# so that the package can be used in other Haskell-builds; also
|
||||||
# adds all propagated build inputs to the user environment packages
|
# adds all propagated build inputs to the user environment packages
|
||||||
@ -148,8 +171,8 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
if test -f $out/nix-support/propagated-build-native-inputs; then
|
if test -f $out/nix-support/propagated-native-build-inputs; then
|
||||||
ln -s $out/nix-support/propagated-build-native-inputs $out/nix-support/propagated-user-env-packages
|
ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -8,14 +8,14 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
findInList = p: list: default:
|
findInList = p: list: default:
|
||||||
if (list == []) then default else
|
if list == [] then default else
|
||||||
if (p (head list)) then (head list) else
|
if (p (head list)) then (head list) else
|
||||||
findInList p (tail list) default;
|
findInList p (tail list) default;
|
||||||
|
|
||||||
|
|
||||||
checkAttrInclusion = s: a: b:
|
checkAttrInclusion = s: a: b:
|
||||||
(
|
(
|
||||||
if (! isAttrs b) then s else
|
if ! isAttrs b then s else
|
||||||
if (lib.attrByPath ["_type"] "" b) == "option" then "" else
|
if (lib.attrByPath ["_type"] "" b) == "option" then "" else
|
||||||
findInList (x : x != "")
|
findInList (x : x != "")
|
||||||
( map (x: if (x == "servicesProposal") # this attr will be checked at another place ( -> upstart-jobs/default.nix )
|
( map (x: if (x == "servicesProposal") # this attr will be checked at another place ( -> upstart-jobs/default.nix )
|
||||||
|
@ -47,11 +47,11 @@ stdenv.mkDerivation {
|
|||||||
else shell;
|
else shell;
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
shell = shell.hostDrv + shell.hostDrv.shellPath;
|
shell = shell.crossDrv + shell.crossDrv.shellPath;
|
||||||
libc = libc.hostDrv;
|
libc = libc.crossDrv;
|
||||||
coreutils = coreutils.hostDrv;
|
coreutils = coreutils.crossDrv;
|
||||||
binutils = binutils.hostDrv;
|
binutils = binutils.crossDrv;
|
||||||
clang = clang.hostDrv;
|
clang = clang.crossDrv;
|
||||||
#
|
#
|
||||||
# This is not the best way to do this. I think the reference should be
|
# This is not the best way to do this. I think the reference should be
|
||||||
# the style in the gcc-cross-wrapper, but to keep a stable stdenv now I
|
# the style in the gcc-cross-wrapper, but to keep a stable stdenv now I
|
||||||
|
@ -17,6 +17,7 @@ badPath() {
|
|||||||
# Otherwise, the path should refer to the store or some temporary
|
# Otherwise, the path should refer to the store or some temporary
|
||||||
# directory (including the build directory).
|
# directory (including the build directory).
|
||||||
test \
|
test \
|
||||||
|
"$p" != "/dev/null" -a \
|
||||||
"${p:0:${#NIX_STORE}}" != "$NIX_STORE" -a \
|
"${p:0:${#NIX_STORE}}" != "$NIX_STORE" -a \
|
||||||
"${p:0:4}" != "/tmp" -a \
|
"${p:0:4}" != "/tmp" -a \
|
||||||
"${p:0:${#NIX_BUILD_TOP}}" != "$NIX_BUILD_TOP"
|
"${p:0:${#NIX_BUILD_TOP}}" != "$NIX_BUILD_TOP"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user