Bug 59230 - gstreamer-plugins Makefile depends on libshout which conflicts with previously-installed libshout2
Summary: gstreamer-plugins Makefile depends on libshout which conflicts with previousl...
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: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 21:10 UTC by pseniura
Modified: 2004-03-14 03:58 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 pseniura 2003-11-12 21:10:23 UTC
	The x11/gnome2 meta-port is requiring gstreamer-plugins through a long chain of requisites.  Before this, I had toinstall audio/libshout2 (v2.0) because of other ports needing it specifically.  Gstreamer-plugins, tho, is calling for audio/libshout (v1.0.7), causing a CONFLICTS condition to be raised during portupgrade fresh install of x11/gnome2.

	The gstreamer-plugins' Makefile does a simple detection to see that libshout.a is installed, then the Makefile adds the 'wrong' version of libshout to the LIB_DEPENDS string.  The Makefile also uses the environment variable WITH_LIBSHOUT (irregardless of libshout.a being installed) and if it is defined, the Makefile again adds the 'wrong' version of libshout to LIB_DEPENDS.  And we never get to a point where the meta-port itself is installed.

	I use CTM (due to firewall issues here) and am up-to-date as far as this morning's buckets for src-cur and ports-cur.

Fix: To work around this, I simply patched the Makefile for gstreamer-plugins to specify audio/libshout2 instead of audio/libshout:



I have no idea whether gstreamer-plugins will function with libshout2 (since it'll take a while to get the whole gnome2 built and installed in order to test this).--dYoRQd8TXd7YMwOzuCUb8iPEtp6Xe8got89gKfm7YeMvmPQe
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile_orig	Sun Nov  9 02:24:04 2003
+++ Makefile	Mon Nov 10 16:02:32 2003
@@ -520,7 +520,7 @@
 CONFIGURE_ARGS+=	--disable-shout
 PLIST_SUB+=	LIBSHOUT="@comment "
 .else
-LIB_DEPENDS+=	shout.2:${PORTSDIR}/audio/libshout
+LIB_DEPENDS+=	shout.3:${PORTSDIR}/audio/libshout2
 
 PLIST_SUB+=	LIBSHOUT=""
 .endif
How-To-Repeat: 
	Install audio/libshout2 first, then install multimedia/gstreamer-plugins.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-11-13 09:47:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Over to maintainer.
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2004-03-14 03:58:39 UTC
State Changed
From-To: open->closed

Committed, thanks!