Open stefan11111 opened 1 year ago
What is the strip
USE for? portage already handles stripping via a separate setting, and packages are encouraged not to strip by themselves: https://wiki.gentoo.org/wiki/Debugging
I don't get what you mean. I see no strip in IUSE. You mean FETURES="strip"? I don't see the relevance. Also, I didn't say anything about stripping symbols, which is what that link is about.
Ah... sorry.
What about the rest?
profiles/package.use.mask change is puzzling, otherwise LGTM, assuming you have verified that the new USE flags work.
The new USE flags do seem to work, but I'd have to do 128(2^7) builds to test all configurations. The profiles/package.use.mask changes are there because of upstream bugs. ./mach mozpackage doesn't work properly with system-hunspell. The build fails with system-cairo. I can't do anything about these other that to mask the USE flags.
So... anything else to say. I do have maintainer edits turned on.
@deu can you please take a look at this? I don't feel comfortable accepting such an involved patch singlehandedly.
Closes: https://github.com/deu/palemoon-overlay/issues/129
See: https://developer.palemoon.org/build/linux/ https://forum.palemoon.org/viewtopic.php?f=5&t=30227 https://repo.palemoon.org/MoonchildProductions/Pale-Moon/issues/1934 https://repo.palemoon.org/MoonchildProductions/Pale-Moon/issues/1932
Adds USE flags to, among other things, make possible to create a .mozconfig simmilar to the default one and to not build things like drm and webrtc, the latter doesn't work with palemoon in any configuration.
Also added filtering for the -ffast-math CFLAG, because it results in runtime failures.
There is currently a build issue with binutils 2.41. The way to fix that is to add this commit as a patch: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb
I didn't do that here because it's easy enough to do that locally and it will likely be fixed upstream soon enough. You can add it if you want:
There is also the following patch which from my shallow testing may or may not slightly decrease build time. I didn't include it.