Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234794 - xf86-input-synaptics 0.15.0 released
Summary: xf86-input-synaptics 0.15.0 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tony Vroon (RETIRED)
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-15 08:50 UTC by Christian Loosli
Modified: 2008-08-22 17:14 UTC (History)
3 users (show)

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


Attachments
Patch to synaptics-0.14.6-r3 -> xf86-input-synaptics-0.15.0.ebuild (update_synaptics_ebuild_to_xf86-input-synaptics.patch,2.24 KB, patch)
2008-08-18 11:17 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Loosli 2008-08-15 08:50:17 UTC
The synaptics driver is now under new management and license, thus there was an update (which includes new features and bug fixes as well) 

Read the details here: 
http://lists.freedesktop.org/archives/xorg-announce/2008-August/000629.html

Thanks in advance for an updated ebuild. 

(This is just a notify, not a "why isn't there an ebuild yet???!!!) 

Reproducible: Always

Steps to Reproduce:
1. Look at versions available
2. 0.15.0 is not there yet
3. Read 
http://lists.freedesktop.org/archives/xorg-announce/2008-August/000629.html

Actual Results:  
Old version in portage

Expected Results:  
New release in portage
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-15 11:16:56 UTC
Assuming that's x11-drivers/synaptics...
Comment 2 Christoph Brill (egore) (RESIGNED) 2008-08-15 13:13:18 UTC
x11-drivers/synaptics should be deprecated by x11-drivers/xf86-input-synaptics

The later one should be straightforward to build (uses autotools, much similar to xf86-input-evdev where most of the autotools stuff was taken from).
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2008-08-18 11:17:09 UTC
Created attachment 163194 [details, diff]
Patch to synaptics-0.14.6-r3 -> xf86-input-synaptics-0.15.0.ebuild

Changes:
 * Upstream added several fixes from various distros and integrated synaptics into the X modules list, and changed LICENSE to MIT. They also fixed the build system (using evdev's now).
 * Arch Keywords are untouched since the core code hasn't changed much.
 * Use x-modular.eclass. Removes need for SLOT, LICENSE, HOMEPAGE, SRC_URI, custom src_compile, src_install, etc.
 * Reorder the ebuild removing obsolete patches. Only the following files are used now:
   files/
    11-x11-synaptics.fdi 
    rc.conf
    rc.init
    synaptics-fix-xinerama.patch

Tested to compile and work with ~x86 and masked =x11-base/xorg-server-1.4.99.906

Recommend making the masked xorg ebuilds depend on x11-drivers/xf86-input-synaptics (INPUT_DEVICES=synaptics) instead of x11-drivers/synaptics (which is broken with xorg-1.4.99*). 

Not sure if libsynaptics (the only other revdep besides) is still compatible with this new version. Probably is though since the core code is unchanged.
Comment 4 Eddie Hung 2008-08-19 22:34:51 UTC
Using that new ebuild I found that the xinerama patch failed to apply... I don't use xinerama so I just commented out the epatch line and it compiled fine!
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2008-08-20 02:34:05 UTC
(In reply to comment #4)
> Using that new ebuild I found that the xinerama patch failed to apply... I
> don't use xinerama so I just commented out the epatch line and it compiled
> fine!
> 

Oops, you need to *edit* the xinerama patch :)
The source code moved to a subdirectory (src/) so you need to add that.

--- synaptics-0.14.6.orig/synaptics.c       2008-01-18 23:32:59.000000000 -0500
+++ synaptics-0.14.6/synaptics.c    2008-01-18 23:32:15.000000000 -0500

becomes:

--- synaptics-0.14.6.orig/src/synaptics.c       2008-01-18 23:32:59.000000000 -0500
+++ synaptics-0.14.6/src/synaptics.c    2008-01-18 23:32:15.000000000 -0500
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2008-08-22 16:54:45 UTC
I am picking this up.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2008-08-22 17:06:48 UTC
+*xf86-input-synaptics-0.15.0 (22 Aug 2008)
+
+  22 Aug 2008; <chainsaw@gentoo.org> +files/11-x11-synaptics.fdi,
+  +files/rc.conf, +files/rc.init, +files/synaptics-fix-xinerama.patch,
+  +metadata.xml, +xf86-input-synaptics-0.15.0.ebuild:
+  Initial commit, ebuild patching and suggestions by Nirbheek Chauhan
+  <nirbheek.chauhan@gmail.com>, closes bug #234794 by Christian Loosli
+  <fuchs@fuchsnet.ch>.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2008-08-22 17:09:11 UTC
Christian, thank you for filing a bug report. Nirbheek, thank you for identifying the required ebuild changes to build this package.

Thank to both of you, this new input driver is now in portage. I have masked it together with the new X.Org (same block in package.mask) so as to not unload it on unsuspecting people immediately.
I will file a keywording bug for this new software shortly, and I will reply here with the bug number so you can CC yourself if it interests you.

Your contribution to Gentoo Linux is highly appreciated.
Comment 9 Tony Vroon (RETIRED) gentoo-dev 2008-08-22 17:14:40 UTC
I have filed bug #235464 to bring the keywords in line with the older synaptics package.