[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#665004: possible "solution"


I found a "solution" for this bug.

I look into the GIT repo for this package.

I noted in the changelog of the following line:
 Multitouch isn't enabled yet (it would require a newer server anyway).

Looking into configure.ac I spotted
 PKG_CHECK_MODULES(XI22, [inputproto >=] [xorg-server >=], HAVE_XI22="yes", HAVE_XI22="no")
 if test "x$HAVE_XI22" = xyes; then
     AC_DEFINE(HAVE_MULTITOUCH, 1, [XI2.2 available])
but currently in Debian/testing x11proto-input-dev=inputproto is at 2.1 
and  xserver-xorg-dev=xorg-server is at 1.11.4
whereas in Debian/experimental   x11proto-input-dev is at , 
 xserver-xorg-dev is at  1.12.0-1

So I issued
# apt-get -t experimental install x11proto-input-dev xserver-xorg-dev
and moreover it turned out that I needed
# apt-get install libmtdev-dev

This way I could compile the "synaptics" module with multitouch enabled;
unfortunately the resulting module has ABI 16, whereas the server has ABI 13;
to install the server from experimental, I also had to recompile
 xserver-xorg-input-evdev so that it now has ABI 16 as well.

I installed the synaptics and evdev modules, and the server from 
experimental, and it all works fine.

I attach anyway the patch to the GIT repo.

So the solution may be to upload a version with my patch to experimental,
and similarly for x---evdev, so people that want to upgrade 
and still use multitouch may use that; and in due time move it all to 
unstable and to testing.

NB : I use the proprietary nvidia driver ; I did not recompile it in any 
 way :-)


ps: And, just in case I can confirm the bug . I use a MacBook 5.1.
 Both actions:
  swipe two fingers on pad -> scrolling
  click on touchpad with two/3 fingers ->  right/center mouse click
 do not work with the synaptic package now in unstable.
diff --git a/debian/changelog b/debian/changelog
index 21adbd7..652d629 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-input-synaptics ( unstable; urgency=low
+  * enable multitouch
+ -- A Mennucc1 <mennucc1@debian.org>  Thu, 05 Apr 2012 15:18:43 +0200
 xserver-xorg-input-synaptics ( unstable; urgency=low
   * New upstream release candidate (1.6 RC2).
diff --git a/debian/control b/debian/control
index 87ddf23..10a52f1 100644
--- a/debian/control
+++ b/debian/control
@@ -11,10 +11,12 @@ Build-Depends:
  libxi-dev (>= 2:1.2.0),
- xserver-xorg-dev (>= 2:1.9.4),
+ x11proto-input-dev (>=,
+ xserver-xorg-dev (>= 2:,
- xutils-dev (>= 1:7.5+4)
+ xutils-dev (>= 1:7.5+4),
+ libmtdev-dev
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-synaptics
 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-synaptics.git

Reply to: