Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 23:37:21 GMT
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154319: [patch] xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
Message-ID:  <201101262337.p0QNbLHW091317@red.freebsd.org>
Resent-Message-ID: <201101262340.p0QNe3iK035979@freefall.freebsd.org>

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

>Number:         154319
>Category:       ports
>Synopsis:       [patch] xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 26 23:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
At the moment nvidia doesn't work as a driver for xorg-mininal. This patch adds support for it.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xorg-minimal/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	26 Nov 2010 22:02:35 -0000	1.8
+++ Makefile	26 Jan 2011 23:13:37 -0000
@@ -22,12 +22,17 @@
 VIDEO_DRIVER?=	vesa
 
 RUN_DEPENDS+=	${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \
-		${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER} \
 		${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:${PORTSDIR}/x11-drivers/xf86-input-mouse \
 		${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:${PORTSDIR}/x11-drivers/xf86-input-keyboard \
 		${LOCALBASE}/bin/xinit:${PORTSDIR}/x11/xinit \
 		${LOCALBASE}/bin/xauth:${PORTSDIR}/x11/xauth
 
+.if ${VIDEO_DRIVER} == "nvidia"
+RUN_DEPENDS+=	${LOCALBASE}/bin/nvidia-settings:${PORTSDIR}/x11/nvidia-driver
+.else
+RUN_DEPENDS+=	${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER}
+.endif
+
 do-install:
 
 pre-everything::


>Release-Note:
>Audit-Trail:
>Unformatted:



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