Merge branch 'master' of github.com:nixos/nixpkgs into ryghcjs
Conflicts: pkgs/development/libraries/haskell/ghcjs-dom/default.nix pkgs/top-level/haskell-packages.nix
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.7.5";
|
||||
version = "3.7.6";
|
||||
name = "afflib-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/sshock/AFFLIBv3/";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "06dr3y6bd7vfjf0p9v85yp1xzg43x515zsa9587jcx7yy5h5ams5";
|
||||
sha256 = "11wpjbyja6cn0828sw3951s7dbly11abijk41my3cpy9wnvmiggh";
|
||||
name = "afflib-${version}-checkout";
|
||||
};
|
||||
|
||||
@@ -32,7 +32,6 @@ stdenv.mkDerivation rec {
|
||||
license = stdenv.lib.licenses.bsdOriginal;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
inherit version;
|
||||
downloadPage = "http://digitalcorpora.org/downloads/afflib/";
|
||||
updateWalker = true;
|
||||
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ stdenv.mkDerivation {
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-D__USE_BSD";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
|
||||
license = "LGPL";
|
||||
|
||||
@@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ cmake perl ];
|
||||
enableParallelBuilding = true;
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/include $out/lib
|
||||
|
||||
@@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ python bzip2 zlib gmp openssl boost ];
|
||||
|
||||
configurePhase = ''
|
||||
python configure.py --prefix=$out --with-gnump --with-bzip2 --with-zlib --with-openssl
|
||||
python configure.py --prefix=$out --with-gnump --with-bzip2 --with-zlib --with-openssl --cc=$CC
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
cd "$out"/lib/pkgconfig
|
||||
ln -s botan-*.pc botan.pc || true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libiconvOrEmpty, libintlOrEmpty
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, libiconvOrEmpty, libintlOrEmpty
|
||||
, expat, zlib, libpng, pixman, fontconfig, freetype, xlibs
|
||||
, gobjectSupport ? true, glib
|
||||
, xcbSupport ? true # no longer experimental since 1.12
|
||||
@@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
|
||||
sha1 = "53cf589b983412ea7f78feee2e1ba9cea6e3ebae";
|
||||
};
|
||||
|
||||
patches = [(fetchpatch {
|
||||
name = "fix-racket.diff";
|
||||
url = "http://cgit.freedesktop.org/cairo/patch/?id=2de69581c28bf115852037ca41eba13cb7335976";
|
||||
sha256 = "0mk2fd9fwxqzravlmnbbrzwak15wqspn7609y0yn6qh87va5i0x4";
|
||||
})];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ] ++ libintlOrEmpty ++ libiconvOrEmpty;
|
||||
|
||||
propagatedBuildInputs =
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cairomm-1.10.0";
|
||||
name = "cairomm-1.11.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cairographics.org/releases/${name}.tar.gz";
|
||||
sha256 = "13rrp96px95m6xnvmsaqb0wcqsnizg3bz334k0yhlyxf7v29d386";
|
||||
sha1 = "35e190a03f760924bece5dc1204cc36b3583c806";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
|
||||
|
||||
propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -10,6 +10,6 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = http://www.nongnu.org/confuse/;
|
||||
description = "Configuration file parser library";
|
||||
license = "BSD";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
{stdenv, fetchurl, cmake, openssl, boost}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cpp-netlib-0.9.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/cpp-netlib/cpp-netlib/${name}.tar.bz2";
|
||||
sha256 = "0llmiyp9l7byavwdyb7vpks27yfv3g85170bm81paps748bcyb1p";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake boost openssl ];
|
||||
|
||||
/* Tests fail to build ...
|
||||
https://github.com/cpp-netlib/cpp-netlib/issues/85
|
||||
|
||||
Once working, we could do:
|
||||
checkTarget = "test";
|
||||
doCheck = true;
|
||||
*/
|
||||
|
||||
preConfigure = ''
|
||||
sed -i /test/d CMakeLists.txt
|
||||
'';
|
||||
|
||||
/* The build phase just builds examples. That's at least some testing.
|
||||
That's how to install the lib - copy the headers. */
|
||||
installPhase = ''
|
||||
# We are at sourcepath/build
|
||||
mkdir -p $out/include
|
||||
cp -R ../boost $out/include/
|
||||
mkdir -p $out/lib
|
||||
cp -R libs/network/src/*.a $out/lib/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://cpp-netlib.github.com/;
|
||||
description = "Provides application layer network support at boost style";
|
||||
license = stdenv.lib.licenses.boost;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/libraries/czmq/default.nix
Normal file
20
pkgs/development/libraries/czmq/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{stdenv, fetchurl, zeromq4}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
baseName="czmq";
|
||||
version="3.0.0-rc1";
|
||||
name="${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.zeromq.org/${name}.tar.gz";
|
||||
sha256 = "1g3rk3fz7xzsbqcdcwn0x18nmiyr70k47kg00gdrq8g10li8mmd9";
|
||||
};
|
||||
|
||||
buildInputs = [ zeromq4 ];
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.mpl20;
|
||||
homepage = "http://czmq.zeromq.org/";
|
||||
description = "High-level C Binding for ZeroMQ";
|
||||
};
|
||||
}
|
||||
@@ -3,8 +3,8 @@
|
||||
, libX11, libICE, libSM, useX11 ? (stdenv.isLinux || stdenv.isDarwin) }:
|
||||
|
||||
let
|
||||
version = "1.8.10";
|
||||
sha256 = "13mgvwigm931r8n9363imnn0vn6dvc0m322k3p8fs5c8nvyqggqh";
|
||||
version = "1.8.12";
|
||||
sha256 = "07jhcalg00i2rx5zrgk73rg0vm7lzi5q5z2gscrbl999ipr2h569";
|
||||
|
||||
inherit (stdenv) lib;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{stdenv, fetchurl, cmake}:
|
||||
|
||||
let
|
||||
version = "3.2.2";
|
||||
version = "3.2.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "eigen-${version}";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
src = fetchurl {
|
||||
url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
|
||||
name = "eigen-${version}.tar.gz";
|
||||
sha256 = "0pwykjkz5n8wfyg9cjj7smgs54a9zc80m9gi106w43n2m72ni39i";
|
||||
sha256 = "14l5hlgxxymwyava5mx97ipyk3ma3alaj586aaz1xh1r700a7sxm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://www.opensc-project.org/engine_pkcs11/;
|
||||
license = "BSD";
|
||||
license = stdenv.lib.licenses.bsdOriginal;
|
||||
description = "Engine for OpenSSL to use smart cards in PKCS#11 format";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
|
||||
combination of description and tag/value pairs.
|
||||
'';
|
||||
homepage = "http://www.balabit.com/support/community/products/";
|
||||
license = "BSD";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.3.3";
|
||||
version = "2.2.11";
|
||||
name = "ffmpeg-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "0ik4c06anh49r5b0d3rq9if4zl6ysjsa341655kzw22fl880sk5v";
|
||||
sha256 = "06sli7xvihh97ss6a2mkdq4dcj3rg1w8zffrmjfc1hvyjxhc8f2r";
|
||||
};
|
||||
|
||||
subtitleSupport = config.ffmpeg.subtitle or true;
|
||||
@@ -5,12 +5,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.4.4";
|
||||
version = "2.5.1";
|
||||
name = "ffmpeg-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "1z2a940fjryabwqzg5pw5k1r7ivkqdch4p2wbihb5f0z43043l4s";
|
||||
sha256 = "0lpgqw3pcsxjnj167fgsp70zycbhndhcji7icvj4i58hz6r51kq3";
|
||||
};
|
||||
|
||||
subtitleSupport = config.ffmpeg.subtitle or true;
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
homepage = http://people.cs.ubc.ca/~mariusm/flann/;
|
||||
license = "BSD";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
description = "Fast approximate nearest neighbor searches in high dimensional spaces";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
||||
@@ -5,7 +5,7 @@ let
|
||||
bits = stdenv.lib.optionalString (stdenv.system == "x86_64-linux") "64";
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath
|
||||
[ stdenv.gcc.libc stdenv.gcc.gcc ] + ":${stdenv.gcc.gcc}/lib64";
|
||||
[ stdenv.cc.libc stdenv.cc.gcc ] + ":${stdenv.cc.gcc}/lib64";
|
||||
patchLib = x: "patchelf --set-rpath ${libPath} ${x}";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
|
||||
description = "A YAML parser and emitter for C++";
|
||||
homepage = https://code.google.com/p/yaml-cpp/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
# 32bit is not supported: https://github.com/facebook/folly/issues/103
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = maintainers.abbradar;
|
||||
};
|
||||
}
|
||||
|
||||
35
pkgs/development/libraries/fontconfig-ultimate/confd.nix
Normal file
35
pkgs/development/libraries/fontconfig-ultimate/confd.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fontconfig-ultimate-20141123";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bohoomil/fontconfig-ultimate/archive/2014-11-23.tar.gz";
|
||||
sha256 = "0czfm3hxc41x5mscwrba7p1vhm2w62j1qg7z8kfdrf21z8fvgznw";
|
||||
};
|
||||
|
||||
phases = "$prePhases unpackPhase installPhase $postPhases";
|
||||
installPhase = ''
|
||||
mkdir -p $out/etc/fonts/conf.d
|
||||
cp conf.d.infinality/*.conf $out/etc/fonts/conf.d
|
||||
|
||||
# Base rendering settings will be determined by NixOS module
|
||||
rm $out/etc/fonts/conf.d/10-base-rendering.conf
|
||||
|
||||
# Options controlled by NixOS module
|
||||
rm $out/etc/fonts/conf.d/35-repl-custom.conf
|
||||
rm $out/etc/fonts/conf.d/38-repl-*.conf
|
||||
rm $out/etc/fonts/conf.d/82-*.conf
|
||||
rm $out/etc/fonts/conf.d/83-*.conf
|
||||
|
||||
# Inclusion of local and user configs handled by global configuration
|
||||
rm $out/etc/fonts/conf.d/97-local.conf
|
||||
rm $out/etc/fonts/conf.d/98-user.conf
|
||||
|
||||
cp fontconfig_patches/fonts-settings/*.conf $out/etc/fonts/conf.d
|
||||
|
||||
mkdir -p $out/etc/fonts/presets/{combi,free,ms}
|
||||
cp fontconfig_patches/combi/*.conf $out/etc/fonts/presets/combi
|
||||
cp fontconfig_patches/free/*.conf $out/etc/fonts/presets/free
|
||||
cp fontconfig_patches/ms/*.conf $out/etc/fonts/presets/ms
|
||||
'';
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{ callPackage }:
|
||||
|
||||
{
|
||||
confd = callPackage ./confd.nix {};
|
||||
rendering = callPackage ./rendering.nix {};
|
||||
}
|
||||
212
pkgs/development/libraries/fontconfig-ultimate/rendering.nix
Normal file
212
pkgs/development/libraries/fontconfig-ultimate/rendering.nix
Normal file
@@ -0,0 +1,212 @@
|
||||
{}:
|
||||
|
||||
rec {
|
||||
default = {
|
||||
INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11";
|
||||
INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0";
|
||||
INFINALITY_FT_FRINGE_FILTER_STRENGTH="0";
|
||||
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10";
|
||||
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10";
|
||||
INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="25";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="0 100";
|
||||
INFINALITY_FT_BRIGHTNESS="0";
|
||||
INFINALITY_FT_CONTRAST="0";
|
||||
INFINALITY_FT_USE_VARIOUS_TWEAKS="true";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true";
|
||||
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true";
|
||||
INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0";
|
||||
INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0";
|
||||
INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0";
|
||||
INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0";
|
||||
};
|
||||
|
||||
osx = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="03 32 38 32 03";
|
||||
INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="25";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 80";
|
||||
INFINALITY_FT_BRIGHTNESS="10";
|
||||
INFINALITY_FT_CONTRAST="20";
|
||||
INFINALITY_FT_USE_VARIOUS_TWEAKS="false";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="0";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="8";
|
||||
INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="16";
|
||||
};
|
||||
|
||||
ipad = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="00 00 100 00 00";
|
||||
INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="100";
|
||||
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="0";
|
||||
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="0";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 80";
|
||||
INFINALITY_FT_USE_VARIOUS_TWEAKS="false";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="0";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
};
|
||||
|
||||
ubuntu = default // {
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 80";
|
||||
INFINALITY_FT_BRIGHTNESS="-10";
|
||||
INFINALITY_FT_CONTRAST="15";
|
||||
INFINALITY_FT_USE_VARIOUS_TWEAKS="false";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="0";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
};
|
||||
|
||||
linux = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="06 25 44 25 06";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
};
|
||||
|
||||
winxplight = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="06 25 44 25 06";
|
||||
INFINALITY_FT_FRINGE_FILTER_STRENGTH="100";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="65";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="15";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="15";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 120";
|
||||
INFINALITY_FT_BRIGHTNESS="20";
|
||||
INFINALITY_FT_CONTRAST="30";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="30";
|
||||
};
|
||||
|
||||
win7light = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="20 25 38 25 05";
|
||||
INFINALITY_FT_FRINGE_FILTER_STRENGTH="100";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="100";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 160";
|
||||
INFINALITY_FT_CONTRAST="20";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="30";
|
||||
};
|
||||
|
||||
winxp = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="06 25 44 25 06";
|
||||
INFINALITY_FT_FRINGE_FILTER_STRENGTH="100";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="65";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="15";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="15";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 120";
|
||||
INFINALITY_FT_BRIGHTNESS="10";
|
||||
INFINALITY_FT_CONTRAST="20";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="30";
|
||||
};
|
||||
|
||||
win7 = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="20 25 42 25 06";
|
||||
INFINALITY_FT_FRINGE_FILTER_STRENGTH="100";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="65";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_GAMMA_CORRECTION="1000 120";
|
||||
INFINALITY_FT_BRIGHTNESS="10";
|
||||
INFINALITY_FT_CONTRAST="20";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
};
|
||||
|
||||
vanilla = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="06 25 38 25 06";
|
||||
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="0";
|
||||
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="0";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_USE_VARIOUS_TWEAKS="false";
|
||||
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="false";
|
||||
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="0";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
};
|
||||
|
||||
classic = default // {
|
||||
INFINALITY_FT_FILTER_PARAMS="06 25 38 25 06";
|
||||
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="0";
|
||||
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="0";
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
};
|
||||
|
||||
nudge = default // {
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="30";
|
||||
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="false";
|
||||
};
|
||||
|
||||
push = default // {
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="75";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="50";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="30";
|
||||
};
|
||||
|
||||
infinality = default // {
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="5";
|
||||
};
|
||||
|
||||
shove = default // {
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0";
|
||||
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="100";
|
||||
INFINALITY_FT_STEM_FITTING_STRENGTH="100";
|
||||
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0";
|
||||
};
|
||||
|
||||
sharpened = default // {
|
||||
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="65";
|
||||
};
|
||||
|
||||
ultimate = {
|
||||
INFINALITY_FT_FILTER_PARAMS="08 24 36 24 08";
|
||||
INFINALITY_FT_FRINGE_FILTER_STRENGTH="50";
|
||||
INFINALITY_FT_USE_VARIOUS_TWEAKS="true";
|
||||
INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="20";
|
||||
};
|
||||
|
||||
ultimate-lighter = ultimate // {
|
||||
INFINALITY_FT_FILTER_PARAMS="06 22 36 22 06";
|
||||
};
|
||||
|
||||
ultimate-lightest = ultimate // {
|
||||
INFINALITY_FT_FILTER_PARAMS="04 22 38 22 04";
|
||||
};
|
||||
|
||||
ultimate-darker = ultimate // {
|
||||
INFINALITY_FT_FILTER_PARAMS="10 25 37 25 10";
|
||||
};
|
||||
|
||||
ultimate-darkest = ultimate // {
|
||||
INFINALITY_FT_FILTER_PARAMS="12 28 42 28 12";
|
||||
};
|
||||
}
|
||||
@@ -23,14 +23,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "16baa4g5lswkyjlyf1h5lwc0zjap7c4d8grw79349a5w6dsl8qnw";
|
||||
};
|
||||
|
||||
infinality_patch =
|
||||
let subvers = "1";
|
||||
in fetchurl {
|
||||
url = http://www.infinality.net/fedora/linux/zips/fontconfig-infinality-1-20130104_1.tar.bz2;
|
||||
sha256 = "1fm5xx0mx2243jrq5rxk4v0ajw2nawpj23399h710bx6hd1rviq7";
|
||||
}
|
||||
;
|
||||
|
||||
patches = [
|
||||
(fetchpatch ({
|
||||
url = "http://cgit.freedesktop.org/fontconfig/patch/?id=f44157c809d280e2a0ce87fb078fc4b278d24a67";
|
||||
@@ -71,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||
installFlags = "fc_cachedir=$(TMPDIR)/dummy RUN_FC_CACHE_TEST=false";
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/etc/fonts" && tar xvf ${infinality_patch}
|
||||
cd "$out/etc/fonts"
|
||||
rm conf.d/{50-user,51-local}.conf
|
||||
"${libxslt}/bin/xsltproc" --stringparam fontDirectories "${fontbhttf}" \
|
||||
--stringparam fontconfig "$out" \
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
<include><xsl:value-of select="$fontconfig" />/etc/fonts/conf.d</include>
|
||||
<!-- versioned system-wide config -->
|
||||
<include ignore_missing="yes">/etc/fonts/<xsl:value-of select="$fontconfigConfigVersion" />/conf.d</include>
|
||||
<!-- look into user config -->
|
||||
<include prefix="xdg" ignore_missing="yes">fontconfig/conf.d</include>
|
||||
|
||||
<!-- the first cachedir will be used to store the cache -->
|
||||
<cachedir prefix="xdg">fontconfig</cachedir>
|
||||
|
||||
@@ -7,30 +7,29 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.5.3";
|
||||
version = "2.5.4";
|
||||
|
||||
fetch_bohoomil = name: sha256: fetchpatch {
|
||||
url = https://raw.githubusercontent.com/bohoomil/fontconfig-ultimate/8a155db28f264520596cc3e76eb44824bdb30f8e/01_freetype2-iu/ + name;
|
||||
url = https://raw.githubusercontent.com/bohoomil/fontconfig-ultimate/e4c99bcf5ac9595e2c64393c0661377685c0ad24/01_freetype2-iu/ + name;
|
||||
inherit sha256;
|
||||
};
|
||||
in
|
||||
with { inherit (stdenv.lib) optional optionalString; };
|
||||
with { inherit (stdenv.lib) optional optionals optionalString; };
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freetype-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/freetype/${name}.tar.bz2";
|
||||
sha256 = "0pppcn73b5pwd7zdi9yfx16f5i93y18q7q4jmlkwmwrfsllqp160";
|
||||
sha256 = "1fxsbk4lp6ymifldzrb86g3x6mz771jmrzphkz92mcrkddk2qkiv";
|
||||
};
|
||||
|
||||
patches = [ ./enable-validation.patch ] # from Gentoo
|
||||
++ [
|
||||
(fetch_bohoomil "freetype-2.5.3-pkgconfig.patch" "1dpfdh8kmka3gzv14glz7l79i545zizah6wma937574v5z2iy3nn")
|
||||
(fetch_bohoomil "fix_segfault_with_harfbuzz.diff" "1nx36inqrw717b86cla2miprdb3hii4vndw95k0jbbhfmax9k6fy")
|
||||
]
|
||||
++ optional useEncumberedCode
|
||||
(fetch_bohoomil "infinality-2.5.3.patch" "0mxiybcb4wwbicrjiinh1b95rv543bh05sdqk1v0ipr3fxfrb47q")
|
||||
;
|
||||
patches = [ ./enable-validation.patch ] # from Gentoo, bohoomil has the same patch as well
|
||||
++ [ ./fix-pcf.patch ]
|
||||
++ optionals useEncumberedCode [
|
||||
(fetch_bohoomil "02-ftsmooth-2.5.4.patch" "11w4wb7gwgpijc788mpkxj92d7rfdwrdv7jzrpxwv5w5cgpx9iw9")
|
||||
(fetch_bohoomil "03-upstream-2014.12.07.patch" "0gq7y63mg3gc5z69nfkv2kl7xad0bjzsvnl6j1j9q79jjbvaqdq0")
|
||||
(fetch_bohoomil "04-infinality-2.5.4-2014.12.07.patch" "1gph7z9s2221gy5dxn01v3lga0m9yib8yqsaqj5km74bqx1vlalh")
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ zlib bzip2 libpng ]; # needed when linking against freetype
|
||||
# dependence on harfbuzz is looser than the reverse dependence
|
||||
|
||||
132
pkgs/development/libraries/freetype/fix-pcf.patch
Normal file
132
pkgs/development/libraries/freetype/fix-pcf.patch
Normal file
@@ -0,0 +1,132 @@
|
||||
Upstream fixes for pcf fonts.
|
||||
|
||||
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=74af85c4b62b35e55b0ce9dec55ee10cbc4962a2
|
||||
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=06842c7b49c21f13c0ab61201daab6ff5a358fcc
|
||||
|
||||
diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c
|
||||
index 998cbed..e3caf82 100644
|
||||
--- a/src/pcf/pcfread.c
|
||||
+++ b/src/pcf/pcfread.c
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
FreeType font driver for pcf fonts
|
||||
|
||||
- Copyright 2000-2010, 2012, 2013 by
|
||||
+ Copyright 2000-2010, 2012-2014 by
|
||||
Francesco Zappa Nardelli
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
@@ -78,7 +78,7 @@ THE SOFTWARE.
|
||||
FT_FRAME_START( 16 ),
|
||||
FT_FRAME_ULONG_LE( type ),
|
||||
FT_FRAME_ULONG_LE( format ),
|
||||
- FT_FRAME_ULONG_LE( size ),
|
||||
+ FT_FRAME_ULONG_LE( size ), /* rounded up to a multiple of 4 */
|
||||
FT_FRAME_ULONG_LE( offset ),
|
||||
FT_FRAME_END
|
||||
};
|
||||
@@ -95,9 +95,11 @@ THE SOFTWARE.
|
||||
FT_Memory memory = FT_FACE( face )->memory;
|
||||
FT_UInt n;
|
||||
|
||||
+ FT_ULong size;
|
||||
|
||||
- if ( FT_STREAM_SEEK ( 0 ) ||
|
||||
- FT_STREAM_READ_FIELDS ( pcf_toc_header, toc ) )
|
||||
+
|
||||
+ if ( FT_STREAM_SEEK( 0 ) ||
|
||||
+ FT_STREAM_READ_FIELDS( pcf_toc_header, toc ) )
|
||||
return FT_THROW( Cannot_Open_Resource );
|
||||
|
||||
if ( toc->version != PCF_FILE_VERSION ||
|
||||
@@ -154,14 +156,35 @@ THE SOFTWARE.
|
||||
break;
|
||||
}
|
||||
|
||||
- /* we now check whether the `size' and `offset' values are reasonable: */
|
||||
- /* `offset' + `size' must not exceed the stream size */
|
||||
+ /*
|
||||
+ * We now check whether the `size' and `offset' values are reasonable:
|
||||
+ * `offset' + `size' must not exceed the stream size.
|
||||
+ *
|
||||
+ * Note, however, that X11's `pcfWriteFont' routine (used by the
|
||||
+ * `bdftopcf' program to create PDF font files) has two special
|
||||
+ * features.
|
||||
+ *
|
||||
+ * - It always assigns the accelerator table a size of 100 bytes in the
|
||||
+ * TOC, regardless of its real size, which can vary between 34 and 72
|
||||
+ * bytes.
|
||||
+ *
|
||||
+ * - Due to the way the routine is designed, it ships out the last font
|
||||
+ * table with its real size, ignoring the TOC's size value. Since
|
||||
+ * the TOC size values are always rounded up to a multiple of 4, the
|
||||
+ * difference can be up to three bytes for all tables except the
|
||||
+ * accelerator table, for which the difference can be as large as 66
|
||||
+ * bytes.
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
tables = face->toc.tables;
|
||||
- for ( n = 0; n < toc->count; n++ )
|
||||
+ size = stream->size;
|
||||
+
|
||||
+ for ( n = 0; n < toc->count - 1; n++ )
|
||||
{
|
||||
/* we need two checks to avoid overflow */
|
||||
- if ( ( tables->size > stream->size ) ||
|
||||
- ( tables->offset > stream->size - tables->size ) )
|
||||
+ if ( ( tables->size > size ) ||
|
||||
+ ( tables->offset > size - tables->size ) )
|
||||
{
|
||||
error = FT_THROW( Invalid_Table );
|
||||
goto Exit;
|
||||
@@ -169,6 +192,15 @@ THE SOFTWARE.
|
||||
tables++;
|
||||
}
|
||||
|
||||
+ /* no check of `tables->size' for last table element ... */
|
||||
+ if ( ( tables->offset > size ) )
|
||||
+ {
|
||||
+ error = FT_THROW( Invalid_Table );
|
||||
+ goto Exit;
|
||||
+ }
|
||||
+ /* ... instead, we adjust `tables->size' to the real value */
|
||||
+ tables->size = size - tables->offset;
|
||||
+
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
|
||||
{
|
||||
@@ -733,8 +765,8 @@ THE SOFTWARE.
|
||||
|
||||
FT_TRACE4(( " number of bitmaps: %d\n", nbitmaps ));
|
||||
|
||||
- /* XXX: PCF_Face->nmetrics is singed FT_Long, see pcf.h */
|
||||
- if ( face->nmetrics < 0 || nbitmaps != ( FT_ULong )face->nmetrics )
|
||||
+ /* XXX: PCF_Face->nmetrics is signed FT_Long, see pcf.h */
|
||||
+ if ( face->nmetrics < 0 || nbitmaps != (FT_ULong)face->nmetrics )
|
||||
return FT_THROW( Invalid_File_Format );
|
||||
|
||||
if ( FT_NEW_ARRAY( offsets, nbitmaps ) )
|
||||
diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c
|
||||
index e3caf82..a29a9e3 100644
|
||||
--- a/src/pcf/pcfread.c
|
||||
+++ b/src/pcf/pcfread.c
|
||||
@@ -192,14 +192,15 @@ THE SOFTWARE.
|
||||
tables++;
|
||||
}
|
||||
|
||||
- /* no check of `tables->size' for last table element ... */
|
||||
+ /* only check `tables->offset' for last table element ... */
|
||||
if ( ( tables->offset > size ) )
|
||||
{
|
||||
error = FT_THROW( Invalid_Table );
|
||||
goto Exit;
|
||||
}
|
||||
- /* ... instead, we adjust `tables->size' to the real value */
|
||||
- tables->size = size - tables->offset;
|
||||
+ /* ... and adjust `tables->size' to the real value if necessary */
|
||||
+ if ( tables->size > size - tables->offset )
|
||||
+ tables->size = size - tables->offset;
|
||||
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
|
||||
@@ -1,28 +1,30 @@
|
||||
{ stdenv, fetchurl, composableDerivation, unzip, libjpeg, libtiff, zlib
|
||||
, postgresql, mysql, libgeotiff, python, pythonPackages}:
|
||||
, postgresql, mysql, libgeotiff, python, pythonPackages, proj}:
|
||||
|
||||
composableDerivation.composableDerivation {} (fixed: rec {
|
||||
name = "gdal-1.11.0";
|
||||
version = "1.11.1";
|
||||
name = "gdal-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.osgeo.org/gdal/1.11.0/${name}.tar.gz";
|
||||
md5 = "9fdf0f2371a3e9863d83e69951c71ec4";
|
||||
url = "http://download.osgeo.org/gdal/${version}/${name}.tar.gz";
|
||||
sha256 = "0h1kib2pzv4nbppdnxv6vhngvk9ic531y8rzcwb8bg6am125jszl";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip libjpeg libtiff python pythonPackages.numpy];
|
||||
buildInputs = [ unzip libjpeg libtiff python pythonPackages.numpy proj];
|
||||
|
||||
# don't use optimization for gcc >= 4.3. That's said to be causeing segfaults
|
||||
preConfigure = "export CFLAGS=-O0; export CXXFLAGS=-O0";
|
||||
|
||||
configureFlags = [
|
||||
"--with-jpeg=${libjpeg}"
|
||||
"--with-libtiff=${libtiff}" # optional (without largetiff support
|
||||
"--with-libz=${zlib}" # optional
|
||||
"--with-libtiff=${libtiff}" # optional (without largetiff support
|
||||
"--with-libz=${zlib}" # optional
|
||||
|
||||
"--with-pg=${postgresql}/bin/pg_config"
|
||||
"--with-mysql=${mysql}/bin/mysql_config"
|
||||
"--with-geotiff=${libgeotiff}"
|
||||
"--with-python" # optional
|
||||
"--with-python" # optional
|
||||
"--with-static-proj4=${proj}" # optional
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -35,8 +35,8 @@ stdenv.mkDerivation (rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
crossAttrs = {
|
||||
buildInputs = stdenv.lib.optional (stdenv.gccCross.libc ? libiconv)
|
||||
stdenv.gccCross.libc.libiconv.crossDrv;
|
||||
buildInputs = stdenv.lib.optional (stdenv.ccCross.libc ? libiconv)
|
||||
stdenv.ccCross.libc.libiconv.crossDrv;
|
||||
# Gettext fails to guess the cross compiler
|
||||
configureFlags = "CXX=${stdenv.cross.config}-g++";
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
assert stdenv.gcc.gcc != null;
|
||||
assert !stdenv.isDarwin -> stdenv.cc ? gcc;
|
||||
|
||||
# TODO:
|
||||
# * Add gio-module-fam
|
||||
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
|
||||
preCheck = optionalString doCheck
|
||||
# libgcc_s.so.1 must be installed for pthread_cancel to work
|
||||
# also point to the glib/.libs path
|
||||
'' export LD_LIBRARY_PATH="${stdenv.gcc.gcc}/lib:$NIX_BUILD_TOP/${name}/glib/.libs:$LD_LIBRARY_PATH"
|
||||
'' export LD_LIBRARY_PATH="${stdenv.cc.gcc}/lib:$NIX_BUILD_TOP/${name}/glib/.libs:$LD_LIBRARY_PATH"
|
||||
export TZDIR="${tzdata}/share/zoneinfo"
|
||||
export XDG_CACHE_HOME="$TMP"
|
||||
export XDG_RUNTIME_HOME="$TMP"
|
||||
|
||||
@@ -1,170 +0,0 @@
|
||||
Picked from upstream commits, but excluding changes to news and tests:
|
||||
d183645616b0533 and 4e8f95a0df7c2
|
||||
Also see https://sourceware.org/bugzilla/show_bug.cgi?id=17137
|
||||
|
||||
diff --git a/locale/setlocale.c b/locale/setlocale.c
|
||||
index 9458468..6455b8b 100644
|
||||
--- a/locale/setlocale.c
|
||||
+++ b/locale/setlocale.c
|
||||
@@ -272,6 +272,8 @@ setlocale (int category, const char *locale)
|
||||
of entries of the form `CATEGORY=VALUE'. */
|
||||
const char *newnames[__LC_LAST];
|
||||
struct __locale_data *newdata[__LC_LAST];
|
||||
+ /* Copy of the locale argument, for in-place splitting. */
|
||||
+ char *locale_copy = NULL;
|
||||
|
||||
/* Set all name pointers to the argument name. */
|
||||
for (category = 0; category < __LC_LAST; ++category)
|
||||
@@ -281,7 +283,13 @@ setlocale (int category, const char *locale)
|
||||
if (__glibc_unlikely (strchr (locale, ';') != NULL))
|
||||
{
|
||||
/* This is a composite name. Make a copy and split it up. */
|
||||
- char *np = strdupa (locale);
|
||||
+ locale_copy = strdup (locale);
|
||||
+ if (__glibc_unlikely (locale_copy == NULL))
|
||||
+ {
|
||||
+ __libc_rwlock_unlock (__libc_setlocale_lock);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ char *np = locale_copy;
|
||||
char *cp;
|
||||
int cnt;
|
||||
|
||||
@@ -299,6 +307,7 @@ setlocale (int category, const char *locale)
|
||||
{
|
||||
error_return:
|
||||
__libc_rwlock_unlock (__libc_setlocale_lock);
|
||||
+ free (locale_copy);
|
||||
|
||||
/* Bogus category name. */
|
||||
ERROR_RETURN;
|
||||
@@ -391,8 +400,9 @@ setlocale (int category, const char *locale)
|
||||
/* Critical section left. */
|
||||
__libc_rwlock_unlock (__libc_setlocale_lock);
|
||||
|
||||
- /* Free the resources (the locale path variable). */
|
||||
+ /* Free the resources. */
|
||||
free (locale_path);
|
||||
+ free (locale_copy);
|
||||
|
||||
return composite;
|
||||
}
|
||||
diff --git a/locale/findlocale.c b/locale/findlocale.c
|
||||
index bbaf708..22e8b53 100644
|
||||
--- a/locale/findlocale.c
|
||||
+++ b/locale/findlocale.c
|
||||
@@ -17,6 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <assert.h>
|
||||
+#include <errno.h>
|
||||
#include <locale.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -57,6 +58,45 @@ struct loaded_l10nfile *_nl_locale_file_list[__LC_LAST];
|
||||
|
||||
const char _nl_default_locale_path[] attribute_hidden = LOCALEDIR;
|
||||
|
||||
+/* Checks if the name is actually present, that is, not NULL and not
|
||||
+ empty. */
|
||||
+static inline int
|
||||
+name_present (const char *name)
|
||||
+{
|
||||
+ return name != NULL && name[0] != '\0';
|
||||
+}
|
||||
+
|
||||
+/* Checks that the locale name neither extremely long, nor contains a
|
||||
+ ".." path component (to prevent directory traversal). */
|
||||
+static inline int
|
||||
+valid_locale_name (const char *name)
|
||||
+{
|
||||
+ /* Not set. */
|
||||
+ size_t namelen = strlen (name);
|
||||
+ /* Name too long. The limit is arbitrary and prevents stack overflow
|
||||
+ issues later. */
|
||||
+ if (__glibc_unlikely (namelen > 255))
|
||||
+ return 0;
|
||||
+ /* Directory traversal attempt. */
|
||||
+ static const char slashdot[4] = {'/', '.', '.', '/'};
|
||||
+ if (__glibc_unlikely (memmem (name, namelen,
|
||||
+ slashdot, sizeof (slashdot)) != NULL))
|
||||
+ return 0;
|
||||
+ if (namelen == 2 && __glibc_unlikely (name[0] == '.' && name [1] == '.'))
|
||||
+ return 0;
|
||||
+ if (namelen >= 3
|
||||
+ && __glibc_unlikely (((name[0] == '.'
|
||||
+ && name[1] == '.'
|
||||
+ && name[2] == '/')
|
||||
+ || (name[namelen - 3] == '/'
|
||||
+ && name[namelen - 2] == '.'
|
||||
+ && name[namelen - 1] == '.'))))
|
||||
+ return 0;
|
||||
+ /* If there is a slash in the name, it must start with one. */
|
||||
+ if (__glibc_unlikely (memchr (name, '/', namelen) != NULL) && name[0] != '/')
|
||||
+ return 0;
|
||||
+ return 1;
|
||||
+}
|
||||
|
||||
struct __locale_data *
|
||||
internal_function
|
||||
@@ -65,7 +105,7 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len,
|
||||
{
|
||||
int mask;
|
||||
/* Name of the locale for this category. */
|
||||
- char *loc_name;
|
||||
+ char *loc_name = (char *) *name;
|
||||
const char *language;
|
||||
const char *modifier;
|
||||
const char *territory;
|
||||
@@ -73,31 +113,39 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len,
|
||||
const char *normalized_codeset;
|
||||
struct loaded_l10nfile *locale_file;
|
||||
|
||||
- if ((*name)[0] == '\0')
|
||||
+ if (loc_name[0] == '\0')
|
||||
{
|
||||
/* The user decides which locale to use by setting environment
|
||||
variables. */
|
||||
- *name = getenv ("LC_ALL");
|
||||
- if (*name == NULL || (*name)[0] == '\0')
|
||||
- *name = getenv (_nl_category_names.str
|
||||
+ loc_name = getenv ("LC_ALL");
|
||||
+ if (!name_present (loc_name))
|
||||
+ loc_name = getenv (_nl_category_names.str
|
||||
+ _nl_category_name_idxs[category]);
|
||||
- if (*name == NULL || (*name)[0] == '\0')
|
||||
- *name = getenv ("LANG");
|
||||
+ if (!name_present (loc_name))
|
||||
+ loc_name = getenv ("LANG");
|
||||
+ if (!name_present (loc_name))
|
||||
+ loc_name = (char *) _nl_C_name;
|
||||
}
|
||||
|
||||
- if (*name == NULL || (*name)[0] == '\0'
|
||||
- || (__builtin_expect (__libc_enable_secure, 0)
|
||||
- && strchr (*name, '/') != NULL))
|
||||
- *name = (char *) _nl_C_name;
|
||||
+ /* We used to fall back to the C locale if the name contains a slash
|
||||
+ character '/', but we now check for directory traversal in
|
||||
+ valid_locale_name, so this is no longer necessary. */
|
||||
|
||||
- if (__builtin_expect (strcmp (*name, _nl_C_name), 1) == 0
|
||||
- || __builtin_expect (strcmp (*name, _nl_POSIX_name), 1) == 0)
|
||||
+ if (__builtin_expect (strcmp (loc_name, _nl_C_name), 1) == 0
|
||||
+ || __builtin_expect (strcmp (loc_name, _nl_POSIX_name), 1) == 0)
|
||||
{
|
||||
/* We need not load anything. The needed data is contained in
|
||||
the library itself. */
|
||||
*name = (char *) _nl_C_name;
|
||||
return _nl_C[category];
|
||||
}
|
||||
+ else if (!valid_locale_name (loc_name))
|
||||
+ {
|
||||
+ __set_errno (EINVAL);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
+ *name = loc_name;
|
||||
|
||||
/* We really have to load some data. First we try the archive,
|
||||
but only if there was no LOCPATH environment variable specified. */
|
||||
@@ -1,206 +0,0 @@
|
||||
http://anonscm.debian.org/viewvc/pkg-glibc/glibc-package/trunk/debian/patches/any/cvs-CVE-2014-5119.diff?revision=6248&view=co
|
||||
|
||||
commit a1a6a401ab0a3c9f15fb7eaebbdcee24192254e8
|
||||
Author: Florian Weimer <fweimer@redhat.com>
|
||||
Date: Tue Aug 26 19:38:59 2014 +0200
|
||||
|
||||
__gconv_translit_find: Disable function [BZ #17187]
|
||||
|
||||
This functionality has never worked correctly, and the implementation
|
||||
contained a security vulnerability (CVE-2014-5119).
|
||||
|
||||
2014-08-26 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
[BZ #17187]
|
||||
* iconv/gconv_trans.c (struct known_trans, search_tree, lock,
|
||||
trans_compare, open_translit, __gconv_translit_find):
|
||||
Remove module loading code.
|
||||
|
||||
--- a/iconv/gconv_trans.c
|
||||
+++ b/iconv/gconv_trans.c
|
||||
@@ -238,181 +238,12 @@ __gconv_transliterate (struct __gconv_step *step,
|
||||
return __GCONV_ILLEGAL_INPUT;
|
||||
}
|
||||
|
||||
-
|
||||
-/* Structure to represent results of found (or not) transliteration
|
||||
- modules. */
|
||||
-struct known_trans
|
||||
-{
|
||||
- /* This structure must remain the first member. */
|
||||
- struct trans_struct info;
|
||||
-
|
||||
- char *fname;
|
||||
- void *handle;
|
||||
- int open_count;
|
||||
-};
|
||||
-
|
||||
-
|
||||
-/* Tree with results of previous calls to __gconv_translit_find. */
|
||||
-static void *search_tree;
|
||||
-
|
||||
-/* We modify global data. */
|
||||
-__libc_lock_define_initialized (static, lock);
|
||||
-
|
||||
-
|
||||
-/* Compare two transliteration entries. */
|
||||
-static int
|
||||
-trans_compare (const void *p1, const void *p2)
|
||||
-{
|
||||
- const struct known_trans *s1 = (const struct known_trans *) p1;
|
||||
- const struct known_trans *s2 = (const struct known_trans *) p2;
|
||||
-
|
||||
- return strcmp (s1->info.name, s2->info.name);
|
||||
-}
|
||||
-
|
||||
-
|
||||
-/* Open (maybe reopen) the module named in the struct. Get the function
|
||||
- and data structure pointers we need. */
|
||||
-static int
|
||||
-open_translit (struct known_trans *trans)
|
||||
-{
|
||||
- __gconv_trans_query_fct queryfct;
|
||||
-
|
||||
- trans->handle = __libc_dlopen (trans->fname);
|
||||
- if (trans->handle == NULL)
|
||||
- /* Not available. */
|
||||
- return 1;
|
||||
-
|
||||
- /* Find the required symbol. */
|
||||
- queryfct = __libc_dlsym (trans->handle, "gconv_trans_context");
|
||||
- if (queryfct == NULL)
|
||||
- {
|
||||
- /* We cannot live with that. */
|
||||
- close_and_out:
|
||||
- __libc_dlclose (trans->handle);
|
||||
- trans->handle = NULL;
|
||||
- return 1;
|
||||
- }
|
||||
-
|
||||
- /* Get the context. */
|
||||
- if (queryfct (trans->info.name, &trans->info.csnames, &trans->info.ncsnames)
|
||||
- != 0)
|
||||
- goto close_and_out;
|
||||
-
|
||||
- /* Of course we also have to have the actual function. */
|
||||
- trans->info.trans_fct = __libc_dlsym (trans->handle, "gconv_trans");
|
||||
- if (trans->info.trans_fct == NULL)
|
||||
- goto close_and_out;
|
||||
-
|
||||
- /* Now the optional functions. */
|
||||
- trans->info.trans_init_fct =
|
||||
- __libc_dlsym (trans->handle, "gconv_trans_init");
|
||||
- trans->info.trans_context_fct =
|
||||
- __libc_dlsym (trans->handle, "gconv_trans_context");
|
||||
- trans->info.trans_end_fct =
|
||||
- __libc_dlsym (trans->handle, "gconv_trans_end");
|
||||
-
|
||||
- trans->open_count = 1;
|
||||
-
|
||||
- return 0;
|
||||
-}
|
||||
-
|
||||
-
|
||||
int
|
||||
internal_function
|
||||
__gconv_translit_find (struct trans_struct *trans)
|
||||
{
|
||||
- struct known_trans **found;
|
||||
- const struct path_elem *runp;
|
||||
- int res = 1;
|
||||
-
|
||||
- /* We have to have a name. */
|
||||
- assert (trans->name != NULL);
|
||||
-
|
||||
- /* Acquire the lock. */
|
||||
- __libc_lock_lock (lock);
|
||||
-
|
||||
- /* See whether we know this module already. */
|
||||
- found = __tfind (trans, &search_tree, trans_compare);
|
||||
- if (found != NULL)
|
||||
- {
|
||||
- /* Is this module available? */
|
||||
- if ((*found)->handle != NULL)
|
||||
- {
|
||||
- /* Maybe we have to reopen the file. */
|
||||
- if ((*found)->handle != (void *) -1)
|
||||
- /* The object is not unloaded. */
|
||||
- res = 0;
|
||||
- else if (open_translit (*found) == 0)
|
||||
- {
|
||||
- /* Copy the data. */
|
||||
- *trans = (*found)->info;
|
||||
- (*found)->open_count++;
|
||||
- res = 0;
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- size_t name_len = strlen (trans->name) + 1;
|
||||
- int need_so = 0;
|
||||
- struct known_trans *newp;
|
||||
-
|
||||
- /* We have to continue looking for the module. */
|
||||
- if (__gconv_path_elem == NULL)
|
||||
- __gconv_get_path ();
|
||||
-
|
||||
- /* See whether we have to append .so. */
|
||||
- if (name_len <= 4 || memcmp (&trans->name[name_len - 4], ".so", 3) != 0)
|
||||
- need_so = 1;
|
||||
-
|
||||
- /* Create a new entry. */
|
||||
- newp = (struct known_trans *) malloc (sizeof (struct known_trans)
|
||||
- + (__gconv_max_path_elem_len
|
||||
- + name_len + 3)
|
||||
- + name_len);
|
||||
- if (newp != NULL)
|
||||
- {
|
||||
- char *cp;
|
||||
-
|
||||
- /* Clear the struct. */
|
||||
- memset (newp, '\0', sizeof (struct known_trans));
|
||||
-
|
||||
- /* Store a copy of the module name. */
|
||||
- newp->info.name = cp = (char *) (newp + 1);
|
||||
- cp = __mempcpy (cp, trans->name, name_len);
|
||||
-
|
||||
- newp->fname = cp;
|
||||
-
|
||||
- /* Search in all the directories. */
|
||||
- for (runp = __gconv_path_elem; runp->name != NULL; ++runp)
|
||||
- {
|
||||
- cp = __mempcpy (__stpcpy ((char *) newp->fname, runp->name),
|
||||
- trans->name, name_len);
|
||||
- if (need_so)
|
||||
- memcpy (cp, ".so", sizeof (".so"));
|
||||
-
|
||||
- if (open_translit (newp) == 0)
|
||||
- {
|
||||
- /* We found a module. */
|
||||
- res = 0;
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- if (res)
|
||||
- newp->fname = NULL;
|
||||
-
|
||||
- /* In any case we'll add the entry to our search tree. */
|
||||
- if (__tsearch (newp, &search_tree, trans_compare) == NULL)
|
||||
- {
|
||||
- /* Yickes, this should not happen. Unload the object. */
|
||||
- res = 1;
|
||||
- /* XXX unload here. */
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- __libc_lock_unlock (lock);
|
||||
-
|
||||
- return res;
|
||||
+ /* Transliteration module loading has been removed because it never
|
||||
+ worked as intended and suffered from a security vulnerability.
|
||||
+ Consequently, this function always fails. */
|
||||
+ return 1;
|
||||
}
|
||||
@@ -1,336 +0,0 @@
|
||||
From: Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
Date: Thu, 27 Feb 2014 15:42:09 +0000 (+0530)
|
||||
Subject: Fix sign of input to bsloww1 (BZ #16623)
|
||||
X-Git-Url: http://repo.or.cz/w/glibc.git/commitdiff_plain/1cadc85813d736f7682fa2eeadae639ab6b66c65
|
||||
|
||||
Fix sign of input to bsloww1 (BZ #16623)
|
||||
|
||||
In 84ba214c, I removed some redundant sign computations and in the
|
||||
process, I incorrectly got rid of a temporary variable, thus passing
|
||||
the absolute value of the input to bsloww1. This caused #16623.
|
||||
|
||||
This fix undoes the incorrect change.
|
||||
|
||||
[nix]: drop docs update (wouldn't apply)
|
||||
---
|
||||
|
||||
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
|
||||
index ac5348f..fafe96f 100644
|
||||
--- a/math/auto-libm-test-in
|
||||
+++ b/math/auto-libm-test-in
|
||||
@@ -594,6 +594,7 @@ cos 0x1.0000010b239a9p0
|
||||
cos 0x1.00000162a932bp0
|
||||
cos 0x1.000002d452a10p0
|
||||
cos 0x1.000005bc7d86dp0
|
||||
+cos 0x1.200145a975ce6p32
|
||||
cos 1
|
||||
cos 2
|
||||
cos 3
|
||||
@@ -1748,6 +1749,7 @@ sin 7
|
||||
sin 8
|
||||
sin 9
|
||||
sin 10
|
||||
+sin 0x1.2001469775ce6p32
|
||||
|
||||
sincos 0
|
||||
sincos -0
|
||||
diff --git a/math/auto-libm-test-out b/math/auto-libm-test-out
|
||||
index 8f79359..59c08a7 100644
|
||||
--- a/math/auto-libm-test-out
|
||||
+++ b/math/auto-libm-test-out
|
||||
@@ -74446,6 +74446,75 @@ cos 0x1.000005bc7d86dp0
|
||||
= cos tonearest ldbl-128ibm 0x1.000005bc7d86dp+0L : 0x8.a513ba9f703d3ffffffcb92354p-4L : inexact-ok
|
||||
= cos towardzero ldbl-128ibm 0x1.000005bc7d86dp+0L : 0x8.a513ba9f703d3ffffffcb92354p-4L : inexact-ok
|
||||
= cos upward ldbl-128ibm 0x1.000005bc7d86dp+0L : 0x8.a513ba9f703d3ffffffcb92358p-4L : inexact-ok
|
||||
+cos 0x1.200145a975ce6p32
|
||||
+= cos downward flt-32 0x1.200146p+32f : -0xf.74fbep-4f : inexact-ok
|
||||
+= cos tonearest flt-32 0x1.200146p+32f : -0xf.74fbdp-4f : inexact-ok
|
||||
+= cos towardzero flt-32 0x1.200146p+32f : -0xf.74fbdp-4f : inexact-ok
|
||||
+= cos upward flt-32 0x1.200146p+32f : -0xf.74fbdp-4f : inexact-ok
|
||||
+= cos downward dbl-64 0x1.200146p+32 : -0xf.74fbd5498fe5p-4 : inexact-ok
|
||||
+= cos tonearest dbl-64 0x1.200146p+32 : -0xf.74fbd5498fe5p-4 : inexact-ok
|
||||
+= cos towardzero dbl-64 0x1.200146p+32 : -0xf.74fbd5498fe48p-4 : inexact-ok
|
||||
+= cos upward dbl-64 0x1.200146p+32 : -0xf.74fbd5498fe48p-4 : inexact-ok
|
||||
+= cos downward ldbl-96-intel 0x1.200146p+32L : -0xf.74fbd5498fe4c0dp-4L : inexact-ok
|
||||
+= cos tonearest ldbl-96-intel 0x1.200146p+32L : -0xf.74fbd5498fe4c0cp-4L : inexact-ok
|
||||
+= cos towardzero ldbl-96-intel 0x1.200146p+32L : -0xf.74fbd5498fe4c0cp-4L : inexact-ok
|
||||
+= cos upward ldbl-96-intel 0x1.200146p+32L : -0xf.74fbd5498fe4c0cp-4L : inexact-ok
|
||||
+= cos downward ldbl-96-m68k 0x1.200146p+32L : -0xf.74fbd5498fe4c0dp-4L : inexact-ok
|
||||
+= cos tonearest ldbl-96-m68k 0x1.200146p+32L : -0xf.74fbd5498fe4c0cp-4L : inexact-ok
|
||||
+= cos towardzero ldbl-96-m68k 0x1.200146p+32L : -0xf.74fbd5498fe4c0cp-4L : inexact-ok
|
||||
+= cos upward ldbl-96-m68k 0x1.200146p+32L : -0xf.74fbd5498fe4c0cp-4L : inexact-ok
|
||||
+= cos downward ldbl-128 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef59e8p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-128 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef59e8p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-128 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef59ep-4L : inexact-ok
|
||||
+= cos upward ldbl-128 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef59ep-4L : inexact-ok
|
||||
+= cos downward ldbl-128ibm 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef5cp-4L : inexact-ok
|
||||
+= cos tonearest ldbl-128ibm 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef58p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-128ibm 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef58p-4L : inexact-ok
|
||||
+= cos upward ldbl-128ibm 0x1.200146p+32L : -0xf.74fbd5498fe4c0c71bd9e4ef58p-4L : inexact-ok
|
||||
+= cos downward flt-32 0x1.200144p+32f : 0xf.bc96cp-4f : inexact-ok
|
||||
+= cos tonearest flt-32 0x1.200144p+32f : 0xf.bc96dp-4f : inexact-ok
|
||||
+= cos towardzero flt-32 0x1.200144p+32f : 0xf.bc96cp-4f : inexact-ok
|
||||
+= cos upward flt-32 0x1.200144p+32f : 0xf.bc96dp-4f : inexact-ok
|
||||
+= cos downward dbl-64 0x1.200144p+32 : 0xf.bc96ca2c658a8p-4 : inexact-ok
|
||||
+= cos tonearest dbl-64 0x1.200144p+32 : 0xf.bc96ca2c658a8p-4 : inexact-ok
|
||||
+= cos towardzero dbl-64 0x1.200144p+32 : 0xf.bc96ca2c658a8p-4 : inexact-ok
|
||||
+= cos upward dbl-64 0x1.200144p+32 : 0xf.bc96ca2c658bp-4 : inexact-ok
|
||||
+= cos downward ldbl-96-intel 0x1.200144p+32L : 0xf.bc96ca2c658abf5p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-96-intel 0x1.200144p+32L : 0xf.bc96ca2c658abf6p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-96-intel 0x1.200144p+32L : 0xf.bc96ca2c658abf5p-4L : inexact-ok
|
||||
+= cos upward ldbl-96-intel 0x1.200144p+32L : 0xf.bc96ca2c658abf6p-4L : inexact-ok
|
||||
+= cos downward ldbl-96-m68k 0x1.200144p+32L : 0xf.bc96ca2c658abf5p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-96-m68k 0x1.200144p+32L : 0xf.bc96ca2c658abf6p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-96-m68k 0x1.200144p+32L : 0xf.bc96ca2c658abf5p-4L : inexact-ok
|
||||
+= cos upward ldbl-96-m68k 0x1.200144p+32L : 0xf.bc96ca2c658abf6p-4L : inexact-ok
|
||||
+= cos downward ldbl-128 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a8fbp-4L : inexact-ok
|
||||
+= cos tonearest ldbl-128 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a8fbp-4L : inexact-ok
|
||||
+= cos towardzero ldbl-128 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a8fbp-4L : inexact-ok
|
||||
+= cos upward ldbl-128 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a8fb8p-4L : inexact-ok
|
||||
+= cos downward ldbl-128ibm 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a8cp-4L : inexact-ok
|
||||
+= cos tonearest ldbl-128ibm 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a9p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-128ibm 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a8cp-4L : inexact-ok
|
||||
+= cos upward ldbl-128ibm 0x1.200144p+32L : 0xf.bc96ca2c658abf5ace7b886a9p-4L : inexact-ok
|
||||
+= cos downward dbl-64 0x1.200145a975ce6p+32 : -0x6.568e7ed3dffdp-4 : inexact-ok
|
||||
+= cos tonearest dbl-64 0x1.200145a975ce6p+32 : -0x6.568e7ed3dffccp-4 : inexact-ok
|
||||
+= cos towardzero dbl-64 0x1.200145a975ce6p+32 : -0x6.568e7ed3dffccp-4 : inexact-ok
|
||||
+= cos upward dbl-64 0x1.200145a975ce6p+32 : -0x6.568e7ed3dffccp-4 : inexact-ok
|
||||
+= cos downward ldbl-96-intel 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe8p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-96-intel 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfep-4L : inexact-ok
|
||||
+= cos towardzero ldbl-96-intel 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfep-4L : inexact-ok
|
||||
+= cos upward ldbl-96-intel 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfep-4L : inexact-ok
|
||||
+= cos downward ldbl-96-m68k 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe8p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-96-m68k 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfep-4L : inexact-ok
|
||||
+= cos towardzero ldbl-96-m68k 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfep-4L : inexact-ok
|
||||
+= cos upward ldbl-96-m68k 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfep-4L : inexact-ok
|
||||
+= cos downward ldbl-128 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd726840e8p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-128 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd726840e4p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-128 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd726840e4p-4L : inexact-ok
|
||||
+= cos upward ldbl-128 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd726840e4p-4L : inexact-ok
|
||||
+= cos downward ldbl-128ibm 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd726842p-4L : inexact-ok
|
||||
+= cos tonearest ldbl-128ibm 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd72684p-4L : inexact-ok
|
||||
+= cos towardzero ldbl-128ibm 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd72684p-4L : inexact-ok
|
||||
+= cos upward ldbl-128ibm 0x1.200145a975ce6p+32L : -0x6.568e7ed3dffcdfe227fd72684p-4L : inexact-ok
|
||||
cos 1
|
||||
= cos downward flt-32 0x1p+0f : 0x8.a514p-4f : inexact-ok
|
||||
= cos tonearest flt-32 0x1p+0f : 0x8.a514p-4f : inexact-ok
|
||||
@@ -157744,6 +157813,75 @@ sin 10
|
||||
= sin tonearest ldbl-128ibm 0xap+0L : -0x8.b44f7af9a7a92ce7fb22be025p-4L : inexact-ok
|
||||
= sin towardzero ldbl-128ibm 0xap+0L : -0x8.b44f7af9a7a92ce7fb22be024cp-4L : inexact-ok
|
||||
= sin upward ldbl-128ibm 0xap+0L : -0x8.b44f7af9a7a92ce7fb22be024cp-4L : inexact-ok
|
||||
+sin 0x1.2001469775ce6p32
|
||||
+= sin downward flt-32 0x1.200148p+32f : -0x5.595d8p-4f : inexact-ok
|
||||
+= sin tonearest flt-32 0x1.200148p+32f : -0x5.595d8p-4f : inexact-ok
|
||||
+= sin towardzero flt-32 0x1.200148p+32f : -0x5.595d78p-4f : inexact-ok
|
||||
+= sin upward flt-32 0x1.200148p+32f : -0x5.595d78p-4f : inexact-ok
|
||||
+= sin downward dbl-64 0x1.200148p+32 : -0x5.595d7e536fe38p-4 : inexact-ok
|
||||
+= sin tonearest dbl-64 0x1.200148p+32 : -0x5.595d7e536fe34p-4 : inexact-ok
|
||||
+= sin towardzero dbl-64 0x1.200148p+32 : -0x5.595d7e536fe34p-4 : inexact-ok
|
||||
+= sin upward dbl-64 0x1.200148p+32 : -0x5.595d7e536fe34p-4 : inexact-ok
|
||||
+= sin downward ldbl-96-intel 0x1.200148p+32L : -0x5.595d7e536fe35eep-4L : inexact-ok
|
||||
+= sin tonearest ldbl-96-intel 0x1.200148p+32L : -0x5.595d7e536fe35ed8p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-96-intel 0x1.200148p+32L : -0x5.595d7e536fe35ed8p-4L : inexact-ok
|
||||
+= sin upward ldbl-96-intel 0x1.200148p+32L : -0x5.595d7e536fe35ed8p-4L : inexact-ok
|
||||
+= sin downward ldbl-96-m68k 0x1.200148p+32L : -0x5.595d7e536fe35eep-4L : inexact-ok
|
||||
+= sin tonearest ldbl-96-m68k 0x1.200148p+32L : -0x5.595d7e536fe35ed8p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-96-m68k 0x1.200148p+32L : -0x5.595d7e536fe35ed8p-4L : inexact-ok
|
||||
+= sin upward ldbl-96-m68k 0x1.200148p+32L : -0x5.595d7e536fe35ed8p-4L : inexact-ok
|
||||
+= sin downward ldbl-128 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9d944p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-128 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9d94p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-128 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9d94p-4L : inexact-ok
|
||||
+= sin upward ldbl-128 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9d94p-4L : inexact-ok
|
||||
+= sin downward ldbl-128ibm 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9dap-4L : inexact-ok
|
||||
+= sin tonearest ldbl-128ibm 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9dap-4L : inexact-ok
|
||||
+= sin towardzero ldbl-128ibm 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9d8p-4L : inexact-ok
|
||||
+= sin upward ldbl-128ibm 0x1.200148p+32L : -0x5.595d7e536fe35edbe2ad0df9d8p-4L : inexact-ok
|
||||
+= sin downward flt-32 0x1.200146p+32f : 0x4.220ffp-4f : inexact-ok
|
||||
+= sin tonearest flt-32 0x1.200146p+32f : 0x4.220ffp-4f : inexact-ok
|
||||
+= sin towardzero flt-32 0x1.200146p+32f : 0x4.220ffp-4f : inexact-ok
|
||||
+= sin upward flt-32 0x1.200146p+32f : 0x4.220ff8p-4f : inexact-ok
|
||||
+= sin downward dbl-64 0x1.200146p+32 : 0x4.220ff25f5cfp-4 : inexact-ok
|
||||
+= sin tonearest dbl-64 0x1.200146p+32 : 0x4.220ff25f5cf04p-4 : inexact-ok
|
||||
+= sin towardzero dbl-64 0x1.200146p+32 : 0x4.220ff25f5cfp-4 : inexact-ok
|
||||
+= sin upward dbl-64 0x1.200146p+32 : 0x4.220ff25f5cf04p-4 : inexact-ok
|
||||
+= sin downward ldbl-96-intel 0x1.200146p+32L : 0x4.220ff25f5cf02a4p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-96-intel 0x1.200146p+32L : 0x4.220ff25f5cf02a48p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-96-intel 0x1.200146p+32L : 0x4.220ff25f5cf02a4p-4L : inexact-ok
|
||||
+= sin upward ldbl-96-intel 0x1.200146p+32L : 0x4.220ff25f5cf02a48p-4L : inexact-ok
|
||||
+= sin downward ldbl-96-m68k 0x1.200146p+32L : 0x4.220ff25f5cf02a4p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-96-m68k 0x1.200146p+32L : 0x4.220ff25f5cf02a48p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-96-m68k 0x1.200146p+32L : 0x4.220ff25f5cf02a4p-4L : inexact-ok
|
||||
+= sin upward ldbl-96-m68k 0x1.200146p+32L : 0x4.220ff25f5cf02a48p-4L : inexact-ok
|
||||
+= sin downward ldbl-128 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679ccp-4L : inexact-ok
|
||||
+= sin tonearest ldbl-128 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679ccp-4L : inexact-ok
|
||||
+= sin towardzero ldbl-128 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679ccp-4L : inexact-ok
|
||||
+= sin upward ldbl-128 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679cc4p-4L : inexact-ok
|
||||
+= sin downward ldbl-128ibm 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679cp-4L : inexact-ok
|
||||
+= sin tonearest ldbl-128ibm 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679cp-4L : inexact-ok
|
||||
+= sin towardzero ldbl-128ibm 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679cp-4L : inexact-ok
|
||||
+= sin upward ldbl-128ibm 0x1.200146p+32L : 0x4.220ff25f5cf02a464dbb3a679ep-4L : inexact-ok
|
||||
+= sin downward dbl-64 0x1.2001469775ce6p+32 : -0x6.444fda50019fcp-4 : inexact-ok
|
||||
+= sin tonearest dbl-64 0x1.2001469775ce6p+32 : -0x6.444fda50019f8p-4 : inexact-ok
|
||||
+= sin towardzero dbl-64 0x1.2001469775ce6p+32 : -0x6.444fda50019f8p-4 : inexact-ok
|
||||
+= sin upward dbl-64 0x1.2001469775ce6p+32 : -0x6.444fda50019f8p-4 : inexact-ok
|
||||
+= sin downward ldbl-96-intel 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f6p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-96-intel 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f58p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-96-intel 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f58p-4L : inexact-ok
|
||||
+= sin upward ldbl-96-intel 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f58p-4L : inexact-ok
|
||||
+= sin downward ldbl-96-m68k 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f6p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-96-m68k 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f58p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-96-m68k 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f58p-4L : inexact-ok
|
||||
+= sin upward ldbl-96-m68k 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f58p-4L : inexact-ok
|
||||
+= sin downward ldbl-128 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca70604p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-128 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca706p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-128 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca706p-4L : inexact-ok
|
||||
+= sin upward ldbl-128 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca706p-4L : inexact-ok
|
||||
+= sin downward ldbl-128ibm 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca708p-4L : inexact-ok
|
||||
+= sin tonearest ldbl-128ibm 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca706p-4L : inexact-ok
|
||||
+= sin towardzero ldbl-128ibm 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca706p-4L : inexact-ok
|
||||
+= sin upward ldbl-128ibm 0x1.2001469775ce6p+32L : -0x6.444fda50019f9f5ba3779ca706p-4L : inexact-ok
|
||||
sincos 0
|
||||
= sincos downward flt-32 0x0p+0f : 0x0p+0f 0x1p+0f : inexact-ok
|
||||
= sincos tonearest flt-32 0x0p+0f : 0x0p+0f 0x1p+0f : inexact-ok
|
||||
diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
|
||||
index 6105e9f..50109b8 100644
|
||||
--- a/sysdeps/ieee754/dbl-64/s_sin.c
|
||||
+++ b/sysdeps/ieee754/dbl-64/s_sin.c
|
||||
@@ -447,19 +447,21 @@ __sin (double x)
|
||||
}
|
||||
else
|
||||
{
|
||||
+ double t;
|
||||
if (a > 0)
|
||||
{
|
||||
m = 1;
|
||||
+ t = a;
|
||||
db = da;
|
||||
}
|
||||
else
|
||||
{
|
||||
m = 0;
|
||||
- a = -a;
|
||||
+ t = -a;
|
||||
db = -da;
|
||||
}
|
||||
- u.x = big + a;
|
||||
- y = a - (u.x - big);
|
||||
+ u.x = big + t;
|
||||
+ y = t - (u.x - big);
|
||||
res = do_sin (u, y, db, &cor);
|
||||
cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
|
||||
retval = ((res == res + cor) ? ((m) ? res : -res)
|
||||
@@ -671,19 +673,21 @@ __cos (double x)
|
||||
}
|
||||
else
|
||||
{
|
||||
+ double t;
|
||||
if (a > 0)
|
||||
{
|
||||
m = 1;
|
||||
+ t = a;
|
||||
db = da;
|
||||
}
|
||||
else
|
||||
{
|
||||
m = 0;
|
||||
- a = -a;
|
||||
+ t = -a;
|
||||
db = -da;
|
||||
}
|
||||
- u.x = big + a;
|
||||
- y = a - (u.x - big);
|
||||
+ u.x = big + t;
|
||||
+ y = t - (u.x - big);
|
||||
res = do_sin (u, y, db, &cor);
|
||||
cor = (cor > 0) ? 1.035 * cor + eps : 1.035 * cor - eps;
|
||||
retval = ((res == res + cor) ? ((m) ? res : -res)
|
||||
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
|
||||
index f3980f8..544f1c7 100644
|
||||
--- a/sysdeps/x86_64/fpu/libm-test-ulps
|
||||
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
|
||||
@@ -10900,6 +10900,14 @@ idouble: 1
|
||||
Test "cos_downward (0x1.0c152382d7365p+0)":
|
||||
double: 1
|
||||
idouble: 1
|
||||
+Test "cos_downward (0x1.200145a975ce6p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
+Test "cos_downward (0x1.200146p+32)":
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
Test "cos_downward (0x1.921fb4p+0)":
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
@@ -11126,6 +11134,9 @@ idouble: 1
|
||||
Test "cos_towardzero (0x1.0c152382d7365p+0)":
|
||||
double: 1
|
||||
idouble: 1
|
||||
+Test "cos_towardzero (0x1.200146p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
Test "cos_towardzero (0x1.921fb4p+0)":
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
@@ -11258,6 +11269,17 @@ idouble: 1
|
||||
Test "cos_upward (0x1.0c1524p+0)":
|
||||
double: 1
|
||||
idouble: 1
|
||||
+Test "cos_upward (0x1.200144p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
+Test "cos_upward (0x1.200145a975ce6p+32)":
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
+Test "cos_upward (0x1.200146p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
Test "cos_upward (0x1.921fb4p+0)":
|
||||
double: 1
|
||||
idouble: 1
|
||||
@@ -15155,6 +15177,19 @@ double: 1
|
||||
idouble: 1
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
+Test "sin_downward (0x1.2001469775ce6p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
+Test "sin_downward (0x1.200146p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
+Test "sin_downward (0x1.200148p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
Test "sin_downward (0x1.921fb54442d18468p+0)":
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
@@ -15383,6 +15418,9 @@ double: 1
|
||||
idouble: 1
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
+Test "sin_towardzero (0x1.200146p+32)":
|
||||
+double: 1
|
||||
+idouble: 1
|
||||
Test "sin_towardzero (0x1.921fb54442d18468p+0)":
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
@@ -15532,6 +15570,12 @@ ldouble: 1
|
||||
Test "sin_upward (-0x8.60a92p-4)":
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
+Test "sin_upward (0x1.2001469775ce6p+32)":
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
+Test "sin_upward (0x1.200148p+32)":
|
||||
+ildouble: 1
|
||||
+ldouble: 1
|
||||
Test "sin_upward (0x1.921fb4p+0)":
|
||||
double: 1
|
||||
idouble: 1
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -ur glibc-2.17.orig/csu/Makefile glibc-2.17/csu/Makefile
|
||||
--- glibc-2.17.orig/csu/Makefile 2012-12-25 04:02:13.000000000 +0100
|
||||
+++ glibc-2.17/csu/Makefile 2013-08-19 16:01:57.132378550 +0200
|
||||
@@ -172,7 +172,7 @@
|
||||
os=Linux; \
|
||||
fi; \
|
||||
printf '"Compiled on a %s %s system on %s.\\n"\n' \
|
||||
- "$$os" "$$version" "`date +%Y-%m-%d`";; \
|
||||
+ "$$os" "$$version";; \
|
||||
*) ;; \
|
||||
esac; \
|
||||
files="$(all-Banner-files)"; \
|
||||
@@ -46,10 +46,6 @@ postInstall() {
|
||||
ln -s lib $out/lib64
|
||||
fi
|
||||
|
||||
# This file, that should not remain in the glibc derivation,
|
||||
# may have not been created during the preInstall
|
||||
rm -f $out/lib/libgcc_s.so.1
|
||||
|
||||
# Get rid of more unnecessary stuff.
|
||||
rm -rf $out/var $out/sbin/sln
|
||||
}
|
||||
@@ -13,7 +13,7 @@ cross:
|
||||
|
||||
let
|
||||
|
||||
version = "2.19";
|
||||
version = "2.20";
|
||||
|
||||
in
|
||||
|
||||
@@ -56,14 +56,6 @@ stdenv.mkDerivation ({
|
||||
"/bin:/usr/bin", which is inappropriate on NixOS machines. This
|
||||
patch extends the search path by "/run/current-system/sw/bin". */
|
||||
./fix_path_attribute_in_getconf.patch
|
||||
|
||||
./fix-math.patch
|
||||
|
||||
./cve-2014-0475.patch
|
||||
./cve-2014-5119.patch
|
||||
|
||||
/* Remove references to the compilation date. */
|
||||
./glibc-remove-date-from-compilation-banner.patch
|
||||
];
|
||||
|
||||
postPatch =
|
||||
@@ -77,8 +69,11 @@ stdenv.mkDerivation ({
|
||||
+ ''
|
||||
echo "LDFLAGS-nscd += -static-libgcc" >> nscd/Makefile
|
||||
''
|
||||
# Replace the date and time in nscd by $out.
|
||||
# It is used as a protocol compatibility check.
|
||||
# Replace the date and time in nscd by a prefix of $out.
|
||||
# It is used as a protocol compatibility check.
|
||||
# Note: the size of the struct changes, but using only a part
|
||||
# would break hash-rewriting. When receiving stats it does check
|
||||
# that the struct sizes match and can't cause overflow or something.
|
||||
+ ''
|
||||
cat ${./glibc-remove-datetime-from-nscd.patch} \
|
||||
| sed "s,@out@,$out," | patch -p1
|
||||
@@ -155,7 +150,7 @@ stdenv.mkDerivation ({
|
||||
}
|
||||
else fetchurl {
|
||||
url = "mirror://gnu/glibc/glibc-${version}.tar.gz";
|
||||
sha256 = "15n7x9mmzhd7w6s5hd9srx0h23b32gwb306x98k9ss940yvnvb8q";
|
||||
sha256 = "1g6ysvk15arpi7c1f1fpx5slgfr2k3dqd5xr0yvijajp1m0xxq9p";
|
||||
};
|
||||
|
||||
# Remove absolute paths from `configure' & co.; build out-of-tree.
|
||||
@@ -172,8 +167,8 @@ stdenv.mkDerivation ({
|
||||
|
||||
configureScript="`pwd`/../$sourceRoot/configure"
|
||||
|
||||
${stdenv.lib.optionalString (stdenv.gcc.libc != null)
|
||||
''makeFlags="$makeFlags BUILD_LDFLAGS=-Wl,-rpath,${stdenv.gcc.libc}/lib"''
|
||||
${stdenv.lib.optionalString (stdenv.cc.libc != null)
|
||||
''makeFlags="$makeFlags BUILD_LDFLAGS=-Wl,-rpath,${stdenv.cc.libc}/lib"''
|
||||
}
|
||||
|
||||
${preConfigure}
|
||||
@@ -8,7 +8,7 @@
|
||||
, withGd ? false, gd ? null, libpng ? null
|
||||
}:
|
||||
|
||||
assert stdenv.gcc.gcc != null;
|
||||
assert stdenv.cc ? gcc;
|
||||
|
||||
let
|
||||
build = import ./common.nix;
|
||||
@@ -33,9 +33,9 @@ in
|
||||
# libgcc_s will not be at {gcc}/lib, and gcc's libgcc will be found without
|
||||
# any special hack.
|
||||
preInstall = ''
|
||||
if [ -f ${stdenv.gcc.gcc}/lib/libgcc_s.so.1 ]; then
|
||||
if [ -f ${stdenv.cc.gcc}/lib/libgcc_s.so.1 ]; then
|
||||
mkdir -p $out/lib
|
||||
ln -s ${stdenv.gcc.gcc}/lib/libgcc_s.so.1 $out/lib/libgcc_s.so.1
|
||||
cp ${stdenv.cc.gcc}/lib/libgcc_s.so.1 $out/lib/libgcc_s.so.1
|
||||
fi
|
||||
'';
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
diff -rupN a/elf/rtld.c b/elf/rtld.c
|
||||
--- a/elf/rtld.c 2013-08-11 00:52:55.000000001 +0200
|
||||
+++ b/elf/rtld.c 2014-02-18 13:56:19.000000001 +0100
|
||||
@@ -1639,7 +1639,7 @@ ERROR: ld.so: object '%s' cannot be load
|
||||
diff -ru glibc-2.20-orig/elf/rtld.c glibc-2.20/elf/rtld.c
|
||||
--- glibc-2.20-orig/elf/rtld.c 2014-09-07 10:09:09.000000000 +0200
|
||||
+++ glibc-2.20/elf/rtld.c 2014-10-27 11:32:25.203043157 +0100
|
||||
@@ -1513,7 +1513,7 @@
|
||||
open(). So we do this first. If it succeeds we do almost twice
|
||||
the work but this does not matter, since it is not for production
|
||||
use. */
|
||||
- static const char preload_file[] = "/etc/ld.so.preload";
|
||||
+ static const char preload_file[] = "/etc/ld-nix.so.preload";
|
||||
if (__builtin_expect (__access (preload_file, R_OK) == 0, 0))
|
||||
if (__glibc_unlikely (__access (preload_file, R_OK) == 0))
|
||||
{
|
||||
/* Read the contents of the file. */
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/* We use this to make sure the receiver is the same. */
|
||||
-static const char compilation[21] = __DATE__ " " __TIME__;
|
||||
+static const char compilation[21] = "@out@";
|
||||
+static const char compilation[] = "@out@";
|
||||
|
||||
/* Statistic data for one database. */
|
||||
struct dbstat
|
||||
@@ -28,8 +28,8 @@ build null {
|
||||
mkdir -p $TMPDIR/"$(dirname $(readlink -f $(type -p localedef)))/../lib/locale"
|
||||
|
||||
# Hack to allow building of the locales (needed since glibc-2.12)
|
||||
sed -i -e "s,^LOCALEDEF=.*,LOCALEDEF=localedef --prefix=$TMPDIR," -e \
|
||||
/library-path/d ../glibc-2*/localedata/Makefile
|
||||
sed -i -e 's,^$(rtld-prefix) $(common-objpfx)locale/localedef,localedef --prefix='$TMPDIR',' ../glibc-2*/localedata/Makefile
|
||||
|
||||
${if allLocales then "" else
|
||||
"echo SUPPORTED-LOCALES=\"${toString locales}\" > ../glibc-2*/localedata/SUPPORTED"}
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
{ runCommand, glibc, glibc32
|
||||
}:
|
||||
|
||||
runCommand "${glibc.name}-multi"
|
||||
let
|
||||
nameVersion = builtins.parseDrvName glibc.name;
|
||||
in
|
||||
runCommand "${nameVersion.name}-multi-${nameVersion.version}"
|
||||
{ inherit glibc32;
|
||||
glibc64 = glibc;
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libsigcxx }:
|
||||
|
||||
let
|
||||
ver_maj = "2.38";
|
||||
ver_min = "1";
|
||||
ver_maj = "2.42";
|
||||
ver_min = "0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glibmm-${ver_maj}.${ver_min}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/glibmm/${ver_maj}/${name}.tar.xz";
|
||||
sha256 = "18n4czi6lh4ncj54apxms18xn9k8pmrp2ba9sxn0sk9w3pp2bja9";
|
||||
sha256 = "985083d97378d234da27a7243587cc0d186897a4b2d3c1286f794089be1a3397";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
35
pkgs/development/libraries/glm/0954.nix
Normal file
35
pkgs/development/libraries/glm/0954.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glm-0.9.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/ogl-math/${name}/${name}.zip";
|
||||
sha256 = "0v14xssysy3q1h2mga6rqlz722mwbis4rrx76zmvhjqh17qh4l62";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/include"
|
||||
cp -r glm "$out/include"
|
||||
|
||||
mkdir -p "$doc/share/doc/glm"
|
||||
cp -r doc/* "$doc/share/doc/glm"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OpenGL Mathematics library for C++";
|
||||
longDescription = ''
|
||||
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
|
||||
graphics software based on the OpenGL Shading Language (GLSL)
|
||||
specification and released under the MIT license.
|
||||
'';
|
||||
homepage = http://glm.g-truc.net/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
};
|
||||
}
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://code.google.com/p/google-glog/;
|
||||
license = "BSD";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
description = "Library for application-level logging";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +1,22 @@
|
||||
{stdenv, fetchurl, pkgconfig, glib}:
|
||||
|
||||
assert pkgconfig != null && glib != null;
|
||||
{stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, glib, libtool }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnet-2.0.7";
|
||||
src = fetchurl {
|
||||
url = http://www.gnetlibrary.org/src/gnet-2.0.7.tar.gz;
|
||||
md5 = "3a7a40411775688fe4c42141ab007048";
|
||||
name = "gnet-2.0.8";
|
||||
src = fetchFromGitHub {
|
||||
owner = "GNOME";
|
||||
repo = "gnet";
|
||||
rev = "GNET_2_0_8";
|
||||
sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig autoconf automake glib libtool ];
|
||||
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A network library, written in C, object-oriented, and built upon GLib";
|
||||
homepage = https://developer.gnome.org/gnet/;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
buildInputs = [pkgconfig glib];
|
||||
}
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
{ fetchurl, stdenv, zlib, lzo, libtasn1, nettle, pkgconfig, lzip
|
||||
, guileBindings, guile, perl, gmp }:
|
||||
|
||||
assert guileBindings -> guile != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnutls-3.1.26";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/${name}.tar.lz";
|
||||
sha256 = "7947e18fd0c292c0274d810c9bdf674b8faa3566e056ea404a39f335982607a3";
|
||||
};
|
||||
|
||||
# FreeBSD doesn't have <alloca.h>, and Gnulib's `alloca' module isn't used.
|
||||
patches = stdenv.lib.optional stdenv.isFreeBSD ./guile-gnulib-includes.patch;
|
||||
|
||||
# Note: GMP is a dependency of Nettle, whose public headers include
|
||||
# GMP headers, hence the hack.
|
||||
configurePhase = ''
|
||||
./configure --prefix="$out" \
|
||||
--disable-dependency-tracking --enable-fast-install \
|
||||
--without-p11-kit \
|
||||
--with-lzo --with-libtasn1-prefix="${libtasn1}" \
|
||||
--with-libnettle-prefix="${nettle}" \
|
||||
CPPFLAGS="-I${gmp}/include" \
|
||||
${stdenv.lib.optionalString guileBindings
|
||||
"--enable-guile --with-guile-site-dir=\"$out/share/guile/site\""}
|
||||
'';
|
||||
|
||||
# Build of the Guile bindings is not parallel-safe. See
|
||||
# <http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=330995a920037b6030ec0282b51dde3f8b493cad>
|
||||
# for the actual fix.
|
||||
enableParallelBuilding = !guileBindings;
|
||||
|
||||
buildInputs = [ zlib lzo lzip ]
|
||||
++ stdenv.lib.optional guileBindings guile;
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ nettle libtasn1 ];
|
||||
|
||||
# XXX: Gnulib's `test-select' fails on FreeBSD:
|
||||
# http://hydra.nixos.org/build/2962084/nixlog/1/raw .
|
||||
doCheck = false;#(!stdenv.isFreeBSD && !stdenv.isDarwin);
|
||||
|
||||
meta = {
|
||||
description = "The GNU Transport Layer Security Library";
|
||||
|
||||
longDescription = ''
|
||||
GnuTLS is a project that aims to develop a library which
|
||||
provides a secure layer, over a reliable transport
|
||||
layer. Currently the GnuTLS library implements the proposed
|
||||
standards by the IETF's TLS working group.
|
||||
|
||||
Quoting from the TLS protocol specification:
|
||||
|
||||
"The TLS protocol provides communications privacy over the
|
||||
Internet. The protocol allows client/server applications to
|
||||
communicate in a way that is designed to prevent eavesdropping,
|
||||
tampering, or message forgery."
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/gnutls/;
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
};
|
||||
}
|
||||
@@ -4,11 +4,11 @@
|
||||
assert guileBindings -> guile != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnutls-3.2.17";
|
||||
name = "gnutls-3.2.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/${name}.tar.lz";
|
||||
sha256 = "a332adda1d294fbee859ae46ee0c128d8959c4a5b9c28e7cdbe5c9b56898fc25";
|
||||
sha256 = "0mjwzj486g0aj5i3zr70mixmbd4ldrj1ckrwmcr90si6bqa0sc6q";
|
||||
};
|
||||
|
||||
patches =
|
||||
|
||||
@@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "162flbzwzz0b8axab2gimc4dglpaw88fh1d177zfg0whczlpbsln";
|
||||
};
|
||||
|
||||
buildInputs = [ flex bison glib pkgconfig python ]
|
||||
buildInputs = [ flex bison pkgconfig python ]
|
||||
++ libintlOrEmpty
|
||||
++ stdenv.lib.optional stdenv.isDarwin otool;
|
||||
propagatedBuildInputs = [ libffi ];
|
||||
propagatedBuildInputs = [ libffi glib ];
|
||||
|
||||
# Tests depend on cairo, which is undesirable (it pulls in lots of
|
||||
# other dependencies).
|
||||
|
||||
@@ -11,11 +11,11 @@ let
|
||||
"${gnupg}/bin/gpg2";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gpgme-1.5.2";
|
||||
name = "gpgme-1.5.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.gnupg.org/gcrypt/gpgme/${name}.tar.bz2";
|
||||
sha256 = "1m7i0krffw4717jx7211d0pk4wi2rldg2bp7xgl6a0kgl6hb160y";
|
||||
sha256 = "1jgwmra6cf0i5x2prj92w77vl7hmj276qmmll3lwysbyn32l1c0d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libgpgerror glib libassuan pth ];
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
assert faacSupport -> faac != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-bad-1.4.3";
|
||||
name = "gst-plugins-bad-1.4.5";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gstreamer Bad Plugins";
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
|
||||
sha256 = "a6840080c469d0db51d6d4d0f7c42c97b3c8c01942f24401c61b1ad36726b97c";
|
||||
sha256 = "0g4q9yqq71z32pz7zj54wigkcf438a2mcv5kvvwp4gb8a1rasbqm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python ];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-base-1.4.3";
|
||||
name = "gst-plugins-base-1.4.5";
|
||||
|
||||
meta = {
|
||||
description = "Base plugins and helper libraries";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.xz";
|
||||
sha256 = "f7b4d2b3ba2bcac485896e2c1c36459cb091ebe8b49e91635c27d40f66792d9d";
|
||||
sha256 = "07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gstreamer-1.4.3";
|
||||
name = "gstreamer-1.4.5";
|
||||
|
||||
meta = {
|
||||
description = "Open source multimedia framework";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gstreamer/${name}.tar.xz";
|
||||
sha256 = "11f155784d28b85a12b50d2fc8f91c6b75d9ca325cc76aaffba1a58d4c9549c9";
|
||||
sha256 = "1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-good-1.4.3";
|
||||
name = "gst-plugins-good-1.4.5";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gstreamer Good Plugins";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-good/${name}.tar.xz";
|
||||
sha256 = "5876a74402f2a24d1d3ae9163c32466bdc7a565696dddeef65e6a9a93efc5537";
|
||||
sha256 = "0hg6qzdpib9nwn3hdxv0d4rvivi1c4bmxsq2a9hqmamwyzrvbcbr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python ];
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
assert withSystemLibav -> libav != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-libav-1.4.3";
|
||||
name = "gst-libav-1.4.5";
|
||||
|
||||
meta = {
|
||||
homepage = "http://gstreamer.freedesktop.org";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-libav/${name}.tar.xz";
|
||||
sha256 = "833229d2b1aad6549ad0297435516508cc3ac47b166d6393ecdffc34c31a01d3";
|
||||
sha256 = "1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optionalString withSystemLibav
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-ugly-1.4.3";
|
||||
name = "gst-plugins-ugly-1.4.5";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gstreamer Ugly Plugins";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.xz";
|
||||
sha256 = "d581592a82cf3930361430d38436c30a58d8b6c249cad18f7f213b203e206d46";
|
||||
sha256 = "0rwhljn3f8mp2pfchzfcx4pvps1546dndw9mr56lz50qyqffimaw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python ];
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, glibmm, cairomm, pangomm, atkmm }:
|
||||
|
||||
let
|
||||
ver_maj = "3.11"; # unstable version, but ATM no stable builds with gtk-3.12 and this is the version used in GNOME-3.12 "stable"
|
||||
ver_min = "9";
|
||||
ver_maj = "3.12";
|
||||
ver_min = "0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtkmm-${ver_maj}.${ver_min}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtkmm/${ver_maj}/${name}.tar.xz";
|
||||
sha256 = "04yji82prijlwpd3blx0am1ikjy7y7ih7jd628dywdjbbfq42920";
|
||||
sha256 = "86c526ceec15d889996822128d566748bb36f70cf5a2c270530dfc546a2574e1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ glibmm gtk3 atkmm cairomm pangomm ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
# (icu is a ~30 MB dependency, the rest is very small in comparison)
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "harfbuzz-0.9.35";
|
||||
name = "harfbuzz-0.9.36";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
|
||||
sha256 = "1v86596994bnb9hx7laykhw4ipixqz9ckwzyyqf340pmlsmsi88a";
|
||||
sha256 = "3bfbf7b016167ee6b2a2f83948fef75cc1253081873d6a91022161815956b9be";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "DRBG";
|
||||
version = "0.5.2";
|
||||
sha256 = "0c8w8h2mxpk2avj6321q9a1smzp970cyn87aj98vn8dln7h9cqsi";
|
||||
version = "0.5.3";
|
||||
sha256 = "197kp2bchkj3zrl3f06glba9lbjf51mp710sx0qj8i4spvf3jfr8";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "FontyFruity";
|
||||
version = "0.3";
|
||||
sha256 = "0ivz7hkz5mx8bqqv5av56a8rw4231wyzzg0dhz6465d59iqmjhd4";
|
||||
version = "0.4";
|
||||
sha256 = "0nrlsiwav1mwbmp555vwnc24250yn166yr5fjazjg9g7a0ikkivf";
|
||||
buildDepends = [ binary deepseq filepath text vector ];
|
||||
meta = {
|
||||
description = "A true type file format loader";
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "JuicyPixels";
|
||||
version = "3.1.7.1";
|
||||
sha256 = "0mhsknqdrhxnm622mgrswvj4kvksh87x18s5ddgk4ylf0s2fjlap";
|
||||
version = "3.2";
|
||||
sha256 = "1z4i0464zdijv54b7wzc55zrp8h67ahm6mrdk7a6gi2qm0nihmy5";
|
||||
buildDepends = [
|
||||
binary deepseq mtl primitive transformers vector zlib
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/Twinside/Juicy.Pixels";
|
||||
description = "Picture loading/serialization (in png, jpeg, bitmap, gif, tiff and radiance)";
|
||||
description = "Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "MonadRandom";
|
||||
version = "0.3";
|
||||
sha256 = "0bmsccjcz6glb0x0nkjlq3qywfibf0wxxv4dvdhjfw5sx6im9qx3";
|
||||
version = "0.3.0.1";
|
||||
sha256 = "0bbj6rkxskrvl14lngpggql4q41pw21cj4z8h592mizrxjfa3rj0";
|
||||
buildDepends = [ mtl random transformers ];
|
||||
meta = {
|
||||
description = "Random-number generation monad";
|
||||
@@ -1,16 +1,17 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, binary, criterion, deepseq, dlist, filepath, FontyFruity
|
||||
, free, JuicyPixels, mtl, QuickCheck, statistics, vector
|
||||
, free, JuicyPixels, mtl, primitive, QuickCheck, statistics, vector
|
||||
, vectorAlgorithms
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Rasterific";
|
||||
version = "0.3";
|
||||
sha256 = "1chbcfcb5il7fbzivszap60qfwcwrq85kpx9y6qdr2pim39199fa";
|
||||
version = "0.4";
|
||||
sha256 = "1cw8lalxp9cs3w3kfr4ayp5h0kd71fdnyih99xpljy8zxw28hv3z";
|
||||
buildDepends = [
|
||||
dlist FontyFruity free JuicyPixels mtl vector vectorAlgorithms
|
||||
dlist FontyFruity free JuicyPixels mtl primitive vector
|
||||
vectorAlgorithms
|
||||
];
|
||||
testDepends = [
|
||||
binary criterion deepseq filepath FontyFruity JuicyPixels
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "active";
|
||||
version = "0.1.0.16";
|
||||
sha256 = "0x4z9n0avk9pr9v64vfmbbpxx2n6cl32d8sw8y2w61345s2z628k";
|
||||
version = "0.1.0.17";
|
||||
sha256 = "1asp0han2737vfk92gasij804z4jsw8v2bc0m4nrmn3v80vmh7qb";
|
||||
buildDepends = [ newtype semigroupoids semigroups vectorSpace ];
|
||||
testDepends = [
|
||||
newtype QuickCheck semigroupoids semigroups vectorSpace
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "ad";
|
||||
version = "4.2.1";
|
||||
sha256 = "05ndr26lsc4xa18vfb3qdjcp03gsq2bhc8dc0yr5g1x9dybq6dx2";
|
||||
version = "4.2.1.1";
|
||||
sha256 = "1zdpfh4k93ygrm91m7lw1la6n4yvaq3k2sqswgia04naf2wcmjka";
|
||||
buildDepends = [
|
||||
comonad dataReify erf free nats reflection tagged transformers
|
||||
];
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "aeson-pretty";
|
||||
version = "0.7.1";
|
||||
sha256 = "0gmm1kmdbanfyfdyij1gnazycp1x9703qfa5hgrz39j9046zg3y6";
|
||||
version = "0.7.2";
|
||||
sha256 = "03ap81853qi8yd9kdgczllrrni23a6glsfxrwj8zab6ipjrbh234";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "algebra";
|
||||
version = "4.1";
|
||||
sha256 = "1wcwpngaqnr9w89p5dycmpsaihdwqqrs2vjap6jfwrscq16yyyc6";
|
||||
version = "4.2";
|
||||
sha256 = "1b74c55326qsnpyqzyhyq87j61wp3zrpsqhipgw8db8nm2lq9nhs";
|
||||
buildDepends = [
|
||||
adjunctions distributive mtl nats semigroupoids semigroups tagged
|
||||
transformers void
|
||||
|
||||
@@ -27,5 +27,6 @@ cabal.mkDerivation (self: {
|
||||
license = self.stdenv.lib.licenses.mit;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = with self.stdenv.lib.maintainers; [ ocharles ];
|
||||
broken = true;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "atto-lisp";
|
||||
version = "0.2.1.2";
|
||||
sha256 = "0xl5b0gblab3v2sfaxvx3z96660r9xp1m2n3ri6aph3kldbpkfcg";
|
||||
version = "0.2.2";
|
||||
sha256 = "13lhdalam4gn9faa58c3c7nssdwp2y0jsfl1lnnvr3dx6wzp0jhc";
|
||||
buildDepends = [
|
||||
attoparsec blazeBuilder blazeTextual deepseq text
|
||||
];
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "aws";
|
||||
version = "0.10.5";
|
||||
sha256 = "1d82q2477wp08zavlkzsksalbkiczz3vzy17ijk2z5xsw5yslqnj";
|
||||
version = "0.11";
|
||||
sha256 = "19q7r74c5xw04vpwl2fwm675bvkp3vhlak63iqfl1927z2jsyva9";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "base-prelude";
|
||||
version = "0.1.6";
|
||||
sha256 = "1lc8j3wfaqh42pqshlizkpr67ghkr1m90m1g9xiw8h36p8n72fcm";
|
||||
version = "0.1.7";
|
||||
sha256 = "0xzgwj5sqx7y57biby77d6vrsghcmq85ha3frn8k4xq7wqqk4aqp";
|
||||
meta = {
|
||||
homepage = "https://github.com/nikita-volkov/base-prelude";
|
||||
description = "The most complete prelude formed from only the \"base\" package";
|
||||
|
||||
15
pkgs/development/libraries/haskell/bencode/default.nix
Normal file
15
pkgs/development/libraries/haskell/bencode/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, binary, parsec }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bencode";
|
||||
version = "0.5";
|
||||
sha256 = "018cj7h5llvnqyr1jd9nif2ig9hz8d8vmi9iax07all567yhy378";
|
||||
buildDepends = [ binary parsec ];
|
||||
meta = {
|
||||
description = "Parser and printer for bencoded data";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
||||
16
pkgs/development/libraries/haskell/binary-strict/default.nix
Normal file
16
pkgs/development/libraries/haskell/binary-strict/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, mtl }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "binary-strict";
|
||||
version = "0.4.8.1";
|
||||
sha256 = "07mmh4x8qjpw7w35nxcq8wayy4bagjblbwkpvh3xd38rxpdnl6pi";
|
||||
buildDepends = [ mtl ];
|
||||
meta = {
|
||||
homepage = "http://code.haskell.org/binary-low-level";
|
||||
description = "Binary deserialisation using strict ByteStrings";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,17 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, bindingsDSL, portaudio }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bindings-portaudio";
|
||||
version = "0.1";
|
||||
sha256 = "0wcxq300ijfkf4zc7p4xwsd9wzhnlss0kxjf04fka01mf9bh3ai2";
|
||||
buildDepends = [ bindingsDSL ];
|
||||
pkgconfigDepends = [ portaudio ];
|
||||
meta = {
|
||||
description = "Low-level bindings to portaudio library";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
};
|
||||
})
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bound";
|
||||
version = "1.0.3";
|
||||
sha256 = "0nfcxq87i9lzdkrg7g65cprn4rg9rhn9nyk2jpjh4c1rc7gdn0aq";
|
||||
version = "1.0.4";
|
||||
sha256 = "17qnrjmqhx07cpzwd1z4lp2d42jx1lfxl6b86d65g4fd79miipky";
|
||||
buildDepends = [
|
||||
bifunctors binary bytes cereal comonad hashable hashableExtras
|
||||
preludeExtras profunctors transformers
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bytes";
|
||||
version = "0.14.1.1";
|
||||
sha256 = "11bsl31352h5lj7ad68byqqc27d5iz53kwx7b433l44g9kaijrvc";
|
||||
version = "0.14.1.2";
|
||||
sha256 = "1v1nnp1m5i4bfr0fshbps163v6yn6var53p0vcvav6g4w5wffd7d";
|
||||
buildDepends = [
|
||||
binary cereal mtl text time transformers transformersCompat void
|
||||
];
|
||||
|
||||
30
pkgs/development/libraries/haskell/call/default.nix
Normal file
30
pkgs/development/libraries/haskell/call/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, bindingsPortaudio, boundingboxes, cleanUnions, colors
|
||||
, controlBool, deepseq, distributive, elevator, filepath, freetype2
|
||||
, GLFWB, hashable, JuicyPixels, JuicyPixelsUtil, lens, linear
|
||||
, minioperational, mtl, objective, OpenGL, OpenGLRaw, random
|
||||
, reflection, text, transformers, vector, WAVE
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "call";
|
||||
version = "0.1.1.2";
|
||||
sha256 = "1g96asydq0lc07xf2c709zdv99r6ljs5a7jm6fvlyjswqnbrwy9s";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
bindingsPortaudio boundingboxes cleanUnions colors controlBool
|
||||
deepseq distributive elevator filepath freetype2 GLFWB hashable
|
||||
JuicyPixels JuicyPixelsUtil lens linear minioperational mtl
|
||||
objective OpenGL OpenGLRaw random reflection text transformers
|
||||
vector WAVE
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/fumieval/call";
|
||||
description = "The call game engine";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
};
|
||||
})
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cgrep";
|
||||
version = "6.4.8";
|
||||
sha256 = "0xz2kzrvxxaa67x21dckv7l01s7jhmak7ka0rp8qygx6zjf836wy";
|
||||
version = "6.4.9";
|
||||
sha256 = "1g5np8r5h8hxgyxr3m7595xh7fiq1b8h9w6vm0ly81949lbwclga";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, blazeHtml, dataDefault, mtl, syb, text, uniplate
|
||||
, xssSanitize
|
||||
{ cabal, aeson, blazeHtml, dataDefault, httpTypes, mtl, syb, text
|
||||
, uniplate, wai, waiExtra, xssSanitize
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cheapskate";
|
||||
version = "0.1.0.1";
|
||||
sha256 = "0slrvbaamnwxx89kqjcr62058j00s2dw4c16q1swf817az2p66h8";
|
||||
version = "0.1.0.2";
|
||||
sha256 = "1bz3zi2w5vm128csg21swcz4cm7h8ybqylpknr4fnyxmg3gxdd7d";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
blazeHtml dataDefault mtl syb text uniplate xssSanitize
|
||||
aeson blazeHtml dataDefault httpTypes mtl syb text uniplate wai
|
||||
waiExtra xssSanitize
|
||||
];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "clientsession";
|
||||
version = "0.9.1";
|
||||
sha256 = "1hq4f5iq4xb9jilr6qprww9lql314vpfw5khwmizljry9cwd2gq7";
|
||||
version = "0.9.1.1";
|
||||
sha256 = "08h0461ydhfymw2pya472n81kx5rqp7awfgxlbz2r851rl5kqmn9";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
||||
@@ -1,24 +1,22 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, async, baseUnicodeSymbols, HUnit, random, stm
|
||||
, testFramework, testFrameworkHunit, unboundedDelays
|
||||
{ cabal, async, HUnit, random, stm, testFramework
|
||||
, testFrameworkHunit, unboundedDelays
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "concurrent-extra";
|
||||
version = "0.7.0.8";
|
||||
sha256 = "0q6n7wlakvnvfrjr3zmxbn9i0dxq96071j565vffp0r5abxkn83q";
|
||||
buildDepends = [ baseUnicodeSymbols stm unboundedDelays ];
|
||||
version = "0.7.0.9";
|
||||
sha256 = "19bqm0brnbhhmp5nypi995p27mna7kd33xzw0kf7yx2w2p2kb1aw";
|
||||
buildDepends = [ stm unboundedDelays ];
|
||||
testDepends = [
|
||||
async baseUnicodeSymbols HUnit random stm testFramework
|
||||
testFrameworkHunit unboundedDelays
|
||||
async HUnit random stm testFramework testFrameworkHunit
|
||||
unboundedDelays
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/basvandijk/concurrent-extra";
|
||||
description = "Extra concurrency primitives";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
hydraPlatforms = self.stdenv.lib.platforms.none;
|
||||
broken = true;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "conduit-extra";
|
||||
version = "1.1.4.2";
|
||||
sha256 = "0s2ggca6g2104dylbrkn090xwsfrp0946bhwf7fgpfpg9gi1sz1g";
|
||||
version = "1.1.5";
|
||||
sha256 = "1i38n3pdibjpi9kg37wvv4m6krfbsdd4baik804ss2ml1ry7gm4p";
|
||||
buildDepends = [
|
||||
attoparsec blazeBuilder conduit filepath monadControl network
|
||||
primitive resourcet stm streamingCommons text transformers
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "crypto-pubkey";
|
||||
version = "0.2.4";
|
||||
sha256 = "0mdjr6zma2q7r2z9qibp2bwf73bis6zrv7ss62i4pz42kndb9hh4";
|
||||
version = "0.2.5";
|
||||
sha256 = "18rxm6mgxp8x4ns2725pw6ja2g6n6k64dj9cbwdlsb13pkdh3lxq";
|
||||
buildDepends = [
|
||||
byteable cryptohash cryptoNumbers cryptoPubkeyTypes cryptoRandom
|
||||
];
|
||||
|
||||
31
pkgs/development/libraries/haskell/csv-conduit/default.nix
Normal file
31
pkgs/development/libraries/haskell/csv-conduit/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, attoparsec, attoparsecConduit, blazeBuilder, conduit
|
||||
, conduitExtra, dataDefault, HUnit, mmorph, monadControl, mtl
|
||||
, primitive, resourcet, testFramework, testFrameworkHunit, text
|
||||
, transformers, unorderedContainers, vector
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "csv-conduit";
|
||||
version = "0.6.3";
|
||||
sha256 = "1db1wlpl0ryyf8cmkrg1hgz4ggsvzy6z9ayzcc6n6rdywpfi29z4";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
attoparsec attoparsecConduit blazeBuilder conduit conduitExtra
|
||||
dataDefault mmorph monadControl mtl primitive resourcet text
|
||||
transformers unorderedContainers vector
|
||||
];
|
||||
testDepends = [
|
||||
HUnit mtl primitive testFramework testFrameworkHunit text
|
||||
transformers vector
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/ozataman/csv-conduit";
|
||||
description = "A flexible, fast, conduit-based CSV parser library for Haskell";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = with self.stdenv.lib.maintainers; [ bergey ];
|
||||
};
|
||||
})
|
||||
@@ -4,10 +4,12 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cuda";
|
||||
version = "0.6.5.0";
|
||||
sha256 = "0q4c2xgffkchn8kxhiwjganmb3ki4yjhx5665zwfd18bgvmlnp60";
|
||||
version = "0.6.5.1";
|
||||
sha256 = "04j57inw4wmd0l74ryxdgpjcbf3zkklgkqw9bv7yp4n96n40mp0y";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildTools = [ c2hs ];
|
||||
extraLibraries = [ cudatoolkit nvidia_x11 self.stdenv.gcc ];
|
||||
extraLibraries = [ cudatoolkit nvidia_x11 self.stdenv.cc ];
|
||||
doCheck = false;
|
||||
# Perhaps this should be the default in cabal.nix ...
|
||||
#
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "data-lens-light";
|
||||
version = "0.1.2";
|
||||
sha256 = "1xxphcd36vw1ib48rfmrg207h0i1hlby01bm3xsxnq90ygizvxk7";
|
||||
version = "0.1.2.1";
|
||||
sha256 = "038vfzb4vxk1qb0246l2kgv9br37wg59wnlhzyjpn97lypwlf68w";
|
||||
buildDepends = [ mtl ];
|
||||
meta = {
|
||||
homepage = "https://github.com/feuerbach/data-lens-light";
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "dbus";
|
||||
version = "0.10.8";
|
||||
sha256 = "1pqcb6fk6l2xzwyy3n9sa2q2k3qykym1f98n2zf75545ix46b1r6";
|
||||
version = "0.10.9";
|
||||
sha256 = "0sjnmxy0ikvg21sip7yadg4qr3lniy1wwpavkg48dc87gv98ymdb";
|
||||
buildDepends = [
|
||||
cereal libxmlSax network parsec random text transformers vector
|
||||
xmlTypes
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-contrib";
|
||||
version = "1.1.2.3";
|
||||
sha256 = "00bn9p2a6h26q7hfqqzwimfgr2avf7ilf61z3anz25raz8jqvfxc";
|
||||
version = "1.1.2.4";
|
||||
sha256 = "0iq5psy5wjm664hqsaprynba0b7x3ijxngh7mbk6hkh004vsna1w";
|
||||
buildDepends = [
|
||||
arithmoi circlePacking colour dataDefault dataDefaultClass
|
||||
diagramsCore diagramsLib forceLayout lens MonadRandom mtl parsec
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-core";
|
||||
version = "1.2.0.3";
|
||||
sha256 = "1pmdz75v2xl8y0clqifs017gq40syxqpfa2h2mc50pip3484a7m5";
|
||||
version = "1.2.0.4";
|
||||
sha256 = "1axkgprqs4jvzh5vfr118nzr1h0m48axr5jfiqqrqvy5xyjcagkq";
|
||||
buildDepends = [
|
||||
dualTree lens MemoTrie monoidExtras newtype semigroups vectorSpace
|
||||
vectorSpacePoints
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-lib";
|
||||
version = "1.2.0.5";
|
||||
sha256 = "0km2j74riybmlhpb3jp4i3xilz4q2ngkifnsq6bsk8d0m3kqizd6";
|
||||
version = "1.2.0.7";
|
||||
sha256 = "12ddlipp47j2mifwhi0ilb2fjdh2whk24s4d5h6ais2znj3hh99a";
|
||||
buildDepends = [
|
||||
active colour dataDefaultClass diagramsCore dualTree filepath
|
||||
fingertree hashable intervals JuicyPixels lens MemoTrie
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-postscript";
|
||||
version = "1.1.0.2";
|
||||
sha256 = "1djvra4igw43746wqhwg1ms76w2qlrsdwhr0b795si4wdx8k28b3";
|
||||
version = "1.1.0.3";
|
||||
sha256 = "172r7q9jzhy2kv5bsbakakwv6gpvy308gvp8xpirbch9mrvnjxhz";
|
||||
buildDepends = [
|
||||
dataDefaultClass diagramsCore diagramsLib dlist filepath hashable
|
||||
lens monoidExtras mtl semigroups split vectorSpace
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-rasterific";
|
||||
version = "0.1.0.4";
|
||||
sha256 = "0l6072blz56rc4nxr2s7gh5p3zdcyq8cfndbqgzndsfak6wyixgb";
|
||||
version = "0.1.0.5";
|
||||
sha256 = "1a95l8g55jsmqhbv9flk5kfkfa40z93axbjfz6xb74lyvl6xccwr";
|
||||
buildDepends = [
|
||||
dataDefaultClass diagramsCore diagramsLib filepath FontyFruity
|
||||
JuicyPixels lens mtl optparseApplicative Rasterific split
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-svg";
|
||||
version = "1.1.0.2";
|
||||
sha256 = "0dzws9c3swgnrx70a64614m9pc8rszfajgh674n7x56fbbp3ra1n";
|
||||
version = "1.1.0.3";
|
||||
sha256 = "0byqxwz9h1hi2yrq2vz32gv0az9q3l94qa2q3nl3j8sa64qmpdwq";
|
||||
buildDepends = [
|
||||
base64Bytestring blazeMarkup blazeSvg colour diagramsCore
|
||||
diagramsLib filepath hashable JuicyPixels lens monoidExtras mtl
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "distributed-process";
|
||||
version = "0.5.1";
|
||||
sha256 = "1c654l7r3cn89nknh67vsg7crnfhgswh4523qyrmn8z4ykyd0zfk";
|
||||
version = "0.5.2";
|
||||
sha256 = "04llhz9z28365idgj13hhwkp98zwqv6mhhy9i7416wk5d3r70g7l";
|
||||
buildDepends = [
|
||||
binary dataAccessor deepseq distributedStatic hashable mtl
|
||||
networkTransport random rank1dynamic stm syb time transformers
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "distributed-static";
|
||||
version = "0.3.0.0";
|
||||
sha256 = "1g8jr01jxlfshsz3mrpzl21q290whwz4va3zjp1h0d1pnfwz6jcj";
|
||||
version = "0.3.1.0";
|
||||
sha256 = "190b6vjcipgrvnfl72c0ssw8crza02gfw9kwyvwg043jcznihj08";
|
||||
buildDepends = [ binary rank1dynamic ];
|
||||
meta = {
|
||||
homepage = "http://haskell-distributed.github.com";
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "dual-tree";
|
||||
version = "0.2.0.4";
|
||||
sha256 = "0visavx0zqgmcjcq07vfhk6dn867269w2gxa8nvc79gya56c6wdp";
|
||||
version = "0.2.0.5";
|
||||
sha256 = "077njr9m6x9n2id0419rn6v4xwb9nvxshrmas9pkknp52va4ljg5";
|
||||
buildDepends = [ monoidExtras newtype semigroups ];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user