Firefox Gentoo



Gentoo Linux is available free over the Internet.
Live environments and stage archives can be downloaded using the links below.

amd64 aka x86_64

Mozilla Firefox is a popular open-source web browser from the Mozilla Project. Multiple vulnerabilities have been discovered in Mozilla Firefox. Please review the CVE identifiers referenced below for details. Gentoo Cheat Sheet This is a reference card of useful commands for administrating Gentoo systems. Newcomers and grey beards alike are encouraged to add their helpful tips below. Firefox Is Now Built With Clang+LTO Everywhere, Sizable Performance Wins For Linux Written by Michael Larabel in Mozilla on 12 September 2018 at 05:33 AM EDT. Firefox nightly builds are now built with the LLVM Clang compiler on all major platforms and the Linux build in particular is also now utilizing PGO optimizations too. A wild qtwebengine appears! (seriously, it's even worse). It annoys me to no end that i need it for only one application, and that's anki (flashcards app). I finally decided to package precompiled version of it and it took much quicker to make an ebuld for it than to build the damn dependencies (pyqt5,qtwebengine). Especially since current version relies on deprecated pyqt4 + qtwebkit4 that.

Mozilla Firefox is a popular open-source web browser from the Mozilla project. Multiple vulnerabilities have been discovered in Mozilla Firefox.

Boot media

Stage archives

Details (contents, hashes, and signatures)

Minimal Installation CD, Stage 3

x86

Boot media

Stage archives

Firefox

Details (contents, hashes, and signatures)

Minimal Installation CD, Stage 3

What should I download? What do I do with these files?
Gentoo Handbook

If you are unsure what you need to download, please refer to the Gentoo Handbook for the complete installation documentation.
It explains how you can find the right architecture for your machine and which files you need at what stage of the installation process.

Advanced choices and other architectures

amd64 – Advanced choices

Boot media

Stage archives

Details (contents, hashes, and signatures)

Processor compatibility

The amd64 architecture is intended for use on AMD 64-bit CPUs as well as 64-bit Intel Pentium/Core/Xeon processors.

x86 – Advanced choices

Boot media

Stage archives

Details (contents, hashes, and signatures)

Confirm processor compatibility

There are two builds of the x86 architecture: i486 and i686.
Processors prior to the Intel Pentium Pro or Pentium II require the i486 variant to be used.

alpha

Boot media

Stage archives

Details (contents, hashes, and signatures)

arm

Stage archives

arm64

Stage archives

hppa

Boot media

Stage archives

Details (contents, hashes, and signatures)

ia64

Boot media

Stage archives

Details (contents, hashes, and signatures)

Confirm processor compatibility

The ia64 architecture is intended for use on Intel Itanium processors only.
If you have a 64-bit Intel Pentium/Core/Xeon processor, you need to use the amd64 architecture.

ppc

Boot media

Stage archives

Details (contents, hashes, and signatures)

riscv

Stage archives (~riscv)

Details (contents, hashes, and signatures)

Hardware compatibility

Processor compatibility

The lp64d stages can be used on all 64-bit RISC-V processors supporting the double-precision floating point instruction set. The lp64 stages can be used on all 64-bit RISC-V processors; they require no hardware support for floating point arithmetics.

For an overview of the different instruction sets, see, e.g., the RISC-V wikipedia page.

Additional Gentoo-specific information can be found on the web page of the Gentoo RISC-V project.

sparc

Boot media

Stage archives

Details (contents, hashes, and signatures)

Experimental architectures

s390

Other experimental architectures

For all other experimental downloads (including for the mips architecture), please refer to the complete experimental downloads archive.

Warning
Mozilla has stopped development of Firefox OS in September 2016. Gentoo has changed since then and the information below might be out of date

This page details how to build Firefox OS and flash it on your phone. Note that Firefox OS is not the Firefox web browser.

Requirements

Phone

  • Obviously, you will need a smartphone supported by Firefox OS, see the list here.
  • fastboot must be enabled, you may need to unlock the bootloader for that. This is out of the scope of this document.

Computer

  • 64bit Gentoo with a multilib profile
  • 4GB of RAM
  • 30GB of disk space (sources alone take 14GB)

Packages

Quite a few packages are required, so we might as well create a set.

You also need the 32bit versions of ncurses and zlib.

FILE/etc/portage/package.use/firefox_os

adb/fastboot

Warning
You won't be able to backup or flash your phone via USB if adb/fastboot is not working.

Test adb

Check if adb detects your phone

Udev rule

Firefox Guide On The Firejail Wordpress

If your phone is not detected, you may need a new udev rule

FILE/etc/udev/rules.d/firefox_os.rules
Note
replace 19d2 and 1351 (ZTE Open) by the values of your phone, they can be obtained with lsusb, also make sure your user is in the plugdev group
root #adb kill-server

Then retry to detect the phone.

Backing up your data

user $adb pull /system backup/system
user $# Some phones also have a /vendor

This backup can be used later to build Firefox OS because some non-free files are not included in the sources and must be extracted from a backup (or the phone directly)

Alternatively you can use this script to backup and restore user data.

Building Firefox OS

Find the phone's codename

See this table.

Choose a Firefox OS version

The list of versions available can be seen here.As of this writing, v2.2 is the lastest stable version but you can build any version you want.

Python

The script fetching the sources uses python, unfortunatly it only works with python2, if your default python interpreter is python3, you will need this small hack

user $ln -s `which python2` /tmp/ffos_bin/python

Firefox Gentoo No Sound

Note
You could also set python2 as your default interpreter with eselect python, but this may cause problems with other python programs)

GCC

Old versions of Firefox OS require GCC 4.6, the current master can be built with any modern version. See this MDN page for information on how to use older compilers if you need to build an older version.

Non-free files

Www-client/firefox – Gentoo Packages

To build Firefox OS you need some non-free files only present on the phone (or backups of the phone). If you did a backup, you can use it for the build by setting ANDROIDFS_DIR, otherwise you need to connect your phone via USB while building.

Fetching the sources

user $git clone git://github.com/mozilla-b2g/B2G.git

Download Mozilla Firefox For Windows 10 2017

user $BRANCH=v1.4 ./config.sh inari
Note
Replace v1.4 by the version you want, and inari by the codename of your phone (inari = ZTE Open)

Mozilla Firefox

The last command will start fetching the sources, this will take a very long time, possibly hours since it basically downloads 14GB of data.

Build

Building takes quite some time and displays a lot of warnings.

Flashing

Www-client/firefox-bin – Gentoo Packages

If all goes well, your phone should reboot on the new version of Firefox OS

Retrieved from 'https://wiki.gentoo.org/index.php?title=Firefox_OS&oldid=710570'