Firefox and Ubuntu 22.04

Firefox and Ubuntu 22.04

Wow, the situation has become complicated with Ubuntu 22.04

Since February, the development of Trisquel 11.0, code name Aramo, began officially, and to tell the truth, since we were developing version 10.0, we were already beginning to see the future challenges that Jammy would bring.

In the case of Firefox, Canonical, the company behind the commercial development of Ubuntu, is betting more and more on the use of its snap packages, in the same way I assume that Mozilla is trying to unify the distribution of its browser: Firefox due to the great loss of market share, and I assume they’d rather save themselves the trouble of maintaining debian binary compatibility in all versions of Ubuntu and derivatives, so when hunger meets the urge to eat, well this happens, we lose support for debian binaries from Firefox on Ubuntu 22.04

And well, the release of Ubuntu 22.04 made the threat valid, now in 22.04 we only have support for the snap version.

Despite several advantages that a unified package system can have, snap is a system that gives little control over the sources and packages that are distributed, this makes autonomous community development difficult, to say the least, I think Flatpak has a better future in this type of categories, however returning to the subject.

I have currently started working on compiling Firefox ESR on Ubuntu as a base for our Abrowser, however boy has this gotten messy. Debian and Trisquel have a second-degree relationship, which even though they are very similar, both the versions and the structure of some packages change evidently.

This has been a bit of a headache, as it would be the first time that I take the development of a helper from scratch from a package of this size, just to put in context Firefox ESR weighs around 450MB and its compilation can take several hours using multiple cores before crashing and finding the bug where it might be crashing.

After a couple of weeks, this project has helped me to learn little by little the different factors that come into play in the compilation of this browser and why not, meet the developers behind Firefox in Debian and some alternative projects such as LibreWolf is, for which I have learned a couple of things in those projects.

And despite all the headaches that Firefox has given me these weeks, as well as the understanding that I need a more powerful machine to compile large packages, it is not time to give up since there are other more interesting challenges to solve with all the changes Ubuntu has made to Jammy, such as the development of the debian installer for Trisquel.

There is a long and challenging stage of development ahead on the way to Trisquel 11.0, Aramo.

By the way, the ISOs of the first maintenance revision of Trisquel 10 will be published soon, version: 10.0.1 Impatient? Before reaching the official repositories, it can be downloaded here:

https://cdbuilds.trisquel.org/

Cheers!

0ad A25, released!

0ad A25, released!

We are back once again, to comment on the release of 0ad A25.

From a gamer’s point of view, this is a much more stylized version of the past A24, it improves its playability and its visual art in a big way.

From a better order in the movement of large groups of units, to the implementation of new functions such as the launch of “flares”, which reminds us a lot of AoE.

0ad is a visual delight because of its landscapes, detail of objects and units, which is very gratifying to see that level of detail in a creative project of free software and open source.

I do not want to extend myself in praise and compliments, since the game does it very well by itself, from a technical point of view in its installation I have not found many changes on the part of the developers.

The official PPA repository of 0ad still shows no signs of wanting to update the game and even when A24 was kind of a calibration release, so it could be understood that it was not updated to that version, A25 should not be the case in its update process.

However, here are the instructions to compile A25 from Ubuntu 20.04 / Trisquel 10.0

As in the previous version we will rely on the PPA repository of 0ad, to obtain the dependencies for the construction of the binaries,

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E4FA953A
echo "#0ad PPA repository
deb http://ppa.launchpad.net/wfg/0ad/ubuntu bionic main
deb-src http://ppa.launchpad.net/wfg/0ad/ubuntu bionic main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update

We install dependencies,

sudo apt-get -y build-dep 0ad
sudo apt-get -y install rustc cmake libfmt-dev

We download the code

git clone --depth 1 --branch A25 https://github.com/0ad/0ad

We start the compilation using all available threads,

cd 0ad/build/workspaces
./update-workspaces.sh -j"$(nproc --all)"
cd gcc
make -j"$(nproc --all)"

If everything goes well, we continue with the test,

cd ../../..
binaries/system/test

As in previous versions, if you get output like this,

Running cxxtest tests (381 tests).............................................................................................................................................................................................................................................................................................................................................................................................OK!

Ready!, to conquer the ancient world

binaries/system/pyrogenesis

0ad A25, play it with friends for better results =)