summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/arora/PKGBUILD54
-rw-r--r--pcr/arora/duckduckgo-html.xml8
-rw-r--r--pcr/arora/libre.patch30
-rw-r--r--pcr/arora/searchengines.qrc8
-rw-r--r--pcr/arora/seeks-search.xml11
-rw-r--r--pcr/arora/wikipedia-en.xml1
-rw-r--r--pcr/arora/yacy.xml28
7 files changed, 140 insertions, 0 deletions
diff --git a/pcr/arora/PKGBUILD b/pcr/arora/PKGBUILD
new file mode 100644
index 000000000..d75963567
--- /dev/null
+++ b/pcr/arora/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 188496 2013-06-15 04:38:11Z bisson $
+# Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org>
+# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
+# Contributor (Arch): Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=arora
+pkgver=0.11.0
+pkgrel=4.parabola2
+pkgdesc='Lightweight cross-platform Web browser, without nonfree flash recommendation and non-privacy search engines'
+url="http://code.google.com/p/$pkgname/"
+license=('GPL')
+arch=('i686' 'x86_64')
+replaces=($pkgname-libre)
+conflicts=($pkgname-libre)
+depends=('qtwebkit' 'desktop-file-utils')
+source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
+ 'searchengines.qrc'
+ 'libre.patch'
+ 'duckduckgo-html.xml'
+ 'seeks-search.xml'
+ 'wikipedia-en.xml'
+ 'yacy.xml')
+sha1sums=('480cfd7482cccbb7ece866fa10afe9acace29b31'
+ 'd64bdfe9022f8b4b0745a0d9cc1094ee80bbc897'
+ '3982032d669077644d485f4d04d4ae4891bdb0e3'
+ 'e96f2d92b24daad0cfa28d02a003b92042651de0'
+ '07bc208fbc3bf3d08192b2c07e550525953fc0b2'
+ '3eea200350f7436bb2d744f8b6af1b5bbb758e51'
+ '2d515947a8cbeea831490727e88c89ebee17c313')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # remove non-privacy search engines
+ rm -r src/data/searchengines/*
+ install -m644 $srcdir/searchengines.qrc src/data/searchengines
+ install -m644 "$srcdir/"{duckduckgo-html,seeks-search,wikipedia-en,yacy}.xml src/data/searchengines
+ # remove nonfree flash recommendation
+ patch -Np1 -i $srcdir/libre.patch
+ sed -i '\|Flash|d' src/settings.cpp
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt4 PREFIX='/usr' 'CONFIG-=debug' -r
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+}
diff --git a/pcr/arora/duckduckgo-html.xml b/pcr/arora/duckduckgo-html.xml
new file mode 100644
index 000000000..9b979fa31
--- /dev/null
+++ b/pcr/arora/duckduckgo-html.xml
@@ -0,0 +1,8 @@
+<?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>
+ <Image width="16" height="16">http://duckduckgo.com/favicon.ico</Image>
+ <Url type="text/html" template="https://duckduckgo.com/html/?q={searchTerms}"/>
+</OpenSearchDescription>
diff --git a/pcr/arora/libre.patch b/pcr/arora/libre.patch
new file mode 100644
index 000000000..6bb6c6b43
--- /dev/null
+++ b/pcr/arora/libre.patch
@@ -0,0 +1,30 @@
+diff --git a/src/settings.ui b/src/settings.ui
+index 7d4f66e..758beb3 100644
+--- a/src/settings.ui
++++ b/src/settings.ui
+@@ -413,25 +413,6 @@
+ </property>
+ </spacer>
+ </item>
+- <item row="2" column="1">
+- <widget class="QCheckBox" name="clickToFlash">
+- <property name="sizePolicy">
+- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+- <horstretch>0</horstretch>
+- <verstretch>0</verstretch>
+- </sizepolicy>
+- </property>
+- <property name="toolTip">
+- <string>If you enable this option, no flash objects will be loaded by default. Instead, each will be replaced by a button, allowing you to control which objects to load, and which not. </string>
+- </property>
+- <property name="text">
+- <string>Use ClickToFlash on flash plugins</string>
+- </property>
+- <property name="checked">
+- <bool>true</bool>
+- </property>
+- </widget>
+- </item>
+ <item row="3" column="0" colspan="2">
+ <widget class="QCheckBox" name="enableJavascript">
+ <property name="text">
diff --git a/pcr/arora/searchengines.qrc b/pcr/arora/searchengines.qrc
new file mode 100644
index 000000000..93cd9b80d
--- /dev/null
+++ b/pcr/arora/searchengines.qrc
@@ -0,0 +1,8 @@
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource prefix="/searchengines">
+ <file>duckduckgo-html.xml</file>
+ <file>seeks-search.xml</file>
+ <file>wikipedia-en.xml</file>
+ <file>yacy.xml</file>
+</qresource>
+</RCC>
diff --git a/pcr/arora/seeks-search.xml b/pcr/arora/seeks-search.xml
new file mode 100644
index 000000000..f79d87047
--- /dev/null
+++ b/pcr/arora/seeks-search.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+ <ShortName>Seeks Search</ShortName>
+ <Tags>Seeks</Tags>
+ <Description>Real-time p2p pattern matching network for social websearch.</Description>
+ <Contact>ebenazer@seeks-project.info</Contact>
+ <InputEncoding>UTF-8</InputEncoding>
+ <SyndicationRight>open</SyndicationRight>
+ <Image width="16" height="16" type="image/png">http://www.seeks.fr/public/images/seek_icon_16x16_transparent.png</Image>
+ <Url type="text/html" template="http://www.seeks.fr/search/txt/{searchTerms}"/>
+</OpenSearchDescription>
diff --git a/pcr/arora/wikipedia-en.xml b/pcr/arora/wikipedia-en.xml
new file mode 100644
index 000000000..ea590759f
--- /dev/null
+++ b/pcr/arora/wikipedia-en.xml
@@ -0,0 +1 @@
+<?xml version="1.0"?><OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"><ShortName>Wikipedia (en)</ShortName><Description>Wikipedia (en)</Description><Image height="16" width="16" type="image/x-icon">http://bits.wikimedia.org/favicon/wikipedia.ico</Image><Url type="text/html" method="get" template="http://en.wikipedia.org/w/index.php?title=Special:Search&amp;search={searchTerms}" /><Url type="application/x-suggestions+json" method="get" template="http://en.wikipedia.org/w/api.php?action=opensearch&amp;search={searchTerms}&amp;namespace=0" /><Url type="application/x-suggestions+xml" method="get" template="http://en.wikipedia.org/w/api.php?action=opensearch&amp;format=xml&amp;search={searchTerms}&amp;namespace=0" /><moz:SearchForm>http://en.wikipedia.org/wiki/Special:Search</moz:SearchForm></OpenSearchDescription> \ No newline at end of file
diff --git a/pcr/arora/yacy.xml b/pcr/arora/yacy.xml
new file mode 100644
index 000000000..9c97f16cc
--- /dev/null
+++ b/pcr/arora/yacy.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription
+ xmlns="http://a9.com/-/spec/opensearch/1.1/"
+ xmlns:suggestions="http://www.opensearch.org/specifications/opensearch/extensions/suggestions/1.1">
+ <ShortName>YaCy</ShortName>
+ <LongName>YaCy.net - P2P Web Search</LongName>
+ <Image type="image/gif">http://search.ipredator.se/env/grafics/yacy.png</Image>
+ <Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAAAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD////////Chiu+fBm+fRq+fRq+fRq+fRq+fRq8ehXMmk////////////////////////////++exjUqGfZsnjYsXbYsXbYsXbZsnjTp2W+fBr///////////////////////////+9exfs2r/69/L58+z58+z58+z59e/z59bChSn///////////////////////////+9fBnnz638+fX69O369e748un38Ob59O3Ll0fVrGz////////////////////////Jk0HJlUjXuYrWt4jVtYPr28T58+r59OzPn1fPnlX////////////////////////Rolu8eRXCiTPEjTvCijbNnlj169359e7Zs3vLlkf////////////////////////UqmrAgSLt3MP27eH1693169327+T59Ozo0rG/gB////////////////////////////+/gCDv4Mn48+v38Of59Oz58+v48+vr2b2+fRv///////////////////////////+9ehXr17n58+z48ejo0bDp07T48+zx49DBhCj///////////////////////////+/fhzjyJ/59Oz59OzQoVvNmU759Oz58+vKlUbXrnH////////////////////////LlkfUqmn59Oz48+vZtHzNm1D48+v59OzPoFjOnlX////////////////////////OnVPOnFL59e348+vq1rnEiC7u38j69vDXsHTIkT3////////////////////////UqWjIkD327+T58+3s2bzAgSLp07T79/Pmzqq+fBn///////////////////////////+/fx7v4Mr7+PTx5NDHkD3kyqP8+vjs2r+9exf///////////////////////////++fBjQoFnVq2zTp2bGjTjJk0LWrW7SpWC+exf////////////////////////////Nm1C6dQy7eBG8eBK9exe8ehS7dxC6dQzLlkj////////////AH///wB8x+sAf///AD/+PwA///8AP///AD///4A9PU+APoz/gB///4AdxvOAHoz/gB3368AfjU/AHT1PwB/+P
+</Image>
+ <Language>en-us</Language>
+ <OutputEncoding>UTF-8</OutputEncoding>
+ <InputEncoding>UTF-8</InputEncoding>
+ <AdultContent>true</AdultContent>
+ <Description>YaCy is an open-source GPL-licensed software that can be used for stand-alone search engine installations or as a client for a multi-user P2P-based web indexing cluster. This is the access to peer '_anonufe-29422893-0'.</Description>
+
+ <Url type="text/html" method="GET" template="http://search.ipredator.se/yacysearch.html?query={searchTerms}&amp;startRecord={startIndex?}&amp;maximumRecords={count?}&amp;nav=all" />
+ <Url type="application/rss+xml" method="GET" template="http://search.ipredator.se/yacysearch.rss?nav=&amp;query={searchTerms}&amp;startRecord={startIndex?}&amp;maximumRecords={count?}&amp;verify=false" />
+
+ <Url type="application/x-suggestions+json" template="http://search.ipredator.se/suggest.json?query={searchTerms}"/>
+ <Url type="application/x-suggestions+xml" template="http://search.ipredator.se/suggest.xml?query={searchTerms}"/>
+ <!-- syntax according to http://www.loc.gov/standards/sru/. Set verify=true to get snippets in the search results -->
+ <Developer>See https://gitorious.org/+yacy-developers</Developer>
+ <Query role="example" searchTerms="yacy+open+source" />
+ <Tags>YaCy Open Source P2P Web Search</Tags>
+ <Contact>See http://search.ipredator.se/ViewProfile.html?hash=localhash</Contact>
+ <Attribution>YaCy Software &amp;copy; 2004-2012 by Michael Christen et al., YaCy.net; Content: ask peer owner</Attribution>
+ <SyndicationRight>open</SyndicationRight>
+</OpenSearchDescription>