summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-12-15 21:31:32 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-12-15 21:31:32 +0000
commitf0b253b0c4c34df0ecc022f34d55fd86465f936b (patch)
tree9f7da596e38e8c01d051af0a08cc261a0817d4d6 /x11-drivers/synaptics
parentversion bump (diff)
downloadgentoo-2-f0b253b0c4c34df0ecc022f34d55fd86465f936b.tar.gz
gentoo-2-f0b253b0c4c34df0ecc022f34d55fd86465f936b.tar.bz2
gentoo-2-f0b253b0c4c34df0ecc022f34d55fd86465f936b.zip
Revision, which adds better logic for install locations of the driver. Also, the fno-pic is now completely removed from the Makefile -- as it will be from upstream's next release (as per email exchange between kevquinn and upstream). So this should close bug #115400 by Andrew de Quincey, bug #115026 by Anode, and bug #115108 by Thomas Schlesinger
(Portage version: 2.0.53)
Diffstat (limited to 'x11-drivers/synaptics')
-rw-r--r--x11-drivers/synaptics/ChangeLog12
-rw-r--r--x11-drivers/synaptics/Manifest5
-rw-r--r--x11-drivers/synaptics/files/digest-synaptics-0.14.4-r11
-rw-r--r--x11-drivers/synaptics/files/synaptics-0.14.4-r1-makefile.patch28
-rw-r--r--x11-drivers/synaptics/synaptics-0.14.4-r1.ebuild59
5 files changed, 103 insertions, 2 deletions
diff --git a/x11-drivers/synaptics/ChangeLog b/x11-drivers/synaptics/ChangeLog
index 36ce9154fe4f..eaee8446a616 100644
--- a/x11-drivers/synaptics/ChangeLog
+++ b/x11-drivers/synaptics/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for x11-drivers/synaptics
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.2 2005/12/14 19:50:25 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.3 2005/12/15 21:31:32 seemant Exp $
+
+*synaptics-0.14.4-r1 (15 Dec 2005)
+
+ 15 Dec 2005; Seemant Kulleen <seemant@gentoo.org>
+ +files/synaptics-0.14.4-r1-makefile.patch, +synaptics-0.14.4-r1.ebuild:
+ Revision, which adds better logic for install locations of the driver. Also,
+ the fno-pic is now completely removed from the Makefile -- as it will be
+ from upstream's next release (as per email exchange between kevquinn and
+ upstream). So this should close bug #115400 by Andrew de Quincey, bug
+ #115026 by Anode, and bug #115108 by Thomas Schlesinger
14 Dec 2005; Joshua Baergen <joshuabaergen@gentoo.org>
synaptics-0.14.2.ebuild, synaptics-0.14.3.ebuild, synaptics-0.14.4.ebuild:
diff --git a/x11-drivers/synaptics/Manifest b/x11-drivers/synaptics/Manifest
index 659c63048f71..97b0a8d31c34 100644
--- a/x11-drivers/synaptics/Manifest
+++ b/x11-drivers/synaptics/Manifest
@@ -1,12 +1,15 @@
-MD5 a8218cb252bc5f0dfa7f0d1621c3a85e ChangeLog 9937
+MD5 dfc8cf4bdfaa7dbe22dbdb7496a3531b ChangeLog 10459
MD5 b18951d106b4ce580ac6177b199cf712 files/digest-synaptics-0.14.2 69
MD5 f2c16c935f2447340a41eb72bb137f57 files/digest-synaptics-0.14.3 69
MD5 7a7d3c5180f7a18b8b19bc2221017874 files/digest-synaptics-0.14.4 69
+MD5 7a7d3c5180f7a18b8b19bc2221017874 files/digest-synaptics-0.14.4-r1 69
MD5 31817e2d99f1b5c23a2bb0594627752b files/rc.conf 330
MD5 4ef0a2fcc08eef0bc884af9f20117702 files/rc.init 446
MD5 3ec08c321d3c37e64e3ee5a08ac4cdd7 files/synaptics-0.14.4-makefile.patch 1252
+MD5 505b504efec01c7e2e529606db762098 files/synaptics-0.14.4-r1-makefile.patch 1109
MD5 f2c484f02a746852ee1295ca1f092e8d files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch 538
MD5 1cb923bfa5e7e99ae6804f147a1c730c metadata.xml 164
MD5 2a4687edaec022b5305d3ec2b019acc0 synaptics-0.14.2.ebuild 2028
MD5 cbce8427827b5b3fc38fe018192422af synaptics-0.14.3.ebuild 2029
+MD5 5c7c729247e1ce61b0cdc97b0a051825 synaptics-0.14.4-r1.ebuild 1738
MD5 27700c023359d4601304d8c25cc8a7cf synaptics-0.14.4.ebuild 1659
diff --git a/x11-drivers/synaptics/files/digest-synaptics-0.14.4-r1 b/x11-drivers/synaptics/files/digest-synaptics-0.14.4-r1
new file mode 100644
index 000000000000..e4c6cde43e5b
--- /dev/null
+++ b/x11-drivers/synaptics/files/digest-synaptics-0.14.4-r1
@@ -0,0 +1 @@
+MD5 ae9aef7a146346fbfc7edfdd63cdd273 synaptics-0.14.4.tar.bz2 125524
diff --git a/x11-drivers/synaptics/files/synaptics-0.14.4-r1-makefile.patch b/x11-drivers/synaptics/files/synaptics-0.14.4-r1-makefile.patch
new file mode 100644
index 000000000000..b6f2137f098a
--- /dev/null
+++ b/x11-drivers/synaptics/files/synaptics-0.14.4-r1-makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile.orig 2005-12-15 16:07:36.000000000 -0500
++++ Makefile 2005-12-15 16:08:45.000000000 -0500
+@@ -7,10 +7,10 @@
+ # Define the TOP variable to build using include files from a local source tree.
+ #TOP = /usr/src/redhat/BUILD/XFree86-4.3.0/xc
+
+-INSTALLED_X = $(DESTDIR)/usr/X11R6
++INSTALLED_X = $(DESTDIR)/usr
+ LOCAL_X = Xincludes/usr/X11R6
+-BINDIR = $(DESTDIR)/usr/local/bin
+-MANDIR = $(DESTDIR)/usr/local/man
++BINDIR = $(DESTDIR)/usr/bin
++MANDIR = $(DESTDIR)/usr/share/man
+
+ ifeq ($(ARCH),)
+ ARCH = $(shell /bin/arch)
+@@ -62,9 +62,9 @@
+
+ CCOPTIONS := -pedantic -Wall -Wpointer-arith
+ CCOPTIONS += $(call check_gcc,-fno-merge-constants,)
+-CCOPTIONS += $(call check_gcc,-fno-pic,)
++CCOPTIONS += $(call check_gcc,)
+ CDEBUGFLAGS = -O2
+-CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)"
++CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -fPIC
+ CFLAGSCLIENT = $(CDEBUGFLAGS) $(CCOPTIONS) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include
+
+ CC = gcc
diff --git a/x11-drivers/synaptics/synaptics-0.14.4-r1.ebuild b/x11-drivers/synaptics/synaptics-0.14.4-r1.ebuild
new file mode 100644
index 000000000000..c53788af134b
--- /dev/null
+++ b/x11-drivers/synaptics/synaptics-0.14.4-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.4-r1.ebuild,v 1.1 2005/12/15 21:31:32 seemant Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Driver for Synaptics touchpads"
+HOMEPAGE="http://w1.894.telia.com/~u89404340/touchpad/"
+SRC_URI="http://w1.894.telia.com/~u89404340/touchpad/files/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dlloader"
+RDEPEND="|| ( x11-libs/libXext virtual/x11 )"
+DEPEND="${RDEPEND}
+ || ( x11-base/xorg-server virtual/x11 )
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ epatch ${FILESDIR}/${PF}-makefile.patch
+
+ # Switch up the CC and CFLAGS stuff.
+ sed -i \
+ -e "s:CC = gcc:CC = $(tc-getCC):g" \
+ -e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \
+ ${S}/Makefile
+}
+
+src_compile() {
+ emake || die
+ if use dlloader || has_version ">=x11-base/xorg-x11-6.8.99.15"
+ then
+ $(tc-getCC) -shared -nostdlib -o synaptics_drv.so synaptics_drv.o -Bstatic -lgcc
+ fi
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ if use dlloader || has_version ">=x11-base/xorg-x11-6.8.99.15"
+ then
+ if has_version ">=x11-base/xorg-x11-7.0" || best_version "x11-base/xorg-server"
+ then
+ exeinto /usr/$(get_libdir)/xorg/modules/input
+ doexe synaptics_drv.so
+ else
+ exeinto /usr/$(get_libdir)/modules/input
+ doexe synaptics_drv.so
+ fi
+ rm ${D}/usr/$(get_libdir)/modules/input/synaptics_drv.o
+ fi
+
+ dodoc script/usbmouse alps.patch
+ dodoc COMPATIBILITY FILES INSTALL* LICENSE NEWS TODO README*
+
+ # Stupid new daemon, didn't work for me because of shm issues
+ newinitd ${FILESDIR}/rc.init syndaemon
+ newconfd ${FILESDIR}/rc.conf syndaemon
+}