Bug#538299: xserver-xorg-input-synaptics: fails to build against lenny
Package: xserver-xorg-input-synaptics
Version: 1.1.2-1
Severity: normal
Tags: patch
Hi there,
when trying to build xserver-xorg-input-synaptics from unstable against a lenny
system, the fails with this messages:
gcc -Wall -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../../src -o synclient synclient.o -lm -lX11 -lXi
synclient.o: In function `dp_get_device':
/home/youam/deleteme/tmp/xserver-xorg-input-synaptics-1.1.2/obj-i486-linux-gnu/tools/../../tools/synclient.c:490: undefined reference to `XListDeviceProperties'
synclient.o: In function `dp_set_variables':
/home/youam/deleteme/tmp/xserver-xorg-input-synaptics-1.1.2/obj-i486-linux-gnu/tools/../../tools/synclient.c:562: undefined reference to `XGetDeviceProperty'
/home/youam/deleteme/tmp/xserver-xorg-input-synaptics-1.1.2/obj-i486-linux-gnu/tools/../../tools/synclient.c:598: undefined reference to `XChangeDeviceProperty'
synclient.o: In function `dp_show_settings':
/home/youam/deleteme/tmp/xserver-xorg-input-synaptics-1.1.2/obj-i486-linux-gnu/tools/../../tools/synclient.c:635: undefined reference to `XGetDeviceProperty'
collect2: ld returned 1 exit status
The reason is that libxi6 in stable is to old for unstable's
xserver-xorg-input-synaptics, which of course by itself is okay. Having the
build fail instead of not starting at all because of the missmatched versions
isn't...
Please change the unversioned dependency on
libxi-dev
into a versioned dependency on somewhere around 1.2.0, where the appropriate
symbols seem to have been introduced.
btw, backporting the rest of X from unstable to stable worked really
straigtforward, mostly it's been a plain recompile.
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: