pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/netsurf netsurf: Update www/netsurf to 3.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cafac75dd4fd
branches:  trunk
changeset: 370712:cafac75dd4fd
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Oct 23 10:45:41 2017 +0000

description:
netsurf: Update www/netsurf to 3.7

pkgsrc changes:
- Remove patches/patch-libsvgtiny_src_svgtiny__internal.h, fixed differently by
  upstream
- Remove patches/patch-nsgenbind* all of them were from upstream and no more
  needed

Changes:
3.7
---
NetSurf 3.7 features performance improvements, improved page layout, and many
fixes. Also new is a treeview search feature, which allows Hotlist (Bookmarks),
History and Cookies to be searched.

diffstat:

 www/netsurf/Makefile                                         |    5 +-
 www/netsurf/PLIST                                            |    5 +-
 www/netsurf/distinfo                                         |   17 +-
 www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h |   15 -
 www/netsurf/patches/patch-nsgenbind_src_nsgenbind-ast.c      |   48 -
 www/netsurf/patches/patch-nsgenbind_src_nsgenbind-ast.h      |   47 -
 www/netsurf/patches/patch-nsgenbind_src_nsgenbind-parser.y   |   93 --
 www/netsurf/patches/patch-nsgenbind_src_webidl-ast.c         |   59 -
 www/netsurf/patches/patch-nsgenbind_src_webidl-ast.h         |   46 -
 www/netsurf/patches/patch-nsgenbind_src_webidl-parser.y      |  352 -----------
 10 files changed, 10 insertions(+), 677 deletions(-)

diffs (truncated from 752 to 300 lines):

diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/Makefile
--- a/www/netsurf/Makefile      Mon Oct 23 10:38:22 2017 +0000
+++ b/www/netsurf/Makefile      Mon Oct 23 10:45:41 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2017/08/24 20:03:42 adam Exp $
+# $NetBSD: Makefile,v 1.63 2017/10/23 10:45:41 leot Exp $
 
-DISTNAME=      netsurf-all-3.6
+DISTNAME=      netsurf-all-3.7
 PKGNAME=       ${DISTNAME:S/-all//}
-PKGREVISION=   6
 CATEGORIES=    www
 MASTER_SITES=  http://download.netsurf-browser.org/netsurf/releases/source-full/
 
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/PLIST
--- a/www/netsurf/PLIST Mon Oct 23 10:38:22 2017 +0000
+++ b/www/netsurf/PLIST Mon Oct 23 10:45:41 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2016/11/20 13:02:14 leot Exp $
+@comment $NetBSD: PLIST,v 1.7 2017/10/23 10:45:41 leot Exp $
 bin/netsurf-gtk
 share/netsurf/Messages
 share/netsurf/SearchEngines
@@ -19,7 +19,7 @@
 share/netsurf/en/welcome.html
 share/netsurf/favicon.png
 share/netsurf/fr/Messages
-share/netsurf/history.gtk2.ui
+share/netsurf/globalhistory.gtk2.ui
 share/netsurf/hotlist.gtk2.ui
 share/netsurf/icons/arrow-l.png
 share/netsurf/icons/content.png
@@ -36,6 +36,7 @@
 share/netsurf/ja/welcome.html
 share/netsurf/languages
 share/netsurf/licence.html
+share/netsurf/localhistory.gtk2.ui
 share/netsurf/login.gtk2.ui
 share/netsurf/maps.html
 share/netsurf/netsurf-16x16.xpm
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/distinfo
--- a/www/netsurf/distinfo      Mon Oct 23 10:38:22 2017 +0000
+++ b/www/netsurf/distinfo      Mon Oct 23 10:45:41 2017 +0000
@@ -1,15 +1,8 @@
-$NetBSD: distinfo,v 1.9 2017/01/14 23:33:34 leot Exp $
+$NetBSD: distinfo,v 1.10 2017/10/23 10:45:41 leot Exp $
 
-SHA1 (netsurf-all-3.6.tar.gz) = d25345415b9b26343c22929280c48066302da916
-RMD160 (netsurf-all-3.6.tar.gz) = 73b7768434b5365c912761837f7d6003c28fb84c
-SHA512 (netsurf-all-3.6.tar.gz) = 1b7dcc80efe8e3944e5db7d74da749821adb3ae39700df3efa6ecb347a00e33350e1d56d4139654d50ac41563edf3de52f0eb25bff6490d74144a7970fb6c3b4
-Size (netsurf-all-3.6.tar.gz) = 8403623 bytes
-SHA1 (patch-libsvgtiny_src_svgtiny__internal.h) = 7e8a0b4d00f5c65b2845f8167a55af8785fac203
+SHA1 (netsurf-all-3.7.tar.gz) = 599807124ed09cc61303be3f7cc5341e913b57c4
+RMD160 (netsurf-all-3.7.tar.gz) = d8c66a1f1262913096304ef43f58e9b4b0cc22a8
+SHA512 (netsurf-all-3.7.tar.gz) = 569c5a1bcce35bd69d3679ff5d7edd086238882ad24a9bcbdb51fccc2a950de45946f840aa38afb339c4c290c3070b4d6fe08eb6c912e9403489415beb3d6a91
+Size (netsurf-all-3.7.tar.gz) = 8281249 bytes
 SHA1 (patch-netsurf_utils_config.h) = de48304e3484a883509ea3ad92658788f7869041
 SHA1 (patch-nsgenbind_src_Makefile) = 1798b84c28fbb9bbdaafe3f182fbd301f5438df1
-SHA1 (patch-nsgenbind_src_nsgenbind-ast.c) = 5931ab321f15dc9754b71545d40bac01274938f6
-SHA1 (patch-nsgenbind_src_nsgenbind-ast.h) = acae94b6386be7dbde190eb7218a25a622b4763b
-SHA1 (patch-nsgenbind_src_nsgenbind-parser.y) = d16777ad3dde63ff4e00553103998326a1ad2903
-SHA1 (patch-nsgenbind_src_webidl-ast.c) = 09d8007e7e5a7b9799a721f180ee16b2cfbda0a9
-SHA1 (patch-nsgenbind_src_webidl-ast.h) = e01bf956b170ad53c60c993ec728d03d1b208e5b
-SHA1 (patch-nsgenbind_src_webidl-parser.y) = 930e39c1efa0fb4c4d4d9737584f83250cbb4a8f
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h
--- a/www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h      Mon Oct 23 10:38:22 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-libsvgtiny_src_svgtiny__internal.h,v 1.1 2017/01/14 23:33:34 leot Exp $
-
-Fix build for gperf>=3.1 where 'len' parameter of the hash function
-and of the lookup function is of type 'size_t'.
-
---- libsvgtiny/src/svgtiny_internal.h.orig     2016-11-19 14:22:38.000000000 +0000
-+++ libsvgtiny/src/svgtiny_internal.h
-@@ -105,6 +105,6 @@ void svgtiny_list_free(struct svgtiny_li
- /* colors.gperf */
- const struct svgtiny_named_color *
-               svgtiny_color_lookup(register const char *str,
--                              register unsigned int len);
-+                              register size_t len);
- 
- #endif
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/patches/patch-nsgenbind_src_nsgenbind-ast.c
--- a/www/netsurf/patches/patch-nsgenbind_src_nsgenbind-ast.c   Mon Oct 23 10:38:22 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-$NetBSD: patch-nsgenbind_src_nsgenbind-ast.c,v 1.1 2016/12/04 12:41:47 martin Exp $
-
-Backport of upstream:
-
-commit 3b3b926d7fb92361b1e8eed2efb351c32cb7bfaa
-Author: Vincent Sanders <vince%kyllikki.org@localhost>
-Date:   Sun Nov 27 14:17:11 2016 +0000
-
-    restructure AST node creation to avoid casts
-    
-    This changes Abstract Syntax Tree node creation for both webidl and
-    genbind syntax tress. If a node is to be created with a numeric value
-    instead of a pointer a separate API is now used instead of casting
-    through void.
-    
-    This fixes parsing and AST building on big endian 64bit platforms
-    where casting through void, which is completely undefined behaviour,
-    generates different and non-functioning code. The solution in this
-    patch is properly portable and correct without relying on casting at
-    all.
-    
-    Thanks to James Clarke <jrtc27%jrtc27.com@localhost> for the original debugging
-    and patch demonstrating how to work round the bug.
-
-diff --git a/src/nsgenbind-ast.c b/src/nsgenbind-ast.c
-index 49732a0..f78fe26 100644
---- nsgenbind/src/nsgenbind-ast.c.orig
-+++ nsgenbind/src/nsgenbind-ast.c
-@@ -132,6 +132,19 @@ genbind_new_node(enum genbind_node_type type, struct genbind_node *l, void *r)
-         return nn;
- }
- 
-+struct genbind_node *
-+genbind_new_number_node(enum genbind_node_type type,
-+                        struct genbind_node *l,
-+                        int number)
-+{
-+        struct genbind_node *nn;
-+        nn = calloc(1, sizeof(struct genbind_node));
-+        nn->type = type;
-+        nn->l = l;
-+        nn->r.number = number;
-+        return nn;
-+}
-+
- 
- /* exported interface defined in nsgenbind-ast.h */
- int
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/patches/patch-nsgenbind_src_nsgenbind-ast.h
--- a/www/netsurf/patches/patch-nsgenbind_src_nsgenbind-ast.h   Mon Oct 23 10:38:22 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-$NetBSD: patch-nsgenbind_src_nsgenbind-ast.h,v 1.1 2016/12/04 12:41:47 martin Exp $
-
-Backport of upstream:
-
-commit 3b3b926d7fb92361b1e8eed2efb351c32cb7bfaa
-Author: Vincent Sanders <vince%kyllikki.org@localhost>
-Date:   Sun Nov 27 14:17:11 2016 +0000
-
-    restructure AST node creation to avoid casts
-    
-    This changes Abstract Syntax Tree node creation for both webidl and
-    genbind syntax tress. If a node is to be created with a numeric value
-    instead of a pointer a separate API is now used instead of casting
-    through void.
-    
-    This fixes parsing and AST building on big endian 64bit platforms
-    where casting through void, which is completely undefined behaviour,
-    generates different and non-functioning code. The solution in this
-    patch is properly portable and correct without relying on casting at
-    all.
-    
-    Thanks to James Clarke <jrtc27%jrtc27.com@localhost> for the original debugging
-    and patch demonstrating how to work round the bug.
-
-diff --git a/src/nsgenbind-ast.h b/src/nsgenbind-ast.h
-index 49db23b..6fb7221 100644
---- nsgenbind/src/nsgenbind-ast.h.orig
-+++ nsgenbind/src/nsgenbind-ast.h
-@@ -71,7 +71,18 @@ int genbind_parsefile(char *infilename, struct genbind_node **ast);
- 
- char *genbind_strapp(char *a, char *b);
- 
-+/**
-+ * create a new node with value from pointer
-+ */
- struct genbind_node *genbind_new_node(enum genbind_node_type type, struct genbind_node *l, void *r);
-+
-+/**
-+ * create a new number node
-+ *
-+ * Create a node with of number type
-+ */
-+struct genbind_node *genbind_new_number_node(enum genbind_node_type type, struct genbind_node *l, int number);
-+
- struct genbind_node *genbind_node_link(struct genbind_node *tgt, struct genbind_node *src);
- 
- struct genbind_node *genbind_node_prepend(struct genbind_node *list, struct genbind_node *inst);
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/patches/patch-nsgenbind_src_nsgenbind-parser.y
--- a/www/netsurf/patches/patch-nsgenbind_src_nsgenbind-parser.y        Mon Oct 23 10:38:22 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-$NetBSD: patch-nsgenbind_src_nsgenbind-parser.y,v 1.1 2016/12/04 12:41:47 martin Exp $
-
-Backport of upstream:
-
-commit 3b3b926d7fb92361b1e8eed2efb351c32cb7bfaa
-Author: Vincent Sanders <vince%kyllikki.org@localhost>
-Date:   Sun Nov 27 14:17:11 2016 +0000
-
-    restructure AST node creation to avoid casts
-    
-    This changes Abstract Syntax Tree node creation for both webidl and
-    genbind syntax tress. If a node is to be created with a numeric value
-    instead of a pointer a separate API is now used instead of casting
-    through void.
-    
-    This fixes parsing and AST building on big endian 64bit platforms
-    where casting through void, which is completely undefined behaviour,
-    generates different and non-functioning code. The solution in this
-    patch is properly portable and correct without relying on casting at
-    all.
-    
-    Thanks to James Clarke <jrtc27%jrtc27.com@localhost> for the original debugging
-    and patch demonstrating how to work round the bug.
-
-diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
-index c6b9a74..fd41c37 100644
---- nsgenbind/src/nsgenbind-parser.y.orig
-+++ nsgenbind/src/nsgenbind-parser.y
-@@ -138,17 +138,17 @@ add_method(struct genbind_node **genbind_ast,
-         }
- 
-         location_node = genbind_new_node(GENBIND_NODE_TYPE_FILE,
--                                genbind_new_node(GENBIND_NODE_TYPE_LINE,
--                                                 cdata_node,
--                                                 (void *)lineno),
-+                                genbind_new_number_node(GENBIND_NODE_TYPE_LINE,
-+                                                        cdata_node,
-+                                                        lineno),
-                                          strdup(filename));
- 
-         /* generate method node */
-         method_node = genbind_new_node(GENBIND_NODE_TYPE_METHOD,
-                                  NULL,
--                                 genbind_new_node(GENBIND_NODE_TYPE_METHOD_TYPE,
-+                                 genbind_new_number_node(GENBIND_NODE_TYPE_METHOD_TYPE,
-                                                   location_node,
--                                                  (void *)methodtype));
-+                                                  methodtype));
- 
-         class_node = genbind_node_find_type_ident(*genbind_ast,
-                                                   NULL,
-@@ -304,11 +304,11 @@ BindingArg:
-         {
-                 $$ = genbind_new_node(GENBIND_NODE_TYPE_METHOD,
-                         NULL,
--                        genbind_new_node(GENBIND_NODE_TYPE_METHOD_TYPE,
-+                        genbind_new_number_node(GENBIND_NODE_TYPE_METHOD_TYPE,
-                                 genbind_new_node(GENBIND_NODE_TYPE_CDATA,
-                                                  NULL,
-                                                  $2),
--                                (void *)$1));
-+                                $1));
-         }
-         ;
- 
-@@ -568,11 +568,11 @@ ClassArg:
-         TOK_PROPERTY Modifiers TOK_IDENTIFIER ';'
-         {
-                 $$ = genbind_new_node(GENBIND_NODE_TYPE_PROPERTY, NULL,
--                        genbind_new_node(GENBIND_NODE_TYPE_MODIFIER,
-+                        genbind_new_number_node(GENBIND_NODE_TYPE_MODIFIER,
-                                 genbind_new_node(GENBIND_NODE_TYPE_IDENT,
-                                                  NULL,
-                                                  $3),
--                                         (void *)$2));
-+                                         $2));
-         }
-         |
-         TOK_FLAGS ClassFlags ';'
-@@ -584,11 +584,11 @@ ClassArg:
-         {
-                 $$ = genbind_new_node(GENBIND_NODE_TYPE_METHOD,
-                         NULL,
--                        genbind_new_node(GENBIND_NODE_TYPE_METHOD_TYPE,
-+                        genbind_new_number_node(GENBIND_NODE_TYPE_METHOD_TYPE,
-                                 genbind_new_node(GENBIND_NODE_TYPE_CDATA,
-                                                  NULL,
-                                                  $2),
--                                (void *)$1));
-+                                $1));
-         }
-         ;
- 
diff -r 5aa7327ae9eb -r cafac75dd4fd www/netsurf/patches/patch-nsgenbind_src_webidl-ast.c
--- a/www/netsurf/patches/patch-nsgenbind_src_webidl-ast.c      Mon Oct 23 10:38:22 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-$NetBSD: patch-nsgenbind_src_webidl-ast.c,v 1.1 2016/12/04 12:41:47 martin Exp $
-
-Backport of upstream:
-
-commit 3b3b926d7fb92361b1e8eed2efb351c32cb7bfaa
-Author: Vincent Sanders <vince%kyllikki.org@localhost>
-Date:   Sun Nov 27 14:17:11 2016 +0000
-
-    restructure AST node creation to avoid casts
-    
-    This changes Abstract Syntax Tree node creation for both webidl and
-    genbind syntax tress. If a node is to be created with a numeric value
-    instead of a pointer a separate API is now used instead of casting



Home | Main Index | Thread Index | Old Index