From oberman@es.net  Mon Aug 31 18:29:11 2009
Return-Path: <oberman@es.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6D5D3106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Aug 2009 18:29:11 +0000 (UTC)
	(envelope-from oberman@es.net)
Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 54E578FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Aug 2009 18:29:11 +0000 (UTC)
Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29])
	by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n7VITAhN015353
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Aug 2009 11:29:10 -0700
Received: by ptavv.es.net (Tachyon Server, from userid 9381)
	id 7287C1CC0E; Mon, 31 Aug 2009 11:29:10 -0700 (PDT)
Message-Id: <20090831182910.7287C1CC0E@ptavv.es.net>
Date: Mon, 31 Aug 2009 11:29:10 -0700 (PDT)
From: Kevin Oberman <oberman@es.net>
Reply-To: Kevin Oberman <oberman@es.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mplayer-plugin port requires firefox
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         138411
>Category:       ports
>Synopsis:       www/mplayer-plugin port requires firefox
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    marcus
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 31 18:30:08 UTC 2009
>Closed-Date:    Wed Sep 09 00:47:30 UTC 2009
>Last-Modified:  Wed Sep 09 00:47:30 UTC 2009
>Originator:     Kevin Oberman
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
ESnet--The Energy Sciences Network
>Environment:
System: FreeBSD ptavv.es.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Jul 27 09:23:09 PDT 2009 root@ptavv.es.net:/usr/obj/usr/src/sys/PTAVV i386


	
>Description:

mplayer-plugin (mplayerplug-in) still requires firefox. It will not
compile against libxul. This requires keeping the vulnerable firefox
port installed. I have far more success with this plugin than I have
had with the gstreamer plugins.
Here is the failure:
===>  Building for mplayerplug-in-3.55_3
c++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/local/include/firefox/java -I/usr/local/include/firefox/plugin -I/usr/local/include/nspr -I/usr/local/include/firefox -I/usr/local/include/firefox/xpcom -I/usr/local/include/firefox/string   -I/usr/local/include/firefox -O2 -pipe -fno-strict-aliasing -D_THREAD_SAFE -I/usr/local/include   -D_THREAD_SAFE -I/usr/local/include   -I/usr/local/include -DBSD -O2 -pipe -fno-strict-aliasing  -Iinclude -fPIC  -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/l
 ocal/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -DGTK_ENABLED   Source/plugin.cpp
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:41:84: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" passed 2 arguments, but takes just 1
Source/nsIScriptableMplayerPlugin.h:254:92: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" passed 2 arguments, but takes just 1
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:25: error: function definition does not declare parameters
Source/nsIScriptableMplayerPlugin.h:122: error: expected constructor, destructor, or type conversion before 'class'
gmake: *** [plugin.o] Error 1
*** Error code 1

	
>How-To-Repeat:
Add WITH_GECKO="libxul" to /etc/make.conf and build the port.
	
>Fix:
Not a clue. Sorry
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->marcus 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Aug 31 23:40:05 UTC 2009 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138411 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Wed Sep 9 00:46:49 UTC 2009 
State-Changed-Why:  
WITH_GECKO needs to be set WITHOUT quotes in /etc/make.conf: 

WITH_GECKO=	libxul 

With this, mplayer-plugin builds just fine for me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138411 
>Unformatted:
