>>1063167 (OP)
Following what >>1062701 posted. I've successfully compiled Icecat 60.5.0ESR for GNU/linux debian based distros.
Warning tho this version isn't finished yet, it hasn't been released on the gnu ftp.
I'm working on Trisquel so I didn't had much dependencies to begin with.
You need at least 20GB of disk space to compile this, at the end the folder will weight 9.6GB.
RTFRM!: The readme in the new git version is not correct follow the old one
BUILD FROM TARBALL
>From the released IceCat source tarball, you can build it by running:
># replace objdir with whatever path you want
> mkdir objdir
> cd objdir
># replace srcdir with the path where you unpacked the source tarball
> srcdir/configure --with-l10n-base=srcdir/l10n
> make
>Be sure you have installed the needed libraries. If you want to tune
>the configuration process you can change the default setup using the
>file .mozconfig.
>The default configuration of IceCat uses the following libraries:
>libpango libpangoxft libpangoft2 libfreetype libxft libgtk2 libx11
>Refer to your distro help as needed if the configure script fails to
>find them.
>To build a langpack:
>cd objdir/browser/locales
>make langpack-$LANG LOCALE_MERGEDIR=.
>The xpi file is created at tempBuildDir/dist/linux-x86_64/xpi
>CROSSCOMPILING FOR WINDOWS, ANDROID AND MACOS
>You can use the scripts at data/buildscripts to build the toolchains
>and binary packages for the listed platforms. The scripts are made
>to work on Debian-based systems.
>INSTALL
>When you have it built you can install it with:
> make install
>If you want to install in a staging directory, you can do this:
>make install DESTDIR=/foo/bar
>Or if you want to package the results, you can run
>cd objdir/browser/installer
> make
>This generates a binary tarball at objdir/dist
First install the essential:
>"sudo apt-get install build-essential".
Then install the dependencies for your firefox fork, on Trisquel we don't have firefox but abrowser:
>"sudo apt-get build-dep abrowser".
On my distro I had to install another few dependencies that were not satisfied, I had to install bzr, mercurial, devscripts and ccache:
>"sudo apt-get install bzr mercurial devscripts ccache".
Normally it should just compile fine with these if you have more dependencies then you need to find them.
Now do:
>"git clone git://git.savannah.gnu.org/gnuzilla.git"
Go into the folder:
>"cd gnuzilla"
You now need to let the makefile "makeicecat" to be executable:
>"sudo chmod +x makeicecat"
Now execute the makefile:
>"./makeicecat"
As stated in the README, the file that it will generate will be put in the "output" folder.
Now you need to fetch the build script to build Icecat for the platform that you want:
>"cd data/buildscripts"
In this example we'll compile it for GNU/linux based distros, so you need first to make it executable:
>"sudo chmod +x build-gnulinux.sh".
Then you need to copy it to the output folder where the Icecat source were made:
>"cp -v build-gnulinux.sh ~/gnuzilla/output/icecat-60.6.3 ".
Then go in your icecat-60.6.3 folder.
>"cd ~/gnuzilla/output/icecat-60.6.3 ".
Once you're in it you need execute the "build-gnulinux.sh" script.
You'll have to wait for a few hours depending on the hardware that you have.
After that you have two options, the first being to install it directly, the second is to create a tarball.
I haven't done a direct installation with "make install" but only the tarball.
As mentioned in the README, for the tarball go to the folder "installer located in "~/gnuzilla/output/icecat-60.6.3/obj-gnulinux/browser/"
>"cd "~/gnuzilla/output/icecat-60.6.3/obj-gnulinux/browser/installer".
Once in it you just have to do "make"
>"make"
Again like the README says, the tarball will be located in "~/gnuzilla/output/icecat-60.6.3/obj-gnulinux/dist".
So go in it:
>"cd~/gnuzilla/output/icecat-60.6.3/obj-gnulinux/dist".
And you'll find a tarball named "icecat-60.6.3.en-US.linux-x86_64.tar.bz2".
Of course it could have another name if you fidled with the l10n options (options to compile with another language).
If you want to change language you aren't force to recompile everything the XPI file for that are located in "~/gnuzilla/output/icecat-60.6.3/obj-gnulinux/dist/linux-x86_64/xpi".
This should work on old versions of icecat too. I'm going to try and compile for windows since I still have fam on it. Good luck anons.