Bug 181852 - multimedia/libxine causes wrong nvidia-driver to get installed over installed one
Summary: multimedia/libxine causes wrong nvidia-driver to get installed over installed...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Juergen Lock
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-05 22:40 UTC by Lawrence Chen
Modified: 2013-09-06 22:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lawrence Chen 2013-09-05 22:40:00 UTC
	
	I have a Quadro FX 1400, where the last version of nvidia-driver that
	supports this is 304.xx.  Therefore I have x11/nvidia-driver-304
	installed.

	When I installed multimedia/libxine (indirectly) and whenever it get's
	updated, it causes x11/nvidia-driver to get installed without regard
	to x11/nvidia-driver-304 already being installed or that it
	x11/nvidia-driver is not the correct version to install.

Fix: 

The problem appears to be:

		LIB_DEPENDS+= XvMCNVIDIA:${PORTSDIR}/x11/nvidia-driver

	There's no XvMCNVIDIA lib in x11/nvidia-driver (319.32), nor
	x11/nvidia-driver-304  But, the following do exist for
	x11/nvidia-driver-304:

		libXvMCNVIDIA.a
		libXvMCNVIDIA.so
		libXvMCNVIDIA.so.1
		libXvMCNVIDIA_dynamic.so.1

	but nothing like this for x11/nvidia-driver.

	Most of the other ports that depend on x11/nvidia-driver use something
	like:

	RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:...

	one exception uses:

	RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/nvidia_drv.so:...

	The file exists for both x11/nvidia-driver and x11/nvidia-driver-304,
	My other FreeBSD workstation has a Quadro FX 1700 which is currently
	still supported.
How-To-Repeat: 	
	update multimedia/libxine, causes it x11/nvidia-driver to be installed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-05 22:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-06 22:21:48 UTC
Author: nox
Date: Fri Sep  6 21:21:41 2013
New Revision: 326549
URL: http://svnweb.freebsd.org/changeset/ports/326549

Log:
  Only x11/nvidia-driver-304 still has libXvMCNVIDIA.
  
  PR:		ports/181852
  Submitted by:	Lawrence Chen <lkchen@ksu.edu>

Modified:
  head/multimedia/libxine/Makefile

Modified: head/multimedia/libxine/Makefile
==============================================================================
--- head/multimedia/libxine/Makefile	Fri Sep  6 21:20:28 2013	(r326548)
+++ head/multimedia/libxine/Makefile	Fri Sep  6 21:21:41 2013	(r326549)
@@ -135,9 +135,9 @@ CONFIGURE_ARGS+=	--without-pulseaudio
 .endif
 
 .if ${PORT_OPTIONS:MXVMC}
-.if defined(WITH_NVIDIA_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1)
+.if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1)
 CONFIGURE_ARGS+=	--with-xvmc-lib=XvMCNVIDIA
-LIB_DEPENDS+=	XvMCNVIDIA:${PORTSDIR}/x11/nvidia-driver
+LIB_DEPENDS+=	XvMCNVIDIA:${PORTSDIR}/x11/nvidia-driver-304
 .else
 CONFIGURE_ARGS+=	--with-xvmc-lib=XvMCW
 LIB_DEPENDS+=	XvMC:${PORTSDIR}/x11/libXvMC
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Juergen Lock freebsd_committer freebsd_triage 2013-09-06 22:22:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!