From owner-freebsd-ports@FreeBSD.ORG Sat Oct 18 14:41:23 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44019106568B for ; Sat, 18 Oct 2008 14:41:23 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx07.syd.optusnet.com.au (fallbackmx07.syd.optusnet.com.au [211.29.132.9]) by mx1.freebsd.org (Postfix) with ESMTP id C898D8FC1C for ; Sat, 18 Oct 2008 14:41:22 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by fallbackmx07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9I3m9lQ010547 for ; Sat, 18 Oct 2008 14:48:09 +1100 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9I3m6Cx013985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Oct 2008 14:48:07 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id m9I3m65K021586; Sat, 18 Oct 2008 14:48:06 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id m9I3m5cb021585; Sat, 18 Oct 2008 14:48:05 +1100 (EST) (envelope-from peter) Date: Sat, 18 Oct 2008 14:48:05 +1100 From: Peter Jeremy To: Eitan Adler Message-ID: <20081018034805.GA1055@server.vk2pj.dyndns.org> References: <48F7DAD1.9000103@gmail.com> <20081017010512.GC71472@mavetju.org> <48F8A209.8020307@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <48F8A209.8020307@gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: Xorg - minimal X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 14:41:23 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Oct-17 10:32:41 -0400, Eitan Adler wrote: >Here is the list I generated from pkg_info when I was first able to run >the X server. If anyone is able to run "startx" with fewer ports please >let me know. You should be able to get by without any gnome baggage. >How can I handle the video drivers? Not all systems need all drivers. >I don't want to depend on xorg-drivers, however you can't get X to start >without a video driver. Can some kind of check be done in the Makefile? Unless you actually install all the drivers, go through the configuration process to work out which ones to use and then uninstall the rest, the best you could probably do is to run pciconf and use a config file to map PCI IDs to potential video drivers. Some things to keep in mind with this approach are: - pciconf has to run as root and so has to be inside the su part. - Some video cards have different potential drivers (eg Intel, nVIDIA). - People may have multiple, different video cards present. - Several drivers are virtual (eg dummy, fbdev) --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj5XHUACgkQ/opHv/APuIcTiwCfR7Esb+ktrm+ZC56uCAqiCFg6 ie4An1Jw1C/3CwTpke2e/bY8uI3SSLjR =HWwC -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--