frostknight wrote: ↑2024-10-07, 12:50
Does anyone know how to make a PKGBUILD for palemoon? I want to use my custom .mozconfig.
Problem is, i tried modifying one on aur, but it keeps resetting itself to the old .mozconfig setup... no matter what I do. Archlinux has started to be a jerk on this problem with more and more packages lol...
I wasn't sure where I should post this, so I posted it here.
Can anyone manipulate the regular palemoon PKGBUILD to use with
I use Gentoo linux, which has "ebuilds" that work like Arch "pkgbuild". Step 1) Try to...
grep .mozconfig <name of pkgbld file>
This will give you an idea of what it's doing to .mozconfig so you can look at changing it. Warning: Gentoo has a checksum feature that blocks modified ebuilds unless you jump through hoops to "authorize" the modified ebuild. I wonder if Arch does the same. This is all in the name of security.
frostknight wrote: ↑2024-10-07, 12:50
This is the .mozconfig I want to use:oROjW8AkrUeNSP4T+HAVhh1irwM=
Some comments on the .mozconfig... Get rid of
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --enable-system-pixman
It is generally a
BAD idea to unnecessarily use system libs. See
viewtopic.php?f=5&t=23706 for a detailed explanation.
Re: enable-optimize: I only run the build on the machine it's built on, so I throw in "-march=native" to get all the cpu optimizations possible. Note: do not use "-march=native" if you want to run the build on another machine than the one it's built on.
ac_add_options --enable-optimize="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -w"
mk_add_options MOZ_MAKE_FLAGS="-j1"
gcc uses up to 2 gigabytes per parallel job. I generally...
* take system ram amount
* subtract 2-to-4 gigs for X, plus running apps
* divide remaining gihabytes by 2
Example: You have a desktop with 16 gigs of ram. Subtract 4 gigs for X and running apps. That leaves 12 gigs. Divide by 2, and you can run "-j6" without hitting swap. This does not affect the final product... but it does build a lot faster than "-j1"
Nitpick: I see you have two items listed twice...
ac_add_options --disable-alsa
ac_add_options --enable-sndio
It probably won't hurt, probably just cosmetic.
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data