Closed
Bug 682906
Opened 14 years ago
Closed 5 years ago
Allow building Lightning as an app (without building Thunderbird)
Categories
(Calendar :: Build Config, defect)
Calendar
Build Config
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Fallen, Unassigned)
Details
Attachments
(1 file, 2 obsolete files)
17.25 KB,
text/plain
|
Details |
To improve build speed and remove the need to build Thunderbird, we should investigate building Lightning with --enable-application=calendar/lightning. I'd still avoid making this the default strategy for new contributors, since they'd have to afterwards install lightning into a Thunderbird nightly via file link and this might not catch everything.
But, this is great for our builders and such. The attached patch also moves around some files and directories so that calendar/lightning isn't cluttered.
Comment 1•14 years ago
|
||
Does this basically mean that something like Sunbird will be there again?
Reporter | ||
Comment 2•14 years ago
|
||
No, this is merely build config. With "as an app" I mean application in the sense of passing something lightning specific to the --enable-application=... option of the mozilla build system.
Updated•13 years ago
|
Summary: Allow building lightning as an app → Allow building Lightning as an app (without building Thunderbird)
Comment 3•13 years ago
|
||
This didn't apply to lightning-1.4 with fuzz=0, so here is a rebased version.
Do you still need to specify --enable-calendar with this or not? Thanks for this, it will be very helpful for building the Fedora packages. At the moment it isn't working for me though, getting:
c++ -o nsXPComInit.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/config/gcc_hidden.h -DXP_LINUX -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Linux2.6.43.2-6.fc15\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DOS_LINUX=1 -DOS_POSIX=1 -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI -DEXPORT_XPT_API -DEXPORT_XPTC_API -DOMNIJAR_NAME="omni.ja" -DTARGET_XPCOM_ABI=\"x86_64-gcc3\" -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build -I.. -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../glue -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../base -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../ds -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../io -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../components -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../threads -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../reflect/xptinfo/src -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/chrome/src -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/../../docshell/base -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/ipc/chromium/src -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build -I. -I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr4 -I/usr/include/nss3 -fPIC -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpermissive -fno-exceptions -fno-strict-aliasing -std=gnu++0x -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsXPComInit.pp /builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/nsXPComInit.cpp
In file included from /builddir/build/BUILD/thunderbird-lightning-1.4/comm-beta/mozilla/xpcom/build/nsXPComInit.cpp:143:0:
../../dist/include/mozilla/scache/StartupCache.h:46:26: fatal error: nsIZipWriter.h: No such file or directory
Comment 4•13 years ago
|
||
Hmm, scratch that, my rebase didn't catch the renames. Try again...
Reporter | ||
Comment 5•13 years ago
|
||
No --enable-calendar should be needed.
Comment 6•13 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] (away until May 28th) from comment #5)
> No --enable-calendar should be needed.
I parse that as keep --enable-calendar.
Looks like it just doesn't apply cleanly to lightning 1.4. Could I get an updated patch? Thanks.
Reporter | ||
Comment 7•13 years ago
|
||
Here is a patch that applies on comm-central, although I haven't tested if it still works.
Attachment #556620 -
Attachment is obsolete: true
Attachment #622526 -
Attachment is obsolete: true
Comment 8•13 years ago
|
||
We're just now building 1.6, so can't yet test.
Updated•12 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 9•5 years ago
|
||
Philipp, do you think this bug reports needs to be kept for Lightning as the code is now integrated with Thunderbird?
Flags: needinfo?(philipp)
Reporter | ||
Comment 10•5 years ago
|
||
Good to close, thanks!
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(philipp)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•