palemoon custom build
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: 594
- Joined: 2022-08-10, 02:25
palemoon custom build
How does one compile palemoon with a custom mozconfig?
I have been trying to get it working, but there is one small problem,
I keep getting this error. despite palemoon still being in the same place.
ERROR: Cannot find project palemoon
I have been trying to get it working, but there is one small problem,
I keep getting this error. despite palemoon still being in the same place.
ERROR: Cannot find project palemoon
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!
-
- Pale Moon guru
- Posts: 37774
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: palemoon custom build
Start off by following the instructions on https://developer.palemoon.org/build/windows/
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Board Warrior
- Posts: 1327
- Joined: 2019-04-24, 09:38
Re: palemoon custom build
Which command does give you that?
The profile picture shows my Maico EC30 E ceiling fan.
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
Moonchild wrote: ↑2024-09-13, 18:47Start off by following the instructions on https://developer.palemoon.org/build/windows/
I am building for linux though?
Or does that not matter?
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!
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
./mach build
although, maybe building in platform isn't the right place? Idk...
I keep trying that and I can't build. You see I have a custom build I want to do. With dbus and gconf disabled and pulseaudio + alsa disabled.
But sndio enabled in its place.
And also I patched it so that tauthon instead of python2.7 appears.
I used these two things which I uploaded the below:
https://upload.disroot.org/r/sNZyRtZ2#P ... EBJmXutOE=
and the other below:
https://upload.disroot.org/r/v3hL6894#A ... sZ95i3bq8=
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!
-
- Pale Moon guru
- Posts: 37774
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: palemoon custom build
For linux, use the linux instructions instead of course.
But the problem is you are in platform. You should be in the source root.
But the problem is you are in platform. You should be in the source root.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Board Warrior
- Posts: 1118
- Joined: 2020-05-31, 04:33
Re: palemoon custom build
Run the ./mach build command in ~/Pale Moon/, not in ~/Pale Moon/platform/frostknight wrote: ↑2024-09-13, 22:50./mach build
although, maybe building in platform isn't the right place? Idk...
I just emailed you my old Hyperbola .mozconfig file for building Pale Moon. Pay particular attention to this line:
ac_add_options --enable-optimize="-O2 -w -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
I got those additional options from Hyperbola's iceweasel-uxp, and found that it wouldn't build on Hyperbola for me without them. I can't say that I understand any of the "fomit-frame-pointer" or "fno-unwind-tables" or any of that - just copied it over and it worked.
Off-topic:
That disroot Lufi file uploader is cool as hell!! I didn't even know we had that with our disroot accounts.
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
i
Hmm... yeah, you are correct something was wrong with my config. I made a slight mod to your config but its building now despite me building from the source which platform is inside of.
I got this error with my build every time I built from Pale-Moon folder regular. it was very bizarre. Yeah... ill check your configandyprough wrote: ↑2024-09-14, 03:06I got those additional options from Hyperbola's iceweasel-uxp, and found that it wouldn't build on Hyperbola for me without them. I can't say that I understand any of the "fomit-frame-pointer" or "fno-unwind-tables" or any of that - just copied it over and it worked.
Hmm... yeah, you are correct something was wrong with my config. I made a slight mod to your config but its building now despite me building from the source which platform is inside of.
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!
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
To be honest, it wasn't building in the source root either. But Andy's config seems to be making it work again.
Out of curiosity, why was --enable-bypass-protection option removed from palemoon? I recall g4jc talking about that a while back.
Is it because it didn't do anything useful or because it was even a facade of a protection?
Just curious.
Not judging, you may very well have had a good reason.
Only asking.
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!
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
I built it finally. Thanks to your help, Andy and something else. I don't remember what though.
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!
-
- Board Warrior
- Posts: 1118
- Joined: 2020-05-31, 04:33
Re: palemoon custom build
How did you apply that Tauthon patch as part of the build process? That seems really useful.frostknight wrote: ↑2024-09-15, 09:47I built it finally. Thanks to your help, Andy and something else. I don't remember what though.
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
andyprough wrote: ↑2024-09-15, 17:51How did you apply that Tauthon patch as part of the build process? That seems really useful.frostknight wrote: ↑2024-09-15, 09:47I built it finally. Thanks to your help, Andy and something else. I don't remember what though.
In platform, i did:
git apply yourpatch --reject
I think I might have changed .mozconfig or some other file as well, but I don't remember.
In any case, using palemoon right now.

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!
-
- Board Warrior
- Posts: 1118
- Joined: 2020-05-31, 04:33
Re: palemoon custom build
Did you run ./mach build from ~/Pale Moon/ or from ~/Pale Moon/platform/?frostknight wrote: ↑2024-09-15, 22:38In platform, i did:
git apply yourpatch --reject
I think I might have changed .mozconfig or some other file as well, but I don't remember.
In any case, using palemoon right now.![]()
Share your final .mozconfig if you can, by disroot share file or by email.
Did you get sound working with sndio?
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: palemoon custom build
I might have already since last night. I did use ./mach build in Pale Moon.andyprough wrote: ↑2024-09-15, 22:48Did you run ./mach build from ~/Pale Moon/ or from ~/Pale Moon/platform/?
Share your final .mozconfig if you can, by disroot share file or by email.
Did you get sound working with sndio?
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!