Update: this method won't work.
About Icecat can't install *.xpi themes, maybe I found a tricky solution. When manually install a theme, icecat will throw an error:
addons.xpi WARN Invalid XPI: Error: Cannot find id for addon /home/example/minecraft_grassy_block-1.0-an+fx.xpi (resource://gre/modules/addons/XPIInstall.jsm:1544:17) JS Stack trace: loadManifest@XPIInstall.jsm:1544:17
And I checked XPIInstall.jsm
, here's the code:
//...
if (!this.addon.id) {
let err = new Error(`Cannot find id for addon ${file.path}`);
return Promise.reject([AddonManager.ERROR_CORRUPT_FILE, err]);
}
//...
So, comment out this block when patching will solve the issue?
Pinned Comments
xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-08-08 03:44 (UTC) by xiota)
PKGBUILD has been updated. Major changes:
Notes:
_build_pgo_xvfb=false
. This will usexwayland-run
for profiling._build_pgo=false
.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.libxul.so
. Leave a comment if you have a potential solution.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.