Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 16:43:46 +0100
From:      Dimitry Andric <dimitry@andric.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/120995: Remove openchrome driver name from QUIRKS in xorg-drivers port
Message-ID:  <47C03F32.6060502@andric.com>
Resent-Message-ID: <200802231550.m1NFo3JF010380@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C03F32.6060502>