Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415089 - x11-drivers/xf86-input-evdev - add utouch support
Summary: x11-drivers/xf86-input-evdev - add utouch support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 23:56 UTC by peter john hartman
Modified: 2017-01-26 06:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated glib ebuild (glib-2.30.3.ebuild,8.85 KB, text/plain)
2012-05-08 22:44 UTC, peter john hartman
Details
glib utouch patch (glib-2.28.2-gio_launch_handler.patch,8.60 KB, text/plain)
2012-05-08 22:44 UTC, peter john hartman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peter john hartman 2012-05-07 23:56:10 UTC
This bug concerns the ubuntu utouch code and its port to gentoo.  The following ebuilds should work.
Comment 1 peter john hartman 2012-05-08 13:38:00 UTC
In order to get ubuntu's utouch stuff (https://launchpad.net/canonical-multitouch) working in gentoo, we need to patch (at least) inputproto, xf86-input-evdev, and glib.  I've attached the ebuilds associated with this project.  A lot of these come from sabotageandi's previous work, although some fixes needed to happen.

The utouch was required in order to get my atmel-maxtouch screen to work (it is an asus transformer prime) in X.  

You should turn on USE="utouch" and emerge the following ebuilds:
inputproto, xorg-server, xf86-input-evdev, glib, libXi, utouch-frame, utouch-grail, utouch-evemu, mtdev.

sabotageandi also suggested utouch-geis, bamf, and ginn, which I haven't (yet) needed.

There are still open bugs.  For instance, the cursor doesn't redraw.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-08 15:22:53 UTC
What is the end goal here? What packages need these packages to support additional features?
Comment 3 peter john hartman 2012-05-08 15:24:39 UTC
(In reply to comment #2)
> What is the end goal here? What packages need these packages to support
> additional features?

evdev needs utouch packages in order to work on an atmel-maxtouch.  (also I'll upload the ebuilds this afternoon, once I get a web browser installed on this machine)
Comment 4 peter john hartman 2012-05-08 22:44:02 UTC
Created attachment 311203 [details]
updated glib ebuild

updated to include the associated patch
Comment 5 peter john hartman 2012-05-08 22:44:33 UTC
Created attachment 311205 [details]
glib utouch patch
Comment 6 peter john hartman 2012-05-08 22:45:27 UTC
Rather than reduplicate effort, all the ebuilds located on sabotageandi's overlay, with the exception of the attached glib ebuild, will work.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-09 14:46:20 UTC
Please try to supply canonical (which is, Gentoo's) CATEGORY/PKG names. So this is only about dev-libs/glib?
Comment 8 peter john hartman 2012-05-09 14:53:33 UTC
(In reply to comment #7)
> Please try to supply canonical (which is, Gentoo's) CATEGORY/PKG names. So
> this is only about dev-libs/glib?

The packages you will need are the following (from sabotageandi's overlay), with the versions listed in the comment above:

x11-proto/inputproto
x11-drivers/xf86-input-evdev
x11-libs/libXi
x11-libs/mtdev
x11-libs/utouch-evemu
x11-libs/utouch-grail
x11-libs/utouch-frame
x11-base/xorg-server

In addition, you will want the updated: 
dev-libs/glib-2.30.3 

This ebuild (and patch) is attached to the comment above.  (The dev-libs/glib he provides is 2.28.2, which is old.)

Some of this is a bit of a mess, and so this bug is also a RFC on how to clean all this up and (maybe) get it into mainstream.  

A BRIEF SUMMARY OF HOW IT ALL FITS TOGETHER

evdev needs utouch-evemu/grail/frame, which require patches to evdev, patches to inputproto, patches to libXi, patches to glib, and a certain version of xorg-server.
Comment 9 peter john hartman 2012-05-09 14:55:56 UTC
Sorry, the versions weren't listed above.  Here they are:
> x11-proto/inputproto-2.0.2-r1
> x11-drivers/xf86-input-evdev-2.6.0-r2
> x11-libs/libXi-1.4.3
> x11-libs/mtdev-1.1.0
> x11-libs/utouch-evemu-1.0.5
> x11-libs/utouch-grail-2.0.0
> x11-libs/utouch-frame-1.1.3
> x11-base/xorg-server-1.10.4-r2
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-10 03:20:13 UTC
So that's x11-drivers/xf86-input-evdev, right? Definitively?
Comment 11 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-05-10 03:23:46 UTC
Please also add links to the upstream bugs (at https://bugs.freedesktop.org/ ) to this bug, if any exist.
Comment 12 peter john hartman 2012-05-10 10:28:51 UTC
(In reply to comment #10)
> So that's x11-drivers/xf86-input-evdev, right? Definitively?

yes
Comment 13 Matthew Schultz 2014-08-21 19:00:34 UTC
(In reply to peter john hartman from comment #12)
> (In reply to comment #10)
> > So that's x11-drivers/xf86-input-evdev, right? Definitively?
> 
> yes

So how does this work?  I only see a patch for glib but this mentions support needed for xinput-input-evdev?
Comment 14 Matt Turner gentoo-dev 2017-01-26 06:04:37 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #11)
> Please also add links to the upstream bugs (at https://bugs.freedesktop.org/
> ) to this bug, if any exist.

Please take this upstream.