* Graphviz updated to 2.20.2. Now built with fontconfig, gd and pango
support. * New function makeFontsConf to generate a fontconfig configuration file. Moved from NixOS. * dot2pdf: use makeFontsConf to generate a fonts.conf containing just the Ghostscript fonts (see NIXPKGS-29). * dot2pdf: generate PDF directly, don't go through PS. Note that this and using fontconfig changes the interpretation of "fontname" attributes in dot graphs. svn path=/nixpkgs/trunk/; revision=12251
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
{stdenv, fetchurl, x11, libpng, libjpeg, expat, libXaw, yacc, libtool}:
|
||||
{ stdenv, fetchurl, pkgconfig, x11, libpng, libjpeg, expat, libXaw
|
||||
, yacc, libtool, fontconfig, pango, gd
|
||||
}:
|
||||
|
||||
assert libpng != null && libjpeg != null && expat != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "graphviz-2.16.1";
|
||||
name = "graphviz-2.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.16.1.tar.gz;
|
||||
sha256 = "1lan1hyar0xbqvnkcmlcvv02g8zfpk94gk04y4sik5irpa2s3h9j";
|
||||
url = http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.20.2.tar.gz;
|
||||
sha256 = "13mw0mhr4n14c5q7a6c44cvggl5hiqbx53ynr53s67rldvzcilgm";
|
||||
};
|
||||
|
||||
buildInputs = [x11 libpng libjpeg expat libXaw yacc libtool];
|
||||
buildInputs = [pkgconfig x11 libpng libjpeg expat libXaw yacc libtool fontconfig pango gd];
|
||||
|
||||
configureFlags =
|
||||
[ "--with-pngincludedir=${libpng}/include"
|
||||
"--with-pnglibdir=${libpng}/lib"
|
||||
|
||||
Reference in New Issue
Block a user