• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Development Technical Development I Need Someone Familiar with Gecko 1.9 to 2.0 Module Conversions

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
I Need Someone Familiar with Gecko 1.9 to 2.0 Module Conversions
ilikenwf Offline
Developer/Project Manager
*******
Posts: 412
Threads: 22
Joined: Nov 2010
Reputation: 8
#1
09-17-2011, 08:07 PM (This post was last modified: 09-17-2011, 08:10 PM by ilikenwf.)
I don't know the Mozilla SDK (yet), and my C++ is rusty. Please note I'm working with the current songbird svn trunk!

My git repo: https://github.com/ilikenwf/songbird-hacking

The problem is that to compile against native xulrunner on linux, we'll first need to convert songbird to build against the current version of xulrunner and gecko (6.0.2 and 2.0, respectively).

I've managed to build the songbird style linux-x86_64/i686 xulrunner and mozilla dependencies using the current 6.0.2 version of the source, but songbird can't build against them yet without errors. (If you want the makefiles, mozconfigs, and all for that let me know...I didn't actually build the i686 version but I know it will work).

The file in the songbird tree

components/moz/strings/components/src/sbStringsModule.cpp

is the first problem, and the first of many since the components all use the old xulrunner sdk.

Here are some docs:
https://developer.mozilla.org/en/XPCOM/X...components
https://developer.mozilla.org/En/Creatin...Components


I know that it says to just replace the include with the new header file, but that doesn't cut it due to other structural changes that I can't quite wrap my head around. It just currently replaces one compile error with another to change the header include.

Module examples - The first below is an example module from Gecko 1.9, the second is the current implementation in 2.0.
https://mxr.mozilla.org/mozilla/source/x....cpp?raw=1
https://mxr.mozilla.org/mozilla-central/....cpp?raw=1


I'd love it if some people would come along and help me develop this, I learn by example and I'm missing some needed examples here...
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 01-28-2023, 04:12 PM Powered By MyBB, © 2002-2023 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode