ArcticFox
Arctic Fox is a rare Firefox fork that is actively maintained for PowerPC Macs. It is a derivative of PaleMoon, originally maintained by wicknix, but now under the purview of rmotolla.
Dependencies
To install ArcticFox on Gentoo, certain dependencies must be installed beforehand. The developers of ArcticFox suggest referring to the dependencies of PaleMoon, which are available here. However, some of these dependencies, such as gcc 7.5, are no longer available through emerge. As a result, the original script has been modified to no longer install these outdated dependencies.
Instead, an emerge script for PaleMoon on Gentoo has been found, which install gcc 7.5. However, it is unsupported by now on gentoo. All available versions of gcc include versions 9 and above and the script has been adapted to accommodate this change.
#!/bin/bash
# Compile time dependencies
emerge -n1 sys-devel/autoconf:2.1 \
dev-lang/python:2.7 dev-lang/perl dev-lang/yasm
# Runtime time dependencies
emerge -n x11-libs/libXt app-arch/zip media-libs/freetype media-libs/fontconfig \
sys-libs/glibc dev-libs/libffi sys-apps/dbus dev-libs/dbus-glib x11-libs/gtk+:2 \
media-sound/pulseaudio net-wireless/wireless-tools
# Set the "x264" USE flag for media-video/ffmpeg and emerge it
(mkdir /etc/portage/package.use; \
echo "media-video/ffmpeg x264" >> /etc/portage/package.use/ffmpeg) || \
echo "media-video/ffmpeg x264" >> /etc/portage/package.use
emerge -nN ffmpeg
Install script
This Bash script checks for the installation of "git" and clones the "Arctic-Fox" repository from GitHub. It then sets some environment variables, creates a symbolic link, builds, runs, and packages the project using the commands "./mach build", "./mach run", and "./mach package". This script automates the setup, building, and running of the "Arctic-Fox" project. In the script, the powerpc32 configuration was chosen matching the iBook g4.
#!/bin/bash
# Check if git is installed
if ! command -v git &> /dev/null
then
echo "Git is not installed. Aborting script."
exit 1
fi
# Clone the repository
git clone https://github.com/rmottola/Arctic-Fox
# Move to the cloned directory
cd Arctic-Fox
echo "mk_add_options PYTHON=/usr/bin/python2" >> mozcfg-ppc32linux
echo "mk_add_options AUTOCONF=/usr/bin/autoconf-2.13" >> mozcfg-ppc32linux
# Create a symbolic link to the mozconfig file
ln -s mozcfg-ppc32linux .mozconfig
# Build the project
./mach build
# Run the project
./mach run
# Package the project
./mach package
Links
https://forum.hyperion-entertainment.com/viewtopic.php?p=56018#p56018