Accepting request 845404 from home:kkirill:branches:mozilla:Factory
Enable GNOME Shell search provider akin to Fedora by - providing firefox-search-provider.ini file for GNOME Shell search provider (copy from Fedora) - setting the browser.gnome-search-provider.enabled to true OBS-URL: https://build.opensuse.org/request/show/845404 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=874
This commit is contained in:
parent
74592d9c27
commit
200347945f
@ -82,6 +82,11 @@ Mon Nov 2 09:00:13 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
|
|||||||
- Mozilla Firefox 82.0.2
|
- Mozilla Firefox 82.0.2
|
||||||
* few bugfixes for introduced regressions
|
* few bugfixes for introduced regressions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 1 20:15:17 UTC 2020 - Kirill Kirillov <kkirill@opensuse.org>
|
||||||
|
|
||||||
|
- Enable GNOME search provider
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 15 20:44:47 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
|
Thu Oct 15 20:44:47 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||||
|
|
||||||
|
@ -178,6 +178,7 @@ Source13: spellcheck.js
|
|||||||
Source14: https://github.com/openSUSE/firefox-scripts/raw/5e54f4a/create-tar.sh
|
Source14: https://github.com/openSUSE/firefox-scripts/raw/5e54f4a/create-tar.sh
|
||||||
Source15: firefox-appdata.xml
|
Source15: firefox-appdata.xml
|
||||||
Source16: %{name}.changes
|
Source16: %{name}.changes
|
||||||
|
Source17: firefox-search-provider.ini
|
||||||
# Set up API keys, see http://www.chromium.org/developers/how-tos/api-keys
|
# Set up API keys, see http://www.chromium.org/developers/how-tos/api-keys
|
||||||
# Note: these are for the openSUSE Firefox builds ONLY. For your own distribution,
|
# Note: these are for the openSUSE Firefox builds ONLY. For your own distribution,
|
||||||
# please get your own set of keys.
|
# please get your own set of keys.
|
||||||
@ -655,6 +656,9 @@ sed "s:firefox.desktop:%{desktop_file_name}:g" \
|
|||||||
# install man-page
|
# install man-page
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||||
cp %{SOURCE11} %{buildroot}%{_mandir}/man1/%{progname}.1
|
cp %{SOURCE11} %{buildroot}%{_mandir}/man1/%{progname}.1
|
||||||
|
# install GNOME Shell search provider
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
|
||||||
|
cp %{SOURCE17} %{buildroot}%{_datadir}/gnome-shell/search-providers
|
||||||
##########
|
##########
|
||||||
# ADDONS
|
# ADDONS
|
||||||
#
|
#
|
||||||
@ -775,6 +779,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
%{_datadir}/applications/%{desktop_file_name}.desktop
|
%{_datadir}/applications/%{desktop_file_name}.desktop
|
||||||
%{_datadir}/mime/packages/%{progname}.xml
|
%{_datadir}/mime/packages/%{progname}.xml
|
||||||
|
%dir %{_datadir}/gnome-shell
|
||||||
|
%dir %{_datadir}/gnome-shell/search-providers
|
||||||
|
%{_datadir}/gnome-shell/search-providers/*.ini
|
||||||
%dir %{_datadir}/mozilla
|
%dir %{_datadir}/mozilla
|
||||||
%dir %{_datadir}/mozilla/extensions
|
%dir %{_datadir}/mozilla/extensions
|
||||||
%dir %{_datadir}/mozilla/extensions/%{firefox_appid}
|
%dir %{_datadir}/mozilla/extensions/%{firefox_appid}
|
||||||
|
5
firefox-search-provider.ini
Normal file
5
firefox-search-provider.ini
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Shell Search Provider]
|
||||||
|
DesktopId=firefox.desktop
|
||||||
|
BusName=org.mozilla.Firefox.SearchProvider
|
||||||
|
ObjectPath=/org/mozilla/Firefox/SearchProvider
|
||||||
|
Version=2
|
@ -6,3 +6,5 @@ pref("network.trr.mode", 5);
|
|||||||
pref("extensions.autoDisableScopes", 0);
|
pref("extensions.autoDisableScopes", 0);
|
||||||
pref("extensions.shownSelectionUI", true);
|
pref("extensions.shownSelectionUI", true);
|
||||||
pref("extensions.langpacks.signatures.required", false);
|
pref("extensions.langpacks.signatures.required", false);
|
||||||
|
// enable D-Bus inteface for Gnome Shell search
|
||||||
|
pref("browser.gnome-search-provider.enabled",true);
|
||||||
|
Loading…
Reference in New Issue
Block a user