[Pkg-mozext-commits] [noscript] 04/05: Ship a non-JavaScript search provider (DuckDuckGo)

David Prévot taffit at moszumanska.debian.org
Tue Feb 25 02:08:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository noscript.

commit c0e01347bd196ee51bef145ca528ff163e4fcbde
Author: David Prévot <taffit at debian.org>
Date:   Mon Feb 24 18:39:05 2014 -0400

    Ship a non-JavaScript search provider (DuckDuckGo)
    
    Source: https://duckduckgo.com/opensearch_html.xml
    Closes: #739395
    Thanks: Daniel Kahn Gillmor
---
 debian/install             |  1 +
 debian/opensearch_html.xml | 12 ++++++++++++
 debian/rules               |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..1aa4ef8
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/opensearch_html.xml etc/iceweasel/searchplugins/common
diff --git a/debian/opensearch_html.xml b/debian/opensearch_html.xml
new file mode 100644
index 0000000..c524e3f
--- /dev/null
+++ b/debian/opensearch_html.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> 
+  <ShortName>DuckDuckGo HTML</ShortName> 
+  <Description>Search DuckDuckGo (HTML)</Description> 
+  <InputEncoding>UTF-8</InputEncoding> 
+  <LongName>DuckDuckGo Search (HTML, non-JS)</LongName> 
+  <Image height="16" width="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAB8lBMVEUAAADkRQzjPwPjQQXkRQ3iPwTiQQXgPQPeQgrcOwPVNgDVNQDWOgbTMwDRMgDQMwDSMwDRNwTQLgDRJgDSJwDSLgDSNwTjOgDiOADjOQDkPADhQAXzs5v+/fv////0vKbiRQvgPQHpdUr85NzuknPdKgDcIwDnZzj2w7HqeU/gPQLsimb/+PftjWn97Obpb0LdJQDeLQDtjmvsi2jgSBDnbULgOQD/39HgLQDeMgDpeFLgSBH0v670uqbaJQD2qImWvP/G1Ob5+/3u//+fvvXyp47dMwDaLwD0u6v0v6/aNQD [...]
+  <Url type="text/html" method="post" template="https://duckduckgo.com/html/">
+    <Param name="q" value="{searchTerms}"/>  
+  </Url>
+  <Url type="application/x-suggestions+json" template="https://duckduckgo.com/ac/?q={searchTerms}&type=list"/>
+</OpenSearchDescription> 
diff --git a/debian/rules b/debian/rules
index 974484e..2efd887 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
 	dh $@ --with xul-ext --buildsystem=xul_ext --parallel
 
 override_dh_install:
+	dh_install -O--buildsystem=xul_ext -O--parallel
 	rm -f debian/xul-ext-noscript/usr/share/xul-ext/noscript/NoScript_License.txt
 	rm -f debian/xul-ext-noscript/usr/share/xul-ext/noscript/GPL.txt
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/noscript.git



More information about the Pkg-mozext-commits mailing list