User:Florian/building purplexpcom for Thunderbird: Difference between revisions

Jump to navigation Jump to search
Start adding directions for TB 38
No edit summary
(Start adding directions for TB 38)
Line 1: Line 1:
The add-on [https://addons.mozilla.org/en-US/thunderbird/addon/additional-chat-protocols/ Additional Chat Protocols for Thunderbird] is made from parts of [http://www.instantbird.com Instantbird].
The add-on [https://addons.mozilla.org/en-US/thunderbird/addon/additional-chat-protocols/ Additional Chat Protocols for Thunderbird] is made from parts of [http://www.instantbird.com Instantbird].
== For Thunderbird 24 and below ==


The source code is the purple/ folder of the Instantbird repository.
The source code is the purple/ folder of the Instantbird repository.
Line 12: Line 14:


I included in the add-on localized strings for the top 4 locales of Thunderbird (en-US, de, fr, ja) from http://hg.instantbird.org/l10n/libpurple/
I included in the add-on localized strings for the top 4 locales of Thunderbird (en-US, de, fr, ja) from http://hg.instantbird.org/l10n/libpurple/
== For Thunderbird 38 ==
* Pull [https://hg.mozilla.org/releases/comm-aurora comm-aurora] revision [https://hg.mozilla.org/releases/comm-aurora/file/37d096d3bf18 37d096d3bf18].
* A set of patches were applied to comm-aurora to:
*# Pull [http://hg.mozilla.org/users/florian_queze.net/purple/ purplexpcom] rev [http://hg.mozilla.org/users/florian_queze.net/purple/file/18e35a43ad30 18e35a43ad30] (libpurple + an XPCOM wrapper used in Instantbird) to mozilla/extensions/purple
*# Patch configure.in of Thunderbird to set up for building purplexpcom, these changes were ported from Instantbird's configure.in
*# Change the build configuration to include the purple folder
*# Package the resulting purplexpcom library (i.e. dylib, dll or so) and don't package libxul (to ensure the upload from try finishes)
*# There are a few minor changes made to the purplexpcom library (disabling of certain features):
*#* Bonjour on Linux: the builders don't have the proper development headers (libavahi)
*#* SIPE on all operating systems: Thunderbird does not include the necessary NSS bits
*#* Jabber: Thunderbird includes the JavaScript XMPP code
And that's it! The full patch to push to try is available at: <link to full patch>
A [https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=d09106469db8 try run] was used to build the components in as similar an environment as possible to the Thunderbird releases, results were [https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/try-builds/clokep@gmail.com-d09106469db8 uploaded to FTP].
Confirmed users
161

edits

Navigation menu