Thu Sep 3 20:56:10 2015 UTC ()
Update www/netsurf to netsurf-3.3, based on work done in pkgsrc-wip.

Changes:
NetSurf 3.3 released 15 Mar 2015
    NetSurf 3.3 is primarily a bug-fix release. Several of the front ends have
    received quite a bit of attention, with new features and improvements;
    notably the AmigaOS front ends has gained the beginnings of support for
    AmigaOS 3. We recommend all users upgrade.

NetSurf 3.2 released 30 Aug 2014
    NetSurf 3.2 is primarily a bug-fix release. In addition to fixes, a disc
    cache feature has been added, and a little work has been done to improve
    CSS3 support. Several of the front ends have received quite a bit of
    attention, with new features and improvements; notably the GTK, AmigaOS and
    Framebuffer front ends. We recommend all users upgrade.

NetSurf 3.1 released 26 Apr 2014
    NetSurf 3.1 contains many improvements over the previous release. The
    highlights include much faster CSS selection performance, faster start up
    time, new look and feel to the treeviews (hotlist/bookmarks, global history
    and cookie manager), improved options handling, undo/redo support in
    textareas, and general improvement of forms. Also included are many other
    additions, optimisations and bug fixes. We recommend that all users
    upgrade.

NetSurf 3.0 released 20 Apr 2013
    NetSurf 3.0 contains many changes over the 2.x release series. The biggest
    difference is the use of our new Document Object Model library, LibDOM.
    This new library is a foundation that paves the way for us to implement a
    fully dynamic layout engine in the future. Other improvements in NetSurf
    3.0 include completely new textarea support, ability to fetch and parse CSS
    in parallel with HTML documents, extensive behind-the-scenes refactoring,
    and a host of smaller changes and fixes. A more complete listing is
    available in the Change Log.

NetSurf 2.9 released 28 Apr 2012
    NetSurf 2.9 contains many improvements over the previous release. The most
    significant changes are new multi-tasking behaviour, optimised URL
    handling, fetcher optimisations, cache optimisations, and faster CSS
    selection. Full details in the change log. We recommend all users upgrade.

NetSurf 2.8 released 21 Sep 2011
    NetSurf 2.8 adds support for frames and iframes on all platforms, MIME type
    sniffing, and a new image cache. Image decoding can now be deferred until
    images are required for more optimal resource use and faster page load
    times. The release also incorporates many other new features,
    optimisations, improvements and bug fixes. Full details in the change log.
    We recommend all users upgrade.

NetSurf 2.7 released 16 Apr 2011
    NetSurf 2.7 contains many improvements over the previous release. The most
    significant change is the addition of core global history, bookmarks and
    cookie management features. Full details in the change log. We recommend
    all users upgrade.

NetSurf 2.6 released 21 Sep 2010
    NetSurf 2.6 is primarily a bug fix release. It contains some improvements
    to page rendering, fetching & caching, memory usage, as well as some
    front-end specific fixes. Full details in the change log. We recommend all
    users upgrade.

NetSurf 2.5 released 24 Apr 2010
    NetSurf 2.5 contains many improvements over the previous release. The major
    changes are the use of our brand new CSS parser and selection engine
    (LibCSS), and a newly designed cache for fetched content. Full details in
    the change log. We recommend all users upgrade.

NetSurf 2.1 released 23 May 2009
    NetSurf 2.1 is a bug fix release. It contains some improvements to page
    rendering as well as some front-end specific fixes. Full details in the
    change log. We recommend all users upgrade.

NetSurf 2.0 released 25 Apr 2009
    NetSurf 2 is a major update over the 1.x release series, and represents
    almost two years of development. New features include a new HTML parser,
    SVG support, PDF export, improved page layout and a more complete GTK
    interface. This is also the first release for our new framebuffer target
    and the native ports to AmigaOS, BeOS and Haiku.


(leot)
diff -r1.42 -r1.43 pkgsrc/www/netsurf/Makefile
diff -r1.2 -r1.3 pkgsrc/www/netsurf/PLIST
diff -r1.2 -r1.3 pkgsrc/www/netsurf/distinfo
diff -r1.1.1.1 -r0 pkgsrc/www/netsurf/patches/patch-netsurf
diff -r0 -r1.1 pkgsrc/www/netsurf/patches/patch-netsurf_utils_config.h

cvs diff -r1.42 -r1.43 pkgsrc/www/netsurf/Makefile (expand / switch to unified diff)

--- pkgsrc/www/netsurf/Makefile 2015/06/12 10:51:50 1.42
+++ pkgsrc/www/netsurf/Makefile 2015/09/03 20:56:09 1.43
@@ -1,49 +1,32 @@ @@ -1,49 +1,32 @@
1# $NetBSD: Makefile,v 1.42 2015/06/12 10:51:50 wiz Exp $ 1# $NetBSD: Makefile,v 1.43 2015/09/03 20:56:09 leot Exp $
2# 2#
3 3
4DISTNAME= netsurf-1.2-src 4DISTNAME= netsurf-all-3.3
5PKGNAME= ${DISTNAME:S/-src$//} 5PKGNAME= ${DISTNAME:S/-all//}
6PKGREVISION= 34 
7CATEGORIES= www 6CATEGORIES= www
8MASTER_SITES= http://www.netsurf-browser.org/downloads/releases/ 7MASTER_SITES= http://download.netsurf-browser.org/netsurf/releases/source-full/
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.netsurf-browser.org/ 10HOMEPAGE= http://www.netsurf-browser.org/
12COMMENT= Web browser for RISC OS and UNIX-like platforms 11COMMENT= Web browser for RISC OS and UNIX-like platforms
 12LICENSE= gnu-gpl-v2 AND mit
13 13
14BUILD_DEPENDS+= lemon>=1.0:../../devel/lemon 14BUILD_DEPENDS+= lemon>=1.0:../../devel/lemon
15BUILD_DEPENDS+= re2c>=0.12:../../devel/re2c 15BUILD_DEPENDS+= re2c>=0.12:../../devel/re2c
16 16
17# current codebase needs strndup 17BUILD_TARGET= build
18NOT_FOR_PLATFORM= NetBSD-[0-3]*-* 18USE_TOOLS+= bison flex gmake perl:build pax pkg-config
19 
20WRKSRC= ${WRKDIR}/netsurf 
21 
22USE_TOOLS+= gmake perl:build pax pkg-config 
23 19
24INSTALLATION_DIRS+= share/netsurf bin 20INSTALLATION_DIRS+= share/netsurf bin
25 21
26# needed for netsurf-1.2 and gtk2-2.20 -- remove on next update! 22BUILDLINK_TRANSFORM+= rm:-Werror
27BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED 
28BUILDLINK_TRANSFORM+= rm:-DGDK_DISABLE_DEPRECATED 
29BUILDLINK_TRANSFORM+= rm:-DGDK_PIXBUF_DISABLE_DEPRECATED 
30BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED 
31 
32post-extract: 
33 find ${WRKSRC}/!NetSurf -type f | xargs chmod a-x 
34 
35do-install: 
36 cd ${WRKSRC} && pax -rw !NetSurf ${DESTDIR}${PREFIX}/share/netsurf/ 
37 cd ${WRKSRC} && pax -rw gtk/res ${DESTDIR}${PREFIX}/share/netsurf/ 
38 ${INSTALL_PROGRAM} ${WRKSRC}/nsgtk ${DESTDIR}${PREFIX}/share/netsurf/nsgtk 
39 ${INSTALL_SCRIPT} ${WRKSRC}/netsurf ${DESTDIR}${PREFIX}/bin/netsurf 
40 23
41.include "../../x11/gtk2/buildlink3.mk" 24.include "../../x11/gtk2/buildlink3.mk"
42.include "../../devel/libglade/buildlink3.mk" 25.include "../../devel/libglade/buildlink3.mk"
43.include "../../graphics/librsvg/buildlink3.mk" 26.include "../../graphics/librsvg/buildlink3.mk"
44.include "../../graphics/lcms/buildlink3.mk" 27.include "../../graphics/lcms/buildlink3.mk"
45.include "../../security/openssl/buildlink3.mk" 28.include "../../security/openssl/buildlink3.mk"
46.include "../../www/curl/buildlink3.mk" 29.include "../../www/curl/buildlink3.mk"
47.include "../../textproc/libxml2/buildlink3.mk" 30.include "../../textproc/libxml2/buildlink3.mk"
48.include "../../graphics/mng/buildlink3.mk" 31.include "../../graphics/mng/buildlink3.mk"
49.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/www/netsurf/PLIST (expand / switch to unified diff)

--- pkgsrc/www/netsurf/PLIST 2009/06/14 22:00:29 1.2
+++ pkgsrc/www/netsurf/PLIST 2015/09/03 20:56:09 1.3
@@ -1,51 +1,96 @@ @@ -1,51 +1,96 @@
1@comment $NetBSD: PLIST,v 1.2 2009/06/14 22:00:29 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.3 2015/09/03 20:56:09 leot Exp $
2bin/netsurf 2bin/netsurf
3share/netsurf/!NetSurf/!Boot,feb 3share/netsurf/Messages
4share/netsurf/!NetSurf/!Help 4share/netsurf/SearchEngines
5share/netsurf/!NetSurf/!Run,feb 5share/netsurf/adblock.css
6share/netsurf/!NetSurf/!Sprites,ff9 6share/netsurf/arrow_down_8x32.png
7share/netsurf/!NetSurf/!Sprites22,ff9 7share/netsurf/ca-bundle.txt
8share/netsurf/!NetSurf/5Sprites,ff9 8share/netsurf/cookies.gtk2.ui
9share/netsurf/!NetSurf/5Sprites11,ff9 9share/netsurf/credits.html
10share/netsurf/!NetSurf/5Sprites22,ff9 10share/netsurf/de/Messages
11share/netsurf/!NetSurf/ASprites,ff9 11share/netsurf/de/welcome.html
12share/netsurf/!NetSurf/ASprites11,ff9 12share/netsurf/default.css
13share/netsurf/!NetSurf/ASprites22,ff9 13share/netsurf/default.ico
14share/netsurf/!NetSurf/Docs/about/index_en,faf 14share/netsurf/downloads.gtk2.ui
15share/netsurf/!NetSurf/Docs/about/libcurl,b60 15share/netsurf/en/Messages
16share/netsurf/!NetSurf/Docs/about/libmng,b60 16share/netsurf/en/credits.html
17share/netsurf/!NetSurf/Docs/about/libxml2,b60 17share/netsurf/en/licence.html
18share/netsurf/!NetSurf/Docs/about/openssl,695 18share/netsurf/en/maps.html
19share/netsurf/!NetSurf/Docs/online,b60 19share/netsurf/en/welcome.html
20share/netsurf/!NetSurf/FixFonts,ffb 20share/netsurf/favicon.png
21share/netsurf/!NetSurf/KickNS,ffb 21share/netsurf/fr/Messages
22share/netsurf/!NetSurf/ReadMe 22share/netsurf/gtkdefault.css
23share/netsurf/!NetSurf/Resources/AdBlock,f79 23share/netsurf/history.gtk2.ui
24share/netsurf/!NetSurf/Resources/Aletheia,ffd 24share/netsurf/hotlist.gtk2.ui
25share/netsurf/!NetSurf/Resources/CSS,f79 25share/netsurf/icons/arrow-l.png
26share/netsurf/!NetSurf/Resources/Fonts/NSSymbol/Encoding 26share/netsurf/icons/content.png
27share/netsurf/!NetSurf/Resources/Fonts/NSSymbol/IntMetrics,ff6 27share/netsurf/icons/directory.png
28share/netsurf/!NetSurf/Resources/Fonts/NSSymbol/Outlines,ff6 28share/netsurf/icons/directory2.png
29share/netsurf/!NetSurf/Resources/Image,ff9 29share/netsurf/icons/hotlist-add.png
30share/netsurf/!NetSurf/Resources/LangNames 30share/netsurf/icons/hotlist-rmv.png
31share/netsurf/!NetSurf/Resources/Sprites,ff9 31share/netsurf/icons/search.png
32share/netsurf/!NetSurf/Resources/ca-bundle 32share/netsurf/internal.css
33share/netsurf/!NetSurf/Resources/de/Messages 33share/netsurf/it/Messages
34share/netsurf/!NetSurf/Resources/de/Templates,fec 34share/netsurf/it/credits.html
35share/netsurf/!NetSurf/Resources/en/Messages 35share/netsurf/it/licence.html
36share/netsurf/!NetSurf/Resources/en/Templates,fec 36share/netsurf/it/welcome.html
37share/netsurf/!NetSurf/Resources/fr/Messages 37share/netsurf/ja/welcome.html
38share/netsurf/!NetSurf/Resources/fr/Templates,fec 38share/netsurf/languages
39share/netsurf/!NetSurf/Resources/nl/Messages 39share/netsurf/licence.html
40share/netsurf/!NetSurf/Resources/nl/Templates,fec 40share/netsurf/login.gtk2.ui
41share/netsurf/gtk/res/adblock.css 41share/netsurf/maps.html
42share/netsurf/gtk/res/ca-bundle.txt 42share/netsurf/netsurf-16x16.xpm
43share/netsurf/gtk/res/default.css 43share/netsurf/netsurf.gtk2.ui
44share/netsurf/gtk/res/docs/about 44share/netsurf/netsurf.png
45share/netsurf/gtk/res/gtkdefault.css 45share/netsurf/netsurf.xpm
46share/netsurf/gtk/res/messages 46share/netsurf/nl/Messages
47share/netsurf/gtk/res/netsurf-logo.png 47share/netsurf/options.gtk2.ui
48share/netsurf/gtk/res/netsurf.glade 48share/netsurf/password.gtk2.ui
49share/netsurf/gtk/res/netsurf.xpm 49share/netsurf/quirks.css
50share/netsurf/gtk/res/throbber.gif 50share/netsurf/ssl.gtk2.ui
51share/netsurf/nsgtk 51share/netsurf/tabcontents.gtk2.ui
 52share/netsurf/themelist
 53share/netsurf/themes/Alpha.png
 54share/netsurf/themes/gtk+/back.png
 55share/netsurf/themes/gtk+/closetab.png
 56share/netsurf/themes/gtk+/closewindow.png
 57share/netsurf/themes/gtk+/copy.png
 58share/netsurf/themes/gtk+/cut.png
 59share/netsurf/themes/gtk+/delete.png
 60share/netsurf/themes/gtk+/forward.png
 61share/netsurf/themes/gtk+/fullscreen.png
 62share/netsurf/themes/gtk+/helpabout.png
 63share/netsurf/themes/gtk+/helpcontents.png
 64share/netsurf/themes/gtk+/history.png
 65share/netsurf/themes/gtk+/home.png
 66share/netsurf/themes/gtk+/info
 67share/netsurf/themes/gtk+/newtab.png
 68share/netsurf/themes/gtk+/newwindow.png
 69share/netsurf/themes/gtk+/openfile.png
 70share/netsurf/themes/gtk+/paste.png
 71share/netsurf/themes/gtk+/preferences.png
 72share/netsurf/themes/gtk+/print.png
 73share/netsurf/themes/gtk+/printpreview.png
 74share/netsurf/themes/gtk+/quit.png
 75share/netsurf/themes/gtk+/reload.png
 76share/netsurf/themes/gtk+/savepage.png
 77share/netsurf/themes/gtk+/selectall.png
 78share/netsurf/themes/gtk+/stop.png
 79share/netsurf/themes/gtk+/viewsource.png
 80share/netsurf/themes/gtk+/zoomminus.png
 81share/netsurf/themes/gtk+/zoomnormal.png
 82share/netsurf/themes/gtk+/zoomplus.png
 83share/netsurf/throbber/throbber0.png
 84share/netsurf/throbber/throbber1.png
 85share/netsurf/throbber/throbber2.png
 86share/netsurf/throbber/throbber3.png
 87share/netsurf/throbber/throbber4.png
 88share/netsurf/throbber/throbber5.png
 89share/netsurf/throbber/throbber6.png
 90share/netsurf/throbber/throbber7.png
 91share/netsurf/throbber/throbber8.png
 92share/netsurf/toolbar.gtk2.ui
 93share/netsurf/toolbarIndices
 94share/netsurf/viewdata.gtk2.ui
 95share/netsurf/warning.gtk2.ui
 96share/netsurf/welcome.html

cvs diff -r1.2 -r1.3 pkgsrc/www/netsurf/distinfo (expand / switch to unified diff)

--- pkgsrc/www/netsurf/distinfo 2013/11/21 11:39:37 1.2
+++ pkgsrc/www/netsurf/distinfo 2015/09/03 20:56:09 1.3
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.2 2013/11/21 11:39:37 obache Exp $ 1$NetBSD: distinfo,v 1.3 2015/09/03 20:56:09 leot Exp $
2 2
3SHA1 (netsurf-1.2-src.tar.gz) = 705c721e24847501ede7d32766be28135e8f2cf9 3SHA1 (netsurf-all-3.3.tar.gz) = ec52ff9c8f43140d403cc2a434de6c919d9d6079
4RMD160 (netsurf-1.2-src.tar.gz) = 0e30e117517ee4833c378ec9e1e4b38e8bc69e5d 4RMD160 (netsurf-all-3.3.tar.gz) = 74da2b99bcce4857f5975d4bc2caa4b9a0a6f5eb
5Size (netsurf-1.2-src.tar.gz) = 1025947 bytes 5Size (netsurf-all-3.3.tar.gz) = 6088708 bytes
6SHA1 (patch-netsurf) = 07dd275051923e64bddcb6936dda46b57eecdf7a 6SHA1 (patch-netsurf_utils_config.h) = de48304e3484a883509ea3ad92658788f7869041

File Deleted: pkgsrc/www/netsurf/patches/Attic/patch-netsurf

File Added: pkgsrc/www/netsurf/patches/Attic/patch-netsurf_utils_config.h
$NetBSD: patch-netsurf_utils_config.h,v 1.1 2015/09/03 20:56:10 leot Exp $

NetBSD has strcasestr(3).

--- netsurf/utils/config.h.orig	2015-03-11 07:34:53.000000000 +0000
+++ netsurf/utils/config.h
@@ -31,7 +31,7 @@
 char *strndup(const char *s, size_t n);
 #endif
 
-#if (defined(_GNU_SOURCE) || defined(__APPLE__) || defined(__HAIKU__) || defined(__OpenBSD__))
+#if (defined(_GNU_SOURCE) || defined(__APPLE__) || defined(__HAIKU__) || defined(__NetBSD__) || defined(__OpenBSD__))
 #define HAVE_STRCASESTR
 #else
 #undef HAVE_STRCASESTR