Bug#442314: xserver-xorg-input-synaptics: Please provide packages for xserver-xorg-core
On Sun, Sep 16, 2007 at 01:36:12 +0200, Harald Braumann wrote:
> Hi,
>
> had the same problem. I built it against xorg 7.3 and it works. Just a
> view minor modifications are needed. Patch attached.
>
> Regards,
> h
>
> diff -ru a/debian/control b/debian/control
> --- a/debian/control 2007-09-16 01:02:38.000000000 +0200
> +++ b/debian/control 2007-09-16 01:16:34.000000000 +0200
> @@ -21,7 +21,7 @@
> Depends: ${shlibs:Depends}, ${xserver:Depends}, libxi6
> Conflicts: xfree86-driver-synaptics (<< 0.14.4-2), xorg-driver-synaptics
> Replaces: xfree86-driver-synaptics (<< 0.14.4-2), xorg-driver-synaptics
> -Provides: xserver-xorg-input, xfree86-driver-synaptics, xorg-driver-synaptics
> +Provides: xserver-xorg-input-0.9, xfree86-driver-synaptics, xorg-driver-synaptics
This should be xserver-xorg-input-2 (as exported in
/usr/share/xserver-xorg/inputabiver).
> Suggests: gsynaptics | ksynaptics | qsynaptics
> Description: Synaptics TouchPad driver for X.Org/XFree86 server
> This package provides an input driver for the X.Org/XFree86 X server to enable
> diff -ru a/Makefile b/Makefile
> --- a/Makefile 2007-09-16 01:02:38.000000000 +0200
> +++ b/Makefile 2007-09-16 01:13:37.000000000 +0200
> @@ -33,11 +33,12 @@
> SYNAPTICS_DRV = synaptics_drv.so
> LDCOMBINEFLAGS = -shared -lc
> PICFLAG = $(call check_gcc,-fPIC,)
> + PIXMAN_INCLUDES = $(shell pkg-config pixman-1 --cflags)
> X_INCLUDES_ROOT = $(INSTALLED_X)
> SDKDIR = $(shell pkg-config xorg-server --variable=sdkdir)
> ALLINCLUDES = -I. -I$(INSTALLED_X)/include/X11 \
> -I$(INSTALLED_X)/include/X11/extensions \
> - -I$(SDKDIR)
> + -I$(SDKDIR) $(PIXMAN_INCLUDES)
> else
> INSTALLED_X = /usr/X11R6
> INPUT_MODULE_DIR = $(DESTDIR)/$(INSTALLED_X)/$(LIBDIR)/modules/input
>
And this should just use 'pkg-config --cflags xorg-server'.
Cheers,
Julien
Reply to: