[UPDATE] otter-browser 0.9.09 beta 9 => 0.9.10 beta 10

2016-05-03 Thread Adam Wolk
Hi ports@,

Otter browser beta 10 has been just released

Notable changes since previous port:
 - the patches folder can be dropped again since we are not including
   any hotfixes
 - dropped GH_* variables in favour of an upstream tarball hosted on
   sourceforge
 - changed my MAINTAINER email while here
 - Qt5Script & Qt5Sql are no longer needed in WANTLIB
 - added gcrypt & hunspell-1.3 to WANTLIB
 - added security/libgcrypt & text/hunspell to LIB_DEPENDS
 - two new translations added to PLIST

Screenshot of the browser running with a MDI window and the about
dialog:
  http://imgur.com/20apmZZ

Notable changes since version 0.9.09 (app wise):
* added initial support for User Scripts;
* added Addons Manager;
* added alternative display mode and support for optional headers for
  URL completion in address field;
* many enhancements in experimental backend for QtWebEngine (Blink):
  * added support for entering full screen mode;
  * added support for content blocking;
  * added support for several missing actions;
* several fixes and improvements in content blocking;
* improved CMake build system (also now it is the only officially
  supported);
* added new backend for storing browsing history;
* many other fixes and improvements.

Known issues:

* new browsing history backend does not store favicons yet;
* spell checking is not available in Windows builds yet.

Tested on amd64 -current snapshot from 1st of May using the Gnome
desktop using qt5-5.5.1p0.

Previously known issues reported upstream & fixed:
 - We didn't ship spell checking when the project still used
   KF5-Sonnet. They use hunspell now. I didn't manage yet to get this
   working but that was just a quick test without digging in.

Any comments? OK's?

Index: Makefile
===
RCS file: /cvs/ports/www/otter-browser/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile2 Jan 2016 21:06:45 -   1.12
+++ Makefile3 May 2016 14:04:02 -
@@ -1,32 +1,28 @@
 # $OpenBSD: Makefile,v 1.12 2016/01/02 21:06:45 sthen Exp $
 COMMENT =  browser aiming to recreate classic Opera (12.x) UI 
using Qt5
 
-GH_ACCOUNT =   OtterBrowser
-GH_PROJECT =   otter-browser
-V =0.9.09pl0
-# GH_TAGNAME = v$V
-# We grab a GH_COMMIT because upstream released hotfixes
-# that we were asked to incorporate:
-# - fixed checkboxes in content blocking manager
-# - fixed saving dialog sizes
-# - added extra fallback when looking for address field associated with tab
-GH_COMMIT =d1a1b0bbc8d80d0d7ed7a1fbbf83975a5ddea69e
-DISTNAME = ${GH_PROJECT}-$V
+MASTER_SITES = 
${MASTER_SITE_SOURCEFORGE:=otter-browser/otter-browser-beta10/}
+DISTNAME = otter-browser-0.9.10
+
+EXTRACT_SUFX = .tar.bz2
 
 CATEGORIES =   www
 
 HOMEPAGE = http://otter-browser.org/
 
-MAINTAINER =   Adam Wolk 
+MAINTAINER =   Adam Wolk 
 
 # License GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += c m pthread Qt5Core Qt5DBus Qt5Gui Qt5Multimedia
-WANTLIB += Qt5Network Qt5PrintSupport Qt5Script
-WANTLIB += Qt5Sql Qt5WebKit Qt5WebKitWidgets Qt5Widgets 
Qt5XmlPatterns
+WANTLIB += Qt5Network Qt5PrintSupport Qt5Qml Qt5WebKit
+WANTLIB += Qt5WebKitWidgets Qt5Widgets Qt5XmlPatterns gcrypt
+WANTLIB += hunspell-1.3
+
 
 RUN_DEPENDS =  devel/desktop-file-utils x11/gtk+3,-guic
+LIB_DEPENDS =  security/libgcrypt textproc/hunspell
 
 MODULES =  devel/cmake x11/qt5
 
Index: distinfo
===
RCS file: /cvs/ports/www/otter-browser/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo2 Jan 2016 21:06:45 -   1.9
+++ distinfo3 May 2016 14:04:02 -
@@ -1,2 +1,2 @@
-SHA256 (otter-browser-0.9.09pl0.tar.gz) = 
BgHajOz9QvuojBtJZrM3K5xfe+XtGfy5jmUwTAG+i2k=
-SIZE (otter-browser-0.9.09pl0.tar.gz) = 3200968
+SHA256 (otter-browser-0.9.10.tar.bz2) = 
aeL0ZBGx268N4oaXtOPfjHwmg3TbPR8SqWP8PdapqPw=
+SIZE (otter-browser-0.9.10.tar.bz2) = 2295819
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt2 Jan 2016 21:06:45 -   1.6
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.6 2016/01/02 21:06:45 sthen Exp $
 CMakeLists.txt.origSat Jan  2 17:03:29 2016
-+++ CMakeLists.txt Sat Jan  2 17:09:23 2016
-@@ -12,10 +12,10 @@ project(otter-browser)
- 
- set(MAJOR_VERSION "0")
- set(MINOR_VERSION "9")
--set(PATCH_VERSION "10")
-+set(PATCH_VERSION "09")
- set(OTTER_VERSION_MAIN ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION})
- set(OTTER_VERSION_WEEKLY " ")
--set(OTTER_VERSION_CONTEXT "-dev")
-+set(OTTE

Re: [UPDATE] otter-browser 0.9.09 beta 9 => 0.9.10 beta 10

2016-05-03 Thread Adam Wolk
On Tue, 3 May 2016 16:13:32 +0200
Adam Wolk  wrote:

> Hi ports@,
> 
> Otter browser beta 10 has been just released
> 

Updated diff with feedback from sthen@
 - LIB_DEPENDS split to one line per entry
 - master sites using just otter-browser directory

Index: Makefile
===
RCS file: /cvs/ports/www/otter-browser/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile2 Jan 2016 21:06:45 -   1.12
+++ Makefile3 May 2016 14:57:58 -
@@ -1,32 +1,29 @@
 # $OpenBSD: Makefile,v 1.12 2016/01/02 21:06:45 sthen Exp $
 COMMENT =  browser aiming to recreate classic Opera (12.x) UI 
using Qt5
 
-GH_ACCOUNT =   OtterBrowser
-GH_PROJECT =   otter-browser
-V =0.9.09pl0
-# GH_TAGNAME = v$V
-# We grab a GH_COMMIT because upstream released hotfixes
-# that we were asked to incorporate:
-# - fixed checkboxes in content blocking manager
-# - fixed saving dialog sizes
-# - added extra fallback when looking for address field associated with tab
-GH_COMMIT =d1a1b0bbc8d80d0d7ed7a1fbbf83975a5ddea69e
-DISTNAME = ${GH_PROJECT}-$V
+MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=otter-browser/}
+DISTNAME = otter-browser-0.9.10
+
+EXTRACT_SUFX = .tar.bz2
 
 CATEGORIES =   www
 
 HOMEPAGE = http://otter-browser.org/
 
-MAINTAINER =   Adam Wolk 
+MAINTAINER =   Adam Wolk 
 
 # License GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += c m pthread Qt5Core Qt5DBus Qt5Gui Qt5Multimedia
-WANTLIB += Qt5Network Qt5PrintSupport Qt5Script
-WANTLIB += Qt5Sql Qt5WebKit Qt5WebKitWidgets Qt5Widgets 
Qt5XmlPatterns
+WANTLIB += Qt5Network Qt5PrintSupport Qt5Qml Qt5WebKit
+WANTLIB += Qt5WebKitWidgets Qt5Widgets Qt5XmlPatterns gcrypt
+WANTLIB += hunspell-1.3
+
 
 RUN_DEPENDS =  devel/desktop-file-utils x11/gtk+3,-guic
+LIB_DEPENDS =  security/libgcrypt \
+   textproc/hunspell
 
 MODULES =  devel/cmake x11/qt5
 
Index: distinfo
===
RCS file: /cvs/ports/www/otter-browser/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo2 Jan 2016 21:06:45 -   1.9
+++ distinfo3 May 2016 14:57:58 -
@@ -1,2 +1,2 @@
-SHA256 (otter-browser-0.9.09pl0.tar.gz) = 
BgHajOz9QvuojBtJZrM3K5xfe+XtGfy5jmUwTAG+i2k=
-SIZE (otter-browser-0.9.09pl0.tar.gz) = 3200968
+SHA256 (otter-browser-0.9.10.tar.bz2) = 
aeL0ZBGx268N4oaXtOPfjHwmg3TbPR8SqWP8PdapqPw=
+SIZE (otter-browser-0.9.10.tar.bz2) = 2295819
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt2 Jan 2016 21:06:45 -   1.6
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.6 2016/01/02 21:06:45 sthen Exp $
 CMakeLists.txt.origSat Jan  2 17:03:29 2016
-+++ CMakeLists.txt Sat Jan  2 17:09:23 2016
-@@ -12,10 +12,10 @@ project(otter-browser)
- 
- set(MAJOR_VERSION "0")
- set(MINOR_VERSION "9")
--set(PATCH_VERSION "10")
-+set(PATCH_VERSION "09")
- set(OTTER_VERSION_MAIN ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION})
- set(OTTER_VERSION_WEEKLY " ")
--set(OTTER_VERSION_CONTEXT "-dev")
-+set(OTTER_VERSION_CONTEXT " beta 9")
- 
- if (EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
-   include(InstallRequiredSystemLibraries)
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/otter-browser/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   8 Dec 2015 13:55:01 -   1.5
+++ pkg/PLIST   3 May 2016 14:57:58 -
@@ -10,6 +10,7 @@ share/icons/hicolor/48x48/apps/otter-bro
 share/icons/hicolor/64x64/apps/otter-browser.png
 share/otter-browser/
 share/otter-browser/locale/
+share/otter-browser/locale/otter-browser_ar.qm
 share/otter-browser/locale/otter-browser_bg.qm
 share/otter-browser/locale/otter-browser_cs.qm
 share/otter-browser/locale/otter-browser_da.qm
@@ -23,6 +24,7 @@ share/otter-browser/locale/otter-browser
 share/otter-browser/locale/otter-browser_et.qm
 share/otter-browser/locale/otter-browser_fi.qm
 share/otter-browser/locale/otter-browser_fr.qm
+share/otter-browser/locale/otter-browser_he.qm
 share/otter-browser/locale/otter-browser_hr.qm
 share/otter-browser/locale/otter-browser_hu.qm
 share/otter-browser/locale/otter-browser_id.qm