Red Hat Bugzilla – Bug 478740
Code that compiles in F10 won't compile in rawhide
Last modified: 2009-01-06 17:48:40 EST
Description of problem:
I'm the developer of the gecko-mediaplayer plugin for Firefox and on Fedora 10 I use the xulrunner-devel package to build my plugin. Recently I was informed that the plugin would not build on Fedora rawhide (F11). I did some testing in mock and found that the npupp.h file had been removed and it looks like several other changes have been made to the -devel package of xulrunner.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Compile in mock and find that several files are missing or renamed.
I grabbed xulrunner-sdk 184.108.40.206pre from mozilla.org and I can compile against it just fine. So I'm not sure where you are getting your xulrunner-sdk
I'm getting the sdk from mozilla-central. https://developer.mozilla.org/en/mozilla-central It's still in beta, but it will be the 1.9.1 code that matches with Firefox 3.1 (which will be in F11, or the latest beta if it has not been released at that point).
You are correct that nppup.h is gone. It has been renamed to npfunctions.h. See https://bugzilla.mozilla.org/show_bug.cgi?id=455458
Not a bug in XULRunner -> your code needs to be adjusted
Yes, I was able to work around this issue in the code. Just find it annoying when code works with a x.0 release and fails with a x.1 release.