palemoon patch,

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 869
Joined: 2022-08-10, 02:25

palemoon patch,

Post by frostknight » 2026-01-17, 13:01

Wondering how I could make a patch to reverse this

https://repo.palemoon.org/MoonchildProd ... 1d3b25585c

You know so I don't have to manually change it all the time. ;)


I tried to reverse how the patch works on there, but I was unsuccessful. So meh, idk. I think I did something wrong 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!

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1139
Joined: 2020-11-03, 06:47
Location: Philippines

Re: palemoon patch,

Post by jobbautista9 » 2026-01-17, 13:50

Have you tried git reverting the relevant commit (1b0fde3e10fa987b1c875ffa3c9fa9d286a56c94) from the merge commit's PR Issue #2716 (UXP)?

I'm not sure why you'd even want to force an earlier GCC version anyway. You're likely going to encounter compilation errors with code that use C++17.
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
UCyborg
Astronaut
Astronaut
Posts: 726
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: palemoon patch,

Post by UCyborg » 2026-01-17, 14:07

How does one generally even maintain local patches with Git? Do you make the branch, commit patches, then when code gets updated, rebase that branch and hope your changes don't conflict with new changes from "upstream"?

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: palemoon patch,

Post by Moonchild » 2026-01-17, 14:09

UCyborg wrote:
2026-01-17, 14:07
How does one generally even maintain local patches with Git? Do you make the branch, commit patches, then when code gets updated, rebase that branch and hope your changes don't conflict with new changes from "upstream"?
Pretty much. and if they DO conflict you'll have to amend your changes.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: palemoon patch,

Post by Moonchild » 2026-01-17, 14:13

jobbautista9 wrote:
2026-01-17, 13:50
You're likely going to encounter compilation errors with code that use C++17.
Exactly. Our dropping support for GCC 7 and 8 in a breaking way was not arbitrary. You should just build with a supported compiler version (and you can build gcc from source as well if it's not immediately available on your flavour of OS)
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 869
Joined: 2022-08-10, 02:25

Re: palemoon patch,

Post by frostknight » 2026-01-17, 15:53

jobbautista9 wrote:
2026-01-17, 13:50
Have you tried git reverting the relevant commit (1b0fde3e10fa987b1c875ffa3c9fa9d286a56c94) from the merge commit's PR Issue #2716 (UXP)?

I'm not sure why you'd even want to force an earlier GCC version anyway. You're likely going to encounter compilation errors with code that use C++17.
Would this also revert every patch after that?

I only want to revert that one part after all.

My gcc is too old currently, although I did find something interesting thanks to a Hyperbola dev telling me about it.

./conty.sh

Its basically similar to an archlinux appimage you can run stuff with. Thus, I might not need to anymore use it.

This is conty:

https://github.com/Kron4ek/Conty
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!

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1139
Joined: 2020-11-03, 06:47
Location: Philippines

Re: palemoon patch,

Post by jobbautista9 » 2026-01-18, 06:37

frostknight wrote:
2026-01-17, 15:53
Would this also revert every patch after that?
It only reverts that specific commit. It's not git reset
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 869
Joined: 2022-08-10, 02:25

Re: palemoon patch,

Post by frostknight » 2026-01-19, 00:19

jobbautista9 wrote:
2026-01-18, 06:37
It only reverts that specific commit. It's not git reset
Fair enough, cool.
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!

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 869
Joined: 2022-08-10, 02:25

Re: palemoon patch,

Post by frostknight » 2026-01-23, 23:07

Moonchild wrote:
2026-01-17, 14:13
Our dropping support for GCC 7 and 8 in a breaking way was not arbitrary. You should just build with a supported compiler version (and you can build gcc from source as well if it's not immediately available on your flavour of OS)
This puzzles me as I wonder why I can still build with 8 if I revert your changes.

Also not that I expect you to do this, but I feel like it would be better to leave a warning than to disable it all together.

Something like, "You are using an outdated gcc, you are likely to fail building. You would be wise to update to a newer GCC. You are on your own"
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!

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 869
Joined: 2022-08-10, 02:25

Re: palemoon patch,

Post by frostknight » 2026-01-23, 23:09

jobbautista9 wrote:
2026-01-17, 13:50
Have you tried git reverting the relevant commit (1b0fde3e10fa987b1c875ffa3c9fa9d286a56c94) from the merge commit's PR Issue #2716 (UXP)?

Tried to do that it said bad revision when I tried.

Not sure why.

But doing in manually seems to work.
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!