[Midnightbsd-cvs] mports: mports/x11-servers: Removed synaptics.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Mon Oct 22 23:39:07 EDT 2007


Log Message:
-----------
Removed synaptics.  This now lives in x11-drivers.

Modified Files:
--------------
    mports/x11-servers:
        Makefile (r1.5 -> r1.6)

Removed Files:
-------------
    mports/x11-servers/synaptics:
        Makefile
        distinfo
        pkg-descr
        pkg-message
        pkg-plist
    mports/x11-servers/synaptics/files:
        patch-Makefile
        patch-eventcomm.c

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11-servers/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lx11-servers/Makefile -Lx11-servers/Makefile -u -r1.5 -r1.6
--- x11-servers/Makefile
+++ x11-servers/Makefile
@@ -4,7 +4,6 @@
     COMMENT = X11 servers
 
     SUBDIR += mga_hal
-    SUBDIR += synaptics
     SUBDIR += x2vnc
     SUBDIR += x2x
     SUBDIR += xorg-dmx
--- x11-servers/synaptics/pkg-message
+++ /dev/null
@@ -1,88 +0,0 @@
-===============================================================================
-
-			* SETUP NOTE * SETUP NOTE *
-
-o Please remove ${X11BASE}/lib/modules/input/synaptics_drv.so
-  manually, If you have installed synaptics-0.14.4_1.  I forgot
-  to chase pkg-plist on 0.14.4_1.
-
-o Add boot time tunable to /boot/loader.conf.
-  Set hw.psm.synaptics_support=1 and shutdown -r now!
-
-/boot/loader.conf ---------------------------------
-hw.psm.synaptics_support=1
----------------------------------------------------
-
-o Don't run moused(8) daemon.
-  Dont' set moused_enable="YES" in /etc/rc.conf.
-
-/etc/rc.conf --------------------------------------
-moused_enable="NO"
----------------------------------------------------
-
-o Set your /etc/xorg.conf (or /etc/XF86Config)
-  Adopt your environment.  This is a sample configration, and
-  following setting is mine.   You may want to change the
-  values of *Edge and *Delta.
-
-  *NOTE*
-  Please disable your existing "CorePointer" in "ServerLayout"
-  section, only use "Synaptics_Touchpad" CorePointer.
-
-/etc/xorg.conf (or /etc/XF86Config) ---------------
-	:
-Section "Module"
-		:
-	Load		"synaptics"
-EndSection
-
-Section "ServerLayout"
-		:
-#	InputDevice	"Standard_PS/2_Mouse"	"CorePointer"
-	InputDevice	"Synaptics_Touchpad"	"CorePointer"
-EndSection
-
-Section "InputDevice"
-	Identifier	"Synaptics_Touchpad"
-	Driver		"synaptics"
-
-	Option		"Device"		"/dev/psm0"
-	Option		"Protocol"		"psm"
-
-	Option		"LeftEdge"		"1700"
-	Option		"RightEdge"		"5300"
-	Option		"TopEdge"		"1700"
-	Option		"BottomEdge"		"4200"
-
-	Option		"FingerLow"		"25"
-	Option		"FingerHigh"		"30"
-
-	Option		"MaxTapTime"		"180"
-	Option		"MaxTapMove"		"220"
-
-	Option		"VertScrollDelta"	"100"
-	Option		"HorizScrollDelta"	"100"
-
-	Option		"MinSpeed"		"0.06"
-	Option		"MaxSpeed"		"0.06"
-	Option		"AccelFactor"		"0.0010"
-
-	Option		"ScrollButtonRepeat"	"100"
-	Option		"UpDownScrolling"	"on"
-	Option		"UpDownRepeat"		"on"
-	Option		"LeftRightScrolling"	"on"
-	Option		"LeftRightRepeat"	"on"
-
-	# "SHMConfig on" seems good works with synclient(1).  But this
-	# options is insecure.  I recommended "off" as default.
-	Option		"SHMConfig"		"off"
-
-	# If you use circular touchpad, uncomment them.
-#	Option		"CircularPad"		"on"
-#	Option		"CircularScrolling"	"on"
-#	Option		"CircScrollDelta"	"0.5"
-EndSection
-	:
-/etc/xorg.conf (or /etc/XF86Config) ---------------
-
-===============================================================================
--- x11-servers/synaptics/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a driver for the Synaptics TouchPad for XOrg/XFree86 4.x.
-A Synaptics touchpad by default operates in compatibility mode by
-emulating a standard mouse.  However, by using a dedicated driver,
-more advanced features of the touchpad becomes available.
-
-WWW:	http://web.telia.com/~u89404340/touchpad/
--- x11-servers/synaptics/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/synclient
- at comment bin/syndaemon
-lib/modules/input/synaptics_drv.o
--- x11-servers/synaptics/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# New ports collection makefile for:    synaptics
-# Date created:				2004-01-02
-# Whom:					nork at FreeBSD.org
-#
-# $FreeBSD: ports/x11-servers/synaptics/Makefile,v 1.6 2006/08/13 01:49:25 nork Exp $
-# $MidnightBSD: mports/x11-servers/synaptics/Makefile,v 1.2 2007/08/09 19:14:39 ctriv Exp $ 
-
-PORTNAME=	synaptics
-PORTVERSION=	0.14.6
-PORTREVISION=	0
-CATEGORIES=	x11-servers
-MASTER_SITES=	http://web.telia.com/~u89404340/touchpad/files/:synaptics
-DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:synaptics \
-		${X_DISTFILES:C/$/:x11/}
-EXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
-
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	The Synaptics touchpad X driver
-LICENSE=	gpl2
-
-BUILD_DEPENDS=	${X11BASE}/bin/X:${X_SERVER_PORT}
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
-FAKE_OPTS=	trueprefix
-
-USE_BZIP2=	yes
-USE_GMAKE=	yes
-USE_X_PREFIX=	yes
-
-.include <bsd.port.pre.mk>
-
-X11VERSION!=	${MAKE} -C `${MAKE} -f bsd.port.mk -VX_SERVER_PORT` \
-			-VPORTVERSION
-
-.if	${X_WINDOW_SYSTEM:L} == xorg
-
-MASTER_SITES+=	${MASTER_SITE_XORG:C/$/:x11/}
-MASTER_SITE_SUBDIR=	X11R${X11VERSION}/src/:x11
-DIST_SUBDIR=	xorg
-X_DISTFILES=	X11R${X11VERSION}-src3.tar.gz
-
-.else
-
-BROKEN=		${X_WINDOW_SYSTEM:L} not supported.
-
-.endif
-
-MAKE_ENV=	TOP=${WRKDIR}/xc CFLAGSCLIENT="${CFLAGS}"
-
-MAN1=		synclient.1 # syndaemon.1
-MAN5=		synaptics.5
-PORTDOCS=	COMPATIBILITY FILES INSTALL INSTALL.DE INSTALL.FR \
-		README README.alps TODO
-
-post-extract:
-.for FILE in ${X_DISTFILES}
-	@cd ${WRKDIR} && \
-		${GZIP_CMD} -dc ${_DISTDIR}/${FILE} | ${TAR} -xf -
-.endfor
-
-pre-install:
-	mkdir ${PREFIX}/lib/modules/input
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for FILE in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.post.mk>
--- x11-servers/synaptics/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 (xorg/synaptics-0.14.6.tar.bz2) = 1102cd575045640a064ab6f9b1e391af
-SHA256 (xorg/synaptics-0.14.6.tar.bz2) = f88b967258a0484b0aa02f26acfb31a70cc8afd4872608b7f81c44dc29ae8429
-SIZE (xorg/synaptics-0.14.6.tar.bz2) = 126833
-MD5 (xorg/X11R6.9.0-src3.tar.gz) = 4d5450bde835270632e004b25e45ef33
-SHA256 (xorg/X11R6.9.0-src3.tar.gz) = 6c55602a0d6476457d3cf6a1413c39d63c70ca9255749bff5502dae9414f9971
-SIZE (xorg/X11R6.9.0-src3.tar.gz) = 10872474
--- x11-servers/synaptics/files/patch-Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
---- Makefile.orig	Sun Jul 16 00:58:26 2006
-+++ Makefile	Sun Aug 13 10:47:35 2006
-@@ -12,14 +12,14 @@
- MANDIR = $(DESTDIR)$(PREFIX)/man
- 
- ifeq ($(ARCH),)
--  ARCH = $(shell /bin/arch)
-+  ARCH = $(shell uname -m)
- endif
- ifeq ($(ARCH),amd64)
-   ARCH = x86_64
- endif
- ifeq ($(ARCH),x86_64)
-   ARCH_DEFINES = -D__x86_64__ -D_XSERVER64
--  LIBDIR = lib64
-+  LIBDIR = lib
- else
-   ARCH_DEFINES = -D__i386__
-   LIBDIR = lib
-@@ -39,7 +39,7 @@
- 		-I$(INSTALLED_X)/include/X11/extensions \
- 		-I$(SDKDIR)
- else
--  INSTALLED_X = /usr/X11R6
-+  INSTALLED_X = ${X11BASE}
-   INPUT_MODULE_DIR = $(DESTDIR)/$(INSTALLED_X)/$(LIBDIR)/modules/input
-   SYNAPTICS_DRV = synaptics_drv.o
-   LDCOMBINEFLAGS = -r
-@@ -62,12 +62,16 @@
-   else
-     SERVERSRC = $(TOP)/programs/Xserver
-     ALLINCLUDES = -I. \
-+	-I${X11BASE}/include \
-+	-I${X11BASE}/include/X11 \
-+	-I$(SERVERSRC)/hw/xfree86 \
- 	-I$(SERVERSRC)/hw/xfree86/common \
- 	-I$(SERVERSRC)/hw/xfree86/os-support \
-+	-I$(SERVERSRC)/hw/xfree86/os-support/bus \
- 	-I$(SERVERSRC)/mi \
- 	-I$(SERVERSRC)/include \
- 	-I$(TOP)/include
--    X_INCLUDES_ROOT = $(TOP)
-+    X_INCLUDES_ROOT = $(X11BASE)
-   endif
- endif
- 
-@@ -81,11 +85,11 @@
- 
- CCOPTIONS := -pedantic -Wall -Wpointer-arith
- CCOPTIONS += $(call check_gcc,-fno-merge-constants,)
--CDEBUGFLAGS = -O2
--CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(PICFLAG) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)"
--CFLAGSCLIENT = $(CDEBUGFLAGS) $(CCOPTIONS) -DVERSION="\"$(VERSION)\""  -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include
-+#CDEBUGFLAGS = -O2
-+CFLAGS += $(CDEBUGFLAGS) $(CCOPTIONS) $(PICFLAG) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)"
-+CFLAGSCLIENT += $(CCOPTIONS) -DVERSION="\"$(VERSION)\""  -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include
- 
--CC = gcc
-+#CC = gcc
- 
- SRCS = synaptics.c ps2comm.c eventcomm.c psmcomm.c alpscomm.c
- OBJS = synaptics.o ps2comm.o eventcomm.o psmcomm.o alpscomm.o
-@@ -94,29 +98,29 @@
- 	$(RM) $@
- 	$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
- 
--all:: $(SYNAPTICS_DRV) synclient syndaemon
-+all:: $(SYNAPTICS_DRV) synclient
- 
--install: $(BINDIR)/synclient $(BINDIR)/syndaemon $(INPUT_MODULE_DIR)/$(SYNAPTICS_DRV) install-man
-+install: $(BINDIR)/synclient $(INPUT_MODULE_DIR)/$(SYNAPTICS_DRV) install-man
- 
--install-man: $(MANDIR)/man1/synclient.1 $(MANDIR)/man1/syndaemon.1 $(MANDIR)/man5/synaptics.5
-+install-man: $(MANDIR)/man1/synclient.1 $(MANDIR)/man5/synaptics.5
- 
- $(MANDIR)/man1/synclient.1: manpages/synclient.1
--	install --mode=0644 -D $< $@
-+	${BSD_INSTALL_MAN} $< $@
- 
- $(MANDIR)/man1/syndaemon.1: manpages/syndaemon.1
- 	install --mode=0644 -D $< $@
- 
- $(MANDIR)/man5/synaptics.5: manpages/synaptics.5
--	install --mode=0644 -D $< $@
-+	${BSD_INSTALL_MAN} $< $@
- 
- $(BINDIR)/synclient : synclient
--	install -D $< $@
-+	${BSD_INSTALL_PROGRAM} $< $@
- 
- $(BINDIR)/syndaemon : syndaemon
- 	install -D $< $@
- 
- $(INPUT_MODULE_DIR)/$(SYNAPTICS_DRV) : $(SYNAPTICS_DRV)
--	install --mode=0644 -D $< $@
-+	${BSD_INSTALL_DATA} $< $@
- 
- $(SYNAPTICS_DRV): $(OBJS)
- 	$(RM) $@
--- x11-servers/synaptics/files/patch-eventcomm.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- eventcomm.c.orig	Mon Aug  8 04:44:04 2005
-+++ eventcomm.c	Sat Mar 18 18:54:22 2006
-@@ -55,6 +55,7 @@
- static Bool
- event_query_is_touchpad(int fd)
- {
-+#if 0
-     int ret;
-     unsigned long evbits[NBITS(KEY_MAX)];
- 
-@@ -83,6 +84,9 @@
- 	return FALSE;
- 
-     return TRUE;
-+#else
-+    return FALSE;
-+#endif
- }
- 
- static Bool


More information about the Midnightbsd-cvs mailing list