mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
xkeyboard-config update to 1.5
svn path=/nixpkgs/trunk/; revision=15448
This commit is contained in:
parent
88ada9468b
commit
01548fb7b9
@ -1,11 +1,13 @@
|
|||||||
{stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool}:
|
{stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool}:
|
||||||
|
|
||||||
|
let version = "1.5"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xkeyboard-config-1.4";
|
name = "xkeyboard-config-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-1.4.tar.bz2;
|
url = "http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-${version}.tar.bz2";
|
||||||
sha256 = "1qdhhc5ji8677dna9qj6kisgpfzhpjmaavdjzvvrv9chrxyqa6lj";
|
sha256 = "1r276ik3x0jg77zza37ggrnp7zbdvmjyrm9mwxxgzh3bmligy5ff";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [perl perlXMLParser xkbcomp gettext intltool];
|
buildInputs = [perl perlXMLParser xkbcomp gettext intltool];
|
||||||
@ -14,6 +16,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86"
|
configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86"
|
||||||
|
sed -e 's@#!\s*/bin/bash@#! /bin/sh@' -i rules/merge.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
partial hidden alphanumeric_keys
|
partial hidden alphanumeric_keys
|
||||||
xkb_symbols "altgr-intl" {
|
xkb_symbols "altgr-intl-rich" {
|
||||||
|
|
||||||
name[Group1]= "U.S. English - International (AltGr dead keys)";
|
name[Group1]= "U.S. English - International (AltGr dead keys)";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user