2011-07-21 16:14:20 +04:00
|
|
|
{ stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool }:
|
2007-03-30 01:02:22 +04:00
|
|
|
|
2010-07-19 01:51:33 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2012-09-26 23:51:57 +04:00
|
|
|
name = "xkeyboard-config-2.7";
|
2007-03-30 01:02:22 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-09-26 23:51:57 +04:00
|
|
|
url = "mirror://xorg/individual/data/xkeyboard-config/${name}.tar.bz2";
|
|
|
|
sha256 = "08c3mjdgp7c2v6lj5bymaczcazklsd7s1lxslxbngzmh5yhphd74";
|
2007-03-30 01:02:22 +04:00
|
|
|
};
|
|
|
|
|
2011-12-03 13:07:56 +04:00
|
|
|
buildInputs = [ gettext ];
|
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ perl perlXMLParser intltool xkbcomp ];
|
2007-03-30 01:02:22 +04:00
|
|
|
|
2009-06-04 01:21:10 +04:00
|
|
|
patches = [ ./eo.patch ];
|
|
|
|
|
2008-10-09 16:12:58 +04:00
|
|
|
preConfigure = ''
|
2012-05-16 01:30:03 +04:00
|
|
|
configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86 --disable-runtime-deps"
|
2009-05-05 13:55:20 +04:00
|
|
|
sed -e 's@#!\s*/bin/bash@#! /bin/sh@' -i rules/merge.sh
|
2008-10-09 16:12:58 +04:00
|
|
|
'';
|
2007-08-03 01:28:26 +04:00
|
|
|
|
2008-01-10 11:01:48 +03:00
|
|
|
postInstall = ''
|
2008-10-09 16:12:58 +04:00
|
|
|
cat ${./level3-deadkeys-us-intl} >> $out/etc/X11/xkb/symbols/us
|
2008-01-10 11:01:48 +03:00
|
|
|
'';
|
2007-03-30 01:02:22 +04:00
|
|
|
}
|