Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 2000 14:44:18 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nick Slager <nicks@albury.net.au>
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: Whee, X works with 1600x1200
Message-ID:  <XFMail.001005144418.jhb@FreeBSD.org>
In-Reply-To: <20001005175841.C87106@albury.net.au>

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

On 05-Oct-00 Nick Slager wrote:
> Thus spake John Baldwin (jhb@FreeBSD.ORG):
> 
>> I've recently obtained a new Dell i5000e with a spifft 1600x1200
>> display with an ATI Rage Mobility card.  X 4.0.1 did not work out of
>> the box, and I had to cvsup the current X sources, but I did get a
>> working X server.  However, the default config file only did 800x600
> 
> Did you have to do anything tricksy to get the X CVS sources to compile?
> Mine dies fairly early in the build. 4.1-RELEASE fresh install.

Yes.  In /usr/ports/x11/XFree86-4-libraries/patches, I removed
patch-i810 and patch-z{08-12}.  I applied this patch to patch-z20:

Index: patch-z20
===================================================================
RCS file: /usr/cvs/ports/x11/XFree86-4-libraries/patches/patch-z20,v
retrieving revision 1.1
diff -u -r1.1 patch-z20
--- patch-z20   2000/06/08 10:42:22     1.1
+++ patch-z20   2000/09/28 03:57:45
@@ -1,12 +1,11 @@
---- programs/Xserver/hw/xfree86/loader/Imakefile~      Sat Feb 26 14:39:05 2000
-+++ programs/Xserver/hw/xfree86/loader/Imakefile       Mon May  8 16:32:00 2000
-@@ -35,7 +35,8 @@
-               -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi -I$(SERVERSRC)/include \
+--- programs/Xserver/hw/xfree86/loader/Imakefile.orig  Wed Sep 27 20:56:24 2000
++++ programs/Xserver/hw/xfree86/loader/Imakefile       Wed Sep 27 20:56:47 2000
+@@ -32,7 +32,7 @@
                -I$(SERVERSRC)/os -I$(XINCLUDESRC) -I$(FONTINCSRC) \
                -I$(FONTLIBSRC)/include -I$(FONTLIBSRC)/fontcache \
--              -I$(EXTINCSRC) -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c
-+              -I$(EXTINCSRC) -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
-+              -I$(XF86SRC)/parser
+               -I$(EXTINCSRC) -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
+-              -I$(SERVERSRC)/render
++              -I$(SERVERSRC)/render -I$(XF86SRC)/parser

  #ifdef OS2Architecture
  SRCS1 = os2funcs.c

And added patch-z38:
--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/Imakefile.orig
Wed Sep 27 20:51:45 2000
+++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/Imakefile     Wed Sep
27 20:10:24 2000
@@ -18,7 +18,7 @@
 LinkSourceFile(i810_drm.h,$(XF86OSSRC)/linux/drm/kernel)
 LinkSourceFile(mga_drm.h,$(XF86OSSRC)/linux/drm/kernel)
 LinkSourceFile(r128_drm.h,$(XF86OSSRC)/linux/drm/kernel)
-LinkSourceFile(sis_drm_public.h,$(XF86OSSRC)/linux/drm/kernel)
+LinkSourceFile(sis_drm.h,$(XF86OSSRC)/linux/drm/kernel)


 XCOMM This is a kludge until we determine how best to build the

This is only tested with the XFree86-4-Server port, btw.  I used the standard
4.0.1 ports for the rest of X.

I also cvsup'd all of hte X sources (xc-all) and did this to build the server:

% cd /usr/ports/x11-servers/XFree86-4-Server
% mkdir work
% cp -R /usr/xsrc/xc work/
% touch work/.extract_done
% make install

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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