Merge master into this PR

This commit is contained in:
Vladimír Čunát
2014-08-12 21:16:47 +02:00
3251 changed files with 24134 additions and 12186 deletions
+1 -2
View File
@@ -34,8 +34,7 @@ rec {
[
raskin
];
platforms = with a.lib.platforms;
all;
platforms = with a.lib.platforms; allBut darwin;
};
passthru = {
updateInfo = {
+5 -5
View File
@@ -1,14 +1,14 @@
{stdenv, fetchurl, libjpeg, lcms, gettext, jasper }:
{stdenv, fetchurl, libjpeg, lcms2, gettext, jasper }:
stdenv.mkDerivation rec {
name = "dcraw-9.20";
name = "dcraw-9.22";
src = fetchurl {
url = "http://www.cybercom.net/~dcoffin/dcraw/archive/${name}.tar.gz";
sha256 = "151xpfmfd1ksjcnpmsnxry1mf2xpx9iaiy9sg1vxgm9i80lkkp5f";
sha256 = "00dz85fr5r9k3nlwdbdi30fpqr8wihamzpyair7l7zk0vkrax402";
};
buildInputs = [ libjpeg lcms gettext jasper ];
buildInputs = [ libjpeg lcms2 gettext jasper ];
patchPhase = ''
sed -i -e s@/usr/local@$out@ install
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
description = "Decoder for many camera raw picture formats";
license = "free";
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
platforms = with stdenv.lib.platforms; allBut cygwin;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://enblend.sourceforge.net/;
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
license = "GPLv2";
license = stdenv.lib.licenses.gpl2;
};
}
+1 -1
View File
@@ -17,6 +17,6 @@ stdenv.mkDerivation {
meta = {
description = "Command-line tool for creating, editing, and getting information about GIF images and animations";
homepage = http://www.lcdf.org/gifsicle/;
license = "GPL2";
license = stdenv.lib.licenses.gpl2;
};
}
+36
View File
@@ -0,0 +1,36 @@
{ stdenv, fetchurl, pkgconfig, libjpeg, libpng12, xlibs, libX11, mesa, libdrm, python27 }:
stdenv.mkDerivation rec {
name = "glmark2-${version}";
version = "2014.03";
src = fetchurl {
url = "https://launchpad.net/glmark2/trunk/${version}/+download/${name}.tar.gz";
sha256 = "1dgn7ln115ivk13d1yagpj06lgllpv2jrr41kcnhdkhqz6m43vdx";
};
buildInputs = [
pkgconfig libjpeg libpng12 xlibs.libxcb libX11 mesa libdrm python27
];
buildPhase = ''
python ./waf configure --prefix=$out --with-flavors x11-gl,x11-glesv2
python2 ./waf
'';
installPhase = ''
python2 ./waf install --destdir="$pkgdir/"
'';
meta = with stdenv.lib; {
description = "OpenGL (ES) 2.0 benchmark";
homepage = https://launchpad.net/glmark2;
license = licenses.gpl3Plus;
longDescription = ''
glmark2 is a benchmark for OpenGL (ES) 2.0. It uses only the subset of
the OpenGL 2.0 API that is compatible with OpenGL ES 2.0.
'';
platforms = platforms.linux;
maintainers = [ maintainers.wmertens ];
};
}
+20 -17
View File
@@ -1,45 +1,48 @@
{ stdenv, fetchurl, zlib, gd, texinfo, makeWrapper, readline
, texLive ? null
, lua ? null
{ lib, stdenv, fetchurl, zlib, gd, texinfo4, makeWrapper, readline
, withTeXLive ? false, texLive
, withLua ? false, lua
, emacs ? null
, libX11 ? null
, libXt ? null
, libXpm ? null
, libXaw ? null
, aquaterm ? false
, wxGTK ? null
, withWxGTK ? false, wxGTK ? null
, pango ? null
, cairo ? null
, pkgconfig ? null
, fontconfig ? null
, gnused ? null
, coreutils ? null }:
, coreutils ? null
, withQt ? false, qt4 }:
assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
let
withX = libX11 != null && !aquaterm;
withX = libX11 != null && !aquaterm && !stdenv.isDarwin;
in
stdenv.mkDerivation rec {
name = "gnuplot-4.6.3";
name = "gnuplot-4.6.5";
src = fetchurl {
url = "mirror://sourceforge/gnuplot/${name}.tar.gz";
sha256 = "1xd7gqdhlk7k1p9yyqf9vkk811nadc7m4si0q3nb6cpv4pxglpyz";
sha256 = "0bcsa5b33msddjs6mj0rhi81cs19h9p3ykixkkl70ifhqwqg0l75";
};
buildInputs =
[ zlib gd texinfo readline emacs lua texLive
pango cairo pkgconfig makeWrapper ]
++ stdenv.lib.optionals withX [ libX11 libXpm libXt libXaw ]
[ zlib gd texinfo4 readline pango cairo pkgconfig makeWrapper ]
++ lib.optional withTeXLive texLive
++ lib.optional withLua lua
++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
++ lib.optional withQt [ qt4 ]
# compiling with wxGTK causes a malloc (double free) error on darwin
++ stdenv.lib.optional (!stdenv.isDarwin) wxGTK;
++ lib.optional (withWxGTK && !stdenv.isDarwin) wxGTK;
configureFlags =
(if withX then ["--with-x"] else ["--without-x"])
++ (if aquaterm then ["--with-aquaterm"] else ["--without-aquaterm"])
;
++ (if withQt then ["--enable-qt"] else ["--disable-qt"])
++ (if aquaterm then ["--with-aquaterm"] else ["--without-aquaterm"]);
postInstall = stdenv.lib.optionalString withX ''
postInstall = lib.optionalString withX ''
wrapProgram $out/bin/gnuplot \
--prefix PATH : '${gnused}/bin' \
--prefix PATH : '${coreutils}/bin' \
@@ -47,8 +50,8 @@ stdenv.mkDerivation rec {
--run '. ${./set-gdfontpath-from-fontconfig.sh}'
'';
meta = with stdenv.lib; {
homepage = http://www.gnuplot.info;
meta = with lib; {
homepage = http://www.gnuplot.info/;
description = "A portable command-line driven graphing utility for many platforms";
hydraPlatforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ lovek323 ];
+1 -1
View File
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.nongnu.org/icoutils/;
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
license = "GPLv3+";
license = stdenv.lib.licenses.gpl3Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
+1 -1
View File
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.mcternan.me.uk/mscgen/;
description = "Convert Message Sequence Chart descriptions into PNG, SVG, or EPS images";
license = "GPLv2";
license = stdenv.lib.licenses.gpl2;
longDescription = ''
Mscgen is a small program that parses Message Sequence Chart
+1 -1
View File
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://aorlinsk2.free.fr/panomatic/;
description = "Tool that automates the creation of control points in Hugin";
license = "GPLv2+";
license = stdenv.lib.licenses.gpl2Plus;
};
}
+1 -1
View File
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
statistical capabilities. It allows significant user control
over colors, styles, options and details.'';
license = "GPLv2+";
license = stdenv.lib.licenses.gpl2Plus;
homepage = http://ploticus.sourceforge.net/;
};
}
+1 -1
View File
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/plotutils/;
license = "GPLv2+";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [
stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.ludo
+2 -2
View File
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libpng }:
stdenv.mkDerivation rec {
name = "pngcrush-1.7.73";
name = "pngcrush-1.7.76";
src = fetchurl {
url = "mirror://sourceforge/pmt/${name}-nolib.tar.xz";
sha256 = "073y19af0sw36nw7draqw9zfd6n7q7b84kscy26s76fhj5x2gb0l";
sha256 = "0jbv3ijc0nfhy6pkhv4dwbk2v488rwixd8rv1c7lfs59wblb44hv";
};
configurePhase = ''
+1
View File
@@ -22,5 +22,6 @@ stdenv.mkDerivation rec {
description = "pngquant converts 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved";
platforms = platforms.all;
license = licenses.bsd2; # Not exactly bsd2, but alike
broken = true;
};
}
+1 -1
View File
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.kernel.org/pub/software/graphics/pngtoico/;
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
license = "GPLv2+";
license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
+28 -10
View File
@@ -1,21 +1,39 @@
{stdenv, fetchurl}:
{stdenv, fetchgit, autoconf, automake, boost149, zlib, libpng, libjpeg, libtiff}:
let boost = boost149; in
stdenv.mkDerivation {
name = "povray-3.6";
name = "povray-3.7";
src = fetchurl {
url = http://www.povray.org/ftp/pub/povray/Old-Versions/Official-3.62/Unix/povray-3.6.tar.bz2;
sha256 = "4e8a7fecd44807343b6867e1f2440aa0e09613d6d69a7385ac48f4e5e7737a73";
src = fetchgit {
url = "https://github.com/POV-Ray/povray.git";
rev = "39ce8a24e50651904010dda15872d63be15d7c37";
sha256 = "0d56631d9daacb8967ed359025f56acf0bd505d1d9e752859e8ff8656ae72d20";
};
buildInputs = [ autoconf automake boost zlib libpng libjpeg libtiff ];
# the installPhase wants to put files into $HOME. I let it put the files
# to $TMPDIR, so they don't get into the $out
patchPhase = ''
sed -i -e 's/^povconfuser.*/povconfuser=$(TMPDIR)\/povray/' Makefile.{am,in};
postPatch = '' cd unix
./prebuild.sh
cd ..
sed -i -e 's/^povconfuser.*/povconfuser=$(TMPDIR)\/povray/' Makefile.{am,in}
sed -i -e 's/^povuser.*/povuser=$(TMPDIR)\/.povray/' Makefile.{am,in}
sed -i -e 's/^povowner.*/povowner=nobody/' Makefile.{am,in}
sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
'';
configureFlags = "COMPILED_BY='nix' --with-boost-libdir=${boost}/lib --with-boost-includedir=${boost}/include";
preInstall = ''
mkdir "$TMP/bin"
for i in chown chgrp; do
echo '#!/bin/sh' >> "$TMP/bin/$i"
chmod +x "$TMP/bin/$i"
PATH="$TMP/bin:$PATH"
done
'';
# I didn't use configureFlags because I couldn't pass the quotes properly
# for the COMPILED_BY.
configurePhase = "./configure --prefix=$out COMPILED_BY=\"nix\"";
meta = {
homepage = http://www.povray.org/;
+1 -1
View File
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "translates PostScript and PDF graphics into other vector formats";
homepage = http://www.helga-glunz.homepage.t-online.de/pstoedit;
license = "GPLv2";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};