Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 14:22:30 GMT
From:      Kenneth Lind <exil@sasurai.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143288: www/mplayer-plugin does not build with libxul
Message-ID:  <201001271422.o0REMU7i048357@www.freebsd.org>
Resent-Message-ID: <201001271430.o0REU16V098849@freefall.freebsd.org>

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

>Number:         143288
>Category:       ports
>Synopsis:       www/mplayer-plugin does not build with libxul
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 27 14:30:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kenneth Lind
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD fly 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
This is basically an iteration of PR #138411, but with a slightly different angle.
www/mplayer-plugin refuses to get built with USE_GECKO=libxul 


===>  Building for mplayerplug-in-3.55_4
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

Stop in /usr/ports/www/mplayer-plugin.


Previously, with seamonkey1, I simply stated USE_GECKO=seamonkey and then things went smoothly. Now I use seamonkey2, however, which does not contain libgtkembedmoz.so, so that option is gone.
USE_GECKO=gecko fails
>How-To-Repeat:
cd /usr/ports/www/mplayer-plugin && make
>Fix:


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



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