Re: Synaptics Touchpad xfree driver hack :)

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Fri, 2 Jan 2004 05:02:22 +0900
On Fri, 2 Jan 2004 04:01:30 +0900
Norikatsu Shigemura <nork_at_freebsd.org> wrote:
> 	PC-MT2-F1), it looks good works.  I was impressed.  So I made a
> 	port for synaptics driver.

	Oops, this has a bug. s/INSTALL_PROGRAM/INSTALL_DATA/ like
	following shar.

	Humm..  I like MinSpeed = MaxSpeed = 0.06 (noaccel).  I think
	that 0.02 is too late, and 0.10 is too fast.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	synaptics/Makefile
#	synaptics/distinfo
#	synaptics/pkg-descr
#	synaptics/pkg-plist
#
echo x - synaptics/Makefile
sed 's/^X//' >synaptics/Makefile << 'END-of-synaptics/Makefile'
X# New ports collection makefile for:    synaptics
X# Date created:				2004/01/02
X# Whom:					nork_at_FreeBSD.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	synaptics
XPORTVERSION=	0.12.2
XCATEGORIES=	x11-servers
XMASTER_SITES=	http://w1.894.telia.com/~u89404340/touchpad/files/
X
XPATCH_SITES=	http://www.plaisthos.de/synaptics/
XPATCHFILES=	synaptics-driver.diff
XPATCH_DIST_STRIP=	-p1
X
XMAINTAINER=	nork_at_FreeBSD.org
XCOMMENT=	Synaptics Touchpad driver for XFree86 4.X
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
X
XBUILD_DEPENDS=	${X11BASE}/bin/xf86cfg:${PORTSDIR}/x11-servers/XFree86-4-Server
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XALL_TARGET=	synaptics_drv.o
X
Xpre-everything::
X	_at_if ! grep MOUSE_SYNAPTICS_CMD /usr/include/sys/mouse.h > /dev/null 2>&1; then \
X		${ECHO_MSG} "Please get&apply a following patch for kernel:"; \
X		${ECHO_MSG} "	http://www.plaisthos.de/synaptics/synaptics.kern.diff"; \
X		${FALSE}; \
X	fi
X
Xdo-install:
X	_at_${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${ALL_TARGET} ${PREFIX}/lib/modules/input/
X
X.include <bsd.port.mk>
END-of-synaptics/Makefile
echo x - synaptics/distinfo
sed 's/^X//' >synaptics/distinfo << 'END-of-synaptics/distinfo'
XMD5 (synaptics-0.12.2.tar.bz2) = 5f4f5bf8a7756194f358d82bdb63dde4
XMD5 (synaptics-driver.diff) = cb13952a19d780d2860049a09dd30df4
END-of-synaptics/distinfo
echo x - synaptics/pkg-descr
sed 's/^X//' >synaptics/pkg-descr << 'END-of-synaptics/pkg-descr'
XThe Synaptics TouchPad driver for for XFree86 4.x. A Synaptics touchpad
Xby default operates in compatibility mode by emulating a standard mouse.
XHowever, by using a dedicated driver, more advanced features of the
Xtouchpad becomes available.
X
XWWW: http://w1.894.telia.com/~u89404340/touchpad/
END-of-synaptics/pkg-descr
echo x - synaptics/pkg-plist
sed 's/^X//' >synaptics/pkg-plist << 'END-of-synaptics/pkg-plist'
Xlib/modules/input/synaptics_drv.o
END-of-synaptics/pkg-plist
exit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Received on Thu Jan 01 2004 - 11:02:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC