Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234369 - [x11 overlay] live x11-drivers/synaptics
Summary: [x11 overlay] live x11-drivers/synaptics
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
: 235368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-10 11:40 UTC by Geaaru
Modified: 2008-11-19 23:12 UTC (History)
3 users (show)

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


Attachments
synaptics-9999 driver (synaptics-9999.ebuild,1.34 KB, text/plain)
2008-08-10 11:41 UTC, Geaaru
Details
Synaptics git version ebuild (synaptics-9999.ebuild,1021 bytes, text/plain)
2008-08-10 18:42 UTC, Geaaru
Details
Revision 0.3 of synaptics-9999.ebuild (synaptics-9999.ebuild,958 bytes, text/plain)
2008-08-11 11:33 UTC, Geaaru
Details
x11-drivers/xf86-input-synaptics-9999 (xf86-input-synaptics-9999.ebuild,461 bytes, text/plain)
2008-08-14 21:24 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geaaru 2008-08-10 11:40:35 UTC
In attachment i inserted ebuild for compile synaptics driver for git xorg-server version.
I doesn't found it on x11 layman so i hope that this ebuild will be added to layman for others users.

Thanks.

Ge@@ru

Reproducible: Always
Comment 1 Geaaru 2008-08-10 11:41:50 UTC
Created attachment 162612 [details]
synaptics-9999 driver

Git version of synaptics driver compliant with git xorg-server.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-10 16:52:09 UTC
you probably want to replace call to autogen by eautoreconf (and inherit the autotools eclass) because it will take care of setting proper automake dependencies.
Comment 3 Geaaru 2008-08-10 18:42:35 UTC
Created attachment 162635 [details]
Synaptics git version ebuild

Sorry, i inserted eautoreconf command and removed commented lines.
Thanks.

Ge@@ru
Comment 4 Hong Hao 2008-08-11 10:06:58 UTC
> Sorry, i inserted eautoreconf command and removed commented lines.
> Thanks.
> 
> Ge@@ru
> 

src_unpack might be redundant.
Comment 5 Geaaru 2008-08-11 11:33:51 UTC
Created attachment 162669 [details]
Revision 0.3 of synaptics-9999.ebuild

Removed redundant src_unpack function.
Comment 6 Christoph Brill (egore) (RESIGNED) 2008-08-14 21:24:57 UTC
Created attachment 162929 [details]
x11-drivers/xf86-input-synaptics-9999

The ebuild posted here did some nasty (and wrong) things. First of all the driver changed its license from GPL2 to MIT. Second it is now hosted on the official freedesktop.org infrastructure. Last but not least the ebuild did some useless things covered by the x-modular eclass. I hope the author doesn't mind that I rewrote it :-)

Note: I added the arches marked green from http://tinderbox.x.org/
Comment 7 Geaaru 2008-08-15 07:32:18 UTC
Thanks at all. 
There is still one thing, it is needed update xorg-server-9999.ebuild to use new synaptics driver:
Instead of
	input_devices_synaptics? ( x11-drivers/synaptics )
it is needed
        input_devices_synaptics? (x11-drivers/xf86-input-synaptics )

Bye

P.S. When will be available to x11-overlay? :)
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2008-08-19 17:07:40 UTC
Whenever someone with commit access to the overlay gets around to it. =)
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-21 15:04:16 UTC
*** Bug 235368 has been marked as a duplicate of this bug. ***
Comment 10 valentin 2008-08-21 15:23:06 UTC
i'd suggest moving the xorg-server dep to runtime dependency, since it's more a rdep than a mere build dep. 
also the following deps are useless because deps of xorg-server which would be pulled in before compiling synaptic driver.
	x11-base/xorg-server
	x11-proto/inputproto
	x11-proto/randrproto
	x11-proto/xproto
	x11-libs/libX11
i'd also add the hal dep in the rdeps cause of the fdi the driver compiles.
        hal? (>=sys-apps/hal-0.5.10)
and the block with old synaptics driver in build dependency:
        !x11-drivers/synaptics
cause you can only use one of the 2 drivers and not both of them.
also a blocker with ksynaptics could be ok since ksynaptics works only with the old synaptics driver
        !kde-misc/ksynaptics

i'd also insert in xorg-server the choice dep between the synaptics and xf86-input-synaptics when synaptics input device is tagged as active in xorg use flags.
Comment 11 Christoph Brill (egore) (RESIGNED) 2008-08-24 12:15:02 UTC
(In reply to comment #10)
> i'd also add the hal dep in the rdeps cause of the fdi the driver compiles.
>         hal? (>=sys-apps/hal-0.5.10)

The .fdi is not installed right now. We just ship it in case anyone wants to use it. From what I know using the fdi file causes the xorg-server to ignore the values from xorg.conf. This would heavily impact any users. 

> also a blocker with ksynaptics could be ok since ksynaptics works only with
> the old synaptics driver
>         !kde-misc/ksynaptics

I don't see any reason why ksynaptics should not work with this driver release. x11-drivers/xf86-input-synaptics is based on the code from x11-drivers/synaptics. Everything that worked with the old one will work with the new one. Otherwise please file a bug so we can address that.

> i'd also insert in xorg-server the choice dep between the synaptics and
> xf86-input-synaptics when synaptics input device is tagged as active in xorg
> use flags.

I'd rather replace x11-drivers/synaptics with x11-drivers/xf86-input-synaptics. The old driver is no longer maintained and the new one got many improvements.

Please note that that the new driver is "just" the old driver plus a bunch of patches. It's (more or less) the same code.
Comment 12 valentin 2008-08-24 15:40:29 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > i'd also add the hal dep in the rdeps cause of the fdi the driver compiles.
> >         hal? (>=sys-apps/hal-0.5.10)
> 
> The .fdi is not installed right now. We just ship it in case anyone wants to
> use it. From what I know using the fdi file causes the xorg-server to ignore
> the values from xorg.conf. This would heavily impact any users. 
> 

well, i've experienced that the new driver doesn't read much xorg.conf configuration and on the xorg-mailing list it seems that in a future not too far it will be totally removed.

> > also a blocker with ksynaptics could be ok since ksynaptics works only with
> > the old synaptics driver
> >         !kde-misc/ksynaptics
> 
> I don't see any reason why ksynaptics should not work with this driver release.
> x11-drivers/xf86-input-synaptics is based on the code from
> x11-drivers/synaptics. Everything that worked with the old one will work with
> the new one. Otherwise please file a bug so we can address that.
> 

ksynaptics starts but doesn't work with it. if you try to load ksynaptics with this driver it will start but won't have anything configurable almost like it doesn't find the right driver. i've had a confirmation on this matter by its developer on the xorg-mailing list some time ago. 
> > i'd also insert in xorg-server the choice dep between the synaptics and
> > xf86-input-synaptics when synaptics input device is tagged as active in xorg
> > use flags.
> 
> I'd rather replace x11-drivers/synaptics with x11-drivers/xf86-input-synaptics.
> The old driver is no longer maintained and the new one got many improvements.
> 
> Please note that that the new driver is "just" the old driver plus a bunch of
> patches. It's (more or less) the same code.
> 
not the old driver, but the old driver with various parts removed since that parts were not released under the gpl version. this parts include a lot of alps touchpad settings and configurations. see the confirmation of this on the xorg-mailing list. its author has stated that this rework is based on the original source code that has been released under gpl license and that parts not released under this code would be stripped from it and this includes some advanced functions that the synaptics driver has had. so if users still want to mantain old driver it should be a choice for xorg-server versions < 1.5. the old driver was still more mature than this new rework. this driver should only be used from xorg-server versions > 2 weeks ago (after the removal of xf86_version defines). till then with the patches found on xorg-mailing list it was still working quite well. 
another thing is that the old synaptics configuration found in xorg.conf for old touchpad settings don't work with this new driver anymore. if you try them out you'll see in the xorg.0.log that they're ignored. so it doesn't really make sense still using them.
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2008-11-19 23:12:42 UTC
This is in the overlay now. Please file new bugs if something's busted with it.