Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 10:07:44 -0400 (EDT)
From:      Michael Johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danfe@FreeBSD.org
Subject:   ports/72877: [PATCH] x11/nvidia-driver: Add link to libXvMCNVIDIA_dynamic.so.1 
Message-ID:  <200410191407.i9JE7iWb086515@blueheron.ahze.net>
Resent-Message-ID: <200410191410.i9JEANkK064521@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72877
>Category:       ports
>Synopsis:       [PATCH] x11/nvidia-driver: Add link to libXvMCNVIDIA_dynamic.so.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 14:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-STABLE FreeBSD 5.3-STABLE #68: Sat Oct 16 21:30:18 EDT 2004
>Description:
- Link libXvMCNVIDIA.so.1 to libXvMCNVIDIA_dynamic.so.1
 
 LibXvMCNVIDIA.so.1 tells ld to link to libXvMCNVIDIA_dynamic.so.1
  which currentlly does not exist.
  this is critical for libxine (and others?)

ahze@blueheron /usr/ports/multimedia/libxine > ldd /usr/X11R6/lib/xine/plugins/1.0.0/xineplug_vo_out_xvmc.so 
/usr/X11R6/lib/xine/plugins/1.0.0/xineplug_vo_out_xvmc.so:
        libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0x28173000)
        libXvMC.so.1 => /usr/X11R6/lib/libXvMC.so.1 (0x28178000)
        libXvMCNVIDIA_dynamic.so.1 => /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1 (0x2817b000) 

Port maintainer (danfe@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

run strings on /usr/X11R6/lib/libXvMCNVIDIA.so.1 

or

install nvidia-driver then install libxine

libxine doesn't work with xvmc via nvidia.


>Fix:

--- nvidia-driver-1.0.6113_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/nvidia-driver/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	27 Aug 2004 09:24:05 -0000	1.19
+++ Makefile	19 Oct 2004 13:57:13 -0000
@@ -88,6 +88,7 @@
 .endif
 
 post-install:
+	${LN} -sf ${PREFIX}/lib/libXvMCNVIDIA.so.1 ${PREFIX}/lib/libXvMCNVIDIA_dynamic.so.1
 .if ${OSVERSION} < 500000
 .for dev in 0 1 2 3
 	@${RM} -f /dev/nvidia${dev}
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/x11/nvidia-driver/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	17 Aug 2004 11:54:09 -0000	1.5
+++ pkg-plist	19 Oct 2004 13:57:28 -0000
@@ -16,8 +16,8 @@
 @exec ln -sf %D/lib/libGLcore.so.1 %D/lib/libGLcore.so
 @unexec rm -f %D/lib/libGLcore.so
 lib/libXvMCNVIDIA.so.1
-@exec ln -sf %D/lib/libXvMCNVIDIA.so.1 %D/lib/libXvMCNVIDIA.so
-@unexec rm -f %D/lib/libXvMCNVIDIA.so
+lib/libXvMCNVIDIA.so 
+lib/libXvMCNVIDIA_dynamic.so.1
 lib/libnvidia-tls.so.1
 @exec ln -sf %D/lib/libnvidia-tls.so.1 %D/lib/libnvidia-tls.so
 @unexec rm -f %D/lib/libnvidia-tls.so
--- nvidia-driver-1.0.6113_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410191407.i9JE7iWb086515>