From owner-freebsd-ports@FreeBSD.ORG Sun Oct 19 03:48:35 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 1616A1065687 for ; Sun, 19 Oct 2008 03:48:35 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id D694D8FC12 for ; Sun, 19 Oct 2008 03:48:34 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1093271rvf.43 for ; Sat, 18 Oct 2008 20:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding :from; bh=5Ua3BLBfQNaPGZFTIkMJnxtV/X1znb4NmL67bdn7SbE=; b=nLTny306lc/EM5ORo8aaKqA/1kxksonDAi0iNtFWPoXyPdhFU0IvH2baH/vBVtcqcb K3jY6nVb+YRTCvVWabdPwZK7yONwxw9h5OBrdcC8K2Vz5udc1augTjrfwvzWm1eWRUOn 6f6dIFo8PqaeAo2jhiKX18GWBfWCuNLAFrKGI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding:from; b=WLBnvVNs9O1QKhzgAzhYi0+7VmH5syzLfwYCe/4KYm2XjceyY0nmSOvlBkjl86YEHg gUNZ4b8VViBKQM9/UD+qsUvj1XAfe+7cHecoJvplWobEGR7w1Jor3GU1ThsuRSE+1gN1 /PRXRrvv1doqz3EfXSi6PalxtFQeYT5tV1Uio= Received: by 10.140.172.20 with SMTP id u20mr3771359rve.16.1224388114229; Sat, 18 Oct 2008 20:48:34 -0700 (PDT) Received: from ?192.168.1.101? (ool-182d26f3.dyn.optonline.net [24.45.38.243]) by mx.google.com with ESMTPS id f42sm8029762rvb.6.2008.10.18.20.48.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Oct 2008 20:48:32 -0700 (PDT) Message-ID: <48FAAE05.3070904@gmail.com> Date: Sat, 18 Oct 2008 23:48:21 -0400 User-Agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Peter Jeremy References: <48F7DAD1.9000103@gmail.com> <20081017010512.GC71472@mavetju.org> <48F8A209.8020307@gmail.com> <20081018034805.GA1055@server.vk2pj.dyndns.org> In-Reply-To: <20081018034805.GA1055@server.vk2pj.dyndns.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=E9C2CCD1; url=pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Eitan Adler 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: Sun, 19 Oct 2008 03:48:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Jeremy wrote: > 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. What gnome baggage? Specifically what do I have to depend on/not depend on to avoid that stuff? > >> 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: Could this method affect the package building? > - pciconf has to run as root and so has to be inside the su part. I assume that all port installs are run as root. > - Some video cards have different potential drivers (eg Intel, nVIDIA). True. This would probably be the "light" version so nvidia with map to - -xv instead of x11/nvidia-driver. > - People may have multiple, different video cards present. True. I'll keep this in mind. > - Several drivers are virtual (eg dummy, fbdev) They are not needed to start X or they are not direct dependencies as far as I know. > I just noticed that x11/xorg-drivers is "optioned" so I'll probably use that approach while I get the pciconf part working. If anyone knows of a script that does the pciconf->driver work please let me know. - -- GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj6rgUACgkQtl8kq+nCzNF5ogCfc9EzF5DvaEpt4VfaGmpBPm6G IJAAn3ZTtX8JBFLRiS3T5uJpBddDJjyy =P2v6 -----END PGP SIGNATURE-----