[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
okay, finally I was able to compile install the extension with the standalone FF4 xulrunner That's what I did: - Download xulrunner 2.0 and xulrunner 2.0 sdk from http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/2.0/ - install it into /opt/xulrunner/2.0 (runtime) and /opt/xulrunner/2.0-dev (sdk) - get trunk from bzr - ./autogen.sh LIBXUL_2_0_CFLAGS=-I/opt/xulrunner/2.0 -I/opt/xulrunner/2.0-dev/include/nspr -I/usr/include/nspr LIBXUL_2_0_LIBS=-L/opt/xulrunner/2.0-dev/lib XPIDL_BIN=/opt/xulrunner/2.0-dev/bin/xpidl XUL_IDLDIR=/opt/xulrunner/2.0-dev/idl - make - go to firefox-40-libzg and run make local-install, copy xpcom_fire...@zeitgeist-project.com folder into your profile's extension folder done. probably that will be helpful for somebody. -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: In Progress Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
make local-install should copy xpcom_fire...@zeitgeist-project.com folder into your profile's extension folder -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: In Progress Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
yes, the source profile is the default one. thanks -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: In Progress Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
So shall I mark this as fixed? -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: In Progress Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
yes, please. -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: In Progress Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
** Changed in: zeitgeist-dataproviders Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Fix Committed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Michael, Where is your FF4 installed? Where is xulrunner2 installed? -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Fix Committed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
** Changed in: zeitgeist-dataproviders Status: Fix Committed = In Progress -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: In Progress Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Everything is done. Bumped the version number. tricote, If you have Firefox 3.6 installed, can you check the 3.6 dataprovider too? https://code.launchpad.net/~manishsinha/zeitgeist-dataproviders/add-ff-36-support-bug-775817/+merge/59704 You can review even though you are not in the ~zeitgeist-datasources- team -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Fix Committed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
tricote, I fixed it. Hope it works now. Please try now -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Fix Committed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
** Changed in: zeitgeist-dataproviders Assignee: Markus Korn (thekorn) = Manish Sinha (मनीष सिन्हा) (manishsinha) ** Changed in: zeitgeist-dataproviders Milestone: None = 0.8.0 -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Confirmed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Guys, thanks for work. Compiled it from the source and it works like a charm. One small issue about this extension is its version. Currently it is 0.1 but the previous one was 0.2. And because of this (maybe) it can be installed next to the old version. Anyway, thanks for you work. -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Fix Committed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Hmm. Thanks for the update. Will bump the version number -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Fix Committed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Hey thansen, I managed to get that environment variable in the build script somehow. The patch is attached I still get the error that it is not compatible with Firefix 4.0 The solution was adding +AC_DEFINE(MOZ_NO_MOZALLOC, [For Mozilla Firefox 4]) in configure.ac Still not sure how to make it compatible with Firefox 4 ** Patch added: Updated patch for firefox dataprovider https://bugs.launchpad.net/zeitgeist-dataproviders/+bug/709103/+attachment/2097031/+files/updated-ffpatch.patch -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Confirmed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
This is the error I get now after restarting firefox ** Attachment added: The Firefox TypeError error dialog box https://bugs.launchpad.net/zeitgeist-dataproviders/+bug/709103/+attachment/2097219/+files/TypeErrorFirefox.png -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Confirmed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
I tried this on natty Beta 2 with Firefox4 and xulrunner-2.0-dev Applied the patch and got this error, not able to make out what needs to be done make[4]: Entering directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components' CXXlibzeitgeist_xpcom_la-ZeitgeistComponent.lo In file included from /usr/include/xulrunner-2.0/nscore.h:50:0, from /usr/include/xulrunner-2.0/mozilla/Module.h:41, from /usr/include/xulrunner-2.0/mozilla/ModuleUtils.h:42, from ZeitgeistComponent.cpp:23: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:109:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:113:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:117:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:120:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:124:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:127:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:131:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h:134:5: error: expected initializer before ‘NS_ATTR_MALLOC’ /usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t)’: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:229:28: error: ‘moz_xmalloc’ was not declared in this scope /usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t, const std::nothrow_t)’: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:235:27: error: ‘moz_malloc’ was not declared in this scope /usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t)’: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:241:28: error: ‘moz_xmalloc’ was not declared in this scope /usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t, const std::nothrow_t)’: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:247:27: error: ‘moz_malloc’ was not declared in this scope /usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t, const mozilla::fallible_t)’: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:303:27: error: ‘moz_malloc’ was not declared in this scope /usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t, const mozilla::fallible_t)’: /usr/include/xulrunner-2.0/mozilla/mozalloc.h:309:27: error: ‘moz_malloc’ was not declared in this scope make[4]: *** [libzeitgeist_xpcom_la-ZeitgeistComponent.lo] Error 1 make[4]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg' make: *** [all-recursive] Error 1 -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Confirmed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
I tried building after applying this patch. First you need to download and install Firefox 4, For ubuntu it is as simple as askubuntu.com/questions/6339/how-do-i-install-firefox-4 Install the package firefox and firefox-dev from this PPA The error I get is make[3]: Entering directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components' CXXlibzeitgeist_xpcom_la-ZeitgeistComponent.lo ZeitgeistComponent.cpp:23: fatal error: mozilla/ModuleUtils.h: No such file or directory compilation terminated. These header files are present in the package firefox-dev The reason is that the file ModuleUtils.h is present in /usr/share/firefox-4.0/mozilla/ModuleUtils.h Now I edit the file ZeitgeistComponent.cpp to - #include mozilla/ModuleUtils.h + #include firefox-4.0/mozilla/ModuleUtils.h' and the error I get is make[3]: Entering directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components' CXXlibzeitgeist_xpcom_la-ZeitgeistComponent.lo In file included from ZeitgeistComponent.cpp:23: /usr/include/firefox-4.0/mozilla/ModuleUtils.h:42: fatal error: mozilla/Module.h: No such file or directory compilation terminated. This header file includes a file named Module.h #include mozilla/Module.h in line 42 This file is contained at /usr/share/firefox-4.0/mozilla/Module.h I am confused. How to fix this to make the compiler look in some specific directory ** Changed in: zeitgeist-dataproviders Assignee: (unassigned) = Markus Korn (thekorn) -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Confirmed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Assigning it to Markus as from the copyright, it looks like he is the original author ** Changed in: zeitgeist-dataproviders Status: New = Confirmed ** Changed in: zeitgeist-dataproviders Importance: Undecided = High -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: Confirmed Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 709103] Re: Firefox extension doesn't work with FF4
Any ideas when we see the updated extension? In my opinion we don't need Zeitgeist without dataproviders... ** Summary changed: - Firefox extension doesn't work with FF4b10 + Firefox extension doesn't work with FF4 -- You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Data-Sources. https://bugs.launchpad.net/bugs/709103 Title: Firefox extension doesn't work with FF4 Status in Zeitgeist Data-Providers: New Bug description: When installed and up it shows alert box TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined and does so every time new window is opened. Also previous FF4 betas were affected. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp