User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170615111052 Steps to reproduce: - uninstall gtk2 - try to build firefox Actual results: build failure configure: error: Library requirements (gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Expected results: build success
Component: Untriaged → Build Config
Product: Firefox → Core
glandium did a bunch of work to allow us to link against either of gtk2 or gtk3.
As long as NPAPI plugins are supported, build dependency on gtk2 cannot be dropped.
NPAPI is currently only around to support Flash (bug 1269807). Per https://developer.mozilla.org/en-US/docs/Plugins/Roadmap, Firefox's Flash support (and thus NPAPI support) will be removed sometime in 2020.
Also, to make things clear, Flash *does* require gtk2.
Could NPAPI be made optional as by configuration before that? Unconditionally depending on Gtk+-2 until 2020 doesn't seem very reasonable, esp. not if it's due to supporting 3rd party, and even more so for something as "unpopular" as Flash.
Configuring things so NPAPI is optional is probably about as hard as removing support entirely; you can get a sense of the scope of the problem by looking at bug 1381916, which removed ~5k lines of code for a single platform.
You need to log in before you can comment on or make changes to this bug.