From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 23 15:50:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C6916A406 for ; Sat, 23 Feb 2008 15:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88BFB13C45D for ; Sat, 23 Feb 2008 15:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1NFo3YA010381 for ; Sat, 23 Feb 2008 15:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1NFo3JF010380; Sat, 23 Feb 2008 15:50:03 GMT (envelope-from gnats) Resent-Date: Sat, 23 Feb 2008 15:50:03 GMT Resent-Message-Id: <200802231550.m1NFo3JF010380@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dimitry Andric Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C26F816A402 for ; Sat, 23 Feb 2008 15:43:47 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 86CED13C447 for ; Sat, 23 Feb 2008 15:43:47 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:d436:4a43:60a1:371c] (unknown [IPv6:2001:7b8:3a7:0:d436:4a43:60a1:371c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTP id A386C3C for ; Sat, 23 Feb 2008 16:43:46 +0100 (CET) Message-Id: <47C03F32.6060502@andric.com> Date: Sat, 23 Feb 2008 16:43:46 +0100 From: Dimitry Andric To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/120995: Remove openchrome driver name from QUIRKS in xorg-drivers port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dimitry Andric List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 15:50:03 -0000 >Number: 120995 >Category: ports >Synopsis: Remove openchrome driver name from QUIRKS in xorg-drivers port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 23 15:50:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dimitry Andric >Release: FreeBSD 7.0-RC2 i386 >Organization: n/a >Environment: System: FreeBSD vfbsd7.home.andric.com 7.0-RC2 FreeBSD 7.0-RC2 #0: Sat Feb 9 15:24:32 CET 2008 dim@vfbsd7.home.andric.com:/usr/obj/usr/src/sys/VFBSD7 i386 >Description: By default, in the xorg-drivers port, the openchrome video driver is not enabled, in favor of the via driver. However, if you disable the via driver and enable the openchrome driver, the xorg-driver port insists on the file "via_drv.so" existing in the X.org drivers directory, while the openchrome driver actually installs a file called "openchrome_drv.so", since version 0.2.901 of the openchrome driver port: http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-drivers/xf86-video-openchrome/pkg-plist.diff?r1=1.1;r2=1.2 The solution is to remove the name "mapping" via the QUIRKS variable in the xorg-drivers Makefile. >How-To-Repeat: cd $portsdir/x11-drivers/xorg-drivers make config [turn OFF via video driver, turn ON openchrome driver] make install This will fail, because the via_drv.so file isn't found. >Fix: Index: x11-drivers/xorg-drivers/Makefile =================================================================== RCS file: /home/ncvs/ports/x11-drivers/xorg-drivers/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- x11-drivers/xorg-drivers/Makefile 25 Dec 2007 07:35:52 -0000 1.8 +++ x11-drivers/xorg-drivers/Makefile 22 Feb 2008 16:33:55 -0000 @@ -68,7 +68,7 @@ tek4957 \ vmmouse void -QUIRKS= keyboard:kbd jamstudio:js_x openchrome:via +QUIRKS= keyboard:kbd jamstudio:js_x .if defined(XORG_COMPLETE) . for type in input video >Release-Note: >Audit-Trail: >Unformatted: