Fixing the catalan locale for kicad (it had the wrong encoding written)

svn path=/nixpkgs/trunk/; revision=23554
This commit is contained in:
Lluís Batlle i Rossell 2010-08-31 09:24:49 +00:00
parent aa86a0c4a2
commit 6acc186e0e

View File

@ -1,4 +1,4 @@
{stdenv, fetchsvn, unzip, cmake, mesa, wxGTK, zlib, libX11}:
{stdenv, fetchsvn, unzip, cmake, mesa, wxGTK, zlib, libX11, gettext}:
stdenv.mkDerivation rec {
name = "kicad-svn-2518";
@ -19,11 +19,15 @@ stdenv.mkDerivation rec {
# so we have to handle this.
patchPhase = ''
sed -i -e 's,/usr/local/kicad,'$out,g common/gestfich.cpp
pushd internat/ca
sed -i -e s/iso-8859-1/utf-8/ kicad.po
msgfmt -o kicad.mo kicad.po
popd
'';
enableParallelBuilding = true;
buildInputs = [ unzip cmake mesa wxGTK zlib libX11 ];
buildInputs = [ unzip cmake mesa wxGTK zlib libX11 gettext ];
postInstall = ''
mkdir library