Package Details: icecat 115.10.0-1

Git Clone URL: https://aur.archlinux.org/icecat.git (read-only, click to copy)
Package Base: icecat
Description: GNU version of the Firefox ESR browser
Upstream URL: https://git.savannah.gnu.org/cgit/gnuzilla.git
Keywords: browser esr gnuzilla web
Licenses: MPL-2.0
Submitter: None
Maintainer: figue (xiota)
Last Packager: xiota
Votes: 251
Popularity: 1.02
First Submitted: 2007-12-09 10:12 (UTC)
Last Updated: 2024-04-19 02:20 (UTC)

Dependencies (51)

Sources (3)

Pinned Comments

xiota commented on 2024-02-27 10:57 (UTC) (edited on 2024-02-27 10:59 (UTC) by xiota)

icecatbrowser.org is unofficial, separate from GNU, which is stated at the site itself. classictetris.net is used by the site owner to serve the prepatched sources. They are used only when _build_prepatched=true to save time by skipping the patching step. The default is false.

The site was created to fill the gap after GNU stopped distributing prepatched sources and binaries. As far as I can tell, the makeicecat script is run without any modification, while this PKGBUILD does make some changes. For version 115.8.0, the only differences between the prepatched sources and a fresh patch from this PKGBUILD are:

  • services/settings/dumps/monitor/changes – "last_modified" and "collection" entries are different. This is expected because timestamps differ based on when makeicecat is run.

  • Some different l10n files (translations). This is also somewhat expected because the latest commit is checked out prior to patching. Exact contents can differ based on when the script is run.

  • .hg* files and directories. They are not needed, and this PKGBUILD deletes them.

xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-03-13 20:04 (UTC) by xiota)

PKGBUILD has been updated. Major changes:

  • Downloads Firefox ESR and localization using the source array. Files are saved for reuse.
  • Saves freshly patched IceCat sources in a tarball for reuse.
  • Saves the PGO profile for reuse.

Test builds can be expedited by:

  • Using prepatched sources by setting _build_prepatched=true
  • Using a premade profile.

Notes:

  • Wayland users, consider setting _build_pgo_xvfb=false. This will use xwayland-run for profiling.
  • PGO should work now, but if it doesn't and you're willing to go without, try _build_pgo=false.
  • Running out of RAM? Try adding mk_add_options MOZ_PARALLEL_BUILD=___ around line 300. Pick a value less than number of cores and free RAM in GB. For example, on a system with 8 cores, 64GB total RAM, but only 6 GB free, the value should be set to 4 or 5.
    • If a few people can confirm this is helpful, I will consider adding it as an additional option.

Having problems? Please provide details: processor make and model, number of cores, free -m, full log in pastebin, whether using AUR helper/makepkg/clean chroot, etc.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 84 Next › Last »

xiota commented on 2023-12-30 16:31 (UTC) (edited on 2024-02-11 04:26 (UTC) by xiota)

I was also getting stuck at the same place. The problem is the browser extensions disable javascript, which is needed for the profiling. Even if javascript wasn't needed, the extensions would still need to be disabled to profile the javascript engine.

figue commented on 2023-12-30 10:58 (UTC)

@xiota Thank you for your feedback. I tried PGO build a few times some time ago, but it never works for me. Actually I tried again but it got stuck at this point:

https://gist.github.com/figue/3ef7a6db9bd0063b18914eedeffa999d

I'm not sure why right now. I'm building it with makepkg (no chroot), perhaps in a clean chroot it works, I'm not sure.

PKGBUILD used: https://gist.github.com/figue/1d7193d1dbba6e0f302b394c881e49d9

xiota commented on 2023-12-25 15:02 (UTC) (edited on 2024-01-28 07:14 (UTC) by xiota)

Some suggestions:

  • Guard path variables with quotes because they can contain spaces.

  • Use the source array to download Firefox ESR. There is already code in prepare to make use of it.

  • Enable PGO, or add a flag to do so. This browser comes with 9 extensions that reduce performance by 22%. Enabling PGO would improve performance by about 16-20%.

Let me know if you want help.

unphysicalix commented on 2023-07-27 20:59 (UTC)

Hi. It does compile beautifully, indeed.

If and only if you have the right node-js installed. STrangely enough I had nodejs-lts-fermium installed - it did not compile with it. (wrong libicui library version) AS soon as I installed nodejs-lts-gallium, replacing the former, it compiles nicely.

rev.cressy commented on 2023-07-10 10:58 (UTC)

icecat-102.13.0-2-x86_64.pkg.tar.zst built beautifully :-) Thanks

figue commented on 2023-07-09 16:07 (UTC)

I've relocated patch outside. Hope this fixes build: 19c0c6c810d1

InOnesGraveDed commented on 2023-07-08 22:47 (UTC) (edited on 2023-07-08 22:48 (UTC) by InOnesGraveDed)

==> ERROR: A failure occurred in prepare().
    Aborting...

Cant solve the problem...

rev.cressy commented on 2023-07-07 15:50 (UTC)

Running modification-aware sed: sed s/_PP// -i browser/branding/branding-common.mozbuild

Running modification-aware sed: sed /ifndef/,/endif/d -i browser/base/content/default-bookmarks.html /bin/sed: no input files ==> ERROR: A failure occurred in prepare(). Aborting...

I received this error this morning while attempting to compile icecat.

cysp74 commented on 2023-07-07 11:58 (UTC)

@figue, tested it works. Once I have a chance i'm gonna report on gnu side.

Bascially -r xargs switch does nothing harmful, can't break anything.

seo.disparate commented on 2023-07-07 05:00 (UTC)

Ok, I was able to build it with the changes mentioned. Note that the additional sed lines must be used outside the $_SPEED if statement block to apply to both kinds of builds (with and without _SPEED=y).