So, I created a PR here...
https://repo.palemoon.org/MoonchildProd ... pulls/2408
And what it basically does, is allow building on systems that don't have GTK2 available, possibly at the expense of compatibility with GTK2-based NPAPI plugins. This is mostly about providing options to people on distros without GTK2 who may want to build themselves, and not care about the risk of some NPAPI plugins ceasing to function. I suspect GTK3 plugins will work fine.
While the implications of disabling this are largely unknown, the option should be on the table, IMO.
Would anyone be interested in helping me test this out to make sure it works as intended? That is, nothing should change at all if you don't specify "--disable-gtk2" in your .mozconfig, but if you do specify it, then you should be able to build without any gtk2 packages on your system.
https://repo.palemoon.org/MoonchildProd ... pulls/2408
And what it basically does, is allow building on systems that don't have GTK2 available, possibly at the expense of compatibility with GTK2-based NPAPI plugins. This is mostly about providing options to people on distros without GTK2 who may want to build themselves, and not care about the risk of some NPAPI plugins ceasing to function. I suspect GTK3 plugins will work fine.
While the implications of disabling this are largely unknown, the option should be on the table, IMO.
Would anyone be interested in helping me test this out to make sure it works as intended? That is, nothing should change at all if you don't specify "--disable-gtk2" in your .mozconfig, but if you do specify it, then you should be able to build without any gtk2 packages on your system.