Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 16:11:58 +0200
From:      Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
To:        freebsd-ports@freebsd.org
Cc:        Alexey Dokuchaev <danfe@freebsd.org>
Subject:   Re: skype problem with fc10 and worldofgoo-demo
Message-ID:  <200909151611.58611.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
In-Reply-To: <20090915124422.GA34612@FreeBSD.org>
References:  <20090915113907.498fd6f5@tiger.minsk.domain> <20090915124422.GA34612@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909151611.58611.mel.flynn%2Bfbsd.ports>