Closed
Bug 1190465
Opened 4 years ago
Closed 4 years ago
Move default theme overrides into separate chrome.manifest for other non-firefox toolkit consumers too.
Categories
(Toolkit :: Themes, defect)
Toolkit
Themes
Not set
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: philip.chee, Assigned: philip.chee)
References
Details
Attachments
(1 file, 1 obsolete file)
10.55 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
Bug #1150417 moved theme overrides in toolkit into a separate chrome.manifest but only for Firefox (and spoons). comm-central apps like Thunderbird and SeaMonkey will benefit from this too.
![]() |
Assignee | |
Comment 1•4 years ago
|
||
Assignee: nobody → philip.chee
Status: NEW → ASSIGNED
Comment 2•4 years ago
|
||
Does this actually work? Is that manifest created, packaged and read in all those apps?
![]() |
Assignee | |
Comment 3•4 years ago
|
||
Kruitbosch from comment #2) > Does this actually work? Is that manifest created, packaged and read in all > those apps? Only tested in Win32 SeaMonkey so far. https://treeherder.mozilla.org/#/jobs?repo=try&revision=e04203fa56cb(In reply to :Gijs
![]() |
Assignee | |
Comment 4•4 years ago
|
||
try-server: https://treeherder.mozilla.org/#/jobs?repo=try&revision=99f6fc21ab19
Attachment #8642520 -
Attachment is obsolete: true
Comment 5•4 years ago
|
||
(In reply to Philip Chee from comment #4) > Created attachment 8643157 [details] [diff] [review] > Proposed fix. Second attempt > > try-server: > https://treeherder.mozilla.org/#/jobs?repo=try&revision=99f6fc21ab19 Nowhere in the patch you attached seems to actually set CONFIG['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES'] ?
![]() |
Assignee | |
Comment 6•4 years ago
|
||
Comment on attachment 8643157 [details] [diff] [review] Proposed fix. Second attempt (In reply to :Gijs Kruitbosch from comment #5) > Nowhere in the patch you attached seems to actually set > CONFIG['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES'] ? That's in Attachment 8643539 [details] [diff] in Bug 1022354 (comm-central) https://bug1022354.bmoattachments.org/attachment.cgi?id=8643539 I decided that rather than hard coding applications into this patch, comm-central apps could "opt-in" as needed. If you don't opt-in this is effectively a NOOP (e.g. b2g, android, etc) By the way does the file have to be called "chrome.jar" or could it be anything.jar? ----------------------------------- Also in toolkit/themes/windows/global/jar.mn I think the #ifdef XP_WIN can be removed since we don't support OS/2 any more. Shall I file a new bug for this?
Attachment #8643157 -
Flags: review?(gijskruitbosch+bugs)
Comment 7•4 years ago
|
||
(In reply to Philip Chee from comment #6) > Comment on attachment 8643157 [details] [diff] [review] > Proposed fix. Second attempt > > (In reply to :Gijs Kruitbosch from comment #5) > > > Nowhere in the patch you attached seems to actually set > > CONFIG['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES'] ? > > That's in Attachment 8643539 [details] [diff] in Bug 1022354 (comm-central) > https://bug1022354.bmoattachments.org/attachment.cgi?id=8643539 > > I decided that rather than hard coding applications into this patch, > comm-central apps could "opt-in" as needed. If you don't opt-in this is > effectively a NOOP (e.g. b2g, android, etc) OK. > By the way does the file have to be called "chrome.jar" or could it be > anything.jar? We read the chrome.manifest file. The jar generating code, for reasons beyond my investigation and therefore understanding, creates manifests with the same filename and a different extension. So no, in order to get a chrome.manifest file, we pretend to stick it all into chrome.jar (where "all" is effectively "nothing"). > ----------------------------------- > Also in toolkit/themes/windows/global/jar.mn I think the #ifdef XP_WIN can > be removed since we don't support OS/2 any more. Shall I file a new bug for > this? New bug please.
Comment 8•4 years ago
|
||
Comment on attachment 8643157 [details] [diff] [review] Proposed fix. Second attempt Review of attachment 8643157 [details] [diff] [review]: ----------------------------------------------------------------- rs=me ::: toolkit/themes/moz.build @@ +24,5 @@ > elif CONFIG['MOZ_THEME_FASTSTRIPE']: > DIRS += ['faststripe/global'] > > +if CONFIG['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES']: > + DEFINES['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES'] = True nit: trailing whitespace
Attachment #8643157 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 9•4 years ago
|
||
(In reply to Gijs Kruitbosch from comment #8) > (From update of attachment 8643157 [details] [diff] [review]) > > +if CONFIG['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES']: > > + DEFINES['MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES'] = True > > nit: trailing whitespace Actually why do you need this change at all? This moz.build doesn't actually do anything except select the appropriate platform directory.
Comment 11•4 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ae3df50e80ed
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•