FS#47398 - [firefox] Move gtk2 to make/optdepends
Attached to Project:
Arch Linux
Opened by Balló György (City-busz) - Wednesday, 16 December 2015, 00:53 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 13 March 2018, 18:39 GMT
Opened by Balló György (City-busz) - Wednesday, 16 December 2015, 00:53 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 13 March 2018, 18:39 GMT
|
Details
Apparently, Firefox works fine without gtk2 installed, so
please move gtk2 from depends to makedepends and optdepends
for GTK+ 2 plugins support.
|
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Tuesday, 13 March 2018, 18:39 GMT
Reason for closing: Fixed
Additional comments about closing: firefox 59.0-1
Tuesday, 13 March 2018, 18:39 GMT
Reason for closing: Fixed
Additional comments about closing: firefox 59.0-1
"It needs to be a hard dependency because Firefox does not gracefully handle the case of missing GTK2 (it continuously tries to spawn the plugin using /usr/lib/firefox/plugin-container). Moreover, after installing GTK2 the Flash plugin does not work until pluginreg.dat has been deleted."
[1] https://www.reddit.com/r/archlinux/comments/3wxvna/arch_and_firefox_43_and_gtk3/cy02fgh
Now, about the pluginreg.dat issue, flashplugin is marked as invalid when it's encountered without gtk2. This can't happen since flashplugin depends on gtk2. If flashplugin+gtk2 is installed after firefox's first run, the plugin is correctly recognized and enabled.
Based on the above, gtk2 can be moved to makedepends. IMO it doesn't need to be listed as an optional dependency since the plugins themselves depend on gtk2. (This is the case for flashplugin and npapi-vlc, other plugins use qt4/5 and java.)