glad to see this plugin!
Some remarks:
* i had to change some "../../include/npapi*" to "xulrunner/include/..." in the code,
since my Gecko-SDK was installed system-wide, and not in ../../
* some compile warnings i got:
g++ `pkg-config --cflags gtk+-2.0` -Wall -DXP_UNIX=1 -DMOZ_X11=1 -fPIC -O2 -c webp-npapi.cpp
webp-npapi.cpp:30: warning: deprecated conversion from string constant to ?char*?
g++ `pkg-config --cflags gtk+-2.0` -Wall -DXP_UNIX=1 -DMOZ_X11=1 -fPIC -O2 -c CPlugin.cpp
CPlugin.cpp: In member function ?void CPlugin::drawWindow(GdkDrawable*)?:
CPlugin.cpp:392: warning: comparison between signed and unsigned integer expressions
CPlugin.cpp:393: warning: comparison between signed and unsigned integer expressions
CPlugin.cpp: In static member function ?static void CPlugin::spawnAbout(GtkMenuItem*, void*)?:
CPlugin.cpp:556: warning: format not a string literal and no format arguments
g++ -Wall -DXP_UNIX=1 -DMOZ_X11=1 -fPIC -O2 -shared -lwebp -L/usr/local/lib webp-npapi.o CPlugin.o -o webp-npapi.so
* note that i added " -L/usr/local/lib", but that's just me.
Afterward, the plugin ran ok, but:
instead of retaining the original size.
I'm running firefox 3.6.16 on x86_64.
skal