diff options
-rw-r--r-- | libre/arora-libre/PKGBUILD | 56 | ||||
-rw-r--r-- | libre/arora-libre/duckduckgo-html.xml | 8 | ||||
-rw-r--r-- | libre/arora-libre/install | 12 | ||||
-rw-r--r-- | libre/arora-libre/libre.patch | 30 | ||||
-rw-r--r-- | libre/arora-libre/searchengines.qrc | 8 | ||||
-rw-r--r-- | libre/arora-libre/seeks-search.xml | 11 | ||||
-rw-r--r-- | libre/arora-libre/wikipedia-en.xml | 1 | ||||
-rw-r--r-- | libre/arora-libre/yacy.xml | 28 | ||||
-rw-r--r-- | libre/midori-gtk3-libre/PKGBUILD | 69 | ||||
-rw-r--r-- | libre/midori-gtk3-libre/midori.install | 14 | ||||
-rw-r--r-- | libre/midori-libre/PKGBUILD | 66 | ||||
-rw-r--r-- | libre/midori-libre/midori.install | 14 | ||||
-rw-r--r-- | libre/qupzilla-libre/PKGBUILD | 4 |
13 files changed, 319 insertions, 2 deletions
diff --git a/libre/arora-libre/PKGBUILD b/libre/arora-libre/PKGBUILD new file mode 100644 index 000000000..0b9aa4f4c --- /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' + 'e96f2d92b24daad0cfa28d02a003b92042651de0' + '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..9b979fa31 --- /dev/null +++ b/libre/arora-libre/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/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&search={searchTerms}" /><Url type="application/x-suggestions+json" method="get" template="http://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0" /><Url type="application/x-suggestions+xml" method="get" template="http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&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}&startRecord={startIndex?}&maximumRecords={count?}&nav=all" /> + <Url type="application/rss+xml" method="GET" template="http://search.ipredator.se/yacysearch.rss?nav=&query={searchTerms}&startRecord={startIndex?}&maximumRecords={count?}&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 &copy; 2004-2012 by Michael Christen et al., YaCy.net; Content: ask peer owner</Attribution> + <SyndicationRight>open</SyndicationRight> +</OpenSearchDescription> diff --git a/libre/midori-gtk3-libre/PKGBUILD b/libre/midori-gtk3-libre/PKGBUILD new file mode 100644 index 000000000..868c578ab --- /dev/null +++ b/libre/midori-gtk3-libre/PKGBUILD @@ -0,0 +1,69 @@ +# $Id: PKGBUILD 95784 2013-08-16 19:36:19Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: rabyte <rabyte.at.gmail.dot.com> +# Contributor: Johannes Krampf <wuischke.at.amule.dot.org> +# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_pkgname=midori-gtk3 +pkgname=midori-gtk3-libre +pkgver=0.5.5 +pkgrel=1 +pkgdesc='Lightweight web browser (GTK3), without non-privacy search providers' +arch=('x86_64' 'i686') +url='http://www.midori-browser.org/' +license=('LGPL2.1') +install='midori.install' +replaces=$_pkgname +conflicts=('midori' "$_pkgname") +provides=('midori' "$_pkgname=$pkgver") +depends=('libzeitgeist' 'webkitgtk' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr') +makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg') +optdepends=('gst-plugins-base: HTML5 OGG videos support' + 'gst-plugins-good: HTML5 H264 and WebM videos support' + 'gst-libav: HTML5 H264 videos support' + 'aria2: download utility') +options=('!emptydirs') +source=("http://www.midori-browser.org/downloads/${_pkgname/-gtk3}_${pkgver}_all_.tar.bz2") +sha256sums=('ca69382a285222a86028abebd73fed1976735883027ff0adc094b627789bbd62') + +prepare() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + # remove non-privacy search providers + sed -i 's|Duck Duck Go|DuckDuckGo HTML| + s|duckduckgo[.]com|duckduckgo.com/html| + \|Yahoo|d + \|name=Yahoo|d + \|text=Yahoo Web Search|d + \|uri=http://search[.]yahoo[.]com/search?p=|d + \|token=y|d + \|Google|d + \|name=Google|d + \|text=Web Search|d + \|uri=http://www[.]google[.]com/search?q=%s|d + \|token=g|d + \|Localize text or URL|d + \|translate[.]google[.]com/?q=|d + ' config/search +} + +build() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --enable-gtk3 \ + --disable-granite + make +} + +package() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/midori-gtk3-libre/midori.install b/libre/midori-gtk3-libre/midori.install new file mode 100644 index 000000000..e6af79c5f --- /dev/null +++ b/libre/midori-gtk3-libre/midori.install @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/midori-libre/PKGBUILD b/libre/midori-libre/PKGBUILD new file mode 100644 index 000000000..dd1f9e36d --- /dev/null +++ b/libre/midori-libre/PKGBUILD @@ -0,0 +1,66 @@ +# $Id: PKGBUILD 95661 2013-08-15 11:42:31Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: rabyte <rabyte.at.gmail.dot.com> +# Contributor: Johannes Krampf <wuischke.at.amule.dot.org> +# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_pkgname=midori +pkgname=midori-libre +pkgver=0.5.5 +pkgrel=1 +pkgdesc='Lightweight web browser (GTK2), without non-privacy search providers' +arch=('x86_64' 'i686') +url='http://www.midori-browser.org/' +license=('LGPL2.1') +install='midori.install' +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +depends=('libzeitgeist' 'webkitgtk2' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique') +makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg') +optdepends=('gstreamer0.10-base-plugins: HTML5 OGG videos support' + 'gstreamer0.10-bad-plugins: HTML5 WebM videos support' + 'gstreamer0.10-ffmpeg: HTML5 H264 videos support' + 'aria2: download utility') +options=('!emptydirs') +source=("http://www.midori-browser.org/downloads/${_pkgname}_${pkgver}_all_.tar.bz2") +sha256sums=('ca69382a285222a86028abebd73fed1976735883027ff0adc094b627789bbd62') + +prepare() { + cd "$srcdir/${_pkgname/-gtk3}-${pkgver}" + + # remove non-privacy search providers + sed -i 's|Duck Duck Go|DuckDuckGo HTML| + s|duckduckgo[.]com|duckduckgo.com/html| + \|Yahoo|d + \|name=Yahoo|d + \|text=Yahoo Web Search|d + \|uri=http://search[.]yahoo[.]com/search?p=|d + \|token=y|d + \|Google|d + \|name=Google|d + \|text=Web Search|d + \|uri=http://www[.]google[.]com/search?q=%s|d + \|token=g|d + \|Localize text or URL|d + \|translate[.]google[.]com/?q=|d + ' config/search +} + +build() { + cd "$srcdir/$_pkgname-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgname-${pkgver}" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/midori-libre/midori.install b/libre/midori-libre/midori.install new file mode 100644 index 000000000..e6af79c5f --- /dev/null +++ b/libre/midori-libre/midori.install @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/qupzilla-libre/PKGBUILD b/libre/qupzilla-libre/PKGBUILD index d5bab2cde..ba0a64ed1 100644 --- a/libre/qupzilla-libre/PKGBUILD +++ b/libre/qupzilla-libre/PKGBUILD @@ -6,8 +6,8 @@ _name=QupZilla _pkgname=qupzilla pkgname=qupzilla-libre pkgver=1.4.4 -pkgrel=1 -pkgdesc="Cross-platform QtWebKit browser, with DuckDuckGo HTML support" +pkgrel=1.1 +pkgdesc="Cross-platform QtWebKit browser, without non-privacy search providers" arch=(i686 x86_64 mips64el) url="http://www.qupzilla.com/" license=('GPL3') |