Allow to override MOZ_DBUS_APP_NAME

This commit is contained in:
Martin Stransky 2024-07-02 08:56:10 +02:00
parent fec72bef9f
commit b7cf17c51a
2 changed files with 13 additions and 3 deletions

View File

@ -274,12 +274,19 @@ do
esac
done
# We need to link Firefox with desktop file name
# MOZ_APP_REMOTINGNAME links Firefox with desktop file name
if [ -z "$MOZ_APP_REMOTINGNAME" ]
then
export MOZ_APP_REMOTINGNAME=__APP_NAME__
fi
export MOZ_DBUS_APP_NAME=firefox
# MOZ_DBUS_APP_NAME sets app name for DBus services like Gnome Shell
# search provider or remote launcher
# DBus interface name (or prefix) is org.mozilla.MOZ_DBUS_APP_NAME
if [ -z "$MOZ_DBUS_APP_NAME" ]
then
export MOZ_DBUS_APP_NAME=firefox
fi
# Flatpak specific environment variables
%FLATPAK_ENV_VARS%

View File

@ -189,7 +189,7 @@ ExcludeArch: i686
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 127.0.2
Release: 1%{?pre_tag}%{?dist}
Release: 2%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -1240,6 +1240,9 @@ fi
#---------------------------------------------------------------------
%changelog
* Tue Jul 2 2024 Martin Stransky <stransky@redhat.com> - 127.0.2-2
- Allow to override MOZ_DBUS_APP_NAME
* Tue Jun 25 2024 Martin Stransky <stransky@redhat.com> - 127.0.2-1
- Update to 127.0.2