NPAPI-SDK is a tiny package providing headers necessary to build NPAPI plugins without the need for emerging whole xulrunner. Migration requires the package to check for npapi-sdk.pc as well as current headers. The pkg-config file doesn't require any additional Mozilla components, and is versioned using NPAPI versions rather than Mozilla versions. As mentioned earlier, the package needs some rewrite. AFAICS it indirectly uses NSPR API including it through xulrunner headers.
Created attachment 286587 [details] Complete ebuild using npapi-sdk patch
Created attachment 286589 [details, diff] npapi-sdk.patch to files/ And fails with... plugin.cpp:45:27: fatal error: nsIPrefBranch.h: No such file or directory
You don't need to re-state what I said in the description.
(In reply to comment #3) > You don't need to re-state what I said in the description. I wanted to save the current work here, so it won't get lost, so I can easily return to it by dl'ing the 2 attachments and go straight to the first error... Was not meant to diminish your comment in anyway ;-)
Created attachment 294231 [details] npapi-sdk.patch to files/ this patch applies to both 1.0.4 and 1.0.5_beta1 cleanly, and resolves the remaining header issues related to a missing xulrunner. I would also recommend that the dep for the new ebuild be changed from an either-or on npapi-sdk or xulrunner, to an explicit =net-misc/npapi-sdk-0.27 in DEPEND.
ie, like so: --- gecko-mediaplayer-1.0.4-r0.ebuild 2011-11-29 15:13:26.000000000 -0500 +++ gecko-mediaplayer-1.0.4-r1.ebuild 2011-11-29 14:29:42.000000000 -0500 @@ -19,10 +19,10 @@ >=dev-libs/glib-2.26:2 dev-libs/nspr >=media-video/gnome-mplayer-1.0.4[dbus] - || ( net-misc/npapi-sdk >=net-libs/xulrunner-1.9.2:1.9 ) curl? ( net-misc/curl ) !www-client/chromium" DEPEND="${RDEPEND} + =net-misc/npapi-sdk-0.27 dev-util/pkgconfig sys-devel/gettext"
Yes, everything really is compiled. Compiling the first also fails: plugin.cpp:48:27: Fatal error: nsIPrefBranch.h: No such file or directory But the decision was cleaning ccache
+*gecko-mediaplayer-1.0.5_beta1_p20111203 (02 Dec 2011) + + 02 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> + +gecko-mediaplayer-1.0.5_beta1_p20111203.ebuild: + New snapshot to support building against npapi-sdk wrt #383149 by Ian + Stakenvicius (and Michał Górny for reporting)