Re: Building a localised SeaMonkey 2.42

Laurenz Sommer via dev-ports-os2 <[email protected]> Thu, 22 Jun 2017 00:57:38 +0200
Newsgroups gmane.comp.mozilla.devel.os2
Message-ID <[email protected]>
I followed the instructions as close as possible. First I got an error, 
saying 'ECMAScript Internationalization API is not yet supported on this 
platform' when I ran 'make configure' with the mozconfig file adjusted 
for the localisation. I resolved this by editing build\autoconf\icu.m4 
so it does not assume OS/2 does not support ECMAScript 
Internationalization API (according to this 
https://github.com/bitwiseworks/mozilla-os2/issues/101 OS/2 supports it) 
and now treats it equal to WINNT. I'll attach the patch for this so one 
can see the changes I made. I had to run autoreconfigure in 
D:\gecko45\mozilla\intl\icu\source because 
mozilla\intl\icu\source\configure interpreted the PATH environment 
setting wrong.
But now 'make -f client.mk configure' terminates with the following 
error: 'intl/icu/target> configure: error: Namespace support is required 
to build ICU.' I attached the config.log created in 
D:\gecko45\obj-sm\intl\icu\target.
Has anyone any idea how to resolve this problem? If I should provide 
further information, please tell me.

Laurenz

_______________________________________________
dev-ports-os2 mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-ports-os2
Enable-ECMAScript-Internationalization-API-for-language-support.patch (text/plain, 812 B)
From e65b59c7db9818ffc3c696dd7c1fd88089ccc173 Mon Sep 17 00:00:00 2001
From: Laurenz Sommer <[email protected]>
Date: Wed, 21 Jun 2017 23:00:06 +0200
Subject: [PATCH 3/3] Enable ECMAScript Internationalization API for language
 support

---
 build/autoconf/icu.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
index 07a1c7e67b..6c0bf39cc3 100644
--- a/build/autoconf/icu.m4
+++ b/build/autoconf/icu.m4
@@ -92,7 +92,7 @@ if test -n "$USE_ICU"; then
 
     if test -z "$MOZ_NATIVE_ICU"; then
         case "$OS_TARGET" in
-            WINNT)
+            OS2|WINNT)
                 ICU_LIB_NAMES="icuin icuuc icudt"
                 MOZ_ICU_DBG_SUFFIX=
                 if test -n "$MOZ_DEBUG" -a -z "$MOZ_NO_DEBUG_RTL"; then
-- 
2.11.0