3
0
Fork 0
forked from mirrors/nixpkgs

* Don't call fc-cache (it tries to write in fontconfig's prefix).

svn path=/nixpkgs/trunk/; revision=8056
This commit is contained in:
Eelco Dolstra 2007-02-26 21:04:36 +00:00
parent 24399a3f49
commit 9f173879e3
2 changed files with 19 additions and 17 deletions

View file

@ -182,8 +182,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-adobe-utopia-type1-X11R7.0-1.0.1.tar.bz2;
sha256 = "1dnmnma1l7likn1jlbnc5bavs5467ymm45lwdlvj4d5gv4qn59qb";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontalias = (stdenv.mkDerivation {
name = "font-alias-1.0.1";
@ -252,8 +252,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-bh-ttf-X11R7.0-1.0.0.tar.bz2;
sha256 = "1pwy9nzmmwipia4zgp23h95mds1zsh4xiac54x61x6x4058j8s52";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontbhtype1 = (stdenv.mkDerivation {
name = "font-bh-type1-1.0.0";
@ -262,8 +262,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-bh-type1-X11R7.0-1.0.0.tar.bz2;
sha256 = "1mc2a667s2p4kb5p31cyqdr07mpxcqyrvsvfsg1xd0rdx4adxkpp";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontbitstream100dpi = (stdenv.mkDerivation {
name = "font-bitstream-100dpi-1.0.0";
@ -302,8 +302,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-bitstream-type1-X11R7.0-1.0.0.tar.bz2;
sha256 = "0vgx360jb9q15kjy6ynll850h2kc0lv3s115b3n5nnc9i8wrvw7n";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontcacheproto = (stdenv.mkDerivation {
name = "fontcacheproto-0.1.2";
@ -362,8 +362,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-ibm-type1-X11R7.0-1.0.0.tar.bz2;
sha256 = "1z2wr67sjl3vsg3x87ja189w0x25ywvir3jddlxny5m2f7si0hjk";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontisasmisc = (stdenv.mkDerivation {
name = "font-isas-misc-1.0.0";
@ -412,8 +412,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-misc-ethiopic-X11R7.0-1.0.0.tar.bz2;
sha256 = "1na882sk7mmb0dhmypzgfj0sv35jf2dap34k6jg5brzlp22500h4";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontmiscmeltho = (stdenv.mkDerivation {
name = "font-misc-meltho-1.0.0";
@ -422,8 +422,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-misc-meltho-X11R7.0-1.0.0.tar.bz2;
sha256 = "0g95r9v7ixbr7120p3d99c2yvxlmj5a6lwb19rzb0pdrap0g1jya";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fontmiscmisc = (stdenv.mkDerivation {
name = "font-misc-misc-1.0.0";
@ -532,8 +532,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.2/src/everything/font-xfree86-type1-X11R7.0-1.0.0.tar.bz2;
sha256 = "0kzr8jqfqp8gm6vh391l16vlmyclz9ck9nw2f9zjaqnlwzbzx96d";
};
buildInputs = [pkgconfig fontconfig mkfontdir mkfontscale ];
}) // {inherit fontconfig mkfontdir mkfontscale ;};
buildInputs = [pkgconfig mkfontdir mkfontscale ]; preInstall = "installFlags=(FCCACHE=true)";
}) // {inherit mkfontdir mkfontscale ;};
fslsfonts = (stdenv.mkDerivation {
name = "fslsfonts-1.0.1";

View file

@ -147,7 +147,9 @@ while (<>) {
}
if ($file =~ /AC_PATH_PROG\(FCCACHE/) {
push @requires, "fontconfig";
# Don't run fc-cache.
die if defined $extraAttrs{$pkg};
$extraAttrs{$pkg} = " preInstall = \"installFlags=(FCCACHE=true)\"; ";
}
sub process {