svn merge ^/nixpkgs/trunk

Not merged r32497 (tree conflict, glibc GNU Hurd update). Ludovic, could you
please look at this?

svn path=/nixpkgs/branches/stdenv-updates/; revision=32520

+761 -200
+2 -2
pkgs/applications/graphics/wings/default.nix
··· 1 1 { fetchurl, stdenv, erlang, esdl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "wings-1.3.0.1"; 4 + name = "wings-1.4.1"; 5 5 src = fetchurl { 6 6 url = "mirror://sourceforge/wings/${name}.tar.bz2"; 7 - sha256 = "1zab1qxhgrncwqj1xg6z08m0kqbkdiqp4777p1bv2kczcf31isyp"; 7 + sha256 = "16kqy92rapmbvkc58mc50cidp1pm8nlwlwx69riyadc9w4qs9bji"; 8 8 }; 9 9 10 10 ERL_LIBS = "${esdl}/lib/erlang/addons";
+1
pkgs/applications/misc/krusader/default.nix
··· 12 12 license = "GPL"; 13 13 homepage = http://www.krusader.org; 14 14 maintainers = with stdenv.lib.maintainers; [ sander urkud ]; 15 + inherit (kdelibs.meta) platforms; 15 16 }; 16 17 }
+41
pkgs/applications/misc/mathblog/0006-Loosen-dependencies-on-SHA-HUnit-and-test-framework.patch
··· 1 + From 0fbc8097f98481439e68aeb095a8d7e106924bbe Mon Sep 17 00:00:00 2001 2 + From: Jonathan Daugherty <jtd@galois.com> 3 + Date: Tue, 21 Feb 2012 11:06:57 -0800 4 + Subject: [PATCH 6/8] Loosen dependencies on SHA, HUnit, and test-framework 5 + 6 + --- 7 + mathblog.cabal | 8 ++++---- 8 + 1 files changed, 4 insertions(+), 4 deletions(-) 9 + 10 + diff --git a/mathblog.cabal b/mathblog.cabal 11 + index ea5498c..371dd12 100644 12 + --- a/mathblog.cabal 13 + +++ b/mathblog.cabal 14 + @@ -44,7 +44,7 @@ Executable mb 15 + process >= 1.0, 16 + time >= 1.1, 17 + old-locale >= 1.0, 18 + - SHA >= 1.4 && < 1.5, 19 + + SHA >= 1.4 && < 1.6, 20 + bytestring >= 0.9 && < 1.0, 21 + HStringTemplate >= 0.6 && < 0.7, 22 + ConfigFile >= 1.1 && < 1.2 23 + @@ -79,12 +79,12 @@ Executable mb-tests 24 + process >= 1.0 && < 1.1, 25 + time >= 1.1, 26 + old-locale >= 1.0 && < 1.1, 27 + - SHA >= 1.4 && < 1.5, 28 + + SHA >= 1.4 && < 1.6, 29 + bytestring >= 0.9 && < 1.0, 30 + HStringTemplate >= 0.6 && < 0.7, 31 + ConfigFile >= 1.1 && < 1.2, 32 + - HUnit >= 1.2.2 && < 1.2.3, 33 + - test-framework >= 0.3.3 && < 0.4, 34 + + HUnit >= 1.2.2 && < 1.2.5, 35 + + test-framework >= 0.3.3 && < 0.6, 36 + test-framework-hunit >= 0.2.6 && < 0.3 37 + 38 + GHC-Options: -Wall 39 + -- 40 + 1.7.8 41 +
+27
pkgs/applications/misc/mathblog/default.nix
··· 1 + { cabal, ConfigFile, filepath, HStringTemplate, HUnit, pandoc 2 + , pandocTypes, SHA, testFramework, testFrameworkHunit, time 3 + }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "mathblog"; 7 + version = "0.4"; 8 + sha256 = "0kpawik74hp9k56b858idnlkla3iaalys8mas6c4gf4jfw2w0r3j"; 9 + isLibrary = false; 10 + isExecutable = true; 11 + buildDepends = [ 12 + ConfigFile filepath HStringTemplate HUnit pandoc pandocTypes SHA 13 + testFramework testFrameworkHunit time 14 + ]; 15 + patches = [ 16 + ./0006-Loosen-dependencies-on-SHA-HUnit-and-test-framework.patch 17 + ]; 18 + meta = { 19 + description = "A program for creating and managing a static weblog with LaTeX math and function graphs"; 20 + license = self.stdenv.lib.licenses.bsd3; 21 + platforms = self.ghc.meta.platforms; 22 + maintainers = [ 23 + self.stdenv.lib.maintainers.andres 24 + self.stdenv.lib.maintainers.simons 25 + ]; 26 + }; 27 + })
+4 -4
pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, browser, x11 2 - , GConf, gnome_mplayer, MPlayer 2 + , GConf, gnome_mplayer, MPlayer, gmtk 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "gecko-mediaplayer-1.0.4"; 6 + name = "gecko-mediaplayer-1.0.5"; 7 7 8 8 src = fetchurl { 9 9 url = "http://gecko-mediaplayer.googlecode.com/files/${name}.tar.gz"; 10 - sha256 = "18asxxsqng303cxcww75k4r6syqjs7lylibv997kq0869kz4spsp"; 10 + sha256 = "913fd39e70c564cb210c2544a88869f9d1a448184421f000b14b2bc5ba718b49"; 11 11 }; 12 12 13 - buildInputs = [pkgconfig glib dbus dbus_glib browser x11 GConf browser.xulrunner]; 13 + buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser.xulrunner gmtk ]; 14 14 15 15 # !!! fix this 16 16 preBuild =
+13
pkgs/applications/networking/browsers/mozilla-plugins/gmtk/default.nix
··· 1 + { stdenv, fetchurl, intltool, pkgconfig, gtk, GConf, alsaLib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "gmtk-1.0.5"; 5 + 6 + src = fetchurl { 7 + url = "http://gmtk.googlecode.com/files/${name}.tar.gz"; 8 + sha256 = "a07130d62719e8c1244f8405dd97445798df5204fc0f3f2f2b669b125114b468"; 9 + }; 10 + 11 + buildInputs = [ intltool pkgconfig gtk GConf alsaLib ]; 12 + } 13 +
+2
pkgs/applications/networking/irc/xchat/default.nix
··· 10 10 configureFlags = "--disable-nls"; 11 11 12 12 meta = { 13 + description = "IRC client using GTK"; 13 14 homepage = http://www.xchat.org; 15 + platforms = with stdenv.lib.platforms; linux; 14 16 }; 15 17 }
+10 -7
pkgs/applications/version-management/kdesvn/default.nix
··· 1 - { stdenv, fetchurl, lib, cmake, qt4, perl, gettext, apr, aprutil, subversion, db4 2 - , kdelibs, automoc4, phonon, kde_baseapps }: 1 + { stdenv, fetchurl, gettext, apr, aprutil, subversion, db4, kdelibs }: 3 2 4 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 5 4 name = "kdesvn-1.5.5"; 5 + 6 6 src = fetchurl { 7 - url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.5.5.tar.bz2; 7 + url = "${meta.homepage}/downloads/${name}.tar.bz2"; 8 8 sha256 = "02sb34p04dyd88ksxvpiffhxqwmhs3yv1wif9m8w0fly9hvy1zk7"; 9 9 }; 10 10 ··· 12 12 sed -i -e "s|/usr|${subversion}|g" src/svnqt/cmakemodules/FindSubversion.cmake 13 13 ''; 14 14 15 - patches = [ ./docbook.patch ]; 15 + patches = [ ./docbook.patch ./virtual_inheritance.patch ]; 16 16 17 17 18 - buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ]; 18 + buildInputs = [ apr aprutil subversion db4 kdelibs ]; 19 + 20 + buildNativeInputs = [ gettext ]; 19 21 20 22 meta = { 21 23 description = "KDE SVN front-end"; 22 24 license = "GPL"; 23 25 homepage = http://kdesvn.alwins-world.de; 24 - maintainers = [ lib.maintainers.sander ]; 26 + maintainers = [ stdenv.lib.maintainers.sander ]; 27 + inherit (kdelibs.meta) platforms; 25 28 inherit (kdelibs.meta) platforms; 26 29 }; 27 30 }
+11
pkgs/applications/version-management/kdesvn/virtual_inheritance.patch
··· 1 + --- kdesvn-1.5.5.orig/src/svnfrontend/graphtree/revgraphview.h 2 + +++ kdesvn-1.5.5/src/svnfrontend/graphtree/revgraphview.h 3 + @@ -49,7 +49,7 @@ typedef svn::SharedPointer<KTemporaryFil 4 + /** 5 + @author Rajko Albrecht <ral@alwins-world.de> 6 + */ 7 + -class RevGraphView : virtual public QGraphicsView 8 + +class RevGraphView : public QGraphicsView 9 + { 10 + Q_OBJECT 11 + public:
+7 -7
pkgs/applications/video/vlc/default.nix
··· 1 - { stdenv, fetchurl, perl, xlibs, libdvdnav 1 + { stdenv, fetchurl, xz, bzip2, perl, xlibs, libdvdnav, libbluray 2 2 , zlib, a52dec, libmad, faad2, ffmpeg, alsaLib 3 3 , pkgconfig, dbus, fribidi, qt4, freefont_ttf 4 4 , libvorbis, libtheora, speex, lua5, libgcrypt, libupnp ··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 name = "vlc-${version}"; 13 - version = "1.1.13"; 13 + version = "2.0.0"; 14 14 15 15 src = fetchurl { 16 - url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.bz2"; 17 - sha256 = "1h93jdx89dfgxlnw66lfcdk9kisadm689zanvgkzbfb3si2frv83"; 16 + url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.xz"; 17 + sha256 = "455fc04b5f7ce3d7294ed71a9dd172ff4eb97875cfc30b554ef4ce55ec6f5106"; 18 18 }; 19 19 20 20 patches = [ ./zlib.patch ]; 21 21 22 22 buildInputs = 23 - [ perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread 24 - dbus fribidi qt4 libvorbis libtheora speex lua5 libgcrypt 23 + [ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread 24 + libbluray dbus fribidi qt4 libvorbis libtheora speex lua5 libgcrypt 25 25 libupnp libcaca pulseaudio flac schroedinger libxml2 librsvg mpeg2dec 26 26 udev gnutls avahi libcddb jackaudio SDL SDL_image libmtp unzip taglib 27 27 libkate libtiger libv4l samba liboggz libass libdvbpsi libva ··· 40 40 enableParallelBuilding = true; 41 41 42 42 preBuild = '' 43 - substituteInPlace modules/misc/freetype.c --replace \ 43 + substituteInPlace modules/text_renderer/freetype.c --replace \ 44 44 /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf \ 45 45 ${freefont_ttf}/share/fonts/truetype/FreeSerifBold.ttf 46 46 '';
+10 -9
pkgs/development/compilers/vala/default.nix
··· 1 - {stdenv, fetchurl, yacc, flex, pkgconfig, glib}: 1 + {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: 2 2 3 3 stdenv.mkDerivation rec { 4 - baseName = "vala"; 5 - baseVersion = "0.11"; 6 - revision = "2"; 7 - version = "${baseVersion}.${revision}"; 8 - name = "${baseName}-${version}"; 4 + name = "vala-0.14.2"; 5 + 9 6 src = fetchurl { 10 - url = "mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2"; 11 - sha256 = "489b60a49a03c8915b513a722ca08986c18ae0dc6489cce6bbb8415670612046"; 7 + url = mirror://gnome/sources/vala/0.14/vala-0.14.2.tar.xz; 8 + sha256 = "1l5kllw9vpwv24lzv9fp64l3sad46wpxgvsgryrwlrjg91w6jzl0"; 12 9 }; 13 - buildInputs = [ yacc flex glib pkgconfig ]; 10 + 11 + buildNativeInputs = [ yacc flex pkgconfig xz ]; 12 + 13 + buildInputs = [ glib ]; 14 + 14 15 meta = { 15 16 description = "Compiler for the GObject type system"; 16 17 homepage = "http://live.gnome.org/Vala";
+10 -2
pkgs/development/interpreters/octave/default.nix
··· 1 1 {stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull, 2 2 libX11, graphicsmagick, pcre, liblapack, texLive, pkgconfig, mesa, fltk, 3 - fftw, fftwSinglePrec, zlib, curl }: 3 + fftw, fftwSinglePrec, zlib, curl, qrupdate }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "octave-3.4.3"; ··· 11 11 12 12 buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11 13 13 graphicsmagick pcre liblapack texLive pkgconfig mesa fltk zlib curl 14 - fftw fftwSinglePrec ]; 14 + fftw fftwSinglePrec qrupdate ]; 15 + 16 + doCheck = true; 15 17 16 18 enableParallelBuilding = true; 17 19 18 20 configureFlags = [ "--enable-readline" "--enable-dl" ]; 21 + 22 + # Keep a copy of the octave tests detailed results in the output 23 + # derivation, because someone may care 24 + postInstall = '' 25 + cp test/fntests.log $out/share/octave/${name}-fntests.log 26 + ''; 19 27 }
+45
pkgs/development/libraries/aacskeys/default.nix
··· 1 + {stdenv, fetchurl, openssl, jdk, premake}: 2 + 3 + # Info on how to use / obtain aacs keys: 4 + # http://vlc-bluray.whoknowsmy.name/ 5 + # https://wiki.archlinux.org/index.php/BluRay 6 + 7 + 8 + let baseName = "aacskeys"; 9 + version = "0.4.0c"; 10 + in 11 + 12 + stdenv.mkDerivation { 13 + name = "${baseName}-${version}"; 14 + 15 + patchPhase = '' 16 + substituteInPlace "premake.lua" \ 17 + --replace "/usr/lib/jvm/java-6-sun/include" "${jdk}/include" 18 + ''; 19 + 20 + src = fetchurl { 21 + url = "http://debian-multimedia.org/pool/main/a/${baseName}/${baseName}_${version}.orig.tar.gz"; 22 + sha256 = "54ea78898917f4acaf78101dda254de56bc7696bad12cbf22ee6f09d4ee88a43"; 23 + }; 24 + 25 + buildInputs = [openssl jdk premake]; 26 + 27 + installPhase = '' 28 + ensureDir $out/{bin,lib,share/${baseName}} 29 + 30 + # Install lib 31 + install -Dm444 lib/linux/libaacskeys.so $out/lib 32 + 33 + # Install program 34 + install -Dm555 bin/linux/aacskeys $out/bin 35 + 36 + # Install resources 37 + install -Dm444 HostKeyCertificate.txt $out/share/${baseName} 38 + install -Dm444 ProcessingDeviceKeysSimple.txt $out/share/${baseName} 39 + ''; 40 + 41 + meta = { 42 + homepage = http://forum.doom9.org/showthread.php?t=123311; 43 + description = "A library and program to retrieve decryption keys for HD discs"; 44 + }; 45 + }
+4 -4
pkgs/development/libraries/haskell/cabal-file-th/default.nix
··· 1 - { cabal }: 1 + { cabal, Cabal }: 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "cabal-file-th"; 5 - version = "0.2.1"; 6 - sha256 = "0nczwicgf6kx3lk5m7wqf1wj6ghn8jfx112dzh7jh4f4xs66nsd1"; 7 - patchPhase = "sed -i cabal-file-th.cabal -e 's|Cabal >= 1.10 && < 1.13|Cabal|'"; 5 + version = "0.2.2"; 6 + sha256 = "1ql2gmg3mdfkmnk1m3966npr6l1in15fzlkbn7dr1cp4s90igqhy"; 7 + buildDepends = [ Cabal ]; 8 8 meta = { 9 9 homepage = "http://github.com/nkpart/cabal-file-th"; 10 10 description = "Template Haskell expressions for reading fields from a project's cabal file";
+2 -2
pkgs/development/libraries/haskell/funcmp/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "funcmp"; 5 - version = "1.5"; 6 - sha256 = "f68807833f39178c99877321f0f335cfde12a5c4b38e6c51f33f8cab94b9e12e"; 5 + version = "1.6"; 6 + sha256 = "1l317gnav6adbdi849zdcgcvrlcs4mz4p0s67wg323prq713fkz0"; 7 7 buildDepends = [ filepath ]; 8 8 meta = { 9 9 homepage = "http://savannah.nongnu.org/projects/funcmp/";
+2 -2
pkgs/development/libraries/haskell/shakespeare-css/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "shakespeare-css"; 5 - version = "0.10.7"; 6 - sha256 = "0cla600s5715glimlf58gndpp7njhm26j78bfm16cxia5psp5zav"; 5 + version = "0.10.7.1"; 6 + sha256 = "0yi04ap2pl916ycs1wzaxrhjyx81lpmdad5in3qf1s4flfmi1h2k"; 7 7 buildDepends = [ parsec shakespeare text ]; 8 8 meta = { 9 9 homepage = "http://www.yesodweb.com/book/templates";
+2 -2
pkgs/development/libraries/haskell/shakespeare-js/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "shakespeare-js"; 5 - version = "0.11.0.1"; 6 - sha256 = "01gmsk1q5iq23m93n8mcmm02jqv3i7ksf1jw4qnla1gssdkx8ggk"; 5 + version = "0.11.1"; 6 + sha256 = "1sqkfl6pwwmn72xz5qf1bh58jr95w59ry6zmy939x73g9jgpzn6x"; 7 7 buildDepends = [ shakespeare text ]; 8 8 meta = { 9 9 homepage = "http://www.yesodweb.com/book/templates";
+2 -2
pkgs/development/libraries/haskell/web-routes/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "web-routes"; 7 - version = "0.26.3"; 8 - sha256 = "1ldi4gjraga57qj9drknwp19vmy30fhcp6vw3y7xqcrarvp5n2mx"; 7 + version = "0.27.1"; 8 + sha256 = "0rbl57qnn908hwfhj14m8z11pscrv44rlg7c9y9rm6jvwy4v58qz"; 9 9 buildDepends = [ 10 10 blazeBuilder httpTypes mtl network parsec text utf8String 11 11 ];
+2 -2
pkgs/development/libraries/haskell/xml-conduit/default.nix
··· 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "xml-conduit"; 8 - version = "0.5.2"; 9 - sha256 = "0wr9xbx2dwv0kmnx9jwlm1734a22mc79ydg4sh61335fdjvchfnd"; 8 + version = "0.5.3"; 9 + sha256 = "09jphn19g6v9z1b75iyqcdyn75n7inbhib8g9fgfzwd7q8rdd3yc"; 10 10 buildDepends = [ 11 11 attoparsec attoparsecConduit blazeBuilder blazeBuilderConduit 12 12 conduit dataDefault failure systemFilepath text transformers
+30
pkgs/development/libraries/libaacs/default.nix
··· 1 + {stdenv, fetchurl, libgcrypt}: 2 + 3 + # library that allows libbluray to play AACS protected bluray disks 4 + # libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info. 5 + 6 + # Info on how to use / obtain aacs keys: 7 + # http://vlc-bluray.whoknowsmy.name/ 8 + # https://wiki.archlinux.org/index.php/BluRay 9 + 10 + 11 + let baseName = "libaacs"; 12 + version = "0.3.0"; 13 + in 14 + 15 + stdenv.mkDerivation { 16 + name = "${baseName}-${version}"; 17 + 18 + src = fetchurl { 19 + url = "http://download.videolan.org/pub/videolan/${baseName}/${version}/${baseName}-${version}.tar.bz2"; 20 + sha256 = "bf92dab1a6a8ee08a55e8cf347c2cda49e6535b52e85bb1e92e1cfcc8ecec22c"; 21 + }; 22 + 23 + buildInputs = [libgcrypt]; 24 + 25 + meta = { 26 + homepage = http://www.videolan.org/developers/libbluray.html; 27 + description = "Library to access Blu-Ray disks for video playback"; 28 + license = stdenv.lib.licenses.lgpl21; 29 + }; 30 + }
+33
pkgs/development/libraries/libbluray/default.nix
··· 1 + {stdenv, fetchgit, autoconf, automake, libtool, libaacs ? null, jdk ? null, ant ? null, withAACS ? false}: 2 + 3 + assert withAACS -> jdk != null && ant != null && libaacs != null; 4 + 5 + # Info on how to use: 6 + # https://wiki.archlinux.org/index.php/BluRay 7 + 8 + let baseName = "libbluray"; 9 + version = "0.2.1"; 10 + 11 + in 12 + 13 + stdenv.mkDerivation { 14 + name = "${baseName}-${version}"; 15 + 16 + src = fetchgit { 17 + url = git://git.videolan.org/libbluray.git; 18 + rev = "3b9a9f044644a6abe9cb09377f714ded9fdd6c87"; 19 + sha256 = "551b623e76c2dba44b5490fb42ccdc491b28cd42841de28237b8edbed0f0711c"; 20 + }; 21 + 22 + buildInputs = [autoconf automake libtool] ++ stdenv.lib.optionals withAACS [jdk ant libaacs]; 23 + NIX_LDFLAGS = stdenv.lib.optionalString withAACS "-laacs"; 24 + 25 + preConfigure = "./bootstrap"; 26 + configureFlags = ["--disable-static"] ++ stdenv.lib.optionals withAACS ["--enable-bdjava" "--with-jdk=${jdk}"]; 27 + 28 + meta = { 29 + homepage = http://www.videolan.org/developers/libbluray.html; 30 + description = "Library to access Blu-Ray disks for video playback"; 31 + license = stdenv.lib.licenses.lgpl21; 32 + }; 33 + }
+11 -9
pkgs/development/libraries/phonon-backend-gstreamer/default.nix
··· 1 - { stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gst_all }: 1 + { stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gst_all, xz }: 2 2 3 - let version = "4.5.1"; in 3 + let 4 + version = "4.6.0"; 5 + pname = "phonon-backend-gstreamer"; 6 + in 4 7 5 8 stdenv.mkDerivation rec { 6 - name = "phonon-backend-gstreamer-${version}"; 9 + name = "${pname}-${version}"; 7 10 8 11 src = fetchurl { 9 - url = "mirror://kde/stable/phonon/phonon-backend-gstreamer/${version}/src/${name}.tar.bz2"; 10 - sha256 = "13m3kd0iy28nsn532xl97c50vq8ci3qs2i92yk4fw428qvknqck2"; 12 + url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz"; 13 + sha256 = "0bwkd1dmj8p4m5xindh6ixfvifq36qmvfn246vx22syqfl6f1m2v"; 11 14 }; 12 15 13 - buildInputs = 14 - [ cmake pkgconfig phonon qt4 automoc4 15 - gst_all.gstreamer gst_all.gstPluginsBase 16 - ]; 16 + buildInputs = [ phonon qt4 gst_all.gstreamer gst_all.gstPluginsBase ]; 17 + 18 + buildNativeInputs = [ cmake automoc4 xz pkgconfig ]; 17 19 18 20 meta = { 19 21 homepage = http://phonon.kde.org/;
+10 -8
pkgs/development/libraries/phonon-backend-vlc/default.nix
··· 1 - a@{ stdenv, fetchurl, qt4, vlc, automoc4, cmake, phonon }: 1 + { stdenv, fetchurl, xz, qt4, vlc, automoc4, cmake, phonon }: 2 2 3 3 let 4 - pn = "phonon-backend-vlc"; 5 - v = "0.2.0"; 6 - vlc = a.vlc.override { inherit qt4; }; #Force using the same qt version 4 + pname = "phonon-backend-vlc"; 5 + v = "0.5.0"; 6 + vlc_ = vlc.override { inherit qt4; }; #Force using the same qt version 7 7 in 8 8 9 9 stdenv.mkDerivation { 10 - name = "${pn}-${v}"; 10 + name = "${pname}-${v}"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://kde/stable/${pn}/${v}/src/${pn}-${v}.tar.gz"; 14 - sha256 = "1sac7770vk0ppwbzl9nag387ks7sqmdnm7722kpzafhx1c2r7wsv"; 13 + url = "mirror://kde/stable/phonon/${pname}/${v}/src/${pname}-${v}.tar.xz"; 14 + sha256 = "1233szd05ahaxyk1sjis374n90m40svfks2aq9jx3g3lxygzwmi2"; 15 15 }; 16 16 17 - buildInputs = [ qt4 vlc cmake automoc4 phonon ]; 17 + buildNativeInputs = [ cmake automoc4 xz ]; 18 + 19 + buildInputs = [ qt4 vlc_ phonon ]; 18 20 19 21 meta = { 20 22 description = "VideoLAN backend for Phonon multimedia framework";
+4 -11
pkgs/development/libraries/phonon/default.nix
··· 1 - { stdenv, fetchurl, cmake, automoc4, qt4 }: 1 + { stdenv, fetchurl, cmake, automoc4, qt4, pulseaudio }: 2 2 3 3 let 4 - v = "4.5.1"; 4 + v = "4.6.0"; 5 5 in 6 6 7 7 stdenv.mkDerivation rec { ··· 9 9 10 10 src = fetchurl { 11 11 url = "mirror://kde/stable/phonon/${v}/src/${name}.tar.xz"; 12 - sha256 = "1j7lw8w7h2z415vhbp2jlgv3mqwvrspf8xnzb8l0gsfanqfg1001"; 12 + sha256 = "2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4"; 13 13 }; 14 14 15 - buildInputs = [ qt4 ]; 15 + buildInputs = [ qt4 pulseaudio ]; 16 16 17 17 buildNativeInputs = [ cmake automoc4 ]; 18 - 19 - cmakeFlags = "-DPHONON_MKSPECS_DIR=mkspecs"; 20 - preConfigure = 21 - '' 22 - substituteInPlace designer/CMakeLists.txt \ 23 - --replace '{QT_PLUGINS_DIR}' '{CMAKE_INSTALL_PREFIX}/lib/qt4/plugins' 24 - ''; 25 18 26 19 meta = { 27 20 homepage = http://phonon.kde.org/;
+16 -6
pkgs/development/libraries/qrupdate/default.nix
··· 1 1 { stdenv 2 2 , fetchurl 3 3 , gfortran 4 - , blas 5 4 , liblapack 6 5 }: 7 6 stdenv.mkDerivation { 8 - name = "qrupdate-1.1.1"; 7 + name = "qrupdate-1.1.2"; 9 8 src = fetchurl { 10 - url = mirror://sourceforge/qrupdate/1.1/qrupdate-1.1.1.tar.gz ; 11 - sha256 = "0ak68qd15zccr2d2qahxcxsrcdgxy7drg362jj9swv7rb39h00cz"; 9 + url = mirror://sourceforge/qrupdate/qrupdate-1.1.2.tar.gz ; 10 + sha256 = "024f601685phcm1pg8lhif3lpy5j9j0k6n0r46743g4fvh8wg8g2"; 12 11 }; 13 12 14 - preConfigure = '' 13 + configurePhase = '' 15 14 export PREFIX=$out 15 + sed -i -e 's,^BLAS=.*,BLAS=-L${liblapack}/lib -L${liblapack.blas} -lcblas -lf77blas -latlas,' \ 16 + -e 's,^LAPACK=.*,LAPACK=-L${liblapack}/lib -llapack -lcblas -lf77blas -latlas,' \ 17 + Makeconf 16 18 ''; 19 + 20 + doCheck = true; 21 + 22 + checkTarget = "test"; 23 + 24 + buildTarget = "lib"; 25 + 26 + installTarget = "install-staticlib"; 17 27 18 - buildInputs = [gfortran blas liblapack] ; 28 + buildInputs = [ gfortran liblapack ]; 19 29 }
+29 -7
pkgs/development/libraries/science/math/atlas/default.nix
··· 1 - { stdenv, fetchurl, gfortran }: 1 + { stdenv, fetchurl, gfortran, tolerateCpuTimingInaccuracy ? true }: 2 + 3 + let 4 + optionalString = stdenv.lib.optionalString; 5 + in 2 6 3 7 stdenv.mkDerivation { 4 8 name = "atlas-3.9.67"; 5 - 9 + 6 10 src = fetchurl { 7 11 url = mirror://sf/math-atlas/atlas3.9.67.tar.bz2; 8 12 sha256 = "06xxlv440z8a3qmfrh17p28girv71c6awvpw5vhpspr0pcsgk1pa"; 9 13 }; 10 14 11 - # configure outside of the source directory 15 + # Configure outside of the source directory. 12 16 preConfigure = '' mkdir build; cd build; configureScript=../configure; ''; 13 17 14 - # the manual says you should pass -fPIC as configure arg .. It works 15 - configureFlags = "-Fa alg -fPIC"; 18 + # * The manual says you should pass -fPIC as configure arg. Not sure why, but 19 + # it works. 20 + # 21 + # * Atlas aborts the build if it detects that some kind of CPU frequency 22 + # scaling is active on the build machine because that feature offsets the 23 + # performance timings. We ignore that check, however, because with binaries 24 + # being pre-built on Hydra those timings aren't accurate for the local 25 + # machine in the first place. 26 + configureFlags = "-Fa alg -fPIC" 27 + + optionalString stdenv.isi686 " -b 32" 28 + + optionalString tolerateCpuTimingInaccuracy " -Si cputhrchk 0"; 16 29 17 30 buildInputs = [ gfortran ]; 18 31 32 + doCheck = true; 33 + 19 34 meta = { 20 - description = "Atlas library"; 35 + homepage = "http://math-atlas.sourceforge.net/"; 36 + description = "Automatically Tuned Linear Algebra Software (ATLAS)"; 21 37 license = "GPL"; 22 - homepage = http://math-atlas.sourceforge.net/; 38 + 39 + longDescription = '' 40 + The ATLAS (Automatically Tuned Linear Algebra Software) project is an ongoing 41 + research effort focusing on applying empirical techniques in order to provide 42 + portable performance. At present, it provides C and Fortran77 interfaces to a 43 + portably efficient BLAS implementation, as well as a few routines from LAPACK. 44 + ''; 23 45 }; 24 46 }
+13 -1
pkgs/development/libraries/science/math/liblapack/default.nix
··· 1 - { stdenv, fetchurl, gfortran, atlas, cmake }: 1 + { stdenv, fetchurl, gfortran, atlas, cmake, python }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "liblapack-3.4.0"; ··· 9 9 10 10 propagatedBuildInputs = [ atlas ]; 11 11 buildInputs = [ gfortran cmake ]; 12 + buildNativeInputs = [ python ]; 12 13 13 14 cmakeFlags = [ 14 15 "-DUSE_OPTIMIZED_BLAS=ON" ··· 17 18 "-DCMAKE_Fortran_FLAGS=-fPIC" 18 19 ]; 19 20 21 + doCheck = true; 22 + 23 + checkPhase = " 24 + sed -i 's,^#!.*,#!${python}/bin/python,' lapack_testing.py 25 + ctest 26 + "; 27 + 20 28 enableParallelBuilding = true; 29 + 30 + passthru = { 31 + blas = atlas; 32 + }; 21 33 22 34 meta = { 23 35 description = "Linear Algebra PACKage";
+16
pkgs/development/libraries/xmlrpc-c/default.nix
··· 1 + { stdenv, fetchsvn, curl }: 2 + 3 + let rev = "2262"; in 4 + stdenv.mkDerivation { 5 + name = "xmlrpc-c-r${rev}"; 6 + 7 + buildInputs = [ curl ]; 8 + 9 + preInstall = "export datarootdir=$out/share"; 10 + 11 + src = fetchsvn { 12 + url = http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced; 13 + rev = "2262"; 14 + sha256 = "1grwnczp5dq3w20rbz8bgpwl6jmw0w7cm7nbinlasf3ap5sc5ahb"; 15 + }; 16 + }
+60
pkgs/development/tools/build-managers/cmake/264.nix
··· 1 + { fetchurl, stdenv, replace, curl, expat, zlib, bzip2, libarchive 2 + , useNcurses ? false, ncurses, useQt4 ? false, qt4, xmlrpc_c 3 + , darwinInstallNameToolUtility }: 4 + 5 + with stdenv.lib; 6 + 7 + let 8 + os = stdenv.lib.optionalString; 9 + majorVersion = "2.6"; 10 + minorVersion = "4"; 11 + version = "${majorVersion}.${minorVersion}"; 12 + in 13 + 14 + stdenv.mkDerivation rec { 15 + name = "cmake-${os useNcurses "cursesUI-"}${os useQt4 "qt4UI-"}${version}"; 16 + 17 + inherit majorVersion; 18 + 19 + src = fetchurl { 20 + url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz"; 21 + sha256 = "1wpxr5x4aggaqrqzjq3kg4hh09f0vyr1njik1pad01bvwd923pcw"; 22 + }; 23 + 24 + patches = 25 + # Don't search in non-Nix locations such as /usr, but do search in 26 + # Nixpkgs' Glibc. 27 + optional (stdenv ? glibc) ./search-path-264.patch; 28 + 29 + buildInputs = [ curl expat zlib bzip2 libarchive xmlrpc_c ] 30 + ++ optional stdenv.isDarwin darwinInstallNameToolUtility 31 + ++ optional useNcurses ncurses 32 + ++ optional useQt4 qt4; 33 + 34 + CMAKE_PREFIX_PATH = stdenv.lib.concatStringsSep ":" buildInputs; 35 + 36 + configureFlags = 37 + "--docdir=/share/doc/${name} --mandir=/share/man --system-libs" 38 + + stdenv.lib.optionalString useQt4 " --qt-gui"; 39 + 40 + setupHook = ./setup-hook.sh; 41 + 42 + postUnpack = 43 + '' 44 + dontUseCmakeConfigure=1 45 + source $setupHook 46 + fixCmakeFiles $sourceRoot 47 + ''; 48 + 49 + preConfigure = optionalString (stdenv ? glibc) 50 + '' 51 + substituteInPlace Modules/Platform/UnixPaths.cmake --subst-var-by glibc ${stdenv.glibc} 52 + ''; 53 + 54 + meta = { 55 + homepage = http://www.cmake.org/; 56 + description = "Cross-Platform Makefile Generator"; 57 + platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.all; 58 + maintainers = [ stdenv.lib.maintainers.urkud ]; 59 + }; 60 + }
+93
pkgs/development/tools/build-managers/cmake/search-path-264.patch
··· 1 + diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake 2 + index 4e4c2cb..9784655 100644 3 + --- a/Modules/Platform/Linux.cmake 4 + +++ b/Modules/Platform/Linux.cmake 5 + @@ -43,21 +43,10 @@ ELSE(DEFINED CMAKE_INSTALL_SO_NO_EXE) 6 + # checking the platform every time. This option is advanced enough 7 + # that only package maintainers should need to adjust it. They are 8 + # capable of providing a setting on the command line. 9 + - IF(EXISTS "/etc/debian_version") 10 + - SET(CMAKE_INSTALL_SO_NO_EXE 1 CACHE INTERNAL 11 + - "Install .so files without execute permission.") 12 + - ELSE(EXISTS "/etc/debian_version") 13 + - SET(CMAKE_INSTALL_SO_NO_EXE 0 CACHE INTERNAL 14 + - "Install .so files without execute permission.") 15 + - ENDIF(EXISTS "/etc/debian_version") 16 + + SET(CMAKE_INSTALL_SO_NO_EXE 0 CACHE INTERNAL 17 + + "Install .so files without execute permission.") 18 + ENDIF(DEFINED CMAKE_INSTALL_SO_NO_EXE) 19 + 20 + INCLUDE(Platform/UnixPaths) 21 + 22 + -# Debian has lib64 paths only for compatibility so they should not be 23 + -# searched. 24 + -IF(EXISTS "/etc/debian_version") 25 + - SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE) 26 + -ENDIF(EXISTS "/etc/debian_version") 27 + -# always include the gcc compiler information 28 + INCLUDE(Platform/gcc) 29 + diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake 30 + index 584d334..4fcf951 100755 31 + --- a/Modules/Platform/UnixPaths.cmake 32 + +++ b/Modules/Platform/UnixPaths.cmake 33 + @@ -8,56 +8,18 @@ GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH) 34 + # List common installation prefixes. These will be used for all 35 + # search types. 36 + LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH 37 + - # Standard 38 + - / /usr /usr/local 39 + - 40 + - # CMake install location 41 + - "${_CMAKE_INSTALL_DIR}" 42 + - 43 + - # Project install destination. 44 + - "${CMAKE_INSTALL_PREFIX}" 45 + - ) 46 + - 47 + -# List common include file locations not under the common prefixes. 48 + -LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH 49 + - # Windows API on Cygwin 50 + - /usr/include/w32api 51 + - 52 + - # X11 53 + - /usr/X11R6/include /usr/include/X11 54 + - 55 + - # Other 56 + - /opt/local/include /usr/pkg/include 57 + - /opt/csw/include /opt/include 58 + - /usr/openwin/include 59 + - ) 60 + - 61 + -LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH 62 + - # Windows API on Cygwin 63 + - /usr/lib/w32api 64 + - 65 + - # X11 66 + - /usr/X11R6/lib /usr/lib/X11 67 + - 68 + - # Other 69 + - /opt/local/lib /usr/pkg/lib 70 + - /opt/csw/lib /opt/lib 71 + - /usr/openwin/lib 72 + - ) 73 + - 74 + -LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH 75 + - /usr/pkg/bin 76 + + "@glibc@" 77 + ) 78 + 79 + LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES 80 + - /lib /usr/lib /usr/lib32 /usr/lib64 81 + + "@glibc@/lib" 82 + ) 83 + 84 + LIST(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES 85 + - /usr/include 86 + + "@glibc@/include" 87 + ) 88 + LIST(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES 89 + - /usr/include 90 + + "@glibc@/include" 91 + ) 92 + 93 + # Enable use of lib64 search path variants by default.
+26
pkgs/development/tools/misc/premake/default.nix
··· 1 + {stdenv, fetchurl, unzip}: 2 + 3 + let baseName = "premake"; 4 + version = "3.7"; 5 + in 6 + 7 + stdenv.mkDerivation { 8 + name = "${baseName}-${version}"; 9 + 10 + src = fetchurl { 11 + url = "http://downloads.sourceforge.net/sourceforge/premake/${baseName}-src-${version}.zip"; 12 + sha256 = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5"; 13 + }; 14 + 15 + buildInputs = [unzip]; 16 + 17 + installPhase = '' 18 + install -Dm755 bin/premake $out/bin/premake 19 + ''; 20 + 21 + meta = { 22 + homepage = http://industriousone.com/premake; 23 + description = "A simple build configuration and project generation tool using lua"; 24 + license = stdenv.lib.licenses.bsd3; 25 + }; 26 + }
+6 -1
pkgs/os-specific/gnu/default.nix
··· 1 1 # Packages that make up the GNU/Hurd operating system (aka. GNU). 2 2 3 3 args@{ fetchgit, stdenv, autoconf, automake, automake111x, libtool 4 - , texinfo, glibcCross, hurdPartedCross, libuuid 4 + , texinfo, glibcCross, hurdPartedCross, libuuid, samba_light 5 5 , gccCrossStageStatic, gccCrossStageFinal 6 6 , forceBuildDrv, callPackage, platform, config, crossSystem }: 7 7 ··· 86 86 }).stdenv; 87 87 } 88 88 else { }); 89 + 90 + smbfs = callPackage ./smbfs { 91 + samba = samba_light; 92 + hurd = hurdCross; 93 + }; 89 94 }
+41
pkgs/os-specific/gnu/smbfs/default.nix
··· 1 + { fetchcvs, stdenv, hurd, machHeaders, samba }: 2 + 3 + let 4 + date = "2011-11-14"; 5 + in 6 + stdenv.mkDerivation rec { 7 + name = "smbfs-${date}"; 8 + 9 + src = fetchcvs { 10 + cvsRoot = ":pserver:anonymous@cvs.savannah.nongnu.org:/sources/hurdextras"; 11 + module = "smbfs"; 12 + sha256 = "b36765fde77c6cafb04ab1ff44b19bb00b490064b5a02b9ced7828170ab47a70"; 13 + inherit date; 14 + }; 15 + 16 + patchPhase = 17 + '' sed -i "Makefile" \ 18 + -e 's|gcc|i586-pc-gnu-gcc|g ; 19 + s|^LDFLAGS=\(.*\)$|LDFLAGS=\1 -pthread|g' 20 + ''; 21 + 22 + buildInputs = [ hurd machHeaders samba ]; 23 + 24 + installPhase = 25 + '' mkdir -p "$out/hurd" 26 + cp -v smbfs "$out/hurd" 27 + 28 + mkdir -p "$out/share/doc/${name}" 29 + cp -v README "$out/share/doc/${name}" 30 + ''; 31 + 32 + meta = { 33 + description = "SMB/CIFS file system translator for GNU/Hurd"; 34 + 35 + homepage = http://www.nongnu.org/hurdextras/; 36 + 37 + license = "GPLv3+"; 38 + 39 + maintainers = [ stdenv.lib.maintainers.ludo ]; 40 + }; 41 + }
+3 -4
pkgs/os-specific/linux/bbswitch/default.nix
··· 1 1 { stdenv, fetchurl, kernel }: 2 2 3 3 let 4 - 5 - version = "0.4.1"; 6 - name = "bbswitch-${version}-${kernel.version}"; 4 + baseName = "bbswitch-0.4.1"; 5 + name = "${baseName}-${kernel.version}"; 7 6 8 7 in 9 8 ··· 11 10 inherit name; 12 11 13 12 src = fetchurl { 14 - url = "http://github.com/downloads/Bumblebee-Project/bbswitch/${name}.tar.gz"; 13 + url = "http://github.com/downloads/Bumblebee-Project/bbswitch/${baseName}.tar.gz"; 15 14 sha256 = "d579c6efc5f6482f0cf0b2c1b1f1a127413218cdffdc8f2d5a946c11909bda23"; 16 15 }; 17 16
+5 -2
pkgs/os-specific/linux/frandom/default.nix
··· 1 1 { stdenv, fetchurl, kernel }: 2 2 3 + let baseName = "frandom-1.1"; 4 + in 5 + 3 6 stdenv.mkDerivation rec { 4 - name = "frandom-1.1-${kernel.version}"; 7 + name = "${baseName}-${kernel.version}"; 5 8 6 9 src = fetchurl { 7 - url = "http://sourceforge.net/projects/frandom/files/${name}.tar.gz"; 10 + url = "http://sourceforge.net/projects/frandom/files/${baseName}.tar.gz"; 8 11 sha256 = "15rgyk4hfawqg7z1spk2xlk1nn6rcdls8gdhc70f91shrc9pvlls"; 9 12 }; 10 13
+14 -2
pkgs/os-specific/linux/kernel/linux-2.6.39.nix
··· 5 5 let 6 6 configWithPlatform = kernelPlatform : 7 7 '' 8 - # Don't include any debug features. 9 - DEBUG_KERNEL n 8 + # powermanagement and debugging for powertop 9 + DEBUG_KERNEL y 10 + PM_ADVANCED_DEBUG y 11 + PM_RUNTIME y 12 + TIMER_STATS y 13 + USB_SUSPEND y 14 + BACKTRACE_SELF_TEST n 15 + CPU_NOTIFIER_ERROR_INJECT n 16 + DEBUG_DEVRES n 17 + DEBUG_NX_TEST n 18 + DEBUG_STACK_USAGE n 19 + DEBUG_STACKOVERFLOW n 20 + RCU_TORTURE_TEST n 21 + SCHEDSTATS n 10 22 11 23 # Support drivers that need external firmware. 12 24 STANDALONE n
+14 -2
pkgs/os-specific/linux/kernel/linux-3.0.nix
··· 5 5 let 6 6 configWithPlatform = kernelPlatform : 7 7 '' 8 - # Don't include any debug features. 9 - DEBUG_KERNEL n 8 + # powermanagement and debugging for powertop 9 + DEBUG_KERNEL y 10 + PM_ADVANCED_DEBUG y 11 + PM_RUNTIME y 12 + TIMER_STATS y 13 + USB_SUSPEND y 14 + BACKTRACE_SELF_TEST n 15 + CPU_NOTIFIER_ERROR_INJECT n 16 + DEBUG_DEVRES n 17 + DEBUG_NX_TEST n 18 + DEBUG_STACK_USAGE n 19 + DEBUG_STACKOVERFLOW n 20 + RCU_TORTURE_TEST n 21 + SCHEDSTATS n 10 22 11 23 # Support drivers that need external firmware. 12 24 STANDALONE n
+14 -2
pkgs/os-specific/linux/kernel/linux-3.1.nix
··· 5 5 let 6 6 configWithPlatform = kernelPlatform : 7 7 '' 8 - # Don't include any debug features. 9 - DEBUG_KERNEL n 8 + # powermanagement and debugging for powertop 9 + DEBUG_KERNEL y 10 + PM_ADVANCED_DEBUG y 11 + PM_RUNTIME y 12 + TIMER_STATS y 13 + USB_SUSPEND y 14 + BACKTRACE_SELF_TEST n 15 + CPU_NOTIFIER_ERROR_INJECT n 16 + DEBUG_DEVRES n 17 + DEBUG_NX_TEST n 18 + DEBUG_STACK_USAGE n 19 + DEBUG_STACKOVERFLOW n 20 + RCU_TORTURE_TEST n 21 + SCHEDSTATS n 10 22 11 23 # Support drivers that need external firmware. 12 24 STANDALONE n
+17 -5
pkgs/os-specific/linux/kernel/linux-3.2.nix
··· 5 5 let 6 6 configWithPlatform = kernelPlatform : 7 7 '' 8 - # Don't include any debug features. 9 - DEBUG_KERNEL n 8 + # powermanagement and debugging for powertop 9 + DEBUG_KERNEL y 10 + PM_ADVANCED_DEBUG y 11 + PM_RUNTIME y 12 + TIMER_STATS y 13 + USB_SUSPEND y 14 + BACKTRACE_SELF_TEST n 15 + CPU_NOTIFIER_ERROR_INJECT n 16 + DEBUG_DEVRES n 17 + DEBUG_NX_TEST n 18 + DEBUG_STACK_USAGE n 19 + DEBUG_STACKOVERFLOW n 20 + RCU_TORTURE_TEST n 21 + SCHEDSTATS n 10 22 11 23 # Support drivers that need external firmware. 12 24 STANDALONE n ··· 214 226 import ./generic.nix ( 215 227 216 228 rec { 217 - version = "3.2.4"; 229 + version = "3.2.7"; 218 230 testing = false; 219 231 220 232 modDirVersion = version; ··· 222 234 preConfigure = '' 223 235 substituteInPlace scripts/depmod.sh --replace '-b "$INSTALL_MOD_PATH"' "" 224 236 ''; 225 - 237 + 226 238 src = fetchurl { 227 239 url = "mirror://kernel/linux/kernel/v3.0/${if testing then "testing/" else ""}linux-${version}.tar.bz2"; 228 - sha256 = "1c648a7041e65a167d3fd8beda484a3d55c35cad9d6d189b9949d3c621887da7"; 240 + sha256 = "e80009e097e137b9a1f1efacabc482c1d4b3651b238bf733a41595d0b387ae12"; 229 241 }; 230 242 231 243 config = configWithPlatform stdenv.platform;
+14
pkgs/os-specific/linux/kernel/patches.nix
··· 252 252 features.aufs3 = true; 253 253 }; 254 254 255 + aufs3_2 = rec { 256 + name = "aufs3.2"; 257 + version = "3.2"; 258 + utilRev = "a953b0218667e06b722f4c41df29edacd8dc8e1f"; 259 + utilHash = "28ac4c1a07b2c30fb61a6facc9cedcf67b14f303baedf1b121aeb6293ea49eb4"; 260 + patch = makeAufs3StandalonePatch { 261 + inherit version; 262 + rev = "9c4bbeb58f0ecc235ea820ae320efa2c0006e033"; 263 + sha256 = "5363a7f5fbadaef9457e743a5781f2525332c4bbb91693ca2596ab2d8f7860ea"; 264 + }; 265 + features.aufsBase = true; 266 + features.aufs3 = true; 267 + }; 268 + 255 269 # Increase the timeout on CIFS requests from 15 to 120 seconds to 256 270 # make CIFS more resilient to high load on the CIFS server. 257 271 cifs_timeout_2_6_15 =
+4 -1
pkgs/servers/samba/default.nix
··· 28 28 patches = 29 29 [ # Fix for https://bugzilla.samba.org/show_bug.cgi?id=8541. 30 30 ./readlink.patch 31 + 32 + # Allow cross-builds for GNU/Hurd. 33 + ./libnss-wins-pthread.patch 31 34 ]; 32 35 33 36 buildInputs = [ readline pam openldap popt iniparser libunwind fam acl cups ] ··· 39 42 # XXX: Awful hack to allow cross-compilation. 40 43 '' sed -i source3/configure \ 41 44 -e 's/^as_fn_error \("cannot run test program while cross compiling\)/$as_echo \1/g' 42 - ''; 45 + ''; # " 43 46 44 47 preConfigure = 45 48 '' cd source3
+15
pkgs/servers/samba/libnss-wins-pthread.patch
··· 1 + `libnss_wins' uses pthreads but is built without `-pthread'. This is 2 + not a problem when building natively on GNU/Linux, but causes troubles 3 + when cross-building for GNU/Hurd (undefined references to libpthread 4 + functions.) 5 + 6 + --- samba-3.6.1/source3/Makefile.in 2012-02-22 15:25:15.000000000 +0100 7 + +++ samba-3.6.1/source3/Makefile.in 2012-02-22 15:25:47.000000000 +0100 8 + @@ -2760,6 +2760,7 @@ bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP 9 + @echo "Linking $@" 10 + @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \ 11 + $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \ 12 + + $(PTHREAD_LDFLAGS) \ 13 + @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@ 14 + 15 + bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
+2 -2
pkgs/servers/sql/postgresql/8.3.x.nix
··· 1 1 { stdenv, fetchurl, zlib, ncurses, readline }: 2 2 3 - let version = "8.3.16"; in 3 + let version = "8.3.17"; in 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "postgresql-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://postgresql/source/v${version}/${name}.tar.bz2"; 10 - sha256 = "0i17da3jz44y2xikp99qs0dac9j84hghr8rg5n7hr86ippi90180"; 10 + sha256 = "0xq8yg8qwd4qvjk6764argaxl6fribyf1xnxmdsk4xfcmgmfw5gv"; 11 11 }; 12 12 13 13 buildInputs = [ zlib ncurses readline ];
+2 -2
pkgs/servers/sql/postgresql/8.4.x.nix
··· 1 1 { stdenv, fetchurl, zlib, ncurses, readline }: 2 2 3 - let version = "8.4.9"; in 3 + let version = "8.4.10"; in 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "postgresql-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://postgresql/source/v${version}/${name}.tar.bz2"; 10 - sha256 = "12n3x2q444hfhy9nbl14yfhd58im86jmlb9b0ihqzbmq1j6wnn0x"; 10 + sha256 = "1yvwn2qpn2dpgfi496r1zl8b8xy52lb2pprg076pvc37sklq77vl"; 11 11 }; 12 12 13 13 buildInputs = [ zlib ncurses readline ];
+35
pkgs/servers/sql/postgresql/9.1.x.nix
··· 1 + { stdenv, fetchurl, zlib, readline }: 2 + 3 + let version = "9.1.2"; in 4 + 5 + stdenv.mkDerivation rec { 6 + name = "postgresql-${version}"; 7 + 8 + src = fetchurl { 9 + url = "mirror://postgresql/source/v${version}/${name}.tar.bz2"; 10 + sha256 = "0c6vwlfxppjvrikqfq6s87sxmxxvsx1qq03bwgk589sv9x8zym4d"; 11 + }; 12 + 13 + buildInputs = [ zlib readline ]; 14 + 15 + enableParallelBuilding = true; 16 + 17 + LC_ALL = "C"; 18 + 19 + postInstall = 20 + '' 21 + mkdir -p $out/share/man 22 + cp -rvd doc/src/sgml/man1 $out/share/man 23 + ''; 24 + 25 + passthru = { 26 + inherit readline; 27 + psqlSchema = "9.1"; 28 + }; 29 + 30 + meta = { 31 + homepage = http://www.postgresql.org/; 32 + description = "A powerful, open source object-relational database system"; 33 + license = "bsd"; 34 + }; 35 + }
+4 -2
pkgs/tools/networking/wicd/default.nix
··· 90 90 echo '#!/bin/sh 91 91 initctl emit -n wicd-preconnect ITYPE="$1" ESSID="$2" BSSID="$3"' > $out/etc/scripts/preconnect/upstart-emit 92 92 echo '#!/bin/sh 93 - initctl emit -n wicd-postconnect ITYPE="$1" ESSID="$2" BSSID="$3"' > $out/etc/scripts/postconnect/upstart-emit 93 + initctl emit -n wicd-postconnect ITYPE="$1" ESSID="$2" BSSID="$3" 94 + initctl emit -n ip-up' > $out/etc/scripts/postconnect/upstart-emit 94 95 echo '#!/bin/sh 95 96 initctl emit -n wicd-predisconnect ITYPE="$1" ESSID="$2" BSSID="$3"' > $out/etc/scripts/predisconnect/upstart-emit 96 97 echo '#!/bin/sh 97 - initctl emit -n wicd-postdisconnect ITYPE="$1" ESSID="$2" BSSID="$3"' > $out/etc/scripts/postdisconnect/upstart-emit 98 + initctl emit -n wicd-postdisconnect ITYPE="$1" ESSID="$2" BSSID="$3" 99 + initctl emit -n ip-down' > $out/etc/scripts/postdisconnect/upstart-emit 98 100 chmod a+x $out/etc/scripts/*/upstart-emit 99 101 ''; 100 102
+29 -88
pkgs/top-level/all-packages.nix
··· 2930 2930 2931 2931 cmake = callPackage ../development/tools/build-managers/cmake { }; 2932 2932 2933 + cmake264 = callPackage ../development/tools/build-managers/cmake/264.nix { }; 2934 + 2933 2935 cmakeCurses = cmake.override { useNcurses = true; }; 2934 2936 2935 2937 cmakeWithGui = cmakeCurses.override { useQt4 = true; }; ··· 3082 3084 */ 3083 3085 pkgconfig = forceBuildDrv (callPackage ../development/tools/misc/pkgconfig { }); 3084 3086 3087 + premake = callPackage ../development/tools/misc/premake { }; 3088 + 3085 3089 radare = callPackage ../development/tools/analysis/radare { 3086 3090 inherit (gnome) vte; 3087 3091 lua = lua5; ··· 3154 3158 3155 3159 3156 3160 a52dec = callPackage ../development/libraries/a52dec { }; 3161 + 3162 + aacskeys = callPackage ../development/libraries/aacskeys { }; 3157 3163 3158 3164 aalib = callPackage ../development/libraries/aalib { }; 3159 3165 ··· 3831 3837 leptonica = callPackage ../development/libraries/leptonica { }; 3832 3838 3833 3839 lib3ds = callPackage ../development/libraries/lib3ds { }; 3840 + 3841 + libaacs = callPackage ../development/libraries/libaacs { }; 3834 3842 3835 3843 libaal = callPackage ../development/libraries/libaal { }; 3836 3844 ··· 3852 3860 3853 3861 libbluedevil = callPackage ../development/libraries/libbluedevil { }; 3854 3862 3863 + libbluray = callPackage ../development/libraries/libbluray { }; 3864 + 3855 3865 libcaca = callPackage ../development/libraries/libcaca { }; 3856 3866 3857 3867 libcanberra = callPackage ../development/libraries/libcanberra { ··· 4591 4601 4592 4602 soprano = callPackage ../development/libraries/soprano { }; 4593 4603 4594 - soqt = callPackage ../development/libraries/soqt { 4595 - qt4 = qt47; 4596 - }; 4597 - 4598 - soqtQt48 = soqt.override { qt4 = qt48; }; 4604 + soqt = callPackage ../development/libraries/soqt { }; 4599 4605 4600 4606 speechd = callPackage ../development/libraries/speechd { }; 4601 4607 ··· 4782 4788 xlibs.xextproto 4783 4789 ]; 4784 4790 }; 4791 + 4792 + xmlrpc_c = callPackage ../development/libraries/xmlrpc-c { }; 4785 4793 4786 4794 xvidcore = callPackage ../development/libraries/xvidcore { }; 4787 4795 ··· 5126 5134 5127 5135 postgresql90 = callPackage ../servers/sql/postgresql/9.0.x.nix { }; 5128 5136 5137 + postgresql91 = callPackage ../servers/sql/postgresql/9.1.x.nix { }; 5138 + 5129 5139 postgresql_jdbc = callPackage ../servers/sql/postgresql/jdbc { }; 5130 5140 5131 5141 pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) { ··· 5550 5560 ]; 5551 5561 }; 5552 5562 5553 - linux_2_6_39_powertop = linux_2_6_39.override { 5554 - extraConfig = '' 5555 - DEBUG_KERNEL y 5556 - PM_ADVANCED_DEBUG y 5557 - PM_RUNTIME y 5558 - TIMER_STATS y 5559 - USB_SUSPEND y 5560 - BACKTRACE_SELF_TEST n 5561 - CPU_NOTIFIER_ERROR_INJECT n 5562 - DEBUG_DEVRES n 5563 - DEBUG_NX_TEST n 5564 - DEBUG_STACK_USAGE n 5565 - DEBUG_STACKOVERFLOW n 5566 - RCU_TORTURE_TEST n 5567 - SCHEDSTATS n 5568 - ''; 5569 - }; 5570 - 5571 5563 linux_3_0 = makeOverridable (import ../os-specific/linux/kernel/linux-3.0.nix) { 5572 5564 inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; 5573 5565 kernelPatches = ··· 5579 5571 ]; 5580 5572 }; 5581 5573 5582 - linux_3_0_powertop = linux_3_0.override { 5583 - extraConfig = '' 5584 - DEBUG_KERNEL y 5585 - PM_ADVANCED_DEBUG y 5586 - PM_RUNTIME y 5587 - TIMER_STATS y 5588 - USB_SUSPEND y 5589 - BACKTRACE_SELF_TEST n 5590 - CPU_NOTIFIER_ERROR_INJECT n 5591 - DEBUG_DEVRES n 5592 - DEBUG_NX_TEST n 5593 - DEBUG_STACK_USAGE n 5594 - DEBUG_STACKOVERFLOW n 5595 - RCU_TORTURE_TEST n 5596 - SCHEDSTATS n 5597 - ''; 5598 - }; 5599 - 5600 5574 linux_3_1 = makeOverridable (import ../os-specific/linux/kernel/linux-3.1.nix) { 5601 5575 inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; 5602 5576 kernelPatches = ··· 5607 5581 ]; 5608 5582 }; 5609 5583 5610 - linux_3_1_powertop = linux_3_1.override { 5611 - extraConfig = '' 5612 - DEBUG_KERNEL y 5613 - PM_ADVANCED_DEBUG y 5614 - PM_RUNTIME y 5615 - TIMER_STATS y 5616 - USB_SUSPEND y 5617 - BACKTRACE_SELF_TEST n 5618 - CPU_NOTIFIER_ERROR_INJECT n 5619 - DEBUG_DEVRES n 5620 - DEBUG_NX_TEST n 5621 - DEBUG_STACK_USAGE n 5622 - DEBUG_STACKOVERFLOW n 5623 - RCU_TORTURE_TEST n 5624 - SCHEDSTATS n 5625 - ''; 5626 - }; 5627 - 5628 5584 linux_3_2 = makeOverridable (import ../os-specific/linux/kernel/linux-3.2.nix) { 5629 5585 inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; 5630 5586 kernelPatches = 5631 5587 [ #kernelPatches.fbcondecor_2_6_38 5632 5588 kernelPatches.sec_perm_2_6_24 5633 - #kernelPatches.aufs3_1 5589 + kernelPatches.aufs3_2 5634 5590 #kernelPatches.mips_restart_2_6_36 5635 5591 ]; 5636 5592 }; 5637 5593 5638 - linux_3_2_powertop = linux_3_2.override { 5639 - extraConfig = '' 5640 - DEBUG_KERNEL y 5641 - PM_ADVANCED_DEBUG y 5642 - PM_RUNTIME y 5643 - TIMER_STATS y 5644 - USB_SUSPEND y 5645 - BACKTRACE_SELF_TEST n 5646 - CPU_NOTIFIER_ERROR_INJECT n 5647 - DEBUG_DEVRES n 5648 - DEBUG_NX_TEST n 5649 - DEBUG_STACK_USAGE n 5650 - DEBUG_STACKOVERFLOW n 5651 - RCU_TORTURE_TEST n 5652 - SCHEDSTATS n 5653 - ''; 5654 - }; 5655 - 5656 5594 /* Linux kernel modules are inherently tied to a specific kernel. So 5657 5595 rather than provide specific instances of those packages for a 5658 5596 specific kernel, we have a function that builds those packages ··· 5776 5714 linuxPackages_2_6_38 = recurseIntoAttrs (linuxPackagesFor linux_2_6_38 pkgs.linuxPackages_2_6_38); 5777 5715 linuxPackages_2_6_38_ati = recurseIntoAttrs (linuxPackagesFor linux_2_6_38_ati pkgs.linuxPackages_2_6_38); 5778 5716 linuxPackages_2_6_39 = recurseIntoAttrs (linuxPackagesFor linux_2_6_39 pkgs.linuxPackages_2_6_39); 5779 - linuxPackages_2_6_39_powertop = recurseIntoAttrs (linuxPackagesFor linux_2_6_39_powertop pkgs.linuxPackages_2_6_39_powertop); 5780 5717 linuxPackages_3_0 = recurseIntoAttrs (linuxPackagesFor linux_3_0 pkgs.linuxPackages_3_0); 5781 - linuxPackages_3_0_powertop = recurseIntoAttrs (linuxPackagesFor linux_3_0_powertop pkgs.linuxPackages_3_0_powertop); 5782 5718 linuxPackages_3_1 = recurseIntoAttrs (linuxPackagesFor linux_3_1 pkgs.linuxPackages_3_1); 5783 - linuxPackages_3_1_powertop = recurseIntoAttrs (linuxPackagesFor linux_3_1_powertop pkgs.linuxPackages_3_1_powertop); 5784 5719 linuxPackages_nanonote_jz_2_6_34 = recurseIntoAttrs (linuxPackagesFor linux_nanonote_jz_2_6_34 pkgs.linuxPackages_nanonote_jz_2_6_34); 5785 5720 linuxPackages_nanonote_jz_2_6_35 = recurseIntoAttrs (linuxPackagesFor linux_nanonote_jz_2_6_35 pkgs.linuxPackages_nanonote_jz_2_6_35); 5786 5721 linuxPackages_nanonote_jz_2_6_36 = recurseIntoAttrs (linuxPackagesFor linux_nanonote_jz_2_6_36 pkgs.linuxPackages_nanonote_jz_2_6_36); 5787 5722 linuxPackages_3_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2 pkgs.linuxPackages_3_2); 5788 - linuxPackages_3_2_powertop = recurseIntoAttrs (linuxPackagesFor linux_3_2_powertop pkgs.linuxPackages_3_2_powertop); 5789 5723 5790 5724 # The current default kernel / kernel modules. 5791 5725 linux = linuxPackages.kernel; ··· 6819 6753 geeqie = callPackage ../applications/graphics/geeqie { }; 6820 6754 6821 6755 gqview = callPackage ../applications/graphics/gqview { }; 6756 + 6757 + gmtk = callPackage ../applications/networking/browsers/mozilla-plugins/gmtk { 6758 + inherit (gnome) GConf; 6759 + inherit (gtkLibs) gtk; 6760 + }; 6822 6761 6823 6762 googleearth = callPackage_i686 ../applications/misc/googleearth { }; 6824 6763 ··· 7167 7106 inherit (gnome) libglademm; 7168 7107 }; 7169 7108 7170 - paraview = callPackage ../applications/graphics/paraview { 7171 - qt4 = qt47; 7172 - }; 7173 - 7174 - paraviewQt48 = paraview.override { qt4 = qt48; }; 7109 + paraview = callPackage ../applications/graphics/paraview { }; 7175 7110 7176 7111 pdftk = callPackage ../tools/typesetting/pdftk { }; 7177 7112 ··· 8185 8120 8186 8121 ### SCIENCE/MATH 8187 8122 8188 - atlas = callPackage ../development/libraries/science/math/atlas { }; 8123 + atlas = callPackage ../development/libraries/science/math/atlas { 8124 + # The build process measures CPU capabilities and optimizes the 8125 + # library to perform best on that particular machine. That is a 8126 + # great feature, but it's of limited use with pre-built binaries 8127 + # coming from a central build farm. 8128 + tolerateCpuTimingInaccuracy = true; 8129 + }; 8189 8130 8190 8131 blas = callPackage ../development/libraries/science/math/blas { }; 8191 8132
+2
pkgs/top-level/haskell-packages.nix
··· 1622 1622 1623 1623 leksah = callPackage ../applications/editors/leksah {}; 1624 1624 1625 + mathblog = callPackage ../applications/misc/mathblog {}; 1626 + 1625 1627 xmobar = callPackage ../applications/misc/xmobar { 1626 1628 parsec = self.parsec3; 1627 1629 };
+2
pkgs/top-level/release-cross.nix
··· 182 182 gnu.hurdCross = nativePlatforms; 183 183 gnu.mach.hostDrv = nativePlatforms; 184 184 gnu.mig = nativePlatforms; 185 + gnu.smbfs = nativePlatforms; 185 186 186 187 coreutils.hostDrv = nativePlatforms; 187 188 ed.hostDrv = nativePlatforms; ··· 205 206 nixUnstable.hostDrv = nativePlatforms; 206 207 openssl.hostDrv = nativePlatforms; # dependency of Nix 207 208 patch.hostDrv = nativePlatforms; 209 + samba_light.hostDrv = nativePlatforms; # needed for `runInGenericVM' 208 210 zile.hostDrv = nativePlatforms; 209 211 }; 210 212 }) // (