Firefox and GTK2

Steve Wills swills at FreeBSD.org
Fri Jun 28 20:15:57 UTC 2019


Hi,

On 6/28/19 3:03 PM, Jan Beich wrote:
> Steve Wills <swills at FreeBSD.org> writes:
> 
[snip]
> 
> www/firefox only directly loads libcanberra.so.0. 

Right, so we can have libcanberra use gtk2 or gtk3.

> What actually depends
> on -gtk3 slave? For one, x11-toolkits/gtk30 dropped it since 3.18.0.
> 
> https://searchfox.org/mozilla-release/rev/be9f154873f1/widget/gtk/nsSound.cpp#159
> https://gitlab.gnome.org/GNOME/gtk/commit/7439a7efda25

It's not about gtk using libcanberra, it's about which gtk is used by 
libcanberra.

> $ strings /usr/local/lib/libcanberra.so | fgrep gtk3
> $ strings /usr/local/lib/libcanberra-gtk.so | fgrep gtk3
> 

Those two files are from the package of libcanberra that depends on 
gtk2, so I wouldn't expect them to depend on gtk3.

In libcanberra-gtk3, I see:

$ ldd /usr/local/lib/libcanberra-gtk3.so.0.1.9 | grep gtk
/usr/local/lib/libcanberra-gtk3.so.0.1.9:
         libgtk-3.so.0 => /usr/local/lib/libgtk-3.so.0 (0x800e00000)

> GTK3 is still optional in www/seamonkey and not supported in www/palemoon.

Maybe the libcanberra dep could be moved out of bsd.gecko.mk and into 
the ports?

Steve



More information about the freebsd-gecko mailing list