SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

Hi All,

Wicknix has released the version 33.6.1 of SeaLion. :-)

I compiled it for Linux PowerPC 32-bit libc without AltiVec today.

Download and further information: github.com

Image

Have a nice weekend! :-)

Christian
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

Today, I compiled the PowerPC 32-bit musl version of the new SeaLion 33.6.1 for Adélie Linux.

Download: github.com
  • Shell: ./run_sealion.sh in the sealion directory
  • Desktop launcher: bash -c "cd /home/live/sealion ; ./run_sealion.sh" as command
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

Image

Preparation of the Linux PPC64 version of SeaLion 33.6.1:

Download the stable UXP source here: RB_20250310

Grab SL source here Source code

Extract SL source, then extract UXP source. It'll extract to a folder called "uxp". Rename it to "platform" and move it in to the SL source tree.

Compiling the SeaLion for Linux PPC64:

It needs GCC 7.1 or newer.

Upgrading of GCC to version 8.3.1:

Code: Select all

sudo dnf update gcc-c++
(This upgrades the packages gcc-c++, gcc, and cpp)

If you want to use "rpm -U" then you need to download the rpm packages of gcc-c++, gcc, and cpp first.

.mozconfig

Code: Select all

export CC="gcc -flax-vector-conversions -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -maltivec -mabi=altivec"
export CXX="g++ -flax-vector-conversions -fpermissive -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -maltivec -mabi=altivec"

mk_add_options AUTOCONF=/usr/bin/autoconf-2.13

# Set GTK Version to 2 or 3
_GTK_VERSION=2

ac_add_options --target=powerpc64-linux-gnu
ac_add_options --host=powerpc64-linux-gnu
ac_add_options --with-system-jpeg 
ac_add_options --enable-application=navigator
ac_add_options --enable-optimize
ac_add_options --enable-jxl
ac_add_options --enable-strip
ac_add_options --enable-default-toolkit=cairo-gtk2 
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc
ac_add_options --disable-necko-wifi
ac_add_options --disable-safe-browsing
ac_add_options --disable-devtools
ac_add_options --disable-pulseaudio
ac_add_options --disable-jemalloc
ac_add_options --disable-updater
ac_add_options --disable-gconf 
ac_add_options --disable-gamepad
ac_add_options --disable-precompiled-startupcache

export MOZ_TELEMETRY_REPORTING=0
export MOZ_ADDON_SIGNING=0
export MOZ_REQUIRE_SIGNING=0
Remove the following line from the file "platform/security/nss/lib/freebl/freebl.gyp":

Code: Select all

      'target_name': 'gcm-aes-ppc_c_lib',
      'type': 'static_library',
      'sources': [
        'gcm-ppc.c',
-        'sha512-p8.s',
      ],
      'dependencies': [
./mach build

Please note: Copy the icudt63b.dat to obj-powerpc64-linux-gnu/dist/bin before "./mach run" and "./mach package" and then extract the sealion xz package and copy the icudt63b.dat again to the sealion folder.
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

SeaLion 33.6.1 is available for Linux PPC64. :-)

Download and further information: github.com

Image
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

I have compiled SeaLion 33.6.1 for 32-bit Linux PowerPC machines with AltiVec support.

Download and further information: github.com

Image

It doesn't work on e5500 machines.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by Hypex »

xeno74 wrote: Sat Apr 19, 2025 9:28 am I have compiled SeaLion 33.6.1 for 32-bit Linux PowerPC machines with AltiVec support.
Okay, now what's the lowest it should work on? Currently testing on Precise since I have it booted ATM. But it complains about a libatomic.so.1. The closest was a libatomic-ops-dev but that doesn't provide an so.

I ran it as "./sealion". There is no "run-sealion" but there is a "run-mozilla". However it expects an argument.

My problems may be deeper:

Code: Select all

damien@ubuntu:~/Applications/sealion$ ldd sealion 
./sealion: /lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by ./sealion)
./sealion: /usr/lib/powerpc-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./sealion)
	linux-vdso32.so.1 =>  (0x00100000)
	libpthread.so.0 => /lib/powerpc-linux-gnu/libpthread.so.0 (0x6ff75000)
	libdl.so.2 => /lib/powerpc-linux-gnu/libdl.so.2 (0x6ff51000)
	libatomic.so.1 => not found
	libstdc++.so.6 => /usr/lib/powerpc-linux-gnu/libstdc++.so.6 (0x6fe20000)
	libm.so.6 => /lib/powerpc-linux-gnu/libm.so.6 (0x6fd59000)
	libgcc_s.so.1 => /lib/powerpc-linux-gnu/libgcc_s.so.1 (0x6fd23000)
	libc.so.6 => /lib/powerpc-linux-gnu/libc.so.6 (0x6fb94000)
	/lib/ld.so.1 (0xf7ed4000)
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

Hypex,

Ubuntu 12.04 is too old for SeaLion. I successfully tested it with Void PPC yesterday. It is old too but not so old as Ubuntu 12.04.

Thanks,
Christian
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by Hypex »

xeno74 wrote: Sun Apr 20, 2025 9:24 am Hypex,

Ubuntu 12.04 is too old for SeaLion. I successfully tested it with Void PPC yesterday. It is old too but not so old as Ubuntu 12.04.
I expected as much. Unfortunately Xenial is also too old. This time it's stuck on GLIBC.

Code: Select all

damien@ubuntu:~/Applications/sealion$ ./sealion 
XPCOMGlueLoad error for file /home/damien/Applications/sealion/libnspr4.so:
/lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.30' not found (required by /home/damien/Applications/sealion/libnspr4.so)
Couldn't load XPCOM.
I'd try Bionic but need to fix my login. For the most part Firefox still works fine on the older distros. Some pages don't render correctly but the worst is obsolete security certificates. If they could be replaced it would be a lot better and secure. Firefox only lets you add them one at a time which is unusable to me. But some do need OpenSSL 1.1.1.

Perhaps something like a self contained app image would work. But I refuse to install those on my laptop even. An app requiring 1GB for an app under 1MB in size? Ridiculous! I doubt the apt system would need a 1GB to install itself. :shock:
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by xeno74 »

If you need the libffi.so.7 and the libjpeg.so.8 for Linux PPC 32-bit libc then download the SeaLion-BrassMonkey deps package, extract it and copy the libs to the lib directory.

Downloads:
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: SeaLion - A web browser for 32-bit PowerPC Linux (Void / Debian 11)

Post by Hypex »

Thanks. I'll give it another test.

In the meantime I've got it working on Debian 64:
viewtopic.php?p=60178#p60178
Post Reply