Summary: | x11-misc/google-gadgets-0.11.2: punt USE="xulrunner" (was: nsIGenericFactory.h: File or directory not found) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Logarithmenlord |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=374 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 403415 | ||
Attachments: |
The complete build.log.
Build log after patching browser_child.cc |
Description
Logarithmenlord
2011-01-14 15:07:21 UTC
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 |