From owner-freebsd-x11@FreeBSD.ORG Fri Jan 11 02:44:03 2008 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41D9F16A421 for ; Fri, 11 Jan 2008 02:44:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id D448613C478 for ; Fri, 11 Jan 2008 02:44:02 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id m0B2i1mC055950; Thu, 10 Jan 2008 21:44:01 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Thu, 10 Jan 2008 21:43:56 -0500 User-Agent: KMail/1.6.2 References: <200801101929.05818.jkim@FreeBSD.org> In-Reply-To: <200801101929.05818.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_ufthHICVethoOYk" Message-Id: <200801102143.58669.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/5473/Thu Jan 10 18:56:40 2008 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Ross Penner Subject: Re: via driver not loading for Mini-itx en1200 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 02:44:03 -0000 --Boundary-00=_ufthHICVethoOYk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 10 January 2008 07:29 pm, Jung-uk Kim wrote: > On Thursday 10 January 2008 05:38 pm, Ross Penner wrote: > > Hi. I'm having trouble configuring my xorg.conf. When I run 'Xorg > > -configure' to get a xorg.conf file, the file uses the vesa > > driver instead of the via driver but that fails as well. I'm > > hoping somebody can help me setup my xorg.conf properly so it > > will use the via driver. > > > > The pastebin for the log generated running 'Xorg -configure' is > > http://pastebin.com/m6d83b2e4 > > > > the xorg.conf.new generated is http://pastebin.com/m1d1dc7e0 > > You may have better luck with openChrome: > > http://www.openchrome.org/ > > FreeBSD ports (out-dated?): > > http://www.freshports.org/x11-drivers/xf86-video-openchrome/ The attached patch updates the port. It builds. ;-) Jung-uk Kim --Boundary-00=_ufthHICVethoOYk Content-Type: text/plain; charset="iso-8859-1"; name="openchrome.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="openchrome.diff" --- ports/x11-drivers/xf86-video-openchrome/Makefile 2007-11-26 12:45:55.000000000 -0500 +++ ports/x11-drivers/xf86-video-openchrome/Makefile 2008-01-10 21:03:19.000000000 -0500 @@ -6,28 +6,19 @@ # PORTNAME= xf86-video-openchrome -PORTVERSION= 0.2.6 +PORTVERSION= 0.2.901 CATEGORIES= x11-drivers -MASTER_SITES= http://archive.ubuntu.com/ubuntu/pool/main/x/xserver-xorg-video-openchrome/ -DISTFILES= xserver-xorg-video-openchrome_${PORTVERSION}+svn357.orig.tar.gz +MASTER_SITES= http://www.openchrome.org/releases/ MAINTAINER= x11@FreeBSD.org -COMMENT= X.Org openchrome display driver +COMMENT= X.Org openChrome display driver -CONFLICTS= xf86-video-via-[0-9]* - -USE_TGZ= yes -WRKSRC= ${WRKDIR}/xserver-xorg-video-openchrome -NOMANCOMPRESS= yes - -USE_AUTOTOOLS= autoconf:261:env automake:19:env libtool:15:env +USE_GL= gl XORG_CAT= driver -USE_GL= gl -USE_XORG= xvmc xf86driproto glproto -MAN4= via.4x +USE_XORG= videoproto xf86driproto xextproto xvmc +MAN4= openchrome.4x -pre-configure: - @(cd ${WRKSRC} && ${SH} ./autogen.sh) +MAKE_ARGS+= drivermandir=${X11BASE}/man/man4 .include --- ports/x11-drivers/xf86-video-openchrome/distinfo 2007-10-09 13:51:23.000000000 -0400 +++ ports/x11-drivers/xf86-video-openchrome/distinfo 2008-01-10 19:42:19.000000000 -0500 @@ -1,3 +1,3 @@ -MD5 (xorg/driver/xserver-xorg-video-openchrome_0.2.6+svn357.orig.tar.gz) = 46bfb583347ee294a8c2c7bb2180d5a1 -SHA256 (xorg/driver/xserver-xorg-video-openchrome_0.2.6+svn357.orig.tar.gz) = 5425a7a315111baa88f801a97450a5e9f9a104305a5e07331645d55ac447795e -SIZE (xorg/driver/xserver-xorg-video-openchrome_0.2.6+svn357.orig.tar.gz) = 249450 +MD5 (xorg/driver/xf86-video-openchrome-0.2.901.tar.bz2) = 96576fcf874d8ee05de31dd7cf2c5f92 +SHA256 (xorg/driver/xf86-video-openchrome-0.2.901.tar.bz2) = e31b159fdf742635a7f4aea630dabcd635885c17ac57eb1293df8957b7de13f3 +SIZE (xorg/driver/xf86-video-openchrome-0.2.901.tar.bz2) = 431585 --- ports/x11-drivers/xf86-video-openchrome/files/patch-configure 1969-12-31 19:00:00.000000000 -0500 +++ ports/x11-drivers/xf86-video-openchrome/files/patch-configure 2008-01-10 20:48:42.000000000 -0500 @@ -0,0 +1,11 @@ +--- configure.orig 2008-01-02 15:05:04.000000000 -0500 ++++ configure 2008-01-10 20:48:21.000000000 -0500 +@@ -21484,7 +21484,7 @@ + _ACEOF + + +-DRIVER_MAN_SUFFIX="4" ++DRIVER_MAN_SUFFIX="4x" + + + --- ports/x11-drivers/xf86-video-openchrome/files/patch-libxvmc_viaXvMCPriv.h 2007-11-26 12:45:55.000000000 -0500 +++ ports/x11-drivers/xf86-video-openchrome/files/patch-libxvmc_viaXvMCPriv.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,6 +0,0 @@ ---- libxvmc/viaXvMCPriv.h.orig Wed Jan 25 15:56:20 2006 -+++ libxvmc/viaXvMCPriv.h Sun Nov 25 09:43:03 2007 -@@ -31,2 +31,3 @@ - #include -+#include /* For FreeBSD 5.x */ - #include --- ports/x11-drivers/xf86-video-openchrome/files/patch-man_Makefile.am 2007-10-09 13:51:23.000000000 -0400 +++ ports/x11-drivers/xf86-video-openchrome/files/patch-man_Makefile.am 1969-12-31 19:00:00.000000000 -0500 @@ -1,29 +0,0 @@ ---- man/Makefile.am.orig Tue Oct 9 19:01:32 2007 -+++ man/Makefile.am Tue Oct 9 19:02:32 2007 -@@ -29,7 +29,7 @@ - - driverman_MANFILES = @DRIVER_NAME@.man - --driverman_DATA = $(driverman_MANFILES:man=@DRIVER_MAN_SUFFIX@) -+driverman_DATA = $(driverman_MANFILES:man=@DRIVER_MAN_SUFFIX@x) - - EXTRA_DIST = @DRIVER_NAME@.man - -@@ -48,14 +48,14 @@ - -e 's|__xconfigfile__|xorg.conf|g' \ - -e 's|__projectroot__|$(prefix)|g' \ - -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ -- -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \ -+ -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)x|g' \ - -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ - -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ - -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' - --SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man -+SUFFIXES = .$(DRIVER_MAN_SUFFIX)x .man - --.man.$(DRIVER_MAN_SUFFIX): -+.man.$(DRIVER_MAN_SUFFIX)x: - sed $(MAN_SUBSTS) < $< > $@ - - @DRIVER_NAME@.man: --- ports/x11-drivers/xf86-video-openchrome/pkg-plist 2007-10-09 13:51:23.000000000 -0400 +++ ports/x11-drivers/xf86-video-openchrome/pkg-plist 2008-01-10 19:48:27.000000000 -0500 @@ -1,11 +1,11 @@ -lib/libviaXvMC.la -lib/libviaXvMC.so -lib/libviaXvMC.so.1 -lib/libviaXvMCPro.la -lib/libviaXvMCPro.so -lib/libviaXvMCPro.so.1 -lib/xorg/modules/drivers/via_drv.la -lib/xorg/modules/drivers/via_drv.so +lib/libchromeXvMC.la +lib/libchromeXvMC.so +lib/libchromeXvMC.so.1 +lib/libchromeXvMCPro.la +lib/libchromeXvMCPro.so +lib/libchromeXvMCPro.so.1 +lib/xorg/modules/drivers/openchrome_drv.la +lib/xorg/modules/drivers/openchrome_drv.so @dirrmtry lib/xorg/modules/drivers @dirrmtry lib/xorg/modules @dirrmtry lib/xorg --Boundary-00=_ufthHICVethoOYk--