Remove MOZ_CALENDAR build config flag
Categories
(Thunderbird :: General, task)
Tracking
(thunderbird74 fixed)
Tracking | Status | |
---|---|---|
thunderbird74 | --- | fixed |
People
(Reporter: pmorris, Assigned: pmorris)
References
Details
Attachments
(2 files, 3 obsolete files)
8.98 KB,
patch
|
pmorris
:
review+
BenB
:
review+
mkmelin
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
6.31 KB,
patch
|
pmorris
:
review+
mkmelin
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
Once Lightning is integrated into TB (in bug 1608610), there shouldn't be a need for the MOZ_CALENDAR
build flag and related code. This bug is for removing them.
Comment 1•5 years ago
|
||
(In reply to Paul Morris [:pmorris] from comment #0)
Once Lightning is integrated into TB (in bug 1608610), there shouldn't be a need for the
MOZ_CALENDAR
build flag and related code. This bug is for removing them.
Good?
Assignee | ||
Comment 2•5 years ago
|
||
I think this is everything to be removed for this, but I'm not super familiar with this part of the code.
After this change developers will need to remove this line from their mozconfig file:
ac_add_options --enable-calendar
I've started a local build to test this, but there's some bustage currently so I'm going to go ahead and post this. Feel free to cancel the review until I can confirm this works if you like.
Assignee | ||
Comment 3•5 years ago
|
||
I spoke too soon. My local build succeeded, so this is ready for review.
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Please land this (or something like it) ASAP (as in, right now), because the normal Thunderbird build is broken right now, see bug 1615124.
This is now a tree bustage fix.
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Okay, this is the same patch with my requested changes, I'll land it when the tree opens again.
We should also land this on beta, since things are broken there too without the --enable-calendar option.
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
•
|
||
Here's a try run I did earlier today with two patches for this bug. It doesn't look great, and I haven't had time to look into it further. I was about to upload the first patch from it, when I saw Geoff beat me to it. I just tried to do a try run with just the first patch (but the tree is closed).
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=e6f3d2e7f629338795f4a31714770b011fdc6672
You did miss taking the actual line from the mozconfig at mail/config/mozconfigs/common.
(facepalm) Would you believe I had actually removed that line but then neglected to save the file. Yesterday was not my day.
Assignee | ||
Comment 8•5 years ago
|
||
There were a couple more lines to remove in package-manifest.in that got left out of my initial patch. This removes them as well.
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
:pmorris, can you land this patch today, with the 2 commas added, please?
Comment 11•5 years ago
•
|
||
FWIW, removing this flag this will break the build for Linux distros that have this flag set. I checked Debian and Gentoo, and they both use the flag. If you want to be nice, you can make another followup patch, where you re-introduce the build flag, but it does nothing, just outputs a warning that the flag should be removed from mozconfig.
Assignee | ||
Comment 12•5 years ago
|
||
Thanks BenB. Will do. I had fixed those 2 missing commas earlier today, but (unintentionally) only in the second DIRS patch (not uploaded to this bug yet because of a failing try run with it). But they need to go in the MOZ_CALENDAR patch. I have a local build and a try run with the fixed patch (with commas added) going now. Should have it landed soon.
Assignee | ||
Comment 13•5 years ago
|
||
Oh, good thought on the Linux distros.
Comment 14•5 years ago
|
||
I.e. in mailnews/moz.configure
:
+option('--enable-calendar', default=False,
+ help='Deprecated. Please remove it from your mozconfig.')
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
Comment 17•5 years ago
•
|
||
(Sorry, I had uploaded the wrong patch)
Comment 18•5 years ago
|
||
The latest patch builds and runs TB, even with --enable-calendar
set.
Assignee | ||
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
calendar_deprecated` ... I'm not sure what this is for.
configure error-ed out without a @depends_if
that uses the option, so I added this.
Later, we might also print a message there, but that's polish, which can happen later.
Comment 21•5 years ago
•
|
||
I did 2 clobber builds with the current patch v4, one each way, to confirm that the build works with --enable-calendar and without.
From my side, and as far as I can see, this is ready to land.
Assignee | ||
Comment 22•5 years ago
|
||
Comment 23•5 years ago
|
||
Pushed by paul@paulwmorris.com:
https://hg.mozilla.org/comm-central/rev/d450c0bd78b3
Remove MOZ_CALENDAR build config flag and related code. r=darktrojan,BenB
Updated•5 years ago
|
Assignee | ||
Comment 24•5 years ago
|
||
This should land for TB beta 74 if possible. Without the patch, builds of beta 74 will be broken unless the --enable-calendar
option set. That's my understanding, and also what Ben's reported.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 25•5 years ago
|
||
Comment 26•5 years ago
|
||
bugherder uplift |
Thunderbird 74.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/498037e1ef0f
Thunderbird 74.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/d21a540ff744
Updated•5 years ago
|
Comment 27•5 years ago
|
||
We keep the target milestone for when it first landed.
Updated•5 years ago
|
Description
•