Subject: mplayer-plugin-firefox-gtk2 fails on NetBSD/i386 3.99.3
To: None <tech-pkg@NetBSD.org>
From: None <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 04/18/2005 17:26:10
mplayer-plugin-firefox-gtk2 fails on NetBSD/i386 3.99.3 with:

===> Building for mplayer-plugin-firefox-gtk2-2.70nb1
c++ -c -Wall -O2 -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2  -I/usr/X11R6/include   -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2  -DXP_UNIX -DMOZ_X11
-I/usr/pkg/include/firefox-gtk2/java -I/usr/pkg/include/firefox-gtk2/plugin
-I/usr/pkg/include/firefox-gtk2/xpcom -I/usr/pkg/include/firefox-gtk2/string
-I/usr/pkg/include/firefox-gtk2/nspr   -Iinclude -fPIC  -I/usr/X11R6/include 
-DXTHREADS -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include
-I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/freetype2
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -pthread
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  
-DGTK2_ENABLED -DGTK_ENABLED Source/plugin.cpp
In file included from include/pluginbase.h:41,
                 from Source/plugin.h:48,
                 from Source/plugin.cpp:38:
include/npplat.h:41:19: npapi.h: No such file or directory
include/npplat.h:42:19: npupp.h: No such file or directory
In file included from Source/plugin.h:48,
                 from Source/plugin.cpp:38:
include/pluginbase.h:45: error: 'NPP' is used as a type, but is not defined as 
   a type.

rvdp# find . -name npapi.h
./work/.buildlink/include/firefox/plugin/npapi.h
rvdp# find . -name npupp.h
./work/.buildlink/include/firefox/plugin/npupp.h
rvdp#

I suppose this is another firefox vs firefox-gtk2 bug?

mplayer-plugin-firefox-gtk2 has also installed firefox-1.0.3:

rvdp# pkg_info|grep fire
firefox-gtk2-bin-1.0.2 Lightweight gecko-based web browser (gtk2 binary pkg)
firefox-gtk2-bin-flash-7.0.25 Flash Player plugin for firefox-gtk2-bin
firefox-gtk2-bin-acroread-1.0 Acrobat Reader 5 plugin for firefox-gtk2-bin
firefox-1.0.3       Lightweight gecko-based web browser
rvdp# pkg_info -R firefox
Information for firefox-1.0.3:


rvdp#

	rvdp