Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 15:27:58 GMT
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188795: multimediagstreamer-plugins-mpeg2enc references "old" mjpegtools
Message-ID:  <201404191527.s3JFRwBx065726@cgiserv.freebsd.org>
Resent-Message-ID: <201404191530.s3JFU0Qk074097@freefall.freebsd.org>

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

>Number:         188795
>Category:       ports
>Synopsis:       multimediagstreamer-plugins-mpeg2enc references "old" mjpegtools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 19 15:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Ralf Folkerts
>Release:        10.0-STABLE r264675 amd64
>Organization:
>Environment:
FreeBSD x.local 10.0-STABLE FreeBSD 10.0-STABLE #0 r264675: Sat Apr 19 14:51:43 CEST 2014     root@x.local:/usr/obj/usr/src/sys/VT  amd64
>Description:
Trying to "portmaster" multimedia/gstreamer-plugins-mpeg2enc always fails as it wants to install the already installed multimedia/mjpegtools.

The check in multimedia/gstreamer-plugins/Makefile.common is against libmjpegutils-2.0.so

# mpeg2enc
gst_mpeg2enc_LIB_DEPENDS+=      libmjpegutils-2.0.so:${PORTSDIR}/multimedia/mjpegtools
gst_mpeg2enc_PLIST_FILES=       ${GST_LIB_DIR}/libgstmpeg2enc.la \
                ${GST_LIB_DIR}/libgstmpeg2enc.so
gst_mpeg2enc_DIST=      bad

However, multimedia/mjpegtools was updated to 2.1 with 
r346256 2014-02-27 09:36:11

[-su]beaster:lib$ls libmjpegutils*
libmjpegutils-2.1.so    libmjpegutils-2.1.so.0  libmjpegutils.a         libmjpegutils.la        libmjpegutils.so

At least I did not manage to make the current mjpegtools-Port create libmjpegutils-2.0.so


>How-To-Repeat:
Install multimedia/mjpegtools then try to (re) install multimedia/gstreamer-plugins-mpeg2enc

>Fix:
not sure if this is the correct way... I did the Job for me, though.

--- ports/multimedia/gstreamer-plugins/Makefile.common  2014-04-19 13:00:14.329536247 +0200
+++ myports/multimedia/gstreamer-plugins/Makefile.common        2014-04-19 17:25:52.752969512 +0200
@@ -391,7 +391,7 @@
 gst_mad_DIST=  ugly
 
 # mpeg2enc
-gst_mpeg2enc_LIB_DEPENDS+=     libmjpegutils-2.0.so:${PORTSDIR}/multimedia/mjpegtools
+gst_mpeg2enc_LIB_DEPENDS+=     libmjpegutils-2.1.so:${PORTSDIR}/multimedia/mjpegtools
 gst_mpeg2enc_PLIST_FILES=      ${GST_LIB_DIR}/libgstmpeg2enc.la \
                ${GST_LIB_DIR}/libgstmpeg2enc.so
 gst_mpeg2enc_DIST=     bad


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



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