Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2012 15:22:55 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/165235: [PATCH] multimedia/mplayer to use libgif
Message-ID:  <201202171422.q1HEMtpX024214@home8.dinoex.sub.de>
Resent-Message-ID: <201202171500.q1HF0PxT024361@freefall.freebsd.org>

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

>Number:         165235
>Category:       ports
>Synopsis:       [PATCH] multimedia/mplayer to use libgif
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 17 15:00:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 8.2-RELEASE
>Organization:
privat
>Environment:

>Description:

	mplayer uses libungif which is now dprecated
	mplayer detects libgif without problem
		if libungif is not installed.

>How-To-Repeat:

Buildlog with patch:
===>  Vulnerability check disabled, database not found
===>  License GPLv2 accepted by the user
=> SHA256 Checksum OK for mplayer-1.0rc20111218.tar.xz.
===>  Patching for mplayer-1.0.r20111218_3
[...]
===>   mplayer-1.0.r20111218_3 depends on shared library: gif.5 - found
[...]
Checking for GIF support ... yes 
Checking for broken giflib workaround ... disabled 
[...]
    Codecs: libdv ffmpeg(internal) xanim libmpeg2(internal) mp3lib(internal) speex tremor(internal) gif 
    Audio output: oss mpegpes(file) 
    Video output: matrixview opengl gif89a pnm jpeg mpegpes(file) dga xv x11 xover yuv4mpeg md5sum tga 
[...]
===>  Installing for mplayer-current-1.0.r20111218_3
[...]
===>  Building package for mplayer-current-1.0.r20111218_3


>Fix:

	Apply the patch.
	A bump of portrevision mmight be useful.

Index: Makefile.options
===================================================================
RCS file: /home/pcvs/ports/multimedia/mplayer/Makefile.options,v
retrieving revision 1.27
diff -u -r1.27 Makefile.options
--- Makefile.options	16 Feb 2012 20:17:31 -0000	1.27
+++ Makefile.options	17 Feb 2012 14:21:34 -0000
@@ -72,7 +72,7 @@
 .endif
 
 .if !defined(WITHOUT_LIBUNGIF)
-LIB_DEPENDS+=	ungif.5:${PORTSDIR}/graphics/libungif
+LIB_DEPENDS+=	gif.5:${PORTSDIR}/graphics/giflib
 .else
 CONFIGURE_ARGS+=	--disable-gif
 .endif

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



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