Merge master into x-updates

This commit is contained in:
Vladimír Čunát
2013-12-23 19:27:14 +01:00
74 changed files with 1702 additions and 852 deletions

View File

@@ -21,13 +21,13 @@ assert vdpauSupport -> libvdpau != null;
assert faacSupport -> faac != null;
stdenv.mkDerivation rec {
name = "ffmpeg-0.10";
name = "ffmpeg-0.10.10";
src = fetchurl {
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
sha256 = "1ybzw6d5axr807141izvm2yf4pa0hc1zcywj89nsn3qsdnknlna3";
sha256 = "14fbjhiwv5zg9yh0zk3k9h6id815xrikyz6l2cdl7z4vazbmhq4k";
};
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
# the resulting library is GPL'ed, so it can only be used in GPL'ed
# applications.
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional dc1394Support libdc1394;
enableParallelBuilding = true;
crossAttrs = {
dontSetConfigureCross = true;
configureFlags = configureFlags ++ [

View File

@@ -31,11 +31,11 @@ assert playSupport -> SDL != null;
assert freetypeSupport -> freetype != null;
stdenv.mkDerivation rec {
name = "ffmpeg-1.2.3";
name = "ffmpeg-1.2.4";
src = fetchurl {
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
sha256 = "0nvilgwaivzvikgp9lpvrwi4p1clxl4w8j961599bg0r2v7n4x6r";
sha256 = "1pqd544jmbggwisbkm0pj0l585b8a9x5n3jl9zbmqmw63g7ci5iv";
};
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that

View File

@@ -1,11 +1,12 @@
{ stdenv, fetchurl, zlib, ffmpeg, pkgconfig }:
stdenv.mkDerivation {
name = "ffms-2.17";
stdenv.mkDerivation rec {
name = "ffms-2.19";
src = fetchurl {
url = http://ffmpegsource.googlecode.com/files/ffms-2.17-src.tar.bz2;
sha256 = "0gb42hrwnldz3zjlk4llx85dvxysxlfrdf5yy3fay8r8k1vpl7wr";
url = https://codeload.github.com/FFMS/ffms2/tar.gz/2.19;
name = "${name}.tar.gz";
sha256 = "0498si8bzwyxxq0f1yc6invzb1lv1ab436gwzn9418839x8pj4vg";
};
NIX_CFLAGS_COMPILE = "-fPIC";

View File

@@ -1,17 +1,19 @@
{ stdenv, fetchurl, libunwind }:
stdenv.mkDerivation rec {
name = "gperftools-2.0";
name = "gperftools-2.1";
src = fetchurl {
url = "https://gperftools.googlecode.com/files/${name}.tar.gz";
sha1 = "da7181a7ba9b5ee7302daf6c16e886c179fe8d1b";
sha256 = "0ks9gsnhxrs2vccc6ha9m8xmj83lmw09xcws4zc0k57q4jcy5bgk";
};
patches = [ ./glibc-2.16.patch ];
buildInputs = [ libunwind ];
# some packages want to link to the static tcmalloc_minimal
# to drop the runtime dependency on gperftools
dontDisableStatic = true;
enableParallelBuilding = true;
meta = {

View File

@@ -1,13 +0,0 @@
Index: gperftools-2.0/src/base/linuxthreads.cc
===================================================================
--- gperftools-2.0.orig/src/base/linuxthreads.cc
+++ gperftools-2.0/src/base/linuxthreads.cc
@@ -193,7 +193,7 @@ static volatile int *sig_pids, sig_num_t
/* Signal handler to help us recover from dying while we are attached to
* other threads.
*/
-static void SignalHandler(int signum, siginfo_t *si, void *data) {
+static void SignalHandler(int signum, struct siginfo *si, void *data) {
if (sig_pids != NULL) {
if (signum == SIGABRT) {
while (sig_num_threads-- > 0) {

View File

@@ -1,15 +1,15 @@
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, bzip2, yasm
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, bzip2, yasm, orc
, useInternalFfmpeg ? false, ffmpeg ? null }:
stdenv.mkDerivation rec {
name = "gst-ffmpeg-0.10.12";
name = "gst-ffmpeg-0.10.13";
src = fetchurl {
urls = [
"http://gstreamer.freedesktop.org/src/gst-ffmpeg/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
];
sha256 = "0fyppl8q18g71jd2r0mbiqk8hhrdxq43dglma06mxyjb5c80fxxi";
sha256 = "0qmvgwcfybci78sd73mhvm4bsb7l0xsk9yljrgik80g011ds1z3n";
};
# Upstream strongly recommends against using --with-system-ffmpeg,
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optionalString (!useInternalFfmpeg) "--with-system-ffmpeg";
buildInputs =
[ pkgconfig bzip2 gst_plugins_base ]
[ pkgconfig bzip2 gst_plugins_base orc ]
++ (if useInternalFfmpeg then [ yasm ] else [ ffmpeg ]);
meta = {

View File

@@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst_plugins_base
, libdvdnav, libdvdread }:
, libdvdnav, libdvdread, orc }:
stdenv.mkDerivation rec {
name = "gst-plugins-bad-0.10.23";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ pkgconfig glib gstreamer gst_plugins_base libdvdnav libdvdread ];
[ pkgconfig glib gstreamer gst_plugins_base libdvdnav libdvdread orc ];
enableParallelBuilding = true;

View File

@@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xlibs, alsaLib, cdparanoia
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
, libintlOrEmpty
, # Whether to build no plugins that have external dependencies
# (except the ALSA plugin).
@@ -18,13 +18,14 @@ stdenv.mkDerivation rec {
};
patchPhase = ''
sed -i 's@/bin/echo@echo@g' configure
sed -i -e 's/^ /\t/' docs/{libs,plugins}/Makefile.in
'';
# TODO : v4l, libvisual
buildInputs =
[ pkgconfig glib cairo ]
[ pkgconfig glib cairo orc ]
# can't build alsaLib on darwin
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
++ stdenv.lib.optionals (!minimalDeps)
@@ -37,9 +38,9 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
propagatedBuildInputs = [ gstreamer ];
postInstall = "rm -rf $out/share/gtk-doc";
meta = with stdenv.lib; {
homepage = http://gstreamer.freedesktop.org;
description = "Base plug-ins for GStreamer";
@@ -48,4 +49,3 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
};
}

View File

@@ -1,6 +1,6 @@
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, aalib, cairo
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca
, libiec61883, libavc1394, taglib, pulseaudio
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
, libiec61883, libavc1394, taglib, pulseaudio, gdk_pixbuf, orc
, glib, gstreamer, bzip2
}:
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig glib gstreamer gst_plugins_base libavc1394 libiec61883
aalib libcaca cairo libdv flac libjpeg libpng pulseaudio speex
taglib bzip2
taglib bzip2 libvpx gdk_pixbuf orc
];
enableParallelBuilding = true;

View File

@@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst_plugins_base
, libmad, libdvdread, libmpeg2, libcdio, a52dec }:
, libmad, libdvdread, libmpeg2, libcdio, a52dec, x264, orc }:
stdenv.mkDerivation rec {
name = "gst-plugins-ugly-0.10.19";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ pkgconfig glib gstreamer gst_plugins_base libmad libdvdread a52dec ];
[ pkgconfig glib gstreamer gst_plugins_base libmad libdvdread a52dec x264 orc ];
enableParallelBuilding = true;

View File

@@ -0,0 +1,16 @@
{ cabal, nonNegative, QuickCheck, transformers, utilityHt }:
cabal.mkDerivation (self: {
pname = "event-list";
version = "0.1.0.2";
sha256 = "01j48871nijhkbqdsfvbvq01yr9b5a056fn03ccgazikfsd368ri";
isLibrary = true;
isExecutable = true;
buildDepends = [ nonNegative QuickCheck transformers utilityHt ];
meta = {
homepage = "http://code.haskell.org/~thielema/event-list/";
description = "Event lists with relative or absolute time stamps";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,21 @@
{ cabal, dataAccessor, eventList, haskellSrc, markovChain, midi
, nonNegative, parsec, random, transformers, utilityHt
}:
cabal.mkDerivation (self: {
pname = "haskore";
version = "0.2.0.3";
sha256 = "0vg4m2cmy1fabfnck9v22jicflb0if64h0wjvyrgpn2ykb9wwbpa";
isLibrary = true;
isExecutable = true;
buildDepends = [
dataAccessor eventList haskellSrc markovChain midi nonNegative
parsec random transformers utilityHt
];
meta = {
homepage = "http://www.haskell.org/haskellwiki/Haskore";
description = "The Haskore Computer Music System";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,14 @@
{ cabal, random, transformers }:
cabal.mkDerivation (self: {
pname = "markov-chain";
version = "0.0.3.2";
sha256 = "0shld9b6vdi5274wyhwpw5ggfm6xi5j7m3ag989bxarhrfzjxgdk";
buildDepends = [ random transformers ];
meta = {
homepage = "http://code.haskell.org/~thielema/markov-chain/";
description = "Markov Chains for generating random sequences with a user definable behaviour";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,21 @@
{ cabal, binary, eventList, explicitException, monoidTransformer
, nonNegative, QuickCheck, random, transformers, utilityHt
}:
cabal.mkDerivation (self: {
pname = "midi";
version = "0.2.1";
sha256 = "0i767y0835979s9i3wm8qwzh2awhhmfvhc5zvq2lkn8xlsp3wa6y";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary eventList explicitException monoidTransformer nonNegative
QuickCheck random transformers utilityHt
];
meta = {
homepage = "http://www.haskell.org/haskellwiki/MIDI";
description = "Handling of MIDI messages and files";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,12 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "monoid-transformer";
version = "0.0.2";
sha256 = "0hd8jb1iw6lbgml3f08n680bdij56cjanpkr4fc1jr7qn6yzzb2j";
meta = {
description = "Monoid counterparts to some ubiquitous monad transformers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,14 @@
{ cabal, protocolBuffers }:
cabal.mkDerivation (self: {
pname = "protocol-buffers-descriptor";
version = "2.0.14";
sha256 = "0xbpmm9a4fg42c9zbarawqdl4klfjjc233ilbsibb7asa3v7zmj3";
buildDepends = [ protocolBuffers ];
meta = {
homepage = "http://code.haskell.org/protocol-buffers/";
description = "Text.DescriptorProto.Options and code generated from the Google Protocol Buffer specification";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,14 @@
{ cabal, binary, filepath, mtl, syb, utf8String }:
cabal.mkDerivation (self: {
pname = "protocol-buffers";
version = "2.0.14";
sha256 = "1wihnpvc7kjq345a6v702s42gmrqd9cjm50safc7kigyvhr5vm1i";
buildDepends = [ binary filepath mtl syb utf8String ];
meta = {
homepage = "http://code.haskell.org/protocol-buffers/";
description = "Parse Google Protocol Buffer specifications";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -0,0 +1,21 @@
{ cabal, aeson, attoparsec, dataDefault, mtl, network
, protocolBuffers, protocolBuffersDescriptor, text, time
, unorderedContainers, utf8String, vector
}:
cabal.mkDerivation (self: {
pname = "rethinkdb";
version = "1.8.0.5";
sha256 = "1s3mzbs0b2jdvs1gfdxb2fp2lw7978ja63411iz43yjd29d3pwzq";
buildDepends = [
aeson attoparsec dataDefault mtl network protocolBuffers
protocolBuffersDescriptor text time unorderedContainers utf8String
vector
];
meta = {
homepage = "http://github.com/atnnn/haskell-rethinkdb";
description = "RethinkDB is a distributed document store with a powerful query language";
license = self.stdenv.lib.licenses.asl20;
platforms = self.ghc.meta.platforms;
};
})

View File

@@ -18,7 +18,8 @@ cabal.mkDerivation (self: {
substituteInPlace trifecta.cabal \
--replace "blaze-html >= 0.5 && < 0.6," "blaze-html >= 0.5 && < 0.7," \
--replace "hashable >= 1.2 && < 1.3," "hashable >= 1.1 && < 1.3," \
--replace "fingertree >= 0.0.1 && < 0.1," "fingertree >= 0.0.1 && < 0.2,"
--replace "fingertree >= 0.0.1 && < 0.1," "fingertree >= 0.0.1 && < 0.2," \
--replace "comonad == 3.*," "comonad >= 3 && < 5,"
'';
meta = {
homepage = "http://github.com/ekmett/trifecta/";

View File

@@ -18,7 +18,8 @@ cabal.mkDerivation (self: {
substituteInPlace trifecta.cabal \
--replace "blaze-html >= 0.5 && < 0.6," "blaze-html >= 0.5 && < 0.7," \
--replace "hashable >= 1.2 && < 1.3," "hashable >= 1.1 && < 1.3," \
--replace "fingertree >= 0.0.1 && < 0.1," "fingertree >= 0.0.1 && < 0.2,"
--replace "fingertree >= 0.0.1 && < 0.1," "fingertree >= 0.0.1 && < 0.2," \
--replace "comonad >= 3 && < 4," "comonad >= 3 && < 5,"
'';
meta = {
homepage = "http://github.com/ekmett/trifecta/";

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchurl, autoconf, automake, libtool, libxml2, cppunit, boost
, apr, aprutil, db45, expat
, apr, aprutil, db4, expat
}:
stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
src/main/cpp/socketoutputstream.cpp
'';
buildInputs = [autoconf automake libtool libxml2 cppunit boost apr aprutil db45 expat];
buildInputs = [autoconf automake libtool libxml2 cppunit boost apr aprutil db4 expat];
meta = {
homepage = http://logging.apache.org/log4cxx/index.html;

View File

@@ -0,0 +1,17 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.7.1";
name = "mdds-${version}";
src = fetchurl {
url = "http://multidimalgorithm.googlecode.com/files/mdds_${version}.tar.bz2";
sha256 = "0zhrx7m04pknc8i2cialmbna1hmwa0fzs8qphan4rdxibf0c4yzy";
};
meta = {
homepage = https://code.google.com/p/multidimalgorithm/;
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = stdenv.lib.platforms.all;
};
}

View File

@@ -13,11 +13,11 @@ let
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="simgear";
version="2.12.0";
version="2.12.1";
name="${baseName}-${version}";
extension="tar.bz2";
url="http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/${name}.${extension}";
hash="0spl6afk8rm96ss4lh7zy5561m5m2qgwsnqjyp35jr1gyyrc944f";
hash="0w8drzglgp01019frx96062qcigzfflsyq59f8shpwmzjb2hzli4";
};
in
rec {

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, icu, cluceneCore, curl}:
{stdenv, fetchurl, pkgconfig, icu, clucene_core, curl}:
stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1fc71avaxkhx6kckjiflw6j02lpg569b9bzaksq49i1m87awfxmg";
};
buildInputs = [ pkgconfig icu cluceneCore curl ];
buildInputs = [ pkgconfig icu clucene_core curl ];
# because curl/types.h disappeared since at least curl 7.21.7
patches = [ ./dont_include_curl_types_h.patch ];
@@ -31,4 +31,3 @@ stdenv.mkDerivation rec {
};
}

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "tcllib-${version}";
version = "1.14";
version = "1.15";
src = fetchurl {
url = "mirror://sourceforge/tcllib/tcllib-${version}.tar.gz";
sha256 = "11052fgfmv9vyswzjjgfvh3pi0k3fnfnl9ri6nl4vc6f6z5ry56x";
sha256 = "1zdzaqdpxljsaabgknq3paakgs262qy255ib4p329knsv608jc3d";
};
passthru = {

View File

@@ -1,11 +1,11 @@
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt }:
stdenv.mkDerivation rec {
name = "telepathy-glib-0.20.4";
name = "telepathy-glib-0.22.0";
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
sha256 = "0v5izjmgm1phy51l2y5whfrgzqx8510lqp16d2y5hb21bp40g8y9";
sha256 = "0mqrq2azw70rm50vy21acfnzn8mmh0w7dxh87mwr1lyk0jn1n232";
};
propagatedBuildInputs = [dbus_glib glib python];