diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-12-09 16:11:18 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-12-09 16:11:18 +0000 |
commit | 2d19b94ea4157820bb631bba909011eb574675cd (patch) | |
tree | 1c9e4d8cf04d82d492d29e2fa00fe009200f3a60 /x11-drivers | |
parent | Add postinst note about setting it as login shell. (diff) | |
download | gentoo-2-2d19b94ea4157820bb631bba909011eb574675cd.tar.gz gentoo-2-2d19b94ea4157820bb631bba909011eb574675cd.tar.bz2 gentoo-2-2d19b94ea4157820bb631bba909011eb574675cd.zip |
move to x11-drivers from x11-misc
(Portage version: 2.0.53)
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/synaptics/ChangeLog | 248 | ||||
-rw-r--r-- | x11-drivers/synaptics/Manifest | 12 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/digest-synaptics-0.14.2 | 1 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/digest-synaptics-0.14.3 | 1 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/digest-synaptics-0.14.4 | 1 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/rc.conf | 8 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/rc.init | 20 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/synaptics-0.14.4-makefile.patch | 30 | ||||
-rw-r--r-- | x11-drivers/synaptics/files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch | 16 | ||||
-rw-r--r-- | x11-drivers/synaptics/metadata.xml | 5 | ||||
-rw-r--r-- | x11-drivers/synaptics/synaptics-0.14.2.ebuild | 56 | ||||
-rw-r--r-- | x11-drivers/synaptics/synaptics-0.14.3.ebuild | 56 | ||||
-rw-r--r-- | x11-drivers/synaptics/synaptics-0.14.4.ebuild | 53 |
13 files changed, 507 insertions, 0 deletions
diff --git a/x11-drivers/synaptics/ChangeLog b/x11-drivers/synaptics/ChangeLog new file mode 100644 index 000000000000..fdf5a9851b8f --- /dev/null +++ b/x11-drivers/synaptics/ChangeLog @@ -0,0 +1,248 @@ +# 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.1 2005/12/09 16:11:18 seemant Exp $ + + 09 Dec 2005; Seemant Kulleen <seemant@gentoo.org> + +files/synaptics-0.14.4-makefile.patch, + +files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch, + +files/rc.conf, +files/rc.init, +metadata.xml, +synaptics-0.14.2.ebuild, + +synaptics-0.14.3.ebuild, +synaptics-0.14.4.ebuild: + move to x11-drivers from x11-misc + + 09 Dec 2005; Seemant Kulleen <seemant@gentoo.org> synaptics-0.14.4.ebuild: + took out the dlloader check for install location (unnecessary) and better + check for version numbers on install location. Thanks to Donnie Berkholz for + both. + + 09 Dec 2005; Seemant Kulleen <seemant@gentoo.org> + -synaptics-0.14.1.ebuild, synaptics-0.14.2.ebuild, + synaptics-0.14.3.ebuild: + removed any amd64 keywords from versions prior to 0.14.4 which all do not + work properly on amd64 + +*synaptics-0.14.4 (09 Dec 2005) + + 09 Dec 2005; Seemant Kulleen <seemant@gentoo.org> + +files/synaptics-0.14.4-makefile.patch, +synaptics-0.14.4.ebuild: + version bump, and this one should finally work with amd64 and other 64bit + arches. This closes bug #111974 by Daniel Webert and bug #102156 by disperato + + 08 Oct 2005; Sven Wegener <swegener@gentoo.org> synaptics-0.14.1.ebuild, + synaptics-0.14.2.ebuild, synaptics-0.14.3.ebuild: + Added missing X dependency to DEPEND. + + 20 Aug 2005; Bryan Stine <battousai@gentoo.org> synaptics-0.14.1.ebuild, + synaptics-0.14.2.ebuild: + Plucked man1 from older ebuilds by accident. Putting it back in. + + 20 Aug 2005; Bryan Stine <battousai@gentoo.org> synaptics-0.14.1.ebuild, + synaptics-0.14.2.ebuild, synaptics-0.14.3.ebuild: + Fix manpage location now that the Makefile adds man1. Also move to + /usr/share/man. Fixes bug #103110. + + 26 Jul 2005; David Holm <dholm@gentoo.org> synaptics-0.14.3.ebuild: + Added to ~ppc. + + 25 Jul 2005; Bryan Stine <battousai@gentoo.org> + +files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch, + synaptics-0.14.1.ebuild, synaptics-0.14.2.ebuild, synaptics-0.14.3.ebuild: + Add patch to backport X sentinel code into included headers. Thanks to + Christoph Brill for posting the patch. Closes bug #100134. + + 22 Jul 2005; Bryan Stine <battousai@gentoo.org> synaptics-0.14.1.ebuild, + synaptics-0.14.2.ebuild, synaptics-0.14.3.ebuild: + Multilib: /usr/lib -> /usr/$(get_libdir). + + 22 Jul 2005; Bryan Stine <battousai@gentoo.org> synaptics-0.14.1.ebuild, + synaptics-0.14.2.ebuild, synaptics-0.14.3.ebuild: + Way to quote, Bryan. Moron. + +*synaptics-0.14.3 (22 Jul 2005) + + 22 Jul 2005; Bryan Stine <battousai@gentoo.org> + -files/synaptics-0.13.4-amd64.patch, -synaptics-0.13.6.ebuild, + -synaptics-0.14.0.ebuild, synaptics-0.14.1.ebuild, + synaptics-0.14.2.ebuild, +synaptics-0.14.3.ebuild: + Purge old versions, bump to 0.14.3. Add dlloader USE flag, which installs a + DSO xorg module (.so); closes bug #81213. Furthermore, conform to Gentoo + xorg migration, /usr/X11R6 -> /usr. + + 19 May 2005; Bryan Stine <battousai@gentoo.org> synaptics-0.14.1.ebuild: + Mark 0.14.1 x86 stable. + +*synaptics-0.14.2 (19 May 2005) + + 19 May 2005; Bryan Stine <battousai@gentoo.org> +synaptics-0.14.2.ebuild: + Bump to 0.14.2. Thanks to Benjamin Smee for reporting. Closes bug #93092. + + 25 Apr 2005; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml: + Update herd to x11-drivers. + +*synaptics-0.14.1 (14 Mar 2005) + + 14 Mar 2005; Bryan Stine <battousai@gentoo.org> -synaptics-0.13.5.ebuild, + +synaptics-0.14.1.ebuild: + Bump to 0.14.1. Upstream ChangeLog claims a build failure on AMD64 Gentoo + systems was fixed, though I've not encountered any bug reports of this + behavior. Both 0.14.0 and 0.14.1 build fine on my AMD64 system. Also + expunged old 0.13.5 version. + +*synaptics-0.14.0 (08 Feb 2005) + + 08 Feb 2005; Bryan Stine <battousai@gentoo.org> -synaptics-0.13.4.ebuild, + +synaptics-0.14.0.ebuild: + Bump to 0.14.0 + + 05 Nov 2004; Bryan Stine <battousai@gentoo.org> synaptics-0.13.4.ebuild, + synaptics-0.13.5.ebuild, synaptics-0.13.6.ebuild: + Switched from $(gcc-getCC) from gcc.eclass to $(tc-getCC) from + toolchain-funcs.eclass. + +*synaptics-0.13.6 (24 Oct 2004) + + 24 Oct 2004; Bryan Stine <battousai@gentoo.org> synaptics-0.13.4.ebuild, + synaptics-0.13.5.ebuild, +synaptics-0.13.6.ebuild: + Bump to 0.13.6. Changed the ebuilds to use new gcc-config logic for the + Makefile substitution. The new logic fixes bug #67687. The version bump + should fix bug #56850 (broken ALPS patch). Thanks to Ben Taitelbaum + <btaitelb@cs.oberlin.edu> for feedback on the ALPS patch. Thanks to Donnie + Berkholz <spyderous@gentoo.org> for the new gcc-config stuff. + + 03 Oct 2004; Donnie Berkholz <spyderous@gentoo.org>; + synaptics-0.13.4.ebuild, synaptics-0.13.5.ebuild: + Update dep from temporary hack to virtual/x11. + + 03 Oct 2004; Donnie Berkholz <spyderous@gentoo.org>; + -files/synaptics-0.13.3-amd64.patch: + Remove stale file. + + 03 Oct 2004; Donnie Berkholz <spyderous@gentoo.org>; + -synaptics-0.13.2.ebuild, -synaptics-0.13.3.ebuild: + Drop old versions. + + 03 Oct 2004; Donnie Berkholz <spyderous@gentoo.org>; + synaptics-0.13.5.ebuild: + x86. + +*synaptics-0.13.5 (02 Sep 2004) + + 02 Sep 2004; Bryan Stine <battousai@gentoo.org>; +synaptics-0.13.5.ebuild: + Bump to version 0.13.5. Closes bug #62501, thanks to eGore <egore@gmx.de> for + reporting. + + 08 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> + +files/synaptics-0.13.4-amd64.patch: + Added correct patch on amd64. + + 18 Jul 2004; Daniel Ahlberg <aliz@gentoo.org> files/rc.init: + Added full path to syndaemon in initscript, closing #56827. + +*synaptics-0.13.4 (04 Aug 2004) + + 04 Aug 2004; Bryan Stine <battousai@gentoo.org>; -synaptics-0.12.4.ebuild, + -synaptics-0.12.5.ebuild, +synaptics-0.13.4.ebuild: + Version bump to 0.13.4. Cleaned out pre 0.13 ebuilds. + + 18 Jul 2004; Daniel Ahlberg <aliz@gentoo.org> files/rc.init: + Added full path to syndaemon in initscript, closing #56827. + + 07 Jul 2004; Bryan Stine <battousai@gentoo.org>; + +files/synaptics-0.13.3-amd64.patch, synaptics-0.13.3.ebuild: + Added a new patch to fix runtime problems with amd64 in 64-bit mode. Added + ~amd64 keyword. Thanks to David Barton <davebarton@cityinthesky.co.uk>, bug + 50384. + + 28 Jun 2004; Aron Griffis <agriffis@gentoo.org> synaptics-0.12.4.ebuild, + synaptics-0.12.5.ebuild, synaptics-0.13.2.ebuild, synaptics-0.13.3.ebuild: + add sed-4 dep + +*synaptics-0.13.3 (14 Jun 2004) + + 14 Jun 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.13.3.ebuild: + Bumped version to 0.13.3. + + 13 Jun 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.12.4.ebuild, + synaptics-0.12.5.ebuild, synaptics-0.13.2.ebuild: + Reverting DEPEND change back to xfree -r6 as xfree -r7 is still masked. + + 11 Jun 2004; Donnie Berkholz <spyderous@gentoo.org>; + synaptics-0.12.4.ebuild, synaptics-0.12.5.ebuild, synaptics-0.13.2.ebuild: + xfree -r6 became -r7. + + 31 May 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.13.2.ebuild: + Add back the xorg-x11 RDEPEND. Fixes 52627, thanks to Ta^3 on FreeNode. + + 31 May 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.13.2.ebuild: + Added a little sed magic to change the MANDIR to /usr/man/man1 instead of + /usr/local... Thanks to Simon Cooper <thecoop@runbox.com> for reporting the + bug. + +*synaptics-0.13.2 (10 May 2004) + + 10 May 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.13.2.ebuild: + Version bump. Upstream made quite a few cleanups, some bug fixes and a few new + features. + + 07 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; + synaptics-0.12.5.ebuild: + Missing space in DEPEND. + + 07 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; + synaptics-0.12.5.ebuild: + Add xorg-x11 to possible. + +*synaptics-0.12.5 (31 Mar 2004) + + 31 Mar 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.12.5.ebuild: + Version bumpity. + + 23 Feb 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.12.4.ebuild: + Oops. Fixed my stupid RDEPEND mistake. + +*synaptics-0.12.4 (19 Feb 2004) + + 19 Feb 2004; Bryan Stine <battousai@gentoo.org>; synaptics-0.12.4.ebuild: + Version bump. This version has some good upstream Makefile fixes, including + DESTDIR compliance and ability to detect and build against XFree86 SDK + headers. + + 15 Feb 2004; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml: + Removing myself as primary maintainer, this is now a herd thing. + + 15 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; files/rc.init: + Fix typo. + + 15 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; files/rc.conf, + files/rc.init: + Somehow I forgot to add the init.d and conf.d scripts for syndaemon, and + nobody even noticed. + + 23 Nov 2003; Donnie Berkholz <spyderous@gentoo.org>; synaptics-0.12.0.ebuild: + Re-marking as testing, it's not allowed to depend on something unstable. + + 23 Nov 2003; Donnie Berkholz <spyderous@gentoo.org>; synaptics-0.12.0.ebuild: + Stable on x86. + +*synaptics-0.12.1 (23 Nov 2003) + + 23 Nov 2003; Donnie Berkholz <spyderous@gentoo.org>; synaptics-0.12.1.ebuild: + Bump. New daemon, seems a little broken though. + + 09 Nov 2003; Donnie Berkholz <spyderous@gentoo.org>; synaptics-0.11.8.ebuild, + synaptics-0.12.0.ebuild: + Pulling 0.11.8. Force >=xfree-4.3.0-r4, so it doesn't overwrite files xfree + provides. + +*synaptics-0.12.0 (27 Oct 2003) + + 27 Oct 2003; Donnie Berkholz <spyderous@gentoo.org>; + synaptics-0.12.0.ebuild: + Version bump. + +*synaptics-0.11.8 (13 Oct 2003) + + 13 Oct 2003; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml, + synaptics-0.11.8.ebuild, files/synaptics-0.11.8-makefile-fixup.patch: + Initial commit of standalone Synaptics touchpad driver, to be used in future + XFree revisions. + diff --git a/x11-drivers/synaptics/Manifest b/x11-drivers/synaptics/Manifest new file mode 100644 index 000000000000..0513ee9b8396 --- /dev/null +++ b/x11-drivers/synaptics/Manifest @@ -0,0 +1,12 @@ +MD5 6d6cba82ebf46f4e4dfae46d5649d279 ChangeLog 9435 +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 e46163bec0b3237d0d7e371b767cd077 files/rc.conf 329 +MD5 6fd019ebb1dd7433d16845d73595f81b files/rc.init 440 +MD5 3ec08c321d3c37e64e3ee5a08ac4cdd7 files/synaptics-0.14.4-makefile.patch 1252 +MD5 f2c484f02a746852ee1295ca1f092e8d files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch 538 +MD5 1cb923bfa5e7e99ae6804f147a1c730c metadata.xml 164 +MD5 9d2dc23355a7c204b2ca8790540fdb7c synaptics-0.14.2.ebuild 1954 +MD5 65d10a51db14f499f284c8f051bd3f92 synaptics-0.14.3.ebuild 1955 +MD5 b5c0c8ebabd9f7c063bebaaed3ecce8b synaptics-0.14.4.ebuild 1585 diff --git a/x11-drivers/synaptics/files/digest-synaptics-0.14.2 b/x11-drivers/synaptics/files/digest-synaptics-0.14.2 new file mode 100644 index 000000000000..cedab874961d --- /dev/null +++ b/x11-drivers/synaptics/files/digest-synaptics-0.14.2 @@ -0,0 +1 @@ +MD5 2058ade25ed47b15d7772d1b3c628222 synaptics-0.14.2.tar.bz2 122336 diff --git a/x11-drivers/synaptics/files/digest-synaptics-0.14.3 b/x11-drivers/synaptics/files/digest-synaptics-0.14.3 new file mode 100644 index 000000000000..e3719436c1ca --- /dev/null +++ b/x11-drivers/synaptics/files/digest-synaptics-0.14.3 @@ -0,0 +1 @@ +MD5 ba4096adb3c62437cfde64d8490bf94f synaptics-0.14.3.tar.bz2 124189 diff --git a/x11-drivers/synaptics/files/digest-synaptics-0.14.4 b/x11-drivers/synaptics/files/digest-synaptics-0.14.4 new file mode 100644 index 000000000000..e4c6cde43e5b --- /dev/null +++ b/x11-drivers/synaptics/files/digest-synaptics-0.14.4 @@ -0,0 +1 @@ +MD5 ae9aef7a146346fbfc7edfdd63cdd273 synaptics-0.14.4.tar.bz2 125524 diff --git a/x11-drivers/synaptics/files/rc.conf b/x11-drivers/synaptics/files/rc.conf new file mode 100644 index 000000000000..34ad81d878c7 --- /dev/null +++ b/x11-drivers/synaptics/files/rc.conf @@ -0,0 +1,8 @@ +# Copyright 1999-2003 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/files/rc.conf,v 1.1 2005/12/09 16:11:18 seemant Exp $ + +# Config file for /etc/init.d/syndaemon + +# run `syndaemon --help` for valid cmdline options +#SYNDAEMON_OPTS="" diff --git a/x11-drivers/synaptics/files/rc.init b/x11-drivers/synaptics/files/rc.init new file mode 100644 index 000000000000..c3888f846f19 --- /dev/null +++ b/x11-drivers/synaptics/files/rc.init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/files/rc.init,v 1.1 2005/12/09 16:11:18 seemant Exp $ + +depend() { + use localmount +} + +start() { + ebegin "Starting syndaemon" + /usr/X11R6/bin/syndaemon ${SYNDAEMON_OPTS} + eend $? +} + +stop() { + ebegin "Stopping syndaemon" + kill `cat /var/run/syndaemon.pid` + eend $? +} diff --git a/x11-drivers/synaptics/files/synaptics-0.14.4-makefile.patch b/x11-drivers/synaptics/files/synaptics-0.14.4-makefile.patch new file mode 100644 index 000000000000..0ea0adc9980a --- /dev/null +++ b/x11-drivers/synaptics/files/synaptics-0.14.4-makefile.patch @@ -0,0 +1,30 @@ +--- Makefile.orig 2005-12-09 10:14:00.000000000 -0500 ++++ Makefile 2005-12-09 10:14:44.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,10 +62,10 @@ + + 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)" +-CFLAGSCLIENT = $(CDEBUGFLAGS) $(CCOPTIONS) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include ++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 -fno-pic + + CC = gcc + diff --git a/x11-drivers/synaptics/files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch b/x11-drivers/synaptics/files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch new file mode 100644 index 000000000000..c8d34ef6ebfb --- /dev/null +++ b/x11-drivers/synaptics/files/synaptics-0.14.x-gcc4-the-sentinels-have-attacked.patch @@ -0,0 +1,16 @@ +--- Xincludes/usr/X11R6/include/X11/Xfuncproto.h.orig 2005-07-02 12:50:40.000000000 +0200 ++++ Xincludes/usr/X11R6/include/X11/Xfuncproto.h 2005-07-25 08:13:46.000000000 +0200 +@@ -69,4 +69,12 @@ + #endif + #endif /* _XFUNCPROTOBEGIN */ + ++#if defined(__GNUC__) && (__GNUC__ >= 4) ++# define _X_SENTINEL(x) __attribute__ ((__sentinel__(x))) ++# define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y))) ++#else ++# define _X_SENTINEL(x) ++# define _X_ATTRIBUTE_PRINTF(x,y) ++#endif /* GNUC >= 4 */ ++ + #endif /* _XFUNCPROTO_H_ */ + diff --git a/x11-drivers/synaptics/metadata.xml b/x11-drivers/synaptics/metadata.xml new file mode 100644 index 000000000000..ed1419eb1379 --- /dev/null +++ b/x11-drivers/synaptics/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>X11-drivers</herd> +</pkgmetadata> diff --git a/x11-drivers/synaptics/synaptics-0.14.2.ebuild b/x11-drivers/synaptics/synaptics-0.14.2.ebuild new file mode 100644 index 000000000000..4c1168c4fed1 --- /dev/null +++ b/x11-drivers/synaptics/synaptics-0.14.2.ebuild @@ -0,0 +1,56 @@ +# 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.2.ebuild,v 1.1 2005/12/09 16:11:18 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="x86" +IUSE="dlloader" +RDEPEND="virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + + cd ${S} + + epatch ${FILESDIR}/${PN}-0.14.x-gcc4-the-sentinels-have-attacked.patch + + # Put stuff into /usr, also switch up the CC and CFLAGS stuff. + sed -i -e "s:BINDIR = \\\$(DESTDIR)/usr/local/bin:BINDIR = ${D}/usr/bin:g" ${S}/Makefile + sed -i -e "s:CC = gcc:CC = $(tc-getCC):g" ${S}/Makefile + sed -i -e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" ${S}/Makefile + sed -i -e "s:MANDIR = .*:MANDIR = \\\$(DESTDIR)/usr/share/man/man1:" ${S}/Makefile + sed -i -e "s:INSTALLED_X = .*:INSTALLED_X = \\\$(DESTDIR)/usr:" ${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() { + dodir /usr/$(get_libdir)/modules/input + + # Yes, they got the DESTDIR stuff going. And there was much rejoicing. + make DESTDIR=${D} install || die + if use dlloader || has_version ">=x11-base/xorg-x11-6.8.99.15" + then + exeinto /usr/$(get_libdir)/modules/input + doexe synaptics_drv.so + rm ${D}/usr/$(get_libdir)/modules/input/synaptics_drv.o + fi + dodoc {script/usbmouse,alps.patch,COMPATIBILITY,FILES,INSTALL{,.DE},LICENSE,NEWS,TODO,README{,.alps}} + # Stupid new daemon, didn't work for me because of shm issues + exeinto /etc/init.d && newexe ${FILESDIR}/rc.init syndaemon + insinto /etc/conf.d && newins ${FILESDIR}/rc.conf syndaemon +} diff --git a/x11-drivers/synaptics/synaptics-0.14.3.ebuild b/x11-drivers/synaptics/synaptics-0.14.3.ebuild new file mode 100644 index 000000000000..e524893fe830 --- /dev/null +++ b/x11-drivers/synaptics/synaptics-0.14.3.ebuild @@ -0,0 +1,56 @@ +# 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.3.ebuild,v 1.1 2005/12/09 16:11:18 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="~ppc ~x86" +IUSE="dlloader" +RDEPEND="virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + + cd ${S} + + epatch ${FILESDIR}/${PN}-0.14.x-gcc4-the-sentinels-have-attacked.patch + + # Put stuff into /usr, also switch up the CC and CFLAGS stuff. + sed -i -e "s:BINDIR = \\\$(DESTDIR)/usr/local/bin:BINDIR = ${D}/usr/bin:g" ${S}/Makefile + sed -i -e "s:CC = gcc:CC = $(tc-getCC):g" ${S}/Makefile + sed -i -e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" ${S}/Makefile + sed -i -e "s:MANDIR = .*:MANDIR = \\\$(DESTDIR)/usr/share/man:" ${S}/Makefile + sed -i -e "s:INSTALLED_X = .*:INSTALLED_X = \\\$(DESTDIR)/usr:" ${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() { + dodir /usr/$(get_libdir)/modules/input + + # Yes, they got the DESTDIR stuff going. And there was much rejoicing. + make DESTDIR=${D} install || die + if use dlloader || has_version ">=x11-base/xorg-x11-6.8.99.15" + then + exeinto /usr/$(get_libdir)/modules/input + doexe synaptics_drv.so + rm ${D}/usr/$(get_libdir)/modules/input/synaptics_drv.o + fi + dodoc {script/usbmouse,alps.patch,COMPATIBILITY,FILES,INSTALL{,.DE},LICENSE,NEWS,TODO,README{,.alps}} + # Stupid new daemon, didn't work for me because of shm issues + exeinto /etc/init.d && newexe ${FILESDIR}/rc.init syndaemon + insinto /etc/conf.d && newins ${FILESDIR}/rc.conf syndaemon +} diff --git a/x11-drivers/synaptics/synaptics-0.14.4.ebuild b/x11-drivers/synaptics/synaptics-0.14.4.ebuild new file mode 100644 index 000000000000..f03d8c48e05a --- /dev/null +++ b/x11-drivers/synaptics/synaptics-0.14.4.ebuild @@ -0,0 +1,53 @@ +# 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.ebuild,v 1.1 2005/12/09 16:11:18 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="virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} ; cd ${S} + epatch ${FILESDIR}/${P}-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() { + # Yes, they got the DESTDIR stuff going. And there was much rejoicing. + make DESTDIR=${D} install || die + if ! has_version "<=x11-base/xorg-x11-6.99" + then + exeinto /usr/$(get_libdir)/xorg/modules/input + doexe synaptics_drv.so + 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 + exeinto /etc/init.d && newexe ${FILESDIR}/rc.init syndaemon + insinto /etc/conf.d && newins ${FILESDIR}/rc.conf syndaemon +} |