Fix builds depending on libXft

wip/yesman
Eelco Dolstra 12 years ago
parent 5b7d7b11f3
commit 4a6a87eedc
  1. 5
      pkgs/development/libraries/freetype/default.nix
  2. 10
      pkgs/servers/x11/xorg/overrides.nix

@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall =
''
ln -s freetype2/freetype $out/include/freetype
'';
meta = {
description = "A font rendering engine";
homepage = http://www.freetype.org/;

@ -109,21 +109,19 @@ in
compositeproto = attrs: attrs // {
propagatedBuildInputs = [ xorg.fixesproto ];
};
libXcomposite = attrs: attrs // {
propagatedBuildInputs = [ xorg.libXfixes ];
};
libXaw = attrs: attrs // {
propagatedBuildInputs = [ xorg.libXmu ];
};
libXft = attrs: attrs // {
buildInputs = attrs.buildInputs ++
[ xorg.xproto xorg.libX11 xorg.renderproto ];
# probably, fontconfig and freetype could be added
# pkgconfig seems to be nice, too...
propagatedBuildInputs = [ xorg.libXrender ];
propagatedBuildInputs = [ xorg.libXrender args.freetype args.fontconfig ];
preConfigure = setMalloc0ReturnsNullCrossCompiling;
};

Loading…
Cancel
Save