summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-28 01:02:31 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-28 01:02:31 -0300
commit620aff63a954982d4e25f9567e76683aaf2c692e (patch)
tree774218b51ed0eaa854a6feb900977787ee86665d
parent87d082b6a39c317ceed38094934024c72ac27ed0 (diff)
netsurf-libre-3.1-2: disable javascript support (FS#41582 -> https://bugs.archlinux.org/task/41582)
-rw-r--r--libre/netsurf-libre/PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/libre/netsurf-libre/PKGBUILD b/libre/netsurf-libre/PKGBUILD
index 21cedb2a4..70ed26c7e 100644
--- a/libre/netsurf-libre/PKGBUILD
+++ b/libre/netsurf-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 110427 2014-04-29 13:53:01Z arodseth $
+# $Id: PKGBUILD 117980 2014-08-27 19:40:10Z arodseth $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): Paulo Matias <matiasΘarchlinux-br·org>
# Contributor (Arch): Georgij Kondratjev <smpuj@bk.ru>
@@ -8,7 +8,7 @@
_pkgname=netsurf
pkgname=netsurf-libre
pkgver=3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight and fast web browser, without non-privacy search providers'
arch=('x86_64' 'i686' 'mips64el')
url='http://www.netsurf-browser.org/'
@@ -16,8 +16,8 @@ license=('MIT' 'GPL2')
replaces=($_pkgname)
conflicts=($_pkgname)
provides=($_pkgname=$pkgver)
-depends=('libmng' 'librsvg' 'libwebp' 'curl' 'lcms' 'desktop-file-utils' 'libnsbmp>=0.1.1' 'libnsgif>=0.1.1' 'libcss>=0.3.0' 'libdom>=0.1.0' 'js185' 'gtk2') # gtk3
-makedepends=('js185' 're2c' 'gendesk' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind' 'inetutils')
+depends=('libmng' 'librsvg' 'libwebp' 'curl' 'lcms' 'desktop-file-utils' 'libnsbmp>=0.1.1' 'libnsgif>=0.1.1' 'libcss>=0.3.0' 'libdom>=0.1.0' 'gtk2') # gtk3
+makedepends=('re2c' 'gendesk' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind' 'inetutils')
install="$_pkgname.install"
source=("netsurf.png::http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-browser/icon_48x48_netsurf.png"
"http://download.$_pkgname-browser.org/$_pkgname/releases/source/$_pkgname-$pkgver-src.tar.gz"
@@ -99,11 +99,6 @@ prepare() {
gendesk -f --pkgname "$_pkgname" --pkgdesc "$pkgdesc" --exec 'netsurf %U' \
--genericname 'Web Browser' --comment 'Lightweight web browser' \
--mimetypes 'text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo'
-
- # If patching the GTK3 deprecated errors by including files from
- # /usr/include/gtk-3.0/gtk/deprecated, something like this might be useful:
- #setconf "$_pkgname-$pkgver/Makefile.defaults" \
- # CFLAGS " -DGTK_COMPILATION"
}
build() {
@@ -111,9 +106,9 @@ build() {
PREFIX=/usr \
TARGET=gtk \
NETSURF_USE_WEBP=YES \
- NETSURF_USE_VIDEO=NO
- #NETSURF_GTK_MAJOR=3 # The latest version of GTK3 has deprecated several
- # features that are used by NetSurf.
+ NETSURF_USE_VIDEO=NO \
+ NETSURF_USE_JS=NO \
+ NETSURF_USE_MOZJS=NO # Javascript is disabled, for now. See FS#41582
}
package() {