CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]  2023/04/24 13:14:52

Modified files:
        www/mozilla    : mozilla.port.mk 

Log message:
www/mozilla: set MOZ_APP_REMOTINGNAME=$(MOZILLA_PROJECT) in MAKE_ENV

Prompted by exchanges with Joel Carnat about mozilla ports not having
their proper icon in xfce4-docklike.

It turns out docklike uses the WM_CLASS X property to match apps against
icons, which for some reason is set to "$project-default" by gecko,
because as third-party distributors we don't have an 'update channel'.
cf #1530052 & #1752418.

Setting StartupWMClass in the .desktop file could have worked around
that issue, but that wouldn't have worked for running 'firefox' in a
term, so use a larger hammer.

debian handles it by setting MOZ_APP_REMOTINGNAME too, cf
https://salsa.debian.org/mozilla-team/firefox/-/blob/release/master/debian/rules#L76

extensively tested with all moz variants.

while here add x11/gtk+4,-guic to RDEP, since icons are going to be
installed under hicolor.

Reply via email to