* Get some TTF fonts to work. Must merge with the generator.

svn path=/nixpkgs/trunk/; revision=7708
This commit is contained in:
Eelco Dolstra 2007-01-17 17:18:14 +00:00
parent a71003612b
commit aa0918867b

View File

@ -252,7 +252,7 @@ rec {
url = http://nix.cs.uu.nl/dist/tarballs/font-bh-ttf-X11R7.0-1.0.0.tar.bz2;
md5 = "53b984889aec3c0c2eb07f8aaa49dba9";
};
buildInputs = [pkgconfig ];
buildInputs = [pkgconfig mkfontdir mkfontscale fontconfig ];
}) // {inherit ;};
fontbhtype1 = (stdenv.mkDerivation {
@ -1122,7 +1122,8 @@ rec {
url = http://nix.cs.uu.nl/dist/tarballs/mkfontdir-X11R7.1-1.0.2.tar.bz2;
md5 = "384ee10787c455c520bcf031989de6f3";
};
buildInputs = [pkgconfig ];
buildInputs = [pkgconfig mkfontscale ];
preBuild = "substituteInPlace mkfontdir.cpp --replace BINDIR $(dirname $(type -tp mkfontscale))";
}) // {inherit ;};
mkfontscale = (stdenv.mkDerivation {