Hi ports@,

Otter browser beta 8 has been just released

Notable changes since previous port:
 - the port again needs patches we revert commit:
        
https://github.com/OtterBrowser/otter-browser/commit/aa597af34b2add313c85c3be3e82253d4f999ebe
   as it leads to an immediate crash on OpenBSD which looks like a
   double free or a null pointer use. The issue is in a bundled 3rd
   party library and has been reported upstream:
        https://github.com/Chocimier/libmimeapps/issues/1
 - otter cleaned up their translation naming scheme so a lot of the
   translation files in pkg/PLIST moved around
 - there is a new WANTLIB Qt5XmlPatterns

Screenshot of the browser running with serveral MDI
windows & the about dialog:
  http://imgur.com/aZgCxJF

If you've been holding out this is the release to try the browser out
(normal URL bar!).

Notable changes since version 0.9.07 (app wise):
 * enhanced URL completion in address field:
  - suggest bookmarks by URL and keyword;
  - suggest URLs from history;
  - suggest searching for given string using default search engine;
  - allow to use popup with list of suggestions;
 * added new extremely flexible mouse gestures system;
 * added icons for badge in address field;
 * added FTP listing support to QtWebKit backend;
 * added SSL certificate viewer;
 * added Website Information dialog;
 * added configuration module for downloads handlers;
 * added configuration module for mouse gestures;
 * added command line option to print out diagnostic report (--report);
 * added support for configuring policy for popup windows;
 * updated style of error pages and directory listings;
 * many other fixes and improvements.

Tested on amd64 -current snapshot from 28th of November using the Gnome
desktop using qt5-5.4.1p9.

Off topic: any plans to bump qt5 to 5.5 or 5.6 when it comes out?
Upstream would like to plan out bumping the required Qt version up, we
have some time as the required minimum atm is just 5.2 :) 

Known issues reported upstream:
 - Otter will default to the file:// protocol if it detects a file
   matching the provided name (assuming protocol was not provided)
   https://github.com/OtterBrowser/otter-browser/issues/1015


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/otter-browser/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    4 Sep 2015 21:59:36 -0000       1.9
+++ Makefile    1 Dec 2015 21:37:12 -0000
@@ -3,7 +3,7 @@ COMMENT =               browser aiming to recreate cl
 
 GH_ACCOUNT =           OtterBrowser
 GH_PROJECT =           otter-browser
-V =                    0.9.07
+V =                    0.9.08
 GH_TAGNAME =           v$V
 
 DISTNAME =             ${GH_PROJECT}-$V
@@ -19,7 +19,7 @@ PERMIT_PACKAGE_CDROM =        Yes
 
 WANTLIB +=             c m pthread Qt5Core Qt5DBus Qt5Gui Qt5Multimedia
 WANTLIB +=             Qt5Network Qt5PrintSupport Qt5Script
-WANTLIB +=             Qt5Sql Qt5WebKit Qt5WebKitWidgets Qt5Widgets
+WANTLIB +=             Qt5Sql Qt5WebKit Qt5WebKitWidgets Qt5Widgets 
Qt5XmlPatterns
 
 RUN_DEPENDS =          devel/desktop-file-utils x11/gtk+3,-guic
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/otter-browser/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    4 Sep 2015 21:59:36 -0000       1.6
+++ distinfo    1 Dec 2015 21:37:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (otter-browser-0.9.07.tar.gz) = 
HCdQn5c2qcmeEqPvI7CMxBVIrX9tdIG/BwIPtHF4jak=
-SIZE (otter-browser-0.9.07.tar.gz) = 2634317
+SHA256 (otter-browser-0.9.08.tar.gz) = 
tGBqylmDuQsjKpBRfyg8LGoQRfKVNSeStKLAClG11Mg=
+SIZE (otter-browser-0.9.08.tar.gz) = 3124966
Index: patches/patch-3rdparty_libmimeapps_Index_cpp
===================================================================
RCS file: patches/patch-3rdparty_libmimeapps_Index_cpp
diff -N patches/patch-3rdparty_libmimeapps_Index_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-3rdparty_libmimeapps_Index_cpp        1 Dec 2015 21:37:12 
-0000
@@ -0,0 +1,56 @@
+$OpenBSD$
+--- 3rdparty/libmimeapps/Index.cpp.orig        Tue Dec  1 19:50:55 2015
++++ 3rdparty/libmimeapps/Index.cpp     Tue Dec  1 21:40:01 2015
+@@ -49,19 +49,8 @@ Index::Index(const std::string &language):
+ {
+       findDirectories();
+       createBase();
+-      removeUnused();
+ }
+ 
+-Index::~Index()
+-{
+-      std::map<std::string, DesktopEntry*>::iterator application;
+-
+-      for (application = knownApplications_.begin(); application != 
knownApplications_.end(); ++application)
+-      {
+-              delete application->second;
+-      }
+-}
+-
+ std::vector<DesktopEntry> Index::appsForMime(const std::string &type) const
+ {
+       std::vector<DesktopEntry> result;
+@@ -194,10 +183,6 @@ void Index::processDesktopFile(const std::string &base
+       {
+               addApplication(entry);
+       }
+-      else
+-      {
+-              delete entry;
+-      }
+ }
+ 
+ void Index::addApplication(DesktopEntry *entry)
+@@ -244,21 +229,6 @@ void Index::removeFromType(const std::string &type, co
+                       {
+                               ++it;
+                       }
+-              }
+-      }
+-}
+-
+-void Index::removeUnused()
+-{
+-      std::map<std::string, DesktopEntry*>::iterator application;
+-
+-      for (application = knownApplications_.begin(); application != 
knownApplications_.end(); ++application)
+-      {
+-              if (application->second->types().empty())
+-              {
+-                      delete application->second;
+-
+-                      knownApplications_.erase(application);
+               }
+       }
+ }
Index: patches/patch-3rdparty_libmimeapps_Index_h
===================================================================
RCS file: patches/patch-3rdparty_libmimeapps_Index_h
diff -N patches/patch-3rdparty_libmimeapps_Index_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-3rdparty_libmimeapps_Index_h  1 Dec 2015 21:37:12 -0000
@@ -0,0 +1,20 @@
+$OpenBSD$
+--- 3rdparty/libmimeapps/Index.h.orig  Tue Dec  1 19:50:55 2015
++++ 3rdparty/libmimeapps/Index.h       Tue Dec  1 21:40:01 2015
+@@ -48,8 +48,6 @@ class Index
+ public:
+       Index();
+       explicit Index(const std::string &language);
+-      ~Index();
+-
+       std::vector<DesktopEntry> appsForMime(const std::string &type) const;
+ 
+ protected:
+@@ -74,7 +72,6 @@ class Index
+       void addToType(const std::string &type, DesktopEntry *entry);
+       void removeApplication(const std::string &entryId);
+       void removeFromType(const std::string &type, const std::string 
&entryId);
+-      void removeUnused();
+       static std::list<std::string> resolveVariable(const std::string &name);
+       static std::vector<lookupDirectory> initDirectoryPatterns();
+ 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/otter-browser/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   4 Sep 2015 21:59:36 -0000       1.4
+++ pkg/PLIST   1 Dec 2015 21:37:12 -0000
@@ -10,41 +10,43 @@ 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_cs_CZ.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
-share/otter-browser/locale/otter-browser_de_DE.qm
+share/otter-browser/locale/otter-browser_de.qm
 share/otter-browser/locale/otter-browser_el.qm
 share/otter-browser/locale/otter-browser_en_CA.qm
 share/otter-browser/locale/otter-browser_en_GB.qm
 share/otter-browser/locale/otter-browser_en_US.qm
-share/otter-browser/locale/otter-browser_es_ES.qm
+share/otter-browser/locale/otter-browser_es.qm
 share/otter-browser/locale/otter-browser_es_MX.qm
 share/otter-browser/locale/otter-browser_et.qm
 share/otter-browser/locale/otter-browser_fi.qm
-share/otter-browser/locale/otter-browser_fr_FR.qm
-share/otter-browser/locale/otter-browser_hr_HR.qm
+share/otter-browser/locale/otter-browser_fr.qm
+share/otter-browser/locale/otter-browser_hr.qm
 share/otter-browser/locale/otter-browser_hu.qm
-share/otter-browser/locale/otter-browser_id_ID.qm
-share/otter-browser/locale/otter-browser_it_IT.qm
-share/otter-browser/locale/otter-browser_ja_JP.qm
-share/otter-browser/locale/otter-browser_ka_GE.qm
+share/otter-browser/locale/otter-browser_id.qm
+share/otter-browser/locale/otter-browser_it.qm
+share/otter-browser/locale/otter-browser_ja.qm
+share/otter-browser/locale/otter-browser_jbo.qm
+share/otter-browser/locale/otter-browser_ka.qm
 share/otter-browser/locale/otter-browser_lt.qm
-share/otter-browser/locale/otter-browser_nb_NO.qm
+share/otter-browser/locale/otter-browser_nb.qm
 share/otter-browser/locale/otter-browser_nl.qm
-share/otter-browser/locale/otter-browser_pl_PL.qm
+share/otter-browser/locale/otter-browser_pl.qm
+share/otter-browser/locale/otter-browser_pt.qm
 share/otter-browser/locale/otter-browser_pt_BR.qm
-share/otter-browser/locale/otter-browser_pt_PT.qm
 share/otter-browser/locale/otter-browser_ro.qm
-share/otter-browser/locale/otter-browser_ru_RU.qm
+share/otter-browser/locale/otter-browser_ru.qm
 share/otter-browser/locale/otter-browser_sk.qm
-share/otter-browser/locale/otter-browser_sl_SI.qm
+share/otter-browser/locale/otter-browser_sl.qm
 share/otter-browser/locale/otter-browser_sr.qm
-share/otter-browser/locale/otter-browser...@ijekavian.qm
+share/otter-browser/locale/otter-browser...@ijekavian.qm
 share/otter-browser/locale/otter-browser...@ijekavianlatin.qm
-share/otter-browser/locale/otter-browser...@latin.qm
 share/otter-browser/locale/otter-browser_sv.qm
-share/otter-browser/locale/otter-browser_tr_TR.qm
-share/otter-browser/locale/otter-browser_uk_UA.qm
+share/otter-browser/locale/otter-browser...@latin.qm
+share/otter-browser/locale/otter-browser_tr.qm
+share/otter-browser/locale/otter-browser_uk.qm
 share/otter-browser/locale/otter-browser_zh_CN.qm
 share/otter-browser/locale/otter-browser_zh_TW.qm
 @exec %D/bin/update-desktop-database

Reply via email to