|Summary:||x11-misc/google-gadgets-0.11.2: punt USE="xulrunner" (was: nsIGenericFactory.h: File or directory not found)|
|Component:||Current packages||Assignee:||Bernard Cafarelli <voyageur>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
The complete build.log.
Build log after patching browser_child.cc
Description Logarithmenlord 2011-01-14 15:07:21 UTC
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
Comment 1 Logarithmenlord 2011-01-14 15:08:14 UTC
Created attachment 259825 [details] The complete build.log.
Comment 2 Logarithmenlord 2011-01-14 18:52:07 UTC
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?
Comment 3 Logarithmenlord 2011-01-14 21:31:57 UTC
Comment 4 Bernard Cafarelli 2011-01-19 12:10:38 UTC
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)
Comment 5 Patrick McMunn 2011-08-14 17:09:26 UTC
Created attachment 283311 [details] Build log after patching browser_child.cc
Comment 6 Patrick McMunn 2011-08-14 17:15:34 UTC
(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.