Synaptics Touchpad xfree driver

Norikatsu Shigemura nork at FreeBSD.org
Wed Jul 28 03:04:12 PDT 2004


On Wed, 28 Jul 2004 11:47:39 +0200
Fr__d__ric Hardy <f.hardy at hexanet.fr> wrote:
> I would like install the synaptics touchpad driver, but port seems 
> broken, (patch failed)
> See 
> http://lists.freebsd.org/pipermail/freebsd-current/2004-January/017634.html 
> for more informations.
> Any solutions ?

	One solution: following shar archive.

	TODO:	Update to 0.13.4.
		Add Synaptic Touchpad Driver to current.
		Merge this port to xorg/XFree86-server.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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.5
XCATEGORIES=	x11-servers
XMASTER_SITES=	http://w1.894.telia.com/~u89404340/touchpad/files/
XEXTRACT_SUFX=	.tar.bz2
X
XPATCH_SITES=	http://www.plaisthos.de/freebsd/
XPATCHFILES=	synaptics.driver.patch
XPATCH_DIST_STRIP=	-p1
X
XMAINTAINER=	nork at FreeBSD.org
XCOMMENT=	Synaptics Touchpad driver for X
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
X
X.include <bsd.port.pre.mk>
X.if	${X_WINDOW_SYSTEM:L} == xorg
XBUILD_DEPENDS=	${X11BASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server
X.elif	${X_WINDOW_SYSTEM:L} == xfree86-4
XBUILD_DEPENDS=	${X11BASE}/bin/XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
X.endif
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
X#WRKSRC=		${WRKDIR}/${PORTNAME}
X
XALL_TARGET=	synaptics_drv.o
X
X#pre-everything::
X#	@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	@${INSTALL_DATA} ${WRKSRC}/${ALL_TARGET} ${PREFIX}/lib/modules/input/
X
X.include <bsd.port.post.mk>
END-of-synaptics/Makefile
echo x - synaptics/distinfo
sed 's/^X//' >synaptics/distinfo << 'END-of-synaptics/distinfo'
XMD5 (synaptics-0.12.5.tar.bz2) = 52e2a6436f7e6d7ebb0c8068027c7c3f
XSIZE (synaptics-0.12.5.tar.bz2) = 105847
XMD5 (synaptics.driver.patch) = 3b382f08f9bae4a805110c80832b527d
XSIZE (synaptics.driver.patch) = 20679
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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


More information about the freebsd-stable mailing list