diff --git a/pkgs/applications/networking/linphone/default.nix b/pkgs/applications/networking/linphone/default.nix index c98a8ae4fd90..04e119afdb14 100644 --- a/pkgs/applications/networking/linphone/default.nix +++ b/pkgs/applications/networking/linphone/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, intltool, pkgconfig, gtk, libglade, libosip, libexosip, speex, - readline, ffmpeg, alsaLib, SDL, libv4l, libtheora, libXv }: +{ stdenv, fetchurl, intltool, pkgconfig, gtk, libglade, libosip, libexosip +, speex, readline, mediastreamer }: stdenv.mkDerivation rec { name = "linphone-3.5.0"; @@ -9,14 +9,16 @@ stdenv.mkDerivation rec { sha256 = "1jrgsyx2mn6y50hjfx79fzqhp42r78cjr63w3bfjdl258zy2f6ix"; }; - buildInputs = [ intltool gtk libglade libosip libexosip speex readline - ffmpeg alsaLib SDL libv4l libtheora libXv ]; + buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex ]; - buildNativeInputs = [ pkgconfig ]; + buildNativeInputs = [ intltool pkgconfig ]; + + configureFlags = "--enable-external-ortp --enable-external-mediastreamer"; meta = { homepage = http://www.linphone.org/; description = "Open Source video SIP softphone"; license = "GPLv2+"; + platforms = stdenv.lib.platforms.gnu; }; } diff --git a/pkgs/development/libraries/mediastreamer/default.nix b/pkgs/development/libraries/mediastreamer/default.nix index bef82e5085cc..3d5dff53ff4e 100644 --- a/pkgs/development/libraries/mediastreamer/default.nix +++ b/pkgs/development/libraries/mediastreamer/default.nix @@ -1,19 +1,19 @@ { stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio, xorg, - libv4l, libtheora }: + libv4l, libtheora, intltool, libvpx, gsm }: stdenv.mkDerivation rec { - name = "mediastreamer-2.7.2"; + name = "mediastreamer-2.8.0"; src = fetchurl { url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz"; - sha256 = "1w5j5shzd5f7q3l2gm4cl82f3vnrdzp78lcyjbjb416c4vzw2nr2"; + sha256 = "0h1qda2mjc76xirldlvpmzf57vcbgr113a9b0kw1xm5i58s0w34f"; }; # TODO: make it load plugins from *_PLUGIN_PATH - buildNativeInputs = [pkgconfig]; + buildNativeInputs = [pkgconfig intltool]; propagatedBuildInputs = [alsaLib ffmpeg speex ortp pulseaudio xorg.libX11 - xorg.libXv xorg.libXext libv4l libtheora]; + xorg.libXv xorg.libXext libv4l libtheora libvpx gsm ]; #patches = [ ./h264.patch ./plugins.patch ]; diff --git a/pkgs/development/libraries/vigra/default.nix b/pkgs/development/libraries/vigra/default.nix index 5b3b119cb1d0..93ed2869d0e9 100644 --- a/pkgs/development/libraries/vigra/default.nix +++ b/pkgs/development/libraries/vigra/default.nix @@ -1,13 +1,15 @@ -{ stdenv, fetchurl, cmake, libtiff, libpng, libjpeg, doxygen, python, fftw }: -stdenv.mkDerivation { - name = "vigra-1.7.0"; +{ stdenv, fetchurl, cmake, libtiff, libpng, libjpeg, doxygen, python, + fftw, fftwSinglePrec, hdf5, boost, numpy }: +stdenv.mkDerivation rec { + name = "vigra-1.8.0"; src = fetchurl { - url = http://hci.iwr.uni-heidelberg.de/vigra/vigra-1.7.0-src.tar.gz; - sha256 = "1laf9p0h35xpzs98yd13alm17gh40sn9b7z01ylcja4g7p3a3hs4"; + url = "${meta.homepage}/${name}-src.tar.gz"; + sha256 = "0542qy1bqaq73l7i8aqdhwdbhd6m1wldsn1w2sfyf8yf4398ffpw"; }; - buildInputs = [ cmake fftw libtiff libpng libjpeg doxygen python ]; + buildInputs = [ cmake fftw fftwSinglePrec libtiff libpng libjpeg python boost + numpy hdf5 ]; cmakeFlags = if (stdenv.system == "x86_64-linux") then "-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC" diff --git a/pkgs/development/tools/misc/coccinelle/default.nix b/pkgs/development/tools/misc/coccinelle/default.nix index 276c3bd1ed0a..ce3eb9cf5ec6 100644 --- a/pkgs/development/tools/misc/coccinelle/default.nix +++ b/pkgs/development/tools/misc/coccinelle/default.nix @@ -34,6 +34,10 @@ stdenv.mkDerivation rec { --prefix "LD_LIBRARY_PATH" ":" "$out/lib" \ --prefix "PYTHONPATH" ":" "$out/share/coccinelle/python" + wrapProgram "$out/bin/spatch.opt" \ + --prefix "LD_LIBRARY_PATH" ":" "$out/lib" \ + --prefix "PYTHONPATH" ":" "$out/share/coccinelle/python" + yes | make test ''; diff --git a/pkgs/os-specific/linux/ext3cow-tools/builder.sh b/pkgs/os-specific/linux/ext3cow-tools/builder.sh deleted file mode 100755 index 560b8d6723ab..000000000000 --- a/pkgs/os-specific/linux/ext3cow-tools/builder.sh +++ /dev/null @@ -1,19 +0,0 @@ -source $stdenv/setup - -tar -zxvf $src -cd ext3cow-tools/ - -echo "Using: $kernel" - -kernerlext3cowheader=$(ls $kernel/lib/modules/*/build/include/linux/ext3cow_fs.h) - -kernerlext3cowheader_slashed=$(echo $kernerlext3cowheader | sed 's/\//\\\//g') - -sed -i "s/linux\/ext3cow_fs.h/$kernerlext3cowheader_slashed/" ext3cow_tools.h #ugh dirty header rewrite.... - -make - -ensureDir $out/bin/ -cp ss $out/bin/snapshot -cp tt $out/bin/ -cp e2d $out/bin/ diff --git a/pkgs/os-specific/linux/ext3cow-tools/default.nix b/pkgs/os-specific/linux/ext3cow-tools/default.nix deleted file mode 100644 index 9b776de86ce5..000000000000 --- a/pkgs/os-specific/linux/ext3cow-tools/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{stdenv, fetchurl, kernel_ext3cowpatched }: - -stdenv.mkDerivation { - name = "ext3cow-tools"; - builder = ./builder.sh; - - src = fetchurl { - url = http://ext3cow.com/tools/ext3cow-tools.tgz; - sha256 = "78f55b19c8eeaa7b8abde63c7d6547b1ac0421a46d826a8d41c049719a3081f2"; - }; - - kernel = kernel_ext3cowpatched; -} - - -#note that ext3cow requires the ext3cow kernel patch !!!! diff --git a/pkgs/tools/package-management/snix/default.nix b/pkgs/tools/package-management/snix/default.nix deleted file mode 100644 index c8a13944d5b4..000000000000 --- a/pkgs/tools/package-management/snix/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null - -, ext3cowtools, e3cfsprogs, rsync -, libtool, automake, autoconf -, flex, bison - -, docbook5, docbook5_xsl, libxslt, docbook_xml_dtd_43, w3m - -, ext3cow_kernel - -, storeDir ? "/nix/store" -, stateDir ? "/nix/var" -, nixStoreStateDir ? "/nix/state" -}: - -stdenv.mkDerivation { - name = "snix-0.12rev10946"; - - src = fetchurl { - url = http://www.denbreejen.net/public/nix/snix-20080304-rev10948.tar.gz; - sha256 = "6973f080be8a32f1fc9b109f7f180b2bbd4e9e246721de9247378e49c6a70ef4"; - }; - - buildInputs = [perl curl openssl rsync libtool automake autoconf flex bison - docbook5 docbook5_xsl libxslt docbook_xml_dtd_43 w3m ]; - - preConfigure = " - ./bootstrap.sh - "; - - configureFlags = " - --with-store-dir=${storeDir} --localstatedir=${stateDir} - --with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2} - --disable-init-state - --with-store-state-dir=${nixStoreStateDir} - --with-ext3cow-header=${ext3cow_kernel}/lib/modules/2.*/build/include/linux/ext3cow_fs.h - --with-rsync=${rsync}/bin/rsync"; - - meta = { - description = "The SNix Deployment System (Nix extended to handle state)"; - homepage = http://nixos.org/; - license = "LGPL"; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5578b7a3d3c4..14ad4b1cf756 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4731,7 +4731,9 @@ let vcdimager = callPackage ../development/libraries/vcdimager { }; - vigra = callPackage ../development/libraries/vigra { }; + vigra = callPackage ../development/libraries/vigra { + inherit (pkgs.pythonPackages) numpy; + }; vmime = callPackage ../development/libraries/vmime { }; @@ -5910,10 +5912,6 @@ let splashutils = if kernel.features ? fbConDecor then pkgs.splashutils else null; - ext3cowtools = callPackage ../os-specific/linux/ext3cow-tools { - kernel_ext3cowpatched = kernel; - }; - /* compiles but has to be integrated into the kernel somehow Let's have it uncommented and finish it.. */ @@ -5925,15 +5923,6 @@ let perf = callPackage ../os-specific/linux/kernel/perf.nix { }; - # State Nix - snix = callPackage ../tools/package-management/snix { - - aterm = aterm25; - db4 = db45; - - flex = flex2533; - ext3cow_kernel = kernel; }; - sysprof = callPackage ../development/tools/profiling/sysprof { inherit (gnome) gtk glib pango libglade; };