Fails to compile on system with latest net-libs/xulrunner-2.0_beta9_pre-r3 www-client/firefox-4.0_beta9_pre-r3 . Reproducible: Always Steps to Reproduce: 1. emerge google-gadgets
Created attachment 259825 [details] The complete build.log.
I think I found the source of the problem: Looks like as stated on https://developer.mozilla.org/en/XPCOM/XPCOM_changes_in_Gecko_2.0 that "Note that nsIGenericFactory.h has been removed. References to nsIGenericFactory.h should be replaced with mozilla/ModuleUtils.h." I don't know how to do that atm, but maybe someone will be able to deliver a patch for this?
Tried downgrading to net-libs/xulrunner-1.9.2.13-r1 and successfully emerged google-gadgets, then upgraded again to net-libs/xulrunner-2.0_beta9_pre-r3 and tried starting the application with the result of a missing JavaScript function.
Thanks for the heads-up! I've updated 0.11.2 to depend on 1.9*, keeping this bug open if a better solution comes up (but upstream does not seem that alive)
Created attachment 283311 [details] Build log after patching browser_child.cc
(In reply to comment #2) > I think I found the source of the problem: > Looks like as stated on > https://developer.mozilla.org/en/XPCOM/XPCOM_changes_in_Gecko_2.0 > that > "Note that nsIGenericFactory.h has been removed. References to > nsIGenericFactory.h should be replaced with mozilla/ModuleUtils.h." > I don't know how to do that atm, but maybe someone will be able to deliver a > patch for this? I created a patch for google-gadgets-for-linux-0.11.2/extensions/gtkmoz_browser_element/browser_child.cc which seemed to be the only file referencing nsIGenericFactory.h. However, upon compiling, I got the following error (in the attached build log), so it's going to need more patching/recoding that I know how to do, but maybe someone else would know how.
+ 15 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> + google-gadgets-0.11.2.ebuild: + Remove support for xulrunner wrt bugs #351659 and #403415