[arch-commits] Commit in netsurf/repos (8 files)
Alexander Rødseth
arodseth at archlinux.org
Tue Oct 31 11:41:56 UTC 2017
Date: Tuesday, October 31, 2017 @ 11:41:55
Author: arodseth
Revision: 264894
archrelease: copy trunk to community-x86_64, community-i686
Added:
netsurf/repos/community-i686/PKGBUILD
(from rev 264893, netsurf/trunk/PKGBUILD)
netsurf/repos/community-i686/netsurf.sh
(from rev 264893, netsurf/trunk/netsurf.sh)
netsurf/repos/community-x86_64/PKGBUILD
(from rev 264893, netsurf/trunk/PKGBUILD)
netsurf/repos/community-x86_64/netsurf.sh
(from rev 264893, netsurf/trunk/netsurf.sh)
Deleted:
netsurf/repos/community-i686/PKGBUILD
netsurf/repos/community-i686/netsurf.sh
netsurf/repos/community-x86_64/PKGBUILD
netsurf/repos/community-x86_64/netsurf.sh
-----------------------------+
/PKGBUILD | 156 ++++++++++++++++++++++++++++++++++++++++++
/netsurf.sh | 14 +++
community-i686/PKGBUILD | 77 --------------------
community-i686/netsurf.sh | 6 -
community-x86_64/PKGBUILD | 77 --------------------
community-x86_64/netsurf.sh | 6 -
6 files changed, 170 insertions(+), 166 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-10-31 11:41:42 UTC (rev 264893)
+++ community-i686/PKGBUILD 2017-10-31 11:41:55 UTC (rev 264894)
@@ -1,77 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-# Contributor: Georgij Kondratjev <smpuj at bk.ru>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=netsurf
-pkgver=3.7
-pkgrel=1
-pkgdesc='Lightweight and fast web browser'
-arch=('x86_64' 'i686')
-url='http://www.netsurf-browser.org/'
-license=('MIT' 'GPL2')
-depends=('curl' 'desktop-file-utils' 'duktape' 'gtk3' 'lcms' 'libcss>=0.7.0'
- 'libdom>=0.3.2' 'libmng' 'libnsbmp>=0.1.4' 'libnsgif>=0.1.4'
- 'libnsutils>=0.0.3' 'librsvg' 'libutf8proc>=1.3.1')
-makedepends=('check' 'git' 'inetutils' 'netsurf-buildsystem' 'nsgenbind>=0.5'
- 'perl-html-parser' 're2c' 'setconf')
-# invalid HTTPS cert
-source=("http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
- 'netsurf.sh')
-sha256sums=('0b3e78f04728238e4867f2d6505522e777ebafcd0ed02e1e50860885e00a5879'
- '989668adcdd87025edd8e16c52800a1932847131cc9aadbb78a4cd7a527aa116')
-
-prepare() {
- cd "$pkgname-all-$pkgver/$pkgname"
-
- # Use "netsurf" as the name of the executable in /usr/bin
- setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
-
- # Fix compilation issues
- sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' utils/idna.c
-
- # Set build configuration in Makefile.defaults
- for opt in \
- NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
- NETSURF_USE_DUKTAPE=YES
- do
- setconf Makefile.defaults "$opt"
- done
-}
-
-build() {
- make -C "$pkgname-all-$pkgver/$pkgname" \
- NETSURF_GTK_MAJOR=3 \
- TARGET=gtk \
- LIBDIR=lib \
- INCLUDEDIR=include \
- PREFIX=/usr
-}
-
-package() {
- make -C "$pkgname-all-$pkgver/$pkgname" \
- TARGET=gtk \
- NETSURF_GTK_MAJOR=3 \
- LIBDIR=lib \
- INCLUDEDIR=include \
- DESTDIR="$pkgdir" \
- PREFIX=/usr \
- install
-
- # Launch script
- install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
-
- cd "$pkgname-all-$pkgver/$pkgname"
-
- # Desktop icon and shortcut
- install -Dm644 frontends/gtk/res/$pkgname.xpm \
- "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
- install -Dm644 frontends/gtk/res/$pkgname-gtk.desktop \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
-
- # License
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim: ts=2 sw=2 et:
Copied: netsurf/repos/community-i686/PKGBUILD (from rev 264893, netsurf/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-10-31 11:41:55 UTC (rev 264894)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Georgij Kondratjev <smpuj at bk.ru>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=netsurf
+pkgver=3.7
+pkgrel=1
+pkgdesc='Lightweight and fast web browser'
+arch=('x86_64' 'i686')
+url='http://www.netsurf-browser.org/'
+license=('MIT' 'GPL2')
+depends=('curl' 'desktop-file-utils' 'duktape' 'gtk3' 'lcms' 'libcss>=0.7.0'
+ 'libdom>=0.3.2' 'libmng' 'libnsbmp>=0.1.4' 'libnsgif>=0.1.4'
+ 'libnsutils>=0.0.3' 'librsvg' 'libutf8proc>=1.3.1')
+makedepends=('check' 'git' 'inetutils' 'netsurf-buildsystem' 'nsgenbind>=0.5'
+ 'perl-html-parser' 're2c' 'setconf')
+# invalid HTTPS cert
+source=("http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
+ 'netsurf.sh')
+sha256sums=('0b3e78f04728238e4867f2d6505522e777ebafcd0ed02e1e50860885e00a5879'
+ '7ec148aa113d6b3f0ac8051c476db8a1d8201b701b19caa5f87e1a91d8a9543f')
+
+prepare() {
+ cd "$pkgname-all-$pkgver/$pkgname"
+
+ # Fix compilation issues
+ sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' \
+ utils/idna.c
+
+ # Use "netsurf" as the name of the executable in /usr/bin
+ setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
+
+ # Set build configuration in Makefile.defaults
+ for opt in \
+ NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
+ NETSURF_USE_DUKTAPE=YES
+ do
+ setconf Makefile.defaults "$opt"
+ done
+}
+
+build() {
+ CFLAGS="$CFLAGS -w" make -C "$pkgname-all-$pkgver/$pkgname" \
+ NETSURF_GTK_MAJOR=3 \
+ TARGET=gtk \
+ LIBDIR=lib \
+ INCLUDEDIR=include \
+ PREFIX=/usr
+}
+
+package() {
+ make -C "$pkgname-all-$pkgver/$pkgname" \
+ TARGET=gtk \
+ NETSURF_GTK_MAJOR=3 \
+ LIBDIR=lib \
+ INCLUDEDIR=include \
+ DESTDIR="$pkgdir" \
+ PREFIX=/usr \
+ install
+
+ # Launch script
+ install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
+
+ cd "$pkgname-all-$pkgver/$pkgname"
+
+ # Desktop icon and shortcut
+ install -Dm644 frontends/gtk/res/$pkgname.xpm \
+ "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
+ install -Dm644 frontends/gtk/res/$pkgname-gtk.desktop \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ # License
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-i686/netsurf.sh
===================================================================
--- community-i686/netsurf.sh 2017-10-31 11:41:42 UTC (rev 264893)
+++ community-i686/netsurf.sh 2017-10-31 11:41:55 UTC (rev 264894)
@@ -1,6 +0,0 @@
-#!/bin/sh
-shortname=`echo $LANG | cut -b1-2`
-if [ ! -d "/usr/share/netsurf/$shortname" ]; then
- export LANG=en
-fi
-/usr/bin/netsurf-gtk3 "$@"
Copied: netsurf/repos/community-i686/netsurf.sh (from rev 264893, netsurf/trunk/netsurf.sh)
===================================================================
--- community-i686/netsurf.sh (rev 0)
+++ community-i686/netsurf.sh 2017-10-31 11:41:55 UTC (rev 264894)
@@ -0,0 +1,7 @@
+#!/bin/sh
+local shortlang=`echo $LANG | cut -b1-2`
+if [ ! -d "/usr/share/netsurf/$shortlang" ]; then
+ # Use /usr/share/netsurf/en
+ export LANG=en_US.UTF-8
+fi
+/usr/bin/netsurf-gtk3 "$@"
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-10-31 11:41:42 UTC (rev 264893)
+++ community-x86_64/PKGBUILD 2017-10-31 11:41:55 UTC (rev 264894)
@@ -1,77 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-# Contributor: Georgij Kondratjev <smpuj at bk.ru>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=netsurf
-pkgver=3.7
-pkgrel=1
-pkgdesc='Lightweight and fast web browser'
-arch=('x86_64' 'i686')
-url='http://www.netsurf-browser.org/'
-license=('MIT' 'GPL2')
-depends=('curl' 'desktop-file-utils' 'duktape' 'gtk3' 'lcms' 'libcss>=0.7.0'
- 'libdom>=0.3.2' 'libmng' 'libnsbmp>=0.1.4' 'libnsgif>=0.1.4'
- 'libnsutils>=0.0.3' 'librsvg' 'libutf8proc>=1.3.1')
-makedepends=('check' 'git' 'inetutils' 'netsurf-buildsystem' 'nsgenbind>=0.5'
- 'perl-html-parser' 're2c' 'setconf')
-# invalid HTTPS cert
-source=("http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
- 'netsurf.sh')
-sha256sums=('0b3e78f04728238e4867f2d6505522e777ebafcd0ed02e1e50860885e00a5879'
- '989668adcdd87025edd8e16c52800a1932847131cc9aadbb78a4cd7a527aa116')
-
-prepare() {
- cd "$pkgname-all-$pkgver/$pkgname"
-
- # Use "netsurf" as the name of the executable in /usr/bin
- setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
-
- # Fix compilation issues
- sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' utils/idna.c
-
- # Set build configuration in Makefile.defaults
- for opt in \
- NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
- NETSURF_USE_DUKTAPE=YES
- do
- setconf Makefile.defaults "$opt"
- done
-}
-
-build() {
- make -C "$pkgname-all-$pkgver/$pkgname" \
- NETSURF_GTK_MAJOR=3 \
- TARGET=gtk \
- LIBDIR=lib \
- INCLUDEDIR=include \
- PREFIX=/usr
-}
-
-package() {
- make -C "$pkgname-all-$pkgver/$pkgname" \
- TARGET=gtk \
- NETSURF_GTK_MAJOR=3 \
- LIBDIR=lib \
- INCLUDEDIR=include \
- DESTDIR="$pkgdir" \
- PREFIX=/usr \
- install
-
- # Launch script
- install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
-
- cd "$pkgname-all-$pkgver/$pkgname"
-
- # Desktop icon and shortcut
- install -Dm644 frontends/gtk/res/$pkgname.xpm \
- "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
- install -Dm644 frontends/gtk/res/$pkgname-gtk.desktop \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
-
- # License
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim: ts=2 sw=2 et:
Copied: netsurf/repos/community-x86_64/PKGBUILD (from rev 264893, netsurf/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-10-31 11:41:55 UTC (rev 264894)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Georgij Kondratjev <smpuj at bk.ru>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=netsurf
+pkgver=3.7
+pkgrel=1
+pkgdesc='Lightweight and fast web browser'
+arch=('x86_64' 'i686')
+url='http://www.netsurf-browser.org/'
+license=('MIT' 'GPL2')
+depends=('curl' 'desktop-file-utils' 'duktape' 'gtk3' 'lcms' 'libcss>=0.7.0'
+ 'libdom>=0.3.2' 'libmng' 'libnsbmp>=0.1.4' 'libnsgif>=0.1.4'
+ 'libnsutils>=0.0.3' 'librsvg' 'libutf8proc>=1.3.1')
+makedepends=('check' 'git' 'inetutils' 'netsurf-buildsystem' 'nsgenbind>=0.5'
+ 'perl-html-parser' 're2c' 'setconf')
+# invalid HTTPS cert
+source=("http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
+ 'netsurf.sh')
+sha256sums=('0b3e78f04728238e4867f2d6505522e777ebafcd0ed02e1e50860885e00a5879'
+ '7ec148aa113d6b3f0ac8051c476db8a1d8201b701b19caa5f87e1a91d8a9543f')
+
+prepare() {
+ cd "$pkgname-all-$pkgver/$pkgname"
+
+ # Fix compilation issues
+ sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' \
+ utils/idna.c
+
+ # Use "netsurf" as the name of the executable in /usr/bin
+ setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
+
+ # Set build configuration in Makefile.defaults
+ for opt in \
+ NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
+ NETSURF_USE_DUKTAPE=YES
+ do
+ setconf Makefile.defaults "$opt"
+ done
+}
+
+build() {
+ CFLAGS="$CFLAGS -w" make -C "$pkgname-all-$pkgver/$pkgname" \
+ NETSURF_GTK_MAJOR=3 \
+ TARGET=gtk \
+ LIBDIR=lib \
+ INCLUDEDIR=include \
+ PREFIX=/usr
+}
+
+package() {
+ make -C "$pkgname-all-$pkgver/$pkgname" \
+ TARGET=gtk \
+ NETSURF_GTK_MAJOR=3 \
+ LIBDIR=lib \
+ INCLUDEDIR=include \
+ DESTDIR="$pkgdir" \
+ PREFIX=/usr \
+ install
+
+ # Launch script
+ install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
+
+ cd "$pkgname-all-$pkgver/$pkgname"
+
+ # Desktop icon and shortcut
+ install -Dm644 frontends/gtk/res/$pkgname.xpm \
+ "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
+ install -Dm644 frontends/gtk/res/$pkgname-gtk.desktop \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ # License
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/netsurf.sh
===================================================================
--- community-x86_64/netsurf.sh 2017-10-31 11:41:42 UTC (rev 264893)
+++ community-x86_64/netsurf.sh 2017-10-31 11:41:55 UTC (rev 264894)
@@ -1,6 +0,0 @@
-#!/bin/sh
-shortname=`echo $LANG | cut -b1-2`
-if [ ! -d "/usr/share/netsurf/$shortname" ]; then
- export LANG=en
-fi
-/usr/bin/netsurf-gtk3 "$@"
Copied: netsurf/repos/community-x86_64/netsurf.sh (from rev 264893, netsurf/trunk/netsurf.sh)
===================================================================
--- community-x86_64/netsurf.sh (rev 0)
+++ community-x86_64/netsurf.sh 2017-10-31 11:41:55 UTC (rev 264894)
@@ -0,0 +1,7 @@
+#!/bin/sh
+local shortlang=`echo $LANG | cut -b1-2`
+if [ ! -d "/usr/share/netsurf/$shortlang" ]; then
+ # Use /usr/share/netsurf/en
+ export LANG=en_US.UTF-8
+fi
+/usr/bin/netsurf-gtk3 "$@"
More information about the arch-commits
mailing list