Closed Bug 1139429 Opened 9 years ago Closed 9 years ago

Build fixes for ICU on SunOS/OpenSolaris

Categories

(Firefox Build System :: General, defect)

All
OpenSolaris
defect
Not set
blocker

Tracking

(firefox40 fixed)

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: ijdt.editor, Assigned: ijdt.editor)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch configure.diff (obsolete) — Splinter Review
+++ This bug was initially created as a clone of Bug #853301 +++

Enable the implementation of the ECMAScript Internationalization API, which has so far been landed disabled, for desktop Firefox.

Configure fails on OpenSolaris/OpenIndiana because SunOS is not mentioned as platform where ICU coompiles when in fact it compiles just fine. Please review the attached diffs and provided they are OK please apply them to the source tree.
Comment on attachment 8572631 [details] [diff] [review]
configure.diff

I question why this line isn't "*)".  What platforms do you build on where ICU isn't available?
I build on SunOS and ICU is available on the system and compiles just fine. However, when I try to compile Firefox the configure script complains that the "ECMAScript Internationalization API" has not been ported on this platform!
(In reply to ijdt.editor from comment #2)
> I build on SunOS and ICU is available on the system and compiles just fine.
> However, when I try to compile Firefox the configure script complains that
> the "ECMAScript Internationalization API" has not been ported on this
> platform!

Yes, it was a question for the maintainers. I'd think for unknown platforms it should at least try instead of failing. But it's a policy decision.
Component: JavaScript Engine → Build Config
Summary: Enable ECMAScript Internationalization API for desktop Firefox → Build fixes for ICU on SunOS/OpenSolaris
Attachment #8572631 - Flags: review?(mh+mozilla)
Comment on attachment 8572631 [details] [diff] [review]
configure.diff

Review of attachment 8572631 [details] [diff] [review]:
-----------------------------------------------------------------

Those changes to configure are not necessary, since they aren't under source version control.

For future contributions, please refer to:
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Attachment #8572631 - Flags: review?(mh+mozilla) → review+
Assignee: nobody → ijdt.editor
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
This patch has been approved.  Congratulations!  Next steps for the author of the patch:

* Apply the same changes to "configure.in" and "js/src/configure.in".
* Follow the directions from the link in comment 4 to generate a patch for check-in.  Include the bug number and "r=glandium" in the commit message.
* Attach that patch to this bug, and mark the previous attachment "obsolete".

We'll take a final look and the patch and then get it checked in for you.  Thanks!

If you have any questions or problems with any of the steps, feel free to comment here, or email me, or ask in #introduction on irc.mozilla.org.
Flags: needinfo?(ijdt.editor)
Instead of changing  "configure.in" and "js/src/configure.in" one needs to change build/autoconf/icu.m4 and the patch for this is included in the original patch. I am a bit confused...
Flags: needinfo?(ijdt.editor)
(In reply to ijdt.editor from comment #6)
> Instead of changing  "configure.in" and "js/src/configure.in" one needs to
> change build/autoconf/icu.m4 and the patch for this is included in the
> original patch. I am a bit confused...

Sorry, my mistake.  Just follow the directions to generate a patch using Mercurial and you should be fine.  The patch will *not* include changes to "configure" or "js/src/configure" because these files are not stored in Mercurial.
Attached patch icu.diff (obsolete) — Splinter Review
Attachment #8583086 - Flags: review+
This is the same patch as comment 8, with Mercurial headers and a commit message added.
Attachment #8572631 - Attachment is obsolete: true
Attachment #8583086 - Attachment is obsolete: true
Attachment #8586341 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/88b7e9e2555d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: