xorg-server:

- some cleanups
This commit is contained in:
Stephan Raue 2010-01-01 18:34:48 +01:00
parent 3e164b9b19
commit 19db1fcd8e
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,17 @@
SUBSYSTEM!="input", GOTO="x11_input_end"
ACTION!="change|add", GOTO="x11_input_end"
KERNEL!="event*", GOTO="x11_input_end"
# use the evdev driver by default
ENV{x11_driver}="evdev"
# set xkb layout if we have keys
ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="us"
# use synaptics for touchpads
ENV{ID_INPUT_TOUCHPAD}=="?*", ENV{x11_driver}="synaptics"
# use wacom for tablet
ENV{ID_INPUT_TABLET}=="?*", ENV{x11_driver}="wacom"
LABEL="x11_input_end"

View File

@ -15,6 +15,7 @@ $SCRIPTS/install udev
XORG_SRC="$PKG_BUILD/hw/xfree86"
XORG_DST="$INSTALL/$XORG_PATH_MODULES"
PKG_DIR=`find $PACKAGES -type d -name $1`
mkdir -p $INSTALL/usr/bin
cp $XORG_SRC/Xorg $INSTALL/usr/bin
@ -49,7 +50,7 @@ mkdir -p $INSTALL/etc/X11
cp $PKG_BUILD/dix/protocol.txt $INSTALL/etc/X11
mkdir -p $INSTALL/lib/udev/rules.d
cp $PKG_BUILD/config/x11-input.rules $INSTALL/lib/udev/rules.d
cp $PKG_DIR/config/*.rules $INSTALL/lib/udev/rules.d
#Fonts
$SCRIPTS/install encodings