Re: [x11/nvidia-driver] conflicts with linux dri ports
On Sunday 07 June 2009 16:00:37 RW wrote: On Mon, 08 Jun 2009 00:06:56 +0400 Boris Samorodov b...@ipt.ru wrote: On Sun, 7 Jun 2009 21:34:53 +0200 barbara wrote: I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? Why it's not good? I'm not sure I've understood, but I think it's more or less the same with the native counterpart: if you install x11/nvidia-driver, libGL.so from graphics/libGL get replaced (actually renamed). Because if port B replaces a file from port A, then when port A is deinstalled, the file from the ports B is removed. It's not ideal, but making nvidia-driver conflict with its own dependencies is a lot worse. nvidia-driver's dependency on libGL is artificial (cause it needs to replace libGL, not cause it needs to link with it). One can actually build and install the driver without having libGL from ports installed. As such I've tried decoupling this a year or so ago, but aside from some problems in the nvidia-provided Makefiles that I could patch, the major drawback of it was that every port requiring libGL would now have to be taught about nvidia-driver (Yes, bsd.gl.mk but there were a few exceptions). I ran into one major hurdle, but can't for the life of me remember anymore what it was, so decided to back off and live with the current hacks. I could try again and at least see what the problem is, in a week or two at the earliest. What I was aiming for is: - if defined(WITH_NVIDIA_GL) libdep on nvidia-driver else libGL - no more XXX-files and post-install hacks - no more need xorg-server installed before we can even read our Makefile Vague memories surfacing: problem had to do with either compat5x or linux. -- 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
[x11/nvidia-driver] conflicts with linux dri ports
Hi! I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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: [x11/nvidia-driver] conflicts with linux dri ports
Boris Samorodov wrote: Hi! Hello there, I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? Weird, as this is the first report of that kind. Also, per what I see in graphics/linux_dri{,-devel}, linuxish libGL* files go to usr/X11R6 (under LINUXBASE, I assume), while nvidia-driver installs them under usr/lib. I will dig that emulation@ message to take a closer look. 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: [x11/nvidia-driver] conflicts with linux dri ports
On Sun, 7 Jun 2009 11:34:12 + Alexey Dokuchaev wrote: Boris Samorodov wrote: I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? Weird, as this is the first report of that kind. Also, per what I see in graphics/linux_dri{,-devel}, linuxish libGL* files go to usr/X11R6 (under LINUXBASE, I assume), while nvidia-driver installs them under usr/lib. Hm, you are right... BTW, new linux dri ports: . graphics/linux-f8-dri; . graphics/linux-f10-dri; . graphics/linux-dri74 istall libraries to usr/lib. Seems that those ports should be added to CONFLICTS. I will dig that emulation@ message to take a closer look. Thanks, I'm also interested. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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: [x11/nvidia-driver] conflicts with linux dri ports
On Sun, 07 Jun 2009 14:28:58 +0400 Boris Samorodov b...@ipt.ru wrote: Hi! I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? The nvidia-driver port overwrites the libGL installed by the native Xorg. GLX doesn't work if this doesn't happen. Presumably it's doing something similar with the Linux version. ___ 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
[x11/nvidia-driver] conflicts with linux dri ports
Hi! I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? Why it's not good? I'm not sure I've understood, but I think it's more or less the same with the native counterpart: if you install x11/nvidia-driver, libGL.so from graphics/libGL get replaced (actually renamed). ___ 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: [x11/nvidia-driver] conflicts with linux dri ports
On Sun, 7 Jun 2009 21:34:53 +0200 barbara wrote: I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? Why it's not good? I'm not sure I've understood, but I think it's more or less the same with the native counterpart: if you install x11/nvidia-driver, libGL.so from graphics/libGL get replaced (actually renamed). Because if port B replaces a file from port A, then when port A is deinstalled, the file from the ports B is removed. 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: [x11/nvidia-driver] conflicts with linux dri ports
On Mon, 08 Jun 2009 00:06:56 +0400 Boris Samorodov b...@ipt.ru wrote: On Sun, 7 Jun 2009 21:34:53 +0200 barbara wrote: I've just received a report at emulation@ about x11/nvidia-driver and other linux dri ports to be in conflict. If a linux dri port is installed x11/nvidia-driver seems to replace libGL.so with a link to nvidia library. Not good. Is it right to mark this port and other linux dri ports to be in conflict? Why it's not good? I'm not sure I've understood, but I think it's more or less the same with the native counterpart: if you install x11/nvidia-driver, libGL.so from graphics/libGL get replaced (actually renamed). Because if port B replaces a file from port A, then when port A is deinstalled, the file from the ports B is removed. It's not ideal, but making nvidia-driver conflict with its own dependencies is a lot worse. ___ 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