error making utouch-geis without XI2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Geis |
Fix Released
|
Low
|
Stephen M. Webb | ||
Frugalware Linux |
New
|
Undecided
|
Unassigned |
Bug Description
with version 2.0.4 and higher I can't compile utouch-geis.
In file included from ../../.
../../.
geis_xcb_backend.c: In function '_map_xi2_
geis_xcb_
geis_xcb_
geis_xcb_
geis_xcb_backend.c: In function '_report_
geis_xcb_
geis_xcb_
geis_xcb_
geis_xcb_
geis_xcb_
geis_xcb_
geis_xcb_
geis_xcb_backend.c: In function '_report_
geis_xcb_
My OS is Archlinux.
[rd@rdbook ~]$ pacman -Q | grep utouch
utouch-evemu 1.0.5-1
utouch-frame 1.1.2-1
utouch-geis 2.0.3-1
utouch-grail 1.0.20-2
[rd@rdbook ~]$ pacman -Q libxi
libxi 1.4.2-1
What's wrong? :(
Related branches
- Chase Douglas (community): Approve
- Henrik Rydberg (community): Approve
- Duncan McGreggor (community): Needs Information
-
Diff: 132 lines (+56/-2)4 files modifiedChangeLog (+8/-0)
configure.ac (+6/-2)
libutouch-geis/backend/xcb/geis_xcb_backend.c (+6/-0)
m4/ax_enable_xi2.m4 (+36/-0)
Changed in utouch-geis: | |
status: | New → Triaged |
Changed in utouch-geis: | |
milestone: | none → 2.0.11 |
assignee: | nobody → Stephen M. Webb (bregma) |
Changed in utouch-geis: | |
status: | Triaged → Fix Committed |
Changed in utouch-geis: | |
status: | Fix Committed → Fix Released |
Changed in utouch-geis: | |
status: | Fix Released → New |
Changed in utouch-geis: | |
status: | New → Fix Committed |
milestone: | 2.0.11 → 2.1.1 |
Changed in utouch-geis: | |
status: | Fix Committed → Fix Released |
The problem is your version of the libxi-dev package does not contain XI2.1 support.
The use of XI2.1 in the XCB back end of libutouch-geis is isolated to device detection functions. It is simple enough to make those code lines optional on the presence of XI2.1, at the price of a lack of hardware detection. See the attached patch.
The lack of proper device detection can have serious consequences going forward, since the interpretation of gestures can vary according to the nature of the originating device.