git clone git://anongit.freedesktop.org/xorg/util/modular and all the other repos. Build the stuff with xorg/util/modular/build.sh --autoresume Cont for mesa/* you need to add "--confflags -enable-sysfs before xserver you need to build libepoxy: git clone git://github.com/anholt/libepoxy.git cd libepoxy ln -s /usr/share/libtool/config/ltmain.sh . autoreconf -I /usr/local/share/aclocal export PKG_CONFIG_PATH=/usr/local/share/pkgconfig:/usr/local/lib/pkgconfig/ ./configure make make install when xserver fails: cd xorg/xserver/include mv glamor.h glamor.h.org cp ../glamor/glamor.h . cd - when driver/xf86-input-evdev fails: it depends on libudev but only in src/evdev.c:EvdevDeviceIsVirtual() to find out if devpath contains "LNXSYSTM" which seems to be related to acpi: http://www.linuxforums.org/forum/installation/139060-yaird-unrecognized-device-lnxsystm.html perhaps libsysfs could provide that functionality comment out the udev stuff: $ git diff | cat diff --git a/configure.ac b/configure.ac index 46f3dc7..1444ffc 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ XORG_DEFAULT_OPTIONS # Obtain compiler/linker options from server and required extensions PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10] xproto inputproto) -PKG_CHECK_MODULES(UDEV, libudev) +#PKG_CHECK_MODULES(UDEV, libudev) PKG_CHECK_MODULES(XI22, [inputproto >= 2.1.99.3] [xorg-server >= 1.11.99.901], HAVE_XI22="yes", HAVE_XI22="no") PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4]) diff --git a/src/evdev.c b/src/evdev.c index 2d99f07..e919012 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -39,7 +39,7 @@ #include #include -#include +//#include #include #include #include @@ -234,6 +234,7 @@ EvdevIsDuplicate(InputInfoPtr pInfo) static BOOL EvdevDeviceIsVirtual(const char* devicenode) { +#if 0 struct udev *udev = NULL; struct udev_device *device = NULL; struct stat st; @@ -264,6 +265,8 @@ out: udev_device_unref(device); udev_unref(udev); return rc; +#endif + return FALSE; } #ifndef HAVE_SMOOTH_SCROLLING when driver/xf86-input-vmmouse fails do: xorg/util/modular/build.sh -o driver/xf86-input-vmmouse --confflags --without-libudev when driver/xf86-video-v4l fails do: cd xorg/xserver/hw/xfree86/common git checkout -p 1d90e8811a7d4db328c0c944bec0aa3ed6afb70d xf86xv.h make install cd -