From owner-freebsd-ports Sun Mar 17 13: 0:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9A71C37B405 for ; Sun, 17 Mar 2002 13:00:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2HL05K39959; Sun, 17 Mar 2002 13:00:05 -0800 (PST) (envelope-from gnats) Received: from bingo.tky.hut.fi (bingo.tky.hut.fi [130.233.28.67]) by hub.freebsd.org (Postfix) with ESMTP id 43D4637B400 for ; Sun, 17 Mar 2002 12:55:43 -0800 (PST) Received: (from backi@localhost) by bingo.tky.hut.fi (8.11.6/8.11.6) id g2HKtRN01874; Sun, 17 Mar 2002 22:55:27 +0200 (EET) (envelope-from backi) Message-Id: <200203172055.g2HKtRN01874@bingo.tky.hut.fi> Date: Sun, 17 Mar 2002 22:55:27 +0200 (EET) From: Patrik Backlund Reply-To: Patrik Backlund To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36021: Update port: x11-servers/XFree86-4-Server matrox driver Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36021 >Category: ports >Synopsis: Update port: x11-servers/XFree86-4-Server matrox driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Mar 17 13:00:05 PST 2002 >Closed-Date: >Last-Modified: >Originator: Patrik Backlund >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD bingo.tky.hut.fi 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 14 23:19:50 EET 2002 root@bingo.tky.hut.fi:/stuff/work/obj/home/work/src/sys/BINGO i386 Driver tested on my Matrox G400 Dualhead using TV-out on second head. >Description: * update official Matrox GXX driver to version 2.0 which supports XFree 4.2.0 >How-To-Repeat: >Fix: --- mgadriver.diff begins here --- diff -ruN XFree86-4-Server.old/Makefile XFree86-4-Server/Makefile --- XFree86-4-Server.old/Makefile Sun Mar 17 10:31:35 2002 +++ XFree86-4-Server/Makefile Sun Mar 17 17:02:55 2002 @@ -135,36 +135,28 @@ PLIST_SUB+= XIE:="@comment " .endif -# matrox BETA driver is not ready for 4.2.0. -# I don't confirm feather it is newer than the one which included in 4.2.0, -# but you can try the BETA driver. Just set that variable. - .if ${BuildXF86DRI} == YES .if !defined(WITH_MATROX_GXX_DRIVER) HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " pre-fetch:: - @${ECHO_MSG} "*** WARNING: UNTESTED WITH XFREE86 4.2.0! ENABLE AT" - @${ECHO_MSG} "YOUR OWN RISK! ***" - @${ECHO_MSG} "" @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official" @${ECHO_MSG} "Matrox drivers for the G200, G400, G450, and G550" @${ECHO_MSG} "graphic adapters." .else NO_PACKAGE= "Matrox drivers may not be distributed." HaveMatroxHal= YES -MGA_DRIVER_VERSION= 133_143 -MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION}/ -DISTFILES+= mga-${MGA_DRIVER_VERSION}-source.tgz -EXTRACT_ONLY+= mga-${MGA_DRIVER_VERSION}-source.tgz +MGA_DRIVER_VERSION= 2.0 +MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2002/:matrox +DISTFILES+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz:matrox +EXTRACT_ONLY+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz PLIST_SUB+= MATROX="" post-patch:: @(cd ${WRKSRC}; \ ${MV} programs/Xserver/hw/xfree86/drivers/mga \ programs/Xserver/hw/xfree86/drivers/mga.old; \ - ${MV} ../mgasource/mga-1.4.3/mga programs/Xserver/hw/xfree86/drivers) + ${MV} ../mgadrivers-${MGA_DRIVER_VERSION}-src/4.2.0/drivers/src programs/Xserver/hw/xfree86/drivers/mga) post-install:: - ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README ${PREFIX}/lib/X11/doc/README.mga ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README_HALLIB ${PREFIX}/lib/X11/doc/README.mga_HALLIB .endif # !WITH_MATROX_GXX_DRIVER .endif diff -ruN XFree86-4-Server.old/distinfo XFree86-4-Server/distinfo --- XFree86-4-Server.old/distinfo Sun Mar 17 10:31:35 2002 +++ XFree86-4-Server/distinfo Sun Mar 17 16:37:48 2002 @@ -1,2 +1,3 @@ MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f +MD5 (xc/mgadrivers-2.0-src.tgz) = 877db503967ae837c147953dbcd8ee6d MD5 (xc/Wraphelp.c) = IGNORE diff -ruN XFree86-4-Server.old/pkg-plist XFree86-4-Server/pkg-plist --- XFree86-4-Server.old/pkg-plist Sun Mar 17 10:31:35 2002 +++ XFree86-4-Server/pkg-plist Sun Mar 17 16:46:49 2002 @@ -31,7 +31,6 @@ lib/X11/doc/README.fonts %%I386:%%lib/X11/doc/README.i740 %%I386:%%lib/X11/doc/README.i810 -%%MATROX%%lib/X11/doc/README.mga %%MATROX%%lib/X11/doc/README.mga_HALLIB lib/X11/doc/README.mouse %%I386:%%lib/X11/doc/README.newport --- mgadriver.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message