I just did my first compile-from-source of Pale Moon in a long while a couple of days ago. I run 64-bit Gentoo linux. This is for my personal use only.
1) Why is "--enable-gconf" still the default? When "mach build" failed due to missing gconf, I tried pulling it in. No luck. Looking at the Gentoo Bugzilla https://bugs.gentoo.org/873841#c1 I saw that the decision to drop gconf from Gentoo had been made in November 2022 and implemented in March 2023, 18 months ago. I was forced to go with "--disable-gconf". I assume other distros have gotten rid of it by now too.
2) Spelunking through the source code, I noticed references to sse4_1, sse4_2, and avx2. Can I drop "ac_add_options --enable-av1" and throw "-march=native" into "ac_add_options --enable-optimize" ? That's intuitively how it should work and result in a faster binary. But I'm not assuming anything.
2 .mozconfig questions
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
2 .mozconfig questions
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data
-
- Lunatic
- Posts: 497
- Joined: 2022-03-23, 16:41
- Location: Chamber of Secrets
Re: 2 .mozconfig questions
See viewtopic.php?f=62&t=30781
FWIW I build Basilisk with GConf disabled by default and I have never experienced any issues with that nor had any Basilisk users mention that it caused them issues. You should be fine disabling it.
If you don't need AV1 codec support then sure remove the AV1 option.Walter Dnes wrote: ↑2024-09-27, 12:42Can I drop "ac_add_options --enable-av1" and throw "-march=native" into "ac_add_options --enable-optimize" ? That's intuitively how it should work and result in a faster binary. But I'm not assuming anything.
The reason those references are in the codebase is that the code by default is compiled for generic CPUs and will autodetect if you have those CPU features and if so the specific libraries with those references will use those CPU features.
That being said, yes you can add -march=native to the mozconfig if you want the binaries specifically compiled and optimized for your specific machine's CPU.
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: 2 .mozconfig questions
Oops, my mistake. I confused AV1 codec with the various avx flags. I'll leave "ac_add_options --enable-av1" in, and add "-march=native" into "ac_add_options --enable-optimize"Basilisk-Dev wrote: ↑2024-09-27, 17:49If you don't need AV1 codec support then sure remove the AV1 option.
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: 2 .mozconfig questions
Nor have I.Basilisk-Dev wrote: ↑2024-09-27, 17:49FWIW I build Basilisk with GConf disabled by default and I have never experienced any issues with that nor had any Basilisk users mention that it caused them issues. You should be fine disabling it.
I built sealion and palemoon both with gconf and dbus disabled. No problems whatsoever. I don't care about sync tho.

Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
-
- Lunatic
- Posts: 497
- Joined: 2022-03-23, 16:41
- Location: Chamber of Secrets
Re: 2 .mozconfig questions
Does sync require dbus and/or GConf? I wasn't aware of that if so.
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: 2 .mozconfig questions
Pretty sure it requires dbus.Basilisk-Dev wrote: ↑2024-09-28, 21:14Does sync require dbus and/or GConf? I wasn't aware of that if so.
Not sure about gconf tho.
But I don't give a crap about sync.

Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!