Page 2 of 3
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-18, 23:52
by dbsoft
Moonchild wrote: ↑2023-11-18, 21:56
Maybe you could force it manually at build time with "./mach python intl/icu_sources_data.py ." somewhere?
The solution Mozilla did in Firefox 80, is to store the little endian data file (generated by the script you referenced) in the tree. Then if targeting big endian, they build icupkg ... a utility for dealing with the ICU data file for the host system and call it to convert the little endian file to big endian. This is what I ported over, with some modifications because they ONLY support building as a library, and not packaging the ICU data file in non-library form.
I tested it on MacPPC and it appeared to work, but GNU as on MacPPC is too old and doesn't support the "incbin" directive. (Also building newer versions of binutils on MacPPC don't include GNU as for some reason). So I disabled that... so on MacPPC it does not build the ICU data into the library.
The output shows it building the icupkg command but then it tries to build the ICU data library before it calls icupkg to convert it to big endian, so the file is missing. Just not sure why it is doing it in that order when I have it in the same order in the file as Mozilla... My first idea would be to move the .S bits of config/external/icu/data/moz.build to the bottom of the file and see if that changes the order.
https://bugzilla.mozilla.org/show_bug.cgi?id=1264836
Code: Select all
--- a/config/external/icu/data/moz.build
+++ b/config/external/icu/data/moz.build
@@ -28,15 +28,6 @@ ASFLAGS += [
]
LOCAL_INCLUDES += ['.']
-if CONFIG['HAVE_YASM']:
- USE_YASM = True
- SOURCES += ['icudata.s']
-elif CONFIG['OS_ARCH'] == 'Darwin':
- if CONFIG['CPU_ARCH'] != 'ppc':
- SOURCES += ['icudata_gas.S']
-elif CONFIG['GNU_AS']:
- SOURCES += ['icudata_gas.S']
-
if CONFIG['TARGET_ENDIANNESS'] == 'big':
# Generate a big-endian data file for inclusion in an ICU library
GeneratedFile(data_file['big'],
@@ -53,3 +44,12 @@ if CONFIG['MOZ_ICU_DATA_ARCHIVE']:
script='convert_icudata.py',
inputs=[data_file['little']])
+if CONFIG['HAVE_YASM']:
+ USE_YASM = True
+ SOURCES += ['icudata.s']
+elif CONFIG['OS_ARCH'] == 'Darwin':
+ if CONFIG['CPU_ARCH'] != 'ppc':
+ SOURCES += ['icudata_gas.S']
+elif CONFIG['GNU_AS']:
+ SOURCES += ['icudata_gas.S']
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-19, 00:13
by Moonchild
Maybe I'm missing something here but that data file would be static for any particular version of ICU, so the most pragmatic solution would be to simply store the BE version of the data file in the tree, shove it to /dist when building BE, and recreate/convert it when something in ICU is updated... i.e. as a matter of course for ICU/tz updates in the source instead of at build time.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-19, 00:44
by dbsoft
Moonchild wrote: ↑2023-11-19, 00:13
so the most pragmatic solution would be to simply store the BE version of the data file in the tree, shove it to /dist when building BE, and recreate/convert it when something in ICU is updated...
That is an option too, adds more complexity to ICU updates, but it simplifies things for big endian builds.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-19, 01:16
by Moonchild
Just going by the assumption that build-time can't be figured out. it's of course best to have as little complexity/manual work as possible, but if it would make the build system unreliable or too hack-y, then I'd rather go for the simple inclusion of the pre-built file, since it's platform-agnostic.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-23, 08:43
by dbsoft
Wicknix,
I tried to get the previous concept working but it required too many changes to our build system, so I rewrote it with the suggestion of Moonchild. So I need you to test the build system first and second the icudt63b.dat that I created using the script on PPC.
https://repo.palemoon.org/dbsoft/UXP/co ... c-rebased3
Thanks again,
Brian
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-25, 19:06
by wicknix
The uxp icu patch worked for ppc. Build was successful. Only small issue was my package-manifest.in. A slight adjustment later and it packaged fine. The icu.dat also worked fine. It's smaller (maybe stripped?) than the one i built and had been using, but the browser loads fine with it.
Cheers
uxp-icu.png
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-25, 19:18
by athenian200
wicknix wrote: ↑2023-11-25, 19:06
The uxp icu patch worked for ppc. Build was successful. Only small issue was my package-manifest.in. A slight adjustment later and it packaged fine.
Glad to hear that it's working now! It always annoyed me slightly that Mozilla did a hatchet job on the ICU build system and made it so big-endian users couldn't build their own ICU data file easily.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-25, 19:21
by dbsoft
wicknix wrote: ↑2023-11-25, 19:06
The uxp icu patch worked for ppc. Build was successful. Only small issue was my package-manifest.in. A slight adjustment later and it packaged fine. The icu.dat also worked fine. It's smaller (maybe stripped?) than the one i built and had been using, but the browser loads fine with it.
Awesome! Yeah, I was wondering why your data file was so much bigger too, which is why I wasn't 100% sure it was going to work. You saw that patch to the package manifest I linked in an earlier post, I assume you did something like that in yours?
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-11-25, 19:38
by wicknix
Yep. I had just fat fingered a line in package-manifest.in. Once corrected all was good.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2023-12-03, 00:28
by wicknix
SeaLion 32.5.1 is now released for Mac (intel) and Linux (x86).
https://github.com/wicknix/SeaLion
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-01-31, 04:23
by wicknix
SeaLion 33.0.0 is now available for Mac (intel 32 & 64 bit) and Linux (x86_64).
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-05-27, 03:08
by fatboy
Was wondering if we will see an update soon, or when we can expect one?
Thank You
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-04, 23:09
by wicknix
fatboy wrote: ↑2024-05-27, 03:08
Was wondering if we will see an update soon, or when we can expect one?
Thank You
New 3rd party build is up for x86_64 Linux.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-22, 01:39
by frostknight
wicknix wrote: ↑2024-09-04, 23:09
New 3rd party build is up for x86_64 Linux.
Hey, a few questions about sealion:
what does building for linux look like for this?
Does it detect any form of python, including tauthon?
Does it have the web browser part only and the mail part completely removed or disabled?
And does it look like palemoon or older in appearance?
And finally, I had a custom config I wondered which things I could get working in the config and which are not applicable:
https://upload.disroot.org/r/K14GZhgr#+ ... XMDp6rFkM=
its in the zip file.
Its not a huge hurry, but I wanted to see how it would work.
I shouldn't bug andy endlessly for stuff like this.

Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-22, 02:38
by moonbat
frostknight wrote: ↑2024-09-22, 01:39
And does it look like palemoon or older in appearance?
I've used Tobin's Borealis on which this is based. It looks like the old Mozilla Suite whose browser component was developed into Firefox. Sealion is just the browser component, while Borealis was a UXP based fork of the whole suite (browser + email client).
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-22, 21:42
by frostknight
@moonbat can you or anyone answer the other questions I asked above?
Just wanting to know.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-23, 03:10
by moonbat
Couldn't tell you about building it, but yes - Sealion is just the browser component without the mail/news.
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-23, 05:17
by frostknight
moonbat wrote: ↑2024-09-23, 03:10
Couldn't tell you about building it, but yes - Sealion is just the browser component without the mail/news.
I just would like to know the config required normally. That's all.
Of course I mean for linux. The config in tars appears to be mac for some reason
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-23, 16:01
by therube
Off-topic:moonbat wrote: ↑2024-09-22, 02:38
while Borealis was a UXP based fork of the whole suite (browser + email client).
Browser only, no mail.
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Goanna/4.8 Firefox/68.0 Borealis/0.9.7832a1
Re: SeaLion (SeaMonkey / Borealis fork)
Posted: 2024-09-23, 17:07
by frostknight
therube wrote: ↑2024-09-23, 16:01
Browser only, no mail.
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Goanna/4.8 Firefox/68.0 Borealis/0.9.7832a1
I meant building it actually. I cannot currently do so for linux for some reason. Something about dev ops need to be enabled or w/e