- added DuckDuckGo as search option (bnc#801121)

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox-branding-openSUSE?expand=0&rev=106
This commit is contained in:
Wolfgang Rosenauer 2013-01-31 08:28:01 +00:00 committed by Git OBS Bridge
parent f620c44d70
commit 0c910fdca9
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 31 07:40:17 UTC 2013 - wr@rosenauer.org
- added DuckDuckGo as search option (bnc#801121)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 7 21:40:45 UTC 2012 - wr@rosenauer.org Tue Aug 7 21:40:45 UTC 2012 - wr@rosenauer.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package MozillaFirefox-branding-openSUSE # spec file for package MozillaFirefox-branding-openSUSE
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008-2012 Wolfgang Rosenauer # Copyright (c) 2008-2012 Wolfgang Rosenauer
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -24,7 +24,7 @@ BuildRequires: zip
Version: 6.1 Version: 6.1
Release: 0 Release: 0
Summary: openSUSE branding of MozillaFirefox Summary: openSUSE branding of MozillaFirefox
License: BSD-3-Clause ; GPL-2.0+ License: BSD-3-Clause and GPL-2.0+
Group: Productivity/Networking/Web/Browsers Group: Productivity/Networking/Web/Browsers
Url: http://www.opensuse.org/ Url: http://www.opensuse.org/
Source: susefox-20120626.tar.bz2 Source: susefox-20120626.tar.bz2
@ -35,6 +35,7 @@ Source4: firefox.schemas
Source5: distribution.ini.in Source5: distribution.ini.in
Source6: %{name}-COPYING Source6: %{name}-COPYING
Source7: all-openSUSE.js Source7: all-openSUSE.js
Source8: duckduckgo.xml
Supplements: packageand(MozillaFirefox:branding-openSUSE) Supplements: packageand(MozillaFirefox:branding-openSUSE)
Supplements: packageand(firefox-esr:branding-openSUSE) Supplements: packageand(firefox-esr:branding-openSUSE)
Provides: MozillaFirefox-branding = %{version} Provides: MozillaFirefox-branding = %{version}
@ -80,6 +81,7 @@ install -m 0644 distribution.ini $RPM_BUILD_ROOT%{progdir}/distribution/
install -d $RPM_BUILD_ROOT%{progdir}/searchplugins install -d $RPM_BUILD_ROOT%{progdir}/searchplugins
sed -e 's,%VERSION%,%{suseversion},g' \ sed -e 's,%VERSION%,%{suseversion},g' \
%{SOURCE1} > $RPM_BUILD_ROOT%{progdir}/searchplugins/opensuse-software.xml %{SOURCE1} > $RPM_BUILD_ROOT%{progdir}/searchplugins/opensuse-software.xml
cp %{SOURCE8} $RPM_BUILD_ROOT%{progdir}/searchplugins/
# install the system extension # install the system extension
mkdir susefox\@opensuse.org mkdir susefox\@opensuse.org
(cd susefox\@opensuse.org; unzip ../susefox.xpi) (cd susefox\@opensuse.org; unzip ../susefox.xpi)

11
duckduckgo.xml Normal file
View File

@ -0,0 +1,11 @@
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>DuckDuckGo</ShortName>
<Description>We believe in better search and not tracking.</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image height="16" width="16" type="image/x-icon">data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAANcNAADXDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJyDsJmlk8pf6+v3s/v7+++zr/fcnIOyzJyDsgCcg7CYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnIOwBJyDscCcg7PZttJ7/7Pfs//////++xO7/S5GA/ycg7P8nIOz2JyDscCcg7AEAAAAAAAAAAAAAAAAnIOwBJyDstScg7P8nIOz/Y8p5/2fHZf9Yv0z/YcF2/1rBUv8nIOz/JyDs/ycg7P8nIOy1JyDsAQAAAAAAAAAAJyDscCcg7P8nIOz/JyDs/4jQoP/p9+n//////05X3v9LkYD/JyDs/ycg7P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ADAADwDwAA+B8AAA==</Image>
<Url type="text/html" method="GET" template="https://duckduckgo.com/">
<Param name="q" value="{searchTerms}"/>
<Param name="t" value="opensuse"/>
</Url>
<SearchForm>https://duckduckgo.com/</SearchForm>
</SearchPlugin>