From 48a0f977566f4c325f1bcb1f07d4a11b8f79fbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 2 Sep 2013 16:37:09 -0300 Subject: arora-libre: new package to libre repo --- libre/arora-libre/PKGBUILD | 56 +++++++++++++++++++++++++++++++++++ libre/arora-libre/duckduckgo-html.xml | 8 +++++ libre/arora-libre/install | 12 ++++++++ libre/arora-libre/libre.patch | 30 +++++++++++++++++++ libre/arora-libre/searchengines.qrc | 8 +++++ libre/arora-libre/seeks-search.xml | 11 +++++++ libre/arora-libre/wikipedia-en.xml | 1 + libre/arora-libre/yacy.xml | 28 ++++++++++++++++++ 8 files changed, 154 insertions(+) create mode 100644 libre/arora-libre/PKGBUILD create mode 100644 libre/arora-libre/duckduckgo-html.xml create mode 100644 libre/arora-libre/install create mode 100644 libre/arora-libre/libre.patch create mode 100644 libre/arora-libre/searchengines.qrc create mode 100644 libre/arora-libre/seeks-search.xml create mode 100644 libre/arora-libre/wikipedia-en.xml create mode 100644 libre/arora-libre/yacy.xml 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 +# Contributor: Pierre Schmitz +# Contributor: Daniel J Griffiths +# Maintainer (Parabola): AndrĂ© Silva + +_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 @@ + +DuckDuckGo HTML +Search DuckDuckGo HTML +UTF-8 +http://duckduckgo.com/favicon.ico + + + 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 @@ + + + +- +- +- +- +- 0 +- 0 +- +- +- +- 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. +- +- +- Use ClickToFlash on flash plugins +- +- +- true +- +- +- + + + 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 @@ + + + duckduckgo-html.xml + seeks-search.xml + wikipedia-en.xml + yacy.xml + + 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 @@ + + + Seeks Search + Seeks + Real-time p2p pattern matching network for social websearch. + ebenazer@seeks-project.info + UTF-8 + open + http://www.seeks.fr/public/images/seek_icon_16x16_transparent.png + + 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 @@ +Wikipedia (en)Wikipedia (en)http://bits.wikimedia.org/favicon/wikipedia.icohttp://en.wikipedia.org/wiki/Special:Search \ 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 @@ + + + YaCy + YaCy.net - P2P Web Search + http://search.ipredator.se/env/grafics/yacy.png + 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 + + en-us + UTF-8 + UTF-8 + true + 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'. + + + + + + + + See https://gitorious.org/+yacy-developers + + YaCy Open Source P2P Web Search + See http://search.ipredator.se/ViewProfile.html?hash=localhash + YaCy Software © 2004-2012 by Michael Christen et al., YaCy.net; Content: ask peer owner + open + -- cgit v1.2.3-2-g168b