From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 26 23:20:01 2009 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 AC6BA1065679 for ; Sat, 26 Dec 2009 23:20:01 +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 88A638FC19 for ; Sat, 26 Dec 2009 23:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBQNK1PY028382 for ; Sat, 26 Dec 2009 23:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBQNK1EH028381; Sat, 26 Dec 2009 23:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 26 Dec 2009 23:20:01 GMT Resent-Message-Id: <200912262320.nBQNK1EH028381@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, Carlos Santos Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5BD106566C for ; Sat, 26 Dec 2009 23:14:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 28D668FC08 for ; Sat, 26 Dec 2009 23:14:53 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBQNEqgs010244 for ; Sat, 26 Dec 2009 23:14:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBQNEqAa010243; Sat, 26 Dec 2009 23:14:52 GMT (envelope-from nobody) Message-Id: <200912262314.nBQNEqAa010243@www.freebsd.org> Date: Sat, 26 Dec 2009 23:14:52 GMT From: Carlos Santos To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/142053: x11/xorg-minimal: [PATCH] allow choosing video driver during build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2009 23:20:01 -0000 >Number: 142053 >Category: ports >Synopsis: x11/xorg-minimal: [PATCH] allow choosing video driver during build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 26 23:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Carlos Santos >Release: 9.0-CURRENT >Organization: N.A. >Environment: FreeBSD avatar 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Mon Dec 7 03:06:31 UTC 2009 root@avatar:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The patch contained in the attachment allows the user to choose a video driver to use instead of the default vesa driver. It allse ensures that xinit and xauth are searched at the right place. >How-To-Repeat: N.A. >Fix: Apply the patch contained in the attachment. Patch attached with submission follows: --- x11/xorg-minimal/Makefile.orig 2009-05-10 20:39:00.000000000 -0300 +++ x11/xorg-minimal/Makefile 2009-12-26 21:13:22.000000000 -0200 @@ -19,12 +19,14 @@ NO_BUILD= yes +VIDEO_DRIVER?= vesa + RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \ - ${LOCALBASE}/lib/xorg/modules/drivers/vesa_drv.so:${PORTSDIR}/x11-drivers/xf86-video-vesa \ + ${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 \ - xinit:${PORTSDIR}/x11/xinit \ - xauth:${PORTSDIR}/x11/xauth \ + ${LOCALBASE}/bin/xinit:${PORTSDIR}/x11/xinit \ + ${LOCALBASE}/bin/xauth:${PORTSDIR}/x11/xauth \ ${LOCALBASE}/lib/X11/fonts/misc/fonts.alias:${PORTSDIR}/x11-fonts/font-alias \ ${LOCALBASE}/lib/X11/fonts/misc/cursor.pcf.gz:${PORTSDIR}/x11-fonts/font-cursor-misc \ ${LOCALBASE}/lib/X11/fonts/misc/10x20.pcf.gz:${PORTSDIR}/x11-fonts/font-misc-misc @@ -35,6 +37,10 @@ @${ECHO_MSG} "This is a meta-port, meaning that it just depends on its subparts of the port." @${ECHO_MSG} "It won't build and install all the parts until you have typed make install" @${ECHO_MSG} "This port does not ensure things are upgraded; use portmaster if you want to" - @${ECHO_MSG} "upgrade X.Org." + @${ECHO_MSG} "upgrade X.Org. The \"vesa\" driver is installed by default. You can choose a" + @${ECHO_MSG} "different one by means of the VIDEO_DRIVER parameter. For example:" + @${ECHO_MSG} "" + @${ECHO_MSG} " make install VIDEO_DRIVER=intel" + @${ECHO_MSG} "" .include >Release-Note: >Audit-Trail: >Unformatted: