From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 16 19:20:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7840106564A for ; Sat, 16 May 2009 19:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9416F8FC0A for ; Sat, 16 May 2009 19:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4GJK0nS051597 for ; Sat, 16 May 2009 19:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4GJK0kr051596; Sat, 16 May 2009 19:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 16 May 2009 19:20:00 GMT Resent-Message-Id: <200905161920.n4GJK0kr051596@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hajimu UMEMOTO Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D64C31065674; Sat, 16 May 2009 19:10:44 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from asuka.mahoroba.org (unknown [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8B28FC21; Sat, 16 May 2009 19:10:44 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from yuga.mahoroba.org (ume@yuga.mahoroba.org [IPv6:2001:2f0:104:8010:21b:d3ff:fe38:5381]) (user=ume mech=CRAM-MD5 bits=0) by asuka.mahoroba.org (8.14.3/8.14.3) with ESMTP/inet6 id n4GJAacs099555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 May 2009 04:10:36 +0900 (JST) (envelope-from ume@mahoroba.org) Message-Id: Date: Sun, 17 May 2009 04:10:36 +0900 From: Hajimu UMEMOTO To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: riggs@rrr.de, Hajimu UMEMOTO Subject: ports/134587: Add an option to enable XvMC acceleration for MPlayer X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hajimu UMEMOTO List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 19:20:02 -0000 >Number: 134587 >Category: ports >Synopsis: Add an option to enable XvMC acceleration for 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: Sat May 16 19:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hajimu UMEMOTO >Release: FreeBSD 7.2-RELEASE i386 >Organization: Internet Mutual Aid Society Yokohama, Japan >Environment: System: FreeBSD yuga.mahoroba.org 7.2-RELEASE FreeBSD 7.2-RELEASE #4: Wed May 13 02:41:26 JST 2009 root@yuga.mahoroba.org:/usr/obj/usr/src/sys/YUGA i386 >Description: Though MPlayer supports XvMC acceleration, its port doesn't have an option for enabling it. >How-To-Repeat: There is no `xvmc' in the output of `mplayer -vo help'. >Fix: Please apply following patch to multimedia/mplayer: Index: mplayer/Makefile diff -u mplayer/Makefile.orig mplayer/Makefile --- mplayer/Makefile.orig 2009-03-01 23:10:06.000000000 +0900 +++ mplayer/Makefile 2009-05-12 16:10:46.951063543 +0900 @@ -24,6 +24,7 @@ OPTIONS+= X11GL "X11 video drivers: OpenGL" on OPTIONS+= X11XIN "X11 video drivers: Xinerama" on OPTIONS+= X11VM "X11 VidMode support" on +OPTIONS+= X11XVMC "Enable XvMC acceleration" off OPTIONS+= GUI "Enable GTK2 graphical user interface with X11" on OPTIONS+= SDL "Enable SDL video output" off OPTIONS+= VIDIX "Enable VIDIX video output on supported archs" on @@ -150,6 +151,10 @@ .else CONFIGURE_ARGS+=--disable-vm .endif +.if defined(WITH_X11XVMC) +USE_XORG+= xvmc +CONFIGURE_ARGS+=--enable-xvmc --with-xvmclib=XvMCW +.endif .else #WITHOUT_X11 CONFIGURE_ARGS+=--disable-x11 \ --disable-fontconfig -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ >Release-Note: >Audit-Trail: >Unformatted: