Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 19:33:56 +0400 (MSK)
From:      "Marat N.Afanasyev" <amarat@ksu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164639: enable enca charset detection engine in multimedia/mplayer
Message-ID:  <201201301533.q0UFXu3H042167@zealot.ksu.ru>
Resent-Message-ID: <201201301600.q0UG0Mtg077863@freefall.freebsd.org>

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

>Number:         164639
>Category:       ports
>Synopsis:       enable enca charset detection engine in multimedia/mplayer
>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:   Mon Jan 30 16:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Marat N.Afanasyev
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
home, sweet home
>Environment:
System: FreeBSD zealot.ksu.ru 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue May 24 13:36:48 MSD 2011 root@zealot.ksu.ru:/usr/obj/usr/src/sys/ZEALOT amd64


	
>Description:
	current port of multimedia/mplayer does not provide option to build itself 
	with enca charset detection
>How-To-Repeat:
	make -C /usr/ports/multimedia/mplayer configure | grep enca
>Fix:

	here's a patch to add enca to possible build options:

--- Makefile.orig	2012-01-30 19:22:16.000000000 +0400
+++ Makefile	2012-01-30 19:26:35.000000000 +0400
@@ -67,4 +67,5 @@
 OPTIONS+=	V4L "Enable Video4Linux TV support" off
 OPTIONS+=	LIBRTMP "Enable RTMPDump Streaming Media support" off
+OPTIONS+=	ENCA "Enable enca charset detection" off	
 
 MAN1=		mplayer.1
--- Makefile.options.orig	2012-01-30 19:25:37.000000000 +0400
+++ Makefile.options	2012-01-30 19:26:29.000000000 +0400
@@ -265,2 +265,9 @@
 .endif
 
+.if defined(WITH_ENCA)
+LIB_DEPENDS+=	enca.5:${PORTSDIR}/converters/enca
+CONFIGURE_ARGS+=	--enable-enca
+.else
+CONFIGURE_ARGS+=	--disable-enca
+.endif
+

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



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