From owner-freebsd-ports@FreeBSD.ORG Tue Sep 15 14:12:02 2009 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 AE2FA1065670 for ; Tue, 15 Sep 2009 14:12:02 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 76C3D8FC1B for ; Tue, 15 Sep 2009 14:12:01 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 917BE7E818; Tue, 15 Sep 2009 06:12:13 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Tue, 15 Sep 2009 16:11:58 +0200 User-Agent: KMail/1.12.1 (FreeBSD/8.0-BETA4; KDE/4.3.1; i386; ; ) References: <20090915113907.498fd6f5@tiger.minsk.domain> <20090915124422.GA34612@FreeBSD.org> In-Reply-To: <20090915124422.GA34612@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909151611.58611.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: Alexey Dokuchaev Subject: Re: skype problem with fc10 and worldofgoo-demo 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: Tue, 15 Sep 2009 14:12:02 -0000 On Tuesday 15 September 2009 14:44:22 Alexey Dokuchaev wrote: > On Tue, Sep 15, 2009 at 11:39:07AM +0300, Sergey V. Dyatko wrote: > > Earlier I'm using linux-dri-7.4_1 but today I'm install > > games/linux-worldofgoo-demo > > > > [tiger@tiger]/usr/ports/games/linux-worldofgoo-demo%make > > run-depends-list > > /usr/ports/audio/linux-f10-libogg > > /usr/ports/audio/linux-f10-libvorbis > > /usr/ports/audio/linux-f10-mikmod > > /usr/ports/audio/linux-f10-sdl_mixer > > /usr/ports/devel/linux-f10-sdl12 > > /usr/ports/emulators/linux_base-f10 > > /usr/ports/graphics/linux-f10-libGLU > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > /usr/ports/textproc/linux-f10-expat > > /usr/ports/x11-fonts/linux-f10-fontconfig > > /usr/ports/x11/linux-f10-xorg-libs > > Typically, there are two major providers of libGL (both native and Linux > flavors): linux-*-dri ports *or* nvidia-driver, depending on what gfx card > you have). Now the problem here that linux-*-dri ports install *both* > libGL and libGLU, while nvidia-driver installs just libGL (which is > perfectly fine, since only libGL must directly interact with hardware > via kernel module, for example). Recently bsam@ committed linux-f10-libGLU > port with allowed me to port WorldOfGoo; previously, it was impossible > without ugly hacks, since I use nVidia card + drivers, which conflict > with linux-*-dri (the latter was the only provider of libGL for f10 until > recently). > > Ideally, any port that needs libGL and/or libGLU should depend on libGLU > *and* either libGL *or* nvidia-driver. Ports that depend on linux-*-dri > to get these libs are very likely to drag conflicts sooner or later > (this is especially true for nVidia cards owners). What I never understood is that nvidia-driver fakes dep on libGL, only to replace it. Is the rationale for that, that it eases the pain for the end user when uninstalling nvidia-driver, by still having a libGL around? Or is libGL needed for the opengl headers? I think things are a lot less complicated if nvidia-driver is one of the choices for libGL and that if one wants to stop using it, one does: portmaster -o graphics/libGL nvidia-driver-\* -- Mel