Bug 240323

Summary: www/firefox: drop GCONF by default
Product: Ports & Packages Reporter: Val Packett <val>
Component: Individual Port(s)Assignee: freebsd-gecko (Nobody) <gecko>
Status: Closed FIXED    
Severity: Affects Only Me CC: swills
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Val Packett 2019-09-04 00:04:42 UTC
It can read proxy settings from gsettings, but IMO the gtk2 dependency is not worth it. Maybe drop it?

ref: https://bugs.archlinux.org/task/59992
Comment 1 Steve Wills freebsd_committer freebsd_triage 2019-09-04 14:52:20 UTC
I think this won't allow removal of gtk2 dep because it's still needed for the old NPAPI plugin support, which won't go away until 2020:

https://developer.mozilla.org/en-US/docs/Plugins/Roadmap
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-09-05 11:26:42 UTC
A commit references this bug:

Author: jbeich
Date: Thu Sep  5 11:25:54 UTC 2019
New revision: 511176
URL: https://svnweb.freebsd.org/changeset/ports/511176

Log:
  gecko: don't require gconf on non-Gnome2 desktops

  Take advantage of lazy bindings by not requiring runtime dependency.
  DBus is required under Wayland (Gecko-specific) and for MIME handling
  but GConf2 is useless outside of Gnome2. So, only use GConf2 if it's
  already installed (similar to PulseAudio).

  PR:		240323

Changes:
  head/Mk/bsd.gecko.mk
  head/mail/thunderbird/Makefile
  head/www/firefox/Makefile
  head/www/firefox-esr/Makefile
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-09-05 11:27:45 UTC
A commit references this bug:

Author: jbeich
Date: Thu Sep  5 11:27:14 UTC 2019
New revision: 511178
URL: https://svnweb.freebsd.org/changeset/ports/511178

Log:
  MFH: r511176

  gecko: don't require gconf on non-Gnome2 desktops

  Take advantage of lazy bindings by not requiring runtime dependency.
  DBus is required under Wayland (Gecko-specific) and for MIME handling
  but GConf2 is useless outside of Gnome2. So, only use GConf2 if it's
  already installed (similar to PulseAudio).

  PR:		240323
  Approved by:	ports-secteam blanket

Changes:
_U  branches/2019Q3/
  branches/2019Q3/Mk/bsd.gecko.mk
  branches/2019Q3/mail/thunderbird/Makefile
  branches/2019Q3/www/firefox/Makefile
  branches/2019Q3/www/firefox-esr/Makefile
Comment 4 Jan Beich freebsd_committer freebsd_triage 2019-09-05 11:28:35 UTC
ports r454672 intended build-only dependency but gave up due to USE_GNOME deficiency. Otherwise, let's wait for upstream to drop NPAPI.

Anything else? If not close the bug.
Comment 5 Jan Beich freebsd_committer freebsd_triage 2019-09-05 11:54:33 UTC
Regarding Wayland. Firefox worked fine without DBus sometime ago but upstream isn't interested[1] in such a configuration, so it broke sometime between Firefox 60 and 68. Gtk developers are also not interested[2]. OTOH, wlroots developers aren't interested[3] in DBus dependency. Not sure about Qt5 but FreeBSD package currently depends on DBus unconditionally.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1506079#c1
[2] https://bugzilla.gnome.org/show_bug.cgi?id=677491#c43
[3] https://github.com/swaywm/wlroots/issues/1178#issuecomment-454241899
Comment 6 Jan Beich freebsd_committer freebsd_triage 2020-06-07 07:49:10 UTC
GCONF is gone after ports r535268.