From owner-freebsd-ports@FreeBSD.ORG Sat Oct 18 17:56:27 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 A437510656A2 for ; Sat, 18 Oct 2008 17:56:27 +0000 (UTC) (envelope-from florent.thoumie@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 71D5D8FC0C for ; Sat, 18 Oct 2008 17:56:27 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so968474rvf.43 for ; Sat, 18 Oct 2008 10:56:27 -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:from:sender :to:subject:cc:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=sNyuhdwx5s7T5CrUdgfn+SoSxLu1aByYHVQ6eyIo5VM=; b=a3kiRp49vThBYN82/FUBDvY/P0yF6ph2XWM+xv+6Rto7X3SRjGspCo5UsMw7FpUdB3 gJlpLppo66SjnO8pBbiMYx8Iadcd9G/Dizn3ngaq6CLX0OxgHORebQHo/AirxF4AL7YS EFz2epl9W/1va+Qog1lt99/MBXdYxDnGMfE/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=whkhL3SIXSZERg/Wl4vvwCnoV3yrtV3eHeTuvfUO+eUBIMF8LuwEOj3fTCaJEgcMk/ wydzqCAtmz5Y3ChpI0XhXkGoQD2qJevi6L8kgMMOJSOtbgHm65feLjUbBJNQgzdFOwax b8r7FdPMRgYZ2RiWbmjPBg1MMYOoU09zlrqWI= Received: by 10.114.205.1 with SMTP id c1mr4137077wag.171.1224350651160; Sat, 18 Oct 2008 10:24:11 -0700 (PDT) Received: by 10.115.74.9 with HTTP; Sat, 18 Oct 2008 10:24:11 -0700 (PDT) Message-ID: Date: Sat, 18 Oct 2008 18:24:11 +0100 From: "Florent Thoumie" Sender: florent.thoumie@gmail.com To: "Peter Jeremy" In-Reply-To: <20081018034805.GA1055@server.vk2pj.dyndns.org> MIME-Version: 1.0 References: <48F7DAD1.9000103@gmail.com> <20081017010512.GC71472@mavetju.org> <48F8A209.8020307@gmail.com> <20081018034805.GA1055@server.vk2pj.dyndns.org> X-Google-Sender-Auth: 7ca6b6f442fd5523 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Eitan Adler , 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 17:56:27 -0000 On Sat, Oct 18, 2008 at 4:48 AM, 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. > > >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) Or you can just depend on xorg-drivers, and let people select the drivers they want if they use ports. They will get 8 of them (instead of the whole bunch) if they use packages, this will be down to 5 once the ports are upgraded to xorg 7.4. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer