[arch-commits] Commit in netsurf/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Aug 27 19:40:11 UTC 2014


    Date: Wednesday, August 27, 2014 @ 21:40:10
  Author: arodseth
Revision: 117980

upgpkg: netsurf 3.1-2

Modified:
  netsurf/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-27 19:37:31 UTC (rev 117979)
+++ PKGBUILD	2014-08-27 19:40:10 UTC (rev 117980)
@@ -6,13 +6,13 @@
 
 pkgname=netsurf
 pkgver=3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Lightweight and fast web browser'
 arch=('x86_64' 'i686')
 url='http://www.netsurf-browser.org/'
 license=('MIT' 'GPL2')
-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"
@@ -25,11 +25,6 @@
   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() {
@@ -37,9 +32,9 @@
     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() {




More information about the arch-commits mailing list