skype problem with fc10 and worldofgoo-demo

Mel Flynn mel.flynn+fbsd.ports at
Tue Sep 15 14:12:02 UTC 2009

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 at 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-\*


More information about the freebsd-ports mailing list