summaryrefslogtreecommitdiff
path: root/libre/arora-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-09-02 16:37:09 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-09-02 16:37:09 -0300
commit48a0f977566f4c325f1bcb1f07d4a11b8f79fbcc (patch)
tree350a11897da0ed104382f1fda8193b9defb6f6b0 /libre/arora-libre
parent09eb6d8f09846f8a1c60da28117a1cdbfbdb6641 (diff)
arora-libre: new package to libre repo
Diffstat (limited to 'libre/arora-libre')
-rw-r--r--libre/arora-libre/PKGBUILD56
-rw-r--r--libre/arora-libre/duckduckgo-html.xml8
-rw-r--r--libre/arora-libre/install12
-rw-r--r--libre/arora-libre/libre.patch30
-rw-r--r--libre/arora-libre/searchengines.qrc8
-rw-r--r--libre/arora-libre/seeks-search.xml11
-rw-r--r--libre/arora-libre/wikipedia-en.xml1
-rw-r--r--libre/arora-libre/yacy.xml28
8 files changed, 154 insertions, 0 deletions
diff --git a/libre/arora-libre/PKGBUILD b/libre/arora-libre/PKGBUILD
new file mode 100644
index 000000000..b167c7225
--- /dev/null
+++ b/libre/arora-libre/PKGBUILD
@@ -0,0 +1,56 @@
+# $Id: PKGBUILD 188496 2013-06-15 04:38:11Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=arora
+pkgname=arora-libre
+pkgver=0.11.0
+pkgrel=4
+pkgdesc='Lightweight cross-platform Web browser, without nonfree flash recommendation and non-privacy search providers'
+url='http://code.google.com/p/arora/'
+license=('GPL')
+arch=('i686' 'x86_64' 'mips64el')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+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'
+ 'cd6a61b9b5f3ea32b849f617b6478840ca6d615c'
+ '07bc208fbc3bf3d08192b2c07e550525953fc0b2'
+ '3eea200350f7436bb2d744f8b6af1b5bbb758e51'
+ '2d515947a8cbeea831490727e88c89ebee17c313')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ # remove non-privacy search providers
+ 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/libre/arora-libre/duckduckgo-html.xml b/libre/arora-libre/duckduckgo-html.xml
new file mode 100644
index 000000000..b53408077
--- /dev/null
+++ b/libre/arora-libre/duckduckgo-html.xml
@@ -0,0 +1,8 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>DuckDuckGo HTML</os:ShortName>
+<os:Description>Search DuckDuckGo HTML</os:Description>
+<os:InputEncoding>UTF-8</os:InputEncoding>
+<os:Image width="16" height="16">http://duckduckgo.com/favicon.ico</os:Image>
+<os:Url type="text/html" method="GET" template="https://duckduckgo.com/html/?q={searchTerms}">
+</os:Url>
+</SearchPlugin>
diff --git a/libre/arora-libre/install b/libre/arora-libre/install
new file mode 100644
index 000000000..b0409600c
--- /dev/null
+++ b/libre/arora-libre/install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null || true
+ update-desktop-database -q || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/libre/arora-libre/libre.patch b/libre/arora-libre/libre.patch
new file mode 100644
index 000000000..6bb6c6b43
--- /dev/null
+++ b/libre/arora-libre/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/libre/arora-libre/searchengines.qrc b/libre/arora-libre/searchengines.qrc
new file mode 100644
index 000000000..93cd9b80d
--- /dev/null
+++ b/libre/arora-libre/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/libre/arora-libre/seeks-search.xml b/libre/arora-libre/seeks-search.xml
new file mode 100644
index 000000000..f79d87047
--- /dev/null
+++ b/libre/arora-libre/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/libre/arora-libre/wikipedia-en.xml b/libre/arora-libre/wikipedia-en.xml
new file mode 100644
index 000000000..ea590759f
--- /dev/null
+++ b/libre/arora-libre/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/libre/arora-libre/yacy.xml b/libre/arora-libre/yacy.xml
new file mode 100644
index 000000000..9c97f16cc
--- /dev/null
+++ b/libre/arora-libre/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>