Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135512 - x11-drivers/synaptics-0.14.5 bump. (new ebuild)
Summary: x11-drivers/synaptics-0.14.5 bump. (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 132959 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-04 06:50 UTC by Pietro Franchi
Modified: 2006-07-12 07:12 UTC (History)
2 users (show)

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


Attachments
patch against synaptics-0.14.4-r2.ebuild (synaptics-0.14.5.patch,1.55 KB, patch)
2006-06-04 06:52 UTC, Pietro Franchi
Details | Diff
patch for fpic (synaptics-0.14.5-makefile-fpic.patch,604 bytes, patch)
2006-06-04 06:55 UTC, Pietro Franchi
Details | Diff
patch to fix compilation with xorg-7.1 (syn-7.1.patch,2.20 KB, patch)
2006-07-07 07:36 UTC, gad.kadosh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Franchi 2006-06-04 06:50:50 UTC
Today has been released the new synaptics driver, this is the changelog.

- Added PREFIX support to the Makefile. From Ricardo Garcia.
- Implemented pressure dependent motion speed. From Stephane Rosi.
- Minor documentation updates.
- Implemented two-finger vertical and horizontal scrolling. From
  Stefan Bethge.
- Some code cleanup.
- Makefile support for Xorg 7.0. From Mattia Dongili.
- Added new parameter "SingleTapTimeout" to give greater control over
  tap behavior. From Vaclav Kadlcik.

Following this, I have updated the ebuild, and I post the patch agains the current version. The modifies are basically:

1) added PREFIX support, and this obsoletes a patch
2) they say the Makefile is ok Xorg for 7.0, I've removed the specific part for Xorg 7 and installs fine for me, but I haven't tested on the old Xorg. I left the bit for the use dlloader because I don't uderstand it. :-)
3) removed -shared from the options since it should be already in the Makefile (not sure all the rest is needed, but since I don't fully understand I left it).
4) added dodoc for some documentation.
5) the patch for fPIC is still needed, but there is no more need to strip -fno-pic (I think).

This release should fix bug #132959

That's about it, tested on x86 with xorg 7.0.
Comment 1 Pietro Franchi 2006-06-04 06:52:27 UTC
Created attachment 88347 [details, diff]
patch against synaptics-0.14.4-r2.ebuild
Comment 2 Pietro Franchi 2006-06-04 06:55:31 UTC
Created attachment 88348 [details, diff]
patch for fpic

This obsoletes the current patch (the only modify is that there is no more need to strip -fno-pic). The other patch (synaptics-0.14.4-r2-makefile.patch) is not needed anymore. (I think)
Comment 3 gad.kadosh 2006-06-04 08:24:48 UTC
It doesn't compile for me...


powerpc-unknown-linux-gnu-gcc -c -O2 -mcpu=G4 -mtune=G4 -maltivec -ftree-vectorize -mabi=altivec -pipe -fomit-frame-pointer -ftracer -pedantic -Wall -Wpointer-arith -fno-merge-constants -I. -I/usr/include/X11 -I/usr/include/X11/extensions -I/usr/include/xorg -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.5\"" -DVERSION_ID="(0*10000+14*100+5)" -fPIC  synaptics.c
rm -f ps2comm.o
In file included from /usr/include/xorg/xisb.h:32,
                 from synproto.h:24,
                 from synaptics.h:124,
                 from synaptics.c:79:
/usr/include/unistd.h:189: error: conflicting types for 
Comment 4 gad.kadosh 2006-06-04 08:24:48 UTC
It doesn't compile for me...


powerpc-unknown-linux-gnu-gcc -c -O2 -mcpu=G4 -mtune=G4 -maltivec -ftree-vectorize -mabi=altivec -pipe -fomit-frame-pointer -ftracer -pedantic -Wall -Wpointer-arith -fno-merge-constants -I. -I/usr/include/X11 -I/usr/include/X11/extensions -I/usr/include/xorg -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.5\"" -DVERSION_ID="(0*10000+14*100+5)" -fPIC  synaptics.c
rm -f ps2comm.o
In file included from /usr/include/xorg/xisb.h:32,
                 from synproto.h:24,
                 from synaptics.h:124,
                 from synaptics.c:79:
/usr/include/unistd.h:189: error: conflicting types for xf86ssize_t
/usr/include/xorg/xf86_libc.h:86: error: previous declaration of xf86ssize_t was here
In file included from /usr/include/xorg/xisb.h:32,
                 from synproto.h:24,
                 from synaptics.h:124,
                 from synaptics.c:79:
/usr/include/unistd.h:325: error: conflicting types for xf86read
/usr/include/xorg/xf86_ansic.h:273: error: previous declaration of xf86read was here
/usr/include/unistd.h:331: error: conflicting types for xf86write
/usr/include/xorg/xf86_ansic.h:274: error: previous declaration of xf86write was here
/usr/include/unistd.h:418: error: conflicting types for xf86usleep
/usr/include/xorg/xf86_ansic.h:345: error: previous declaration of xf86usleep was here
In file included from /usr/include/xorg/xisb.h:32,
                 from synproto.h:24,
                 from synaptics.h:124,
                 from synaptics.c:79:
/usr/include/unistd.h:935:29: error: macro "getpagesize" passed 1 arguments, but takes just 0
make: *** [synaptics.o] Error 1
Comment 5 gad.kadosh 2006-07-07 07:36:40 UTC
Created attachment 91135 [details, diff]
patch to fix compilation with xorg-7.1

OK, this patch fixes the compile error I had before. Seemant: now I think you can add it to the tree :)
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2006-07-12 07:11:51 UTC
Gad, it's in portage now :P
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2006-07-12 07:12:24 UTC
*** Bug 132959 has been marked as a duplicate of this bug. ***