3
0
Fork 0
forked from mirrors/nixpkgs

* Updated evdev to the latest version. Otherwise, the arrow keys and

others break under KDE and Gnome unless you set the keyboard type to
  evdev (e.g. in the KDE System Settings).  See
  
    http://wiki.archlinux.org/index.php/Xorg_input_hotplugging#Using_the_evdev_driver_kills_my_arrow_keys.2C_printscreen_is_triggered_instead

  TODO: update this in the X.org generator.

svn path=/nixpkgs/trunk/; revision=15343
This commit is contained in:
Eelco Dolstra 2009-04-27 23:06:02 +00:00
parent 213fff3ca0
commit 5f9014cc7f

View file

@ -1375,13 +1375,14 @@ rec {
}) // {inherit inputproto randrproto xorgserver xproto ;}; }) // {inherit inputproto randrproto xorgserver xproto ;};
xf86inputevdev = (stdenv.mkDerivation { xf86inputevdev = (stdenv.mkDerivation {
name = "xf86-input-evdev-2.0.4"; name = "xf86-input-evdev-2.2.1";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = mirror://xorg/X11R7.4/src/everything/xf86-input-evdev-2.0.4.tar.bz2; url = mirror://xorg/individual/driver/xf86-input-evdev-2.2.1.tar.bz2 ;
sha256 = "1jhmq1fl8dnrdqcbzrzq29gqjfxzcz7ivlhb3p5x942cmynxqnl2"; sha256 = "19z27qikxc8dqxrfz3y6xiaf23hfaa1s79r0x0wvqjb2532bwmy3";
}; };
buildInputs = [pkgconfig inputproto randrproto xorgserver xproto ]; buildInputs = [pkgconfig inputproto kbproto libxkbfile randrproto xorgserver xproto ];
configureFlags = "--with-sdkdir=\${out}/include/xorg";
preBuild = " preBuild = "
sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c
"; ";