Arctic Fox

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

Re: Arctic Fox

Post by xeno74 »

Compiling the new ArcticFox 43.0 for Linux PPC64

Installing GCC6 for Arctic Fox on Fedora 28 PPC64:

Code: Select all

wget https://dl.fedoraproject.org/pub/archive/fedora-secondary/updates/25/ppc64/g/gcc-6.4.1-1.fc25.ppc64.rpm

Code: Select all

wget https://dl.fedoraproject.org/pub/archive/fedora-secondary/updates/25/ppc64/g/gcc-c++-6.4.1-1.fc25.ppc64.rpm

Code: Select all

wget https://dl.fedoraproject.org/pub/archive/fedora-secondary/updates/25/ppc64/c/cpp-6.4.1-1.fc25.ppc64.rpm

Code: Select all

wget https://dl.fedoraproject.org/pub/archive/fedora-secondary/updates/25/ppc64/l/libstdc++-6.4.1-1.fc25.ppc64.rpm

Code: Select all

wget https://dl.fedoraproject.org/pub/archive/fedora-secondary/updates/25/ppc64/l/libstdc++-devel-6.4.1-1.fc25.ppc64.rpm

Code: Select all

sudo rpm -e gcc-c++-8.3.1

Code: Select all

sudo rpm -e gcc-gdb-plugin-8.3.1

Code: Select all

sudo rpm -e gcc-8.3.1

Code: Select all

sudo rpm -e cpp-8.3.1

Code: Select all

sudo rpm -i cpp-6.4.1-1.fc25.ppc64.rpm

Code: Select all

sudo rpm -i --force libstdc++-6.4.1-1.fc25.ppc64.rpm

Code: Select all

sudo rpm -i --force libstdc++-devel-6.4.1-1.fc25.ppc64.rpm

Code: Select all

sudo rpm -i --nodeps gcc-6.4.1-1.fc25.ppc64.rpm

Code: Select all

sudo rpm -i gcc-c++-6.4.1-1.fc25.ppc64.rpm

Code: Select all

sudo dnf install GConf2-devel
ls -l /usr/lib64/libstdc*

Code: Select all

lrwxrwxrwx 1 root root      19 Oct 28 18:28 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.25
-rwxr-xr-x 1 root root 2318440 Aug  3  2017 /usr/lib64/libstdc++.so.6.0.22
-rwxr-xr-x 1 root root 2462392 Feb 23  2019 /usr/lib64/libstdc++.so.6.0.25
.mozconfig

Code: Select all

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

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

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg

ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --enable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --enable-dbus
ac_add_options --disable-gio
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-optimize="-O2 -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks"
ac_add_options --disable-jemalloc
ac_add_options --disable-gstreamer
ac_add_options --enable-altivec
ac_add_options --disable-precompiled-startupcache
Download: arcticfox-43.0.en-US.linux-powerpc64-altivec.tar.bz2

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

FYI
caseycullen wrote: Sun Oct 29, 2023 10:42 pm ArcticFox has been updated to version 43.0 in the Fienix software repo. Running better than ever :)

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

Arctic Fox 43.1 is available.

New:

Minor but recommended release.
  • Download issue fixed (#165)
  • several video decoder fixes
  • icon fixes
  • security fixes

    For a full log of fixes and mozilla imported patches: (v43.0...v43.1)
I compiled a non-altivec 32-bit version of Arctic Fox 43.1 for Ubuntu 10.04 and higher (12.04, 14.04, 16.04 etc). It also works on Void PPC, MintPPC (Debian Sid), Debian PPC 32-bit, and Fienix.

.mozconfig

Code: Select all

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

export CC="gcc -m32 -flax-vector-conversions -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
export CXX="g++ -m32 -flax-vector-conversions -fpermissive -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
export LDFLAGS="-latomic"

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg

ac_add_options --disable-crashreporter
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --enable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --enable-dbus
ac_add_options --disable-gio
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-optimize
ac_add_options --disable-jemalloc
ac_add_options --disable-gstreamer
ac_add_options --target=powerpc-linux-gnu
ac_add_options --host=powerpc-linux-gnu
ac_add_options --disable-precompiled-startupcache
Download: arcticfox-43.1.en-US.linux-powerpc-libc6_2.11.1_without_altivec.tar.bz2

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Arctic Fox

Post by Hypex »

Thanks for compiling. Is the AltiVec version for Fienix only? I tried to run it on Ubuntu Xenial but nothing happens which is typical of modern software leaving you in the dark. I booted Xenial for some printing. My printer was on and it set it up in the background. :-)

The other one works. The code be must be packed to the brim a because it's a bit slow to load. Though the old Firefox in Xenial is slow as well.

In any case, as always happens on PPC, I'm having trouble with GitHub. Tried to look here and it's blank. This happens in Odyssey all the time. After all that work compiling. And now its already out of date because GitHub always needs the latest blazing nightly web engine to work.

https://github.com/midyer/u-boot/blob/m ... E.amigaone

It also looks like I got a crash. I clicked here and it disappeared. It common for PPC browsers to crash out but Debian Jessie FireFiox-ESR was the most unstable I've seen.

https://www.generationamiga.com/2023/01 ... ever-died/

I tried to look at the system logs. But some image error is causing a major clutter and making the log viewer unusable. Same error over and over. This is so old fashioned. Why does it write the same line over and over? This is the height of coding ignorance! I know it's from 2016 but why don't they write a smart logger that checks the last line for duplicates and counts them instead? You don't even need AI. They spend so much time on these things and yet they neglect to code it with simple intelligence. Yes I know x64 brute force has made them lazy. :-P
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

Hypex wrote: Tue Jan 23, 2024 8:41 am Thanks for compiling. Is the AltiVec version for Fienix only? I tried to run it on Ubuntu Xenial but nothing happens which is typical of modern software leaving you in the dark. I booted Xenial for some printing. My printer was on and it set it up in the background. :-)
Yes, it also works on Ubuntu 16.04 Xenial. It’s a non-altivec 32-bit version.

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Arctic Fox

Post by Hypex »

xeno74 wrote: Tue Jan 23, 2024 9:40 am Yes, it also works on Ubuntu 16.04 Xenial. It’s a non-altivec 32-bit version.
I was hoping to run the AltiVec version optimised for my X1000 in Xenial.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

FYI
caseycullen wrote: Tue Feb 20, 2024 12:06 am Better late than never... ArcticFox has been updated to version 43.1 in the Fienix software repo.
Image
-Casey
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

Riccardo Mottola has released Arctic Fox 44.0 :-)

New cool graphic! Better JavaScript! And much more. :-)

https://github.com/rmottola/Arctic-Fox/releases/tag/v44.0

I compiled Arctic Fox 44.0 for old Linux distributions without AltiVec today.

Download: arcticfox-44.0.en-US.linux-powerpc-g3.tar.bz2

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

Issue: ViewTube: Couldn't get the script link. Please report it here.

Solution: about:config - Search: useragent.override.youtube.com and delete the value.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox

Post by xeno74 »

Compilation error of Arctic Fox 44.0 on Ubuntu 10.04.4 LTS PowerPC 32-bit:

Code: Select all

FindFontForChar(uint32_t, uint32_t, uint32_t, int32_t, gfxFont*, uint8_t*)’:
55:58.72 /home/amigaone/Downloads/Arctic-Fox-44.0/gfx/thebes/gfxFontconfigFonts.cpp:1634:66: error: ‘g_unicode_script_from_iso15924’ was not declared in this scope
55:58.72        (const PangoScript)g_unicode_script_from_iso15924(scriptTag);
55:58.72                                                                   ^
55:58.72 
55:58.72 In the directory  /home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/gfx/thebes
55:58.72 The following command failed to execute properly:
55:58.73 g++ -m32 -flax-vector-conversions -fpermissive -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -o gfxFontconfigFonts.o -c -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/dist/stl_wrappers -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/dist/system_wrappers -include /home/amigaone/Downloads/Arctic-Fox-44.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_ENABLE_FREETYPE -DGRAPHITE2_STATIC -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/home/amigaone/Downloads/Arctic-Fox-44.0/gfx/thebes -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/gfx/thebes -I/home/amigaone/Downloads/Arctic-Fox-44.0/intl/icu/source/common -I/home/amigaone/Downloads/Arctic-Fox-44.0/intl/icu/source/i18n -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/ipc/ipdl/_ipdlheaders -I/home/amigaone/Downloads/Arctic-Fox-44.0/ipc/chromium/src -I/home/amigaone/Downloads/Arctic-Fox-44.0/ipc/glue -I/home/amigaone/Downloads/Arctic-Fox-44.0/dom/workers -I/home/amigaone/Downloads/Arctic-Fox-44.0/dom/xml -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/dist/include -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/dist/include/nspr -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/mozilla-config.h -MD -MP -MF .deps/gfxFontconfigFonts.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wwrite-strings -Wunreachable-code -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer -Wshadow -I/home/amigaone/Downloads/Arctic-Fox-44.0/obj-ff-dbg/dist/include/cairo -I/home/amigaone/Downloads/Arctic-Fox-44.0/widget/gtk/compat -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0 -pthread -D_REENTRANT -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12 /home/amigaone/Downloads/Arctic-Fox-44.0/gfx/thebes/gfxFontconfigFonts.cpp
55:58.73 make[5]: *** [gfxFontconfigFonts.o] Error 1
55:58.73 make[4]: *** [gfx/thebes/target] Error 2
55:58.73 make[4]: *** Waiting for unfinished jobs....
55:58.73 libnetwerk_protocol_res.a.desc
55:58.73 make[3]: *** [compile] Error 2
55:58.73 make[2]: *** [default] Error 2
55:58.73 make[1]: *** [realbuild] Error 2
55:58.73 make: *** [build] Error 2
g_unicode_script_from_iso15924 doesn't exist in the file Arctic-Fox-43.1/gfx/thebes/gfxFontconfigFonts.cpp. That means, it is a new variable in the file gfxFontconfigFonts.cpp.

I removed the code block from the 44.0 sources and it compiles further.

Here it is: arcticfox-44.0.en-US.linux-powerpc-libc6_2.11.1_without_altivec.tar.bz2

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply