Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Boris Samorodov
Jeremy Messenger me...@cox.net writes:
 On Tue, 15 Sep 2009 09:03:52 -0500, Boris Samorodov b...@ipt.ru wrote:

 I've just emailed a patch for games/linux-worldofgoo-demo. Many other
 ports which need linux libGL/libGLU (either for nvidia or not) use
 those checks. It seems to work fine for other ports and should fix
 the case here. All conflicts seems to be dealt by that check either.
 Am I missing something?

 Isn't it better to fix in Mk/bsd.linux*.mk rather than try to fix all
 other ports?

I thought about it. May be it'a way to go but not just before
8.0-RELEASE.

Can anyone provide a patch or a proof of concept?

-- 
WBR, bsam
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Boris Samorodov
Alexey Dokuchaev da...@freebsd.org writes:
 On Tue, Sep 15, 2009 at 06:03:52PM +0400, Boris Samorodov wrote:

 I've just emailed a patch for games/linux-worldofgoo-demo. Many other
 Yes, thanks!  I somehow managed to miss libGL dep completely, my fault.

Would you commit the patch?

-- 
WBR, bsam
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Boris Samorodov
Boris Samorodov b...@ipt.ru writes:

 Jeremy Messenger me...@cox.net writes:
 On Tue, 15 Sep 2009 09:03:52 -0500, Boris Samorodov b...@ipt.ru wrote:

 I've just emailed a patch for games/linux-worldofgoo-demo. Many other
 ports which need linux libGL/libGLU (either for nvidia or not) use
 those checks. It seems to work fine for other ports and should fix
 the case here. All conflicts seems to be dealt by that check either.
 Am I missing something?

 Isn't it better to fix in Mk/bsd.linux*.mk rather than try to fix all
 other ports?

 I thought about it. May be it'a way to go but not just before
 8.0-RELEASE.

Or may be even better to deal with the case at bsd.nvidia.mk?

 Can anyone provide a patch or a proof of concept?

-- 
WBR, bsam
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Alexey Dokuchaev
On Wed, Sep 16, 2009 at 10:24:51AM +0400, Boris Samorodov wrote:
 Alexey Dokuchaev da...@freebsd.org writes:
  On Tue, Sep 15, 2009 at 06:03:52PM +0400, Boris Samorodov wrote:
 
  I've just emailed a patch for games/linux-worldofgoo-demo. Many other
  Yes, thanks!  I somehow managed to miss libGL dep completely, my fault.
 
 Would you commit the patch?

Sure, I was just waiting reply from Sergey that there are no problems
with it.

./danfe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Sergey V. Dyatko
В Tue, 15 Sep 2009 17:22:44 +0400
Boris Samorodov b...@ipt.ru пишет:

BS Sergey V. Dyatko sergey.dya...@gmail.com writes:
BS 
BS  When I'm trying install skype I got following error: 
BS 
BS  tiger# make install clean
BS  ===  Installing for skype-2.0.0.72,1
BS  ===   skype-2.0.0.72,1 depends on file: /compat/linux/bin/sh -
BS  found ===   skype-2.0.0.72,1 depends on
BS  file: /compat/linux/lib/libasound.so.2.0.0 - found ===
BS  skype-2.0.0.72,1 depends on
BS  file: /compat/linux/usr/lib/libGL.so.1.2 - not found ===
BS  Verifying install for /compat/linux/usr/lib/libGL.so.1.2
BS  in /usr/ports/graphics/linux-dri74 ===  Installing for
BS  linux-dri-7.4_1
BS 
BS  ===  linux-dri-7.4_1 conflicts with installed package(s): 
BSlinux-f10-libGLU-7.2
BS 
BSThey install files into the same place.
BSPlease remove them first with pkg_delete(1).
BS  *** Error code 1
BS 
BS  Stop in /usr/ports/graphics/linux-dri74.
BS  *** Error code 1
BS 
BS  Stop in /usr/ports/net/skype.
BS  tiger# pkg_info -W /compat/linux/usr/lib/libGL.so.1.2
BS  pkg_info: /compat/linux/usr/lib/libGL.so.1.2: file cannot be found
BS 
BS  tiger# pkg_info -Lx linux-f10-libGLU
BS  Information for linux-f10-libGLU-7.2:
BS 
BS  Files:
BS  /compat/linux/usr/lib/libGLU.so.1
BS  /compat/linux/usr/lib/libGLU.so.1.3.070300
BS 
BS  tiger# 
BS 
BS  Earlier I'm using linux-dri-7.4_1 but today I'm install
BS  games/linux-worldofgoo-demo 
BS 
BS  [ti...@tiger]/usr/ports/games/linux-worldofgoo-demo%make
BS  run-depends-list
BS  /usr/ports/audio/linux-f10-libogg
BS  /usr/ports/audio/linux-f10-libvorbis
BS  /usr/ports/audio/linux-f10-mikmod
BS  /usr/ports/audio/linux-f10-sdl_mixer
BS  /usr/ports/devel/linux-f10-sdl12
BS  /usr/ports/emulators/linux_base-f10
BS  /usr/ports/graphics/linux-f10-libGLU
BS  
BS  /usr/ports/textproc/linux-f10-expat
BS  /usr/ports/x11-fonts/linux-f10-fontconfig
BS  /usr/ports/x11/linux-f10-xorg-libs
BS 
BS  any suggestions ?
BS 
BS 1. Deinstall games/linux-worldofgoo-demo and
BS graphics/linux-f10-libGLU. 2. Apply the following patch.
BS 3. Install games/linux-worldofgoo-demo and net/skype.
BS 4. Report here.
BS 

Thanks, It works

BS -
BS Index: Makefile
BS ===
BS RCS file: /home/pcvs/ports/games/linux-worldofgoo-demo/Makefile,v
BS retrieving revision 1.1
BS diff -u -r1.1 Makefile
BS --- Makefile14 Sep 2009 19:23:23 -  1.1
BS +++ Makefile15 Sep 2009 13:10:10 -
BS @@ -7,6 +7,7 @@
BS  
BS  PORTNAME=  worldofgoo
BS  PORTVERSION=   1.41
BS +PORTREVISION=  1
BS  CATEGORIES=games linux
BS  MASTER_SITES=  http://freebsd.nsu.ru/distfiles/
BS  PKGNAMEPREFIX= linux-
BS @@ -18,12 +19,19 @@
BS  ONLY_FOR_ARCHS=i386 amd64
BS  
BS  USE_LINUX= yes
BS -USE_LINUX_APPS=libglu libvorbis mikmod sdl12 sdlmixer
BS +USE_LINUX_APPS=libvorbis mikmod sdl12 sdlmixer
BS  NO_BUILD=  yes
BS  WRKSRC=${WRKDIR}/WorldOfGooDemo
BS  DATADIR=   ${PREFIX}/share/WorldOfGoo
BS  DOCSDIR=   ${PREFIX}/share/doc/WorldOfGoo
BS  
BS +.ifdef WITH_NVIDIA_GL
BS +RUN_DEPENDS+=
BS ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
BS +USE_LINUX_APPS+=libglu +.else
BS +USE_LINUX_APPS+=dri
BS +.endif
BS +
BS  .include bsd.port.pre.mk
BS  
BS  .if ${ARCH} == i386
BS -
BS 



--
wbr, tiger
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Alexey Dokuchaev
On Wed, Sep 16, 2009 at 09:38:35AM +0300, Sergey V. Dyatko wrote:
 В Wed, 16 Sep 2009 06:35:26 +
 Alexey Dokuchaev da...@freebsd.org пишет:
 AD On Wed, Sep 16, 2009 at 10:24:51AM +0400, Boris Samorodov wrote:
 AD  Alexey Dokuchaev da...@freebsd.org writes:
 AD   On Tue, Sep 15, 2009 at 06:03:52PM +0400, Boris Samorodov wrote:
 AD  
 AD   I've just emailed a patch for games/linux-worldofgoo-demo.
 AD   Many other
 AD   Yes, thanks!  I somehow managed to miss libGL dep completely,
 AD   my fault.
 AD  
 AD  Would you commit the patch?
 AD 
 AD Sure, I was just waiting reply from Sergey that there are no
 AD problems with it.
 
 I think you may commit that patch:)

Already did, thanks!

./danfe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Jeremy Messenger

On Wed, 16 Sep 2009 01:35:39 -0500, Boris Samorodov b...@ipt.ru wrote:


Boris Samorodov b...@ipt.ru writes:


Jeremy Messenger me...@cox.net writes:
On Tue, 15 Sep 2009 09:03:52 -0500, Boris Samorodov b...@ipt.ru  
wrote:



I've just emailed a patch for games/linux-worldofgoo-demo. Many other
ports which need linux libGL/libGLU (either for nvidia or not) use
those checks. It seems to work fine for other ports and should fix
the case here. All conflicts seems to be dealt by that check either.
Am I missing something?


Isn't it better to fix in Mk/bsd.linux*.mk rather than try to fix all
other ports?


I thought about it. May be it'a way to go but not just before
8.0-RELEASE.


Or may be even better to deal with the case at bsd.nvidia.mk?


The bsd.linux*.mk would be more correct place, because it controls the  
USE_LINUX stuff.


Cheers,
Mezz


Can anyone provide a patch or a proof of concept?



--
me...@cox.net  -  m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gn...@freebsd.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-16 Thread Sergey V. Dyatko
В Wed, 16 Sep 2009 06:35:26 +
Alexey Dokuchaev da...@freebsd.org пишет:

AD On Wed, Sep 16, 2009 at 10:24:51AM +0400, Boris Samorodov wrote:
AD  Alexey Dokuchaev da...@freebsd.org writes:
AD   On Tue, Sep 15, 2009 at 06:03:52PM +0400, Boris Samorodov wrote:
AD  
AD   I've just emailed a patch for games/linux-worldofgoo-demo.
AD   Many other
AD   Yes, thanks!  I somehow managed to miss libGL dep completely,
AD   my fault.
AD  
AD  Would you commit the patch?
AD 
AD Sure, I was just waiting reply from Sergey that there are no
AD problems with it.

I think you may commit that patch:)
AD 
AD ./danfe



-- 
С уважением, Сергей Дятко
системный администратор
АГАВА-Минск
ti...@agava.com

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Alexey Dokuchaev
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 
 
 [ti...@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).

Perhaps Boris can shed more light on the subject.

./danfe (speaking mainly from nvidia-driver maintainer POV).
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Alexey Dokuchaev
On Tue, Sep 15, 2009 at 12:44:22PM +, Alexey Dokuchaev wrote:
 Typically, there are two major providers of libGL (both native and Linux
 flavors): linux-*-dri ports *or* nvidia-driver, depending on what gfx card

Of course, linux-* ports do not provide native libs; I was referring to
`graphics/libGL' in native case, sorry for confusion.

./danfe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Boris Samorodov
Sergey V. Dyatko sergey.dya...@gmail.com writes:

 When I'm trying install skype I got following error: 

 tiger# make install clean
 ===  Installing for skype-2.0.0.72,1
 ===   skype-2.0.0.72,1 depends on file: /compat/linux/bin/sh - found
 ===   skype-2.0.0.72,1 depends on
 file: /compat/linux/lib/libasound.so.2.0.0 - found ===
 skype-2.0.0.72,1 depends on file: /compat/linux/usr/lib/libGL.so.1.2 -
 not found ===Verifying install
 for /compat/linux/usr/lib/libGL.so.1.2
 in /usr/ports/graphics/linux-dri74 ===  Installing for linux-dri-7.4_1

 ===  linux-dri-7.4_1 conflicts with installed package(s): 
   linux-f10-libGLU-7.2

   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1

 Stop in /usr/ports/graphics/linux-dri74.
 *** Error code 1

 Stop in /usr/ports/net/skype.
 tiger# pkg_info -W /compat/linux/usr/lib/libGL.so.1.2
 pkg_info: /compat/linux/usr/lib/libGL.so.1.2: file cannot be found

 tiger# pkg_info -Lx linux-f10-libGLU
 Information for linux-f10-libGLU-7.2:

 Files:
 /compat/linux/usr/lib/libGLU.so.1
 /compat/linux/usr/lib/libGLU.so.1.3.070300

 tiger# 

 Earlier I'm using linux-dri-7.4_1 but today I'm install
 games/linux-worldofgoo-demo 

 [ti...@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

 any suggestions ?

1. Deinstall games/linux-worldofgoo-demo and graphics/linux-f10-libGLU.
2. Apply the following patch.
3. Install games/linux-worldofgoo-demo and net/skype.
4. Report here.

-
Index: Makefile
===
RCS file: /home/pcvs/ports/games/linux-worldofgoo-demo/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile14 Sep 2009 19:23:23 -  1.1
+++ Makefile15 Sep 2009 13:10:10 -
@@ -7,6 +7,7 @@
 
 PORTNAME=  worldofgoo
 PORTVERSION=   1.41
+PORTREVISION=  1
 CATEGORIES=games linux
 MASTER_SITES=  http://freebsd.nsu.ru/distfiles/
 PKGNAMEPREFIX= linux-
@@ -18,12 +19,19 @@
 ONLY_FOR_ARCHS=i386 amd64
 
 USE_LINUX= yes
-USE_LINUX_APPS=libglu libvorbis mikmod sdl12 sdlmixer
+USE_LINUX_APPS=libvorbis mikmod sdl12 sdlmixer
 NO_BUILD=  yes
 WRKSRC=${WRKDIR}/WorldOfGooDemo
 DATADIR=   ${PREFIX}/share/WorldOfGoo
 DOCSDIR=   ${PREFIX}/share/doc/WorldOfGoo
 
+.ifdef WITH_NVIDIA_GL
+RUN_DEPENDS+=  ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+USE_LINUX_APPS+=libglu
+.else
+USE_LINUX_APPS+=dri
+.endif
+
 .include bsd.port.pre.mk
 
 .if ${ARCH} == i386
-

-- 
WBR, bsam
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Boris Samorodov
Alexey Dokuchaev da...@freebsd.org writes:

 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*

It's not a problem. It's a feature. ;-)

 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).

 Perhaps Boris can shed more light on the subject.

I've just emailed a patch for games/linux-worldofgoo-demo. Many other
ports which need linux libGL/libGLU (either for nvidia or not) use
those checks. It seems to work fine for other ports and should fix
the case here. All conflicts seems to be dealt by that check either.
Am I missing something?

-- 
WBR, bsam
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Alexey Dokuchaev
On Tue, Sep 15, 2009 at 06:03:52PM +0400, Boris Samorodov wrote:
 Alexey Dokuchaev da...@freebsd.org writes:
 
  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*
 
 It's not a problem. It's a feature. ;-)
 
  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).
 
  Perhaps Boris can shed more light on the subject.
 
 I've just emailed a patch for games/linux-worldofgoo-demo. Many other

Yes, thanks!  I somehow managed to miss libGL dep completely, my fault.

 ports which need linux libGL/libGLU (either for nvidia or not) use
 those checks. It seems to work fine for other ports and should fix
 the case here. All conflicts seems to be dealt by that check either.
 Am I missing something?

Not that I see any obvious pitfalls, but it will become more clear once
the dust settles.

./danfe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Mel Flynn
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
 
  [ti...@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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: skype problem with fc10 and worldofgoo-demo

2009-09-15 Thread Jeremy Messenger

On Tue, 15 Sep 2009 09:03:52 -0500, Boris Samorodov b...@ipt.ru wrote:


Alexey Dokuchaev da...@freebsd.org writes:


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*


It's not a problem. It's a feature. ;-)


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).

Perhaps Boris can shed more light on the subject.


I've just emailed a patch for games/linux-worldofgoo-demo. Many other
ports which need linux libGL/libGLU (either for nvidia or not) use
those checks. It seems to work fine for other ports and should fix
the case here. All conflicts seems to be dealt by that check either.
Am I missing something?


Isn't it better to fix in Mk/bsd.linux*.mk rather than try to fix all  
other ports?


Cheers,
Mezz


--
me...@cox.net  -  m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gn...@freebsd.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org