Thursday, November 26, 2026

Re: otter-browser: switch to dev code + qt6 patchset

Hey Stuart and ports@, Please feel free to drop me from any port as maintainer, real life gets in the way to give proper attention to these on my part. Thanks, Adam On Thu, Nov 26, 2026, at 4:05 PM, Stuart Henderson wrote: > This switches otter-browser to qt6, removing one of the last couple > of users of x11/qt5/qtwebengine (which is way too outdated for use as > a general web browser these days). Working ok for me in tests but > I don't use this as a main browser. > > Any OKs? > > Adam, are you still interested in being listed as maintainer for this > and/or your other ports (cstitch, fotowall, fragistics, libwebsockets, > lsyncd, multitail, otter-browser, p5-Shell, zeal)? > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/www/otter-browser/Makefile,v > diff -u -p -r1.41 Makefile > --- Makefile 13 Feb 2026 12:02:17 -0000 1.41 > +++ Makefile 26 Nov 2026 15:03:45 -0000 > @@ -1,9 +1,17 @@ > USE_WXNEEDED = Yes > > -COMMENT = browser aiming to recreate classic Opera (12.x) UI using Qt5 > +COMMENT = browser aiming to recreate classic Opera (12.x) UI using Qt > > -DISTNAME = otter-browser-1.0.03 > -REVISION = 0 > +GH_ACCOUNT = OtterBrowser > +GH_PROJECT = otter-browser > +GH_COMMIT = 0d71a94773cb071b3c203ff40043e1d93efddc1b > +DISTNAME = otter-browser-1.0.81pre20261125 > + > +# > https://github.com/OtterBrowser/otter-browser/compare/master...haydara:otter-browser:Qt6 > +# https://github.com/OtterBrowser/otter-browser/pull/1770 > +SITES.qt6 = https://spacehopper.org/mirrors/ > +PATCHFILES.qt6 = otter-qt6-20260520.diff > +PATCH_DIST_STRIP = -p1 > > CATEGORIES = www > > @@ -11,34 +19,27 @@ HOMEPAGE = https://otter-browser.org/ > > MAINTAINER = Adam Wolk <awolk@openbsd.org> > > -SITES = ${SITE_SOURCEFORGE:=otter-browser/} > -EXTRACT_SUFX = .tar.bz2 > - > # GPLv3+ > PERMIT_PACKAGE = Yes > > -WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Multimedia > -WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels > -WANTLIB += Qt5Quick Qt5Svg Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets > -WANTLIB += Qt5Widgets Qt5XmlPatterns c hunspell-1.7 m > +WANTLIB += ${COMPILER_LIBCXX} c hunspell-1.7 m > +WANTLIB += GL Qt6Core Qt6DBus Qt6Gui Qt6Multimedia Qt6Network > +WANTLIB += Qt6OpenGL Qt6Positioning Qt6PrintSupport Qt6Qml Qt6Quick > +WANTLIB += Qt6Svg Qt6WebChannel Qt6WebEngineCore Qt6WebEngineWidgets > +WANTLIB += Qt6Widgets Qt6Xml > > -MODULES = devel/cmake x11/qt5 > +MODULES = devel/cmake x11/qt6 > > RUN_DEPENDS = devel/desktop-file-utils x11/gtk+4,-guic > > LIB_DEPENDS = textproc/hunspell \ > - x11/qt5/qtdeclarative \ > - x11/qt5/qtmultimedia \ > - x11/qt5/qtsvg \ > - x11/qt5/qtwebengine \ > - x11/qt5/qtxmlpatterns > + x11/qt6/qtdeclarative \ > + x11/qt6/qtmultimedia \ > + x11/qt6/qtsvg \ > + x11/qt6/qtwebengine > > -CONFIGURE_ARGS += -DENABLE_QTWEBENGINE=ON \ > - -DENABLE_QTWEBKIT=OFF > +CONFIGURE_ARGS = -DENABLE_QTWEBKIT=OFF > > NO_TEST = Yes > - > - > -MODCMAKE_POLICY_VERSION_OVERRIDE = Yes > > .include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: /cvs/ports/www/otter-browser/distinfo,v > diff -u -p -r1.20 distinfo > --- distinfo 14 Jan 2023 07:44:06 -0000 1.20 > +++ distinfo 26 Nov 2026 15:03:45 -0000 > @@ -1,2 +1,4 @@ > -SHA256 (otter-browser-1.0.03.tar.bz2) = > GgRGaDHgtzm3dGK+f9of3ylffDoLP3PQWKtBNH0wxus= > -SIZE (otter-browser-1.0.03.tar.bz2) = 3377150 > +SHA256 (otter-browser-1.0.81pre20261125-0d71a947.tar.gz) = > UJEwMGnRosjmVF5YZxd8M8omv90HFYpyf0Wp9TFn3Oc= > +SHA256 (otter-qt6-20260520.diff) = > 8CwQoiV/MH0VDyZDcCb5bdHf5MUmsk5kqsnJc4D0vLY= > +SIZE (otter-browser-1.0.81pre20261125-0d71a947.tar.gz) = 5217304 > +SIZE (otter-qt6-20260520.diff) = 45514 > Index: patches/patch-src_modules_windows_web_StartPageWidget_cpp > =================================================================== > RCS file: patches/patch-src_modules_windows_web_StartPageWidget_cpp > diff -N patches/patch-src_modules_windows_web_StartPageWidget_cpp > --- patches/patch-src_modules_windows_web_StartPageWidget_cpp 14 Jan > 2023 07:44:06 -0000 1.3 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,11 +0,0 @@ > -Index: src/modules/windows/web/StartPageWidget.cpp > ---- src/modules/windows/web/StartPageWidget.cpp.orig > -+++ src/modules/windows/web/StartPageWidget.cpp > -@@ -39,6 +39,7 @@ > - #include <QtCore/QtMath> > - #include <QtGui/QDrag> > - #include <QtGui/QGuiApplication> > -+#include <QtGui/QPainterPath> > - #include <QtGui/QMouseEvent> > - #include <QtGui/QPainter> > - #include <QtGui/QPainterPath> > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/www/otter-browser/pkg/PLIST,v > diff -u -p -r1.14 PLIST > --- pkg/PLIST 14 Jan 2023 07:44:06 -0000 1.14 > +++ pkg/PLIST 26 Nov 2026 15:03:45 -0000 > @@ -7,6 +7,9 @@ share/icons/hicolor/256x256/apps/otter-b > share/icons/hicolor/32x32/apps/otter-browser.png > share/icons/hicolor/48x48/apps/otter-browser.png > share/icons/hicolor/64x64/apps/otter-browser.png > +share/icons/hicolor/scalable/apps/otter-browser.svg > +share/metainfo/ > +share/metainfo/otter-browser.appdata.xml > share/otter-browser/ > share/otter-browser/locale/ > share/otter-browser/locale/otter-browser_ar.qm

Re: otter-browser: switch to dev code + qt6 patchset

On Thu Nov 26, 2026 at 03:05:59PM +0000, Stuart Henderson wrote: > This switches otter-browser to qt6, removing one of the last couple > of users of x11/qt5/qtwebengine (which is way too outdated for use as > a general web browser these days). Working ok for me in tests but > I don't use this as a main browser. > > Any OKs? Thanks, OK rsadowski > > Adam, are you still interested in being listed as maintainer for this > and/or your other ports (cstitch, fotowall, fragistics, libwebsockets, > lsyncd, multitail, otter-browser, p5-Shell, zeal)? I can't recall receiving any response for my diffs in recent years. > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/www/otter-browser/Makefile,v > diff -u -p -r1.41 Makefile > --- Makefile 13 Feb 2026 12:02:17 -0000 1.41 > +++ Makefile 26 Nov 2026 15:03:45 -0000 > @@ -1,9 +1,17 @@ > USE_WXNEEDED = Yes > > -COMMENT = browser aiming to recreate classic Opera (12.x) UI using Qt5 > +COMMENT = browser aiming to recreate classic Opera (12.x) UI using Qt > > -DISTNAME = otter-browser-1.0.03 > -REVISION = 0 > +GH_ACCOUNT = OtterBrowser > +GH_PROJECT = otter-browser > +GH_COMMIT = 0d71a94773cb071b3c203ff40043e1d93efddc1b > +DISTNAME = otter-browser-1.0.81pre20261125 > + > +# https://github.com/OtterBrowser/otter-browser/compare/master...haydara:otter-browser:Qt6 > +# https://github.com/OtterBrowser/otter-browser/pull/1770 > +SITES.qt6 = https://spacehopper.org/mirrors/ > +PATCHFILES.qt6 = otter-qt6-20260520.diff > +PATCH_DIST_STRIP = -p1 > > CATEGORIES = www > > @@ -11,34 +19,27 @@ HOMEPAGE = https://otter-browser.org/ > > MAINTAINER = Adam Wolk <awolk@openbsd.org> > > -SITES = ${SITE_SOURCEFORGE:=otter-browser/} > -EXTRACT_SUFX = .tar.bz2 > - > # GPLv3+ > PERMIT_PACKAGE = Yes > > -WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Multimedia > -WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels > -WANTLIB += Qt5Quick Qt5Svg Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets > -WANTLIB += Qt5Widgets Qt5XmlPatterns c hunspell-1.7 m > +WANTLIB += ${COMPILER_LIBCXX} c hunspell-1.7 m > +WANTLIB += GL Qt6Core Qt6DBus Qt6Gui Qt6Multimedia Qt6Network > +WANTLIB += Qt6OpenGL Qt6Positioning Qt6PrintSupport Qt6Qml Qt6Quick > +WANTLIB += Qt6Svg Qt6WebChannel Qt6WebEngineCore Qt6WebEngineWidgets > +WANTLIB += Qt6Widgets Qt6Xml > > -MODULES = devel/cmake x11/qt5 > +MODULES = devel/cmake x11/qt6 > > RUN_DEPENDS = devel/desktop-file-utils x11/gtk+4,-guic > > LIB_DEPENDS = textproc/hunspell \ > - x11/qt5/qtdeclarative \ > - x11/qt5/qtmultimedia \ > - x11/qt5/qtsvg \ > - x11/qt5/qtwebengine \ > - x11/qt5/qtxmlpatterns > + x11/qt6/qtdeclarative \ > + x11/qt6/qtmultimedia \ > + x11/qt6/qtsvg \ > + x11/qt6/qtwebengine > > -CONFIGURE_ARGS += -DENABLE_QTWEBENGINE=ON \ > - -DENABLE_QTWEBKIT=OFF > +CONFIGURE_ARGS = -DENABLE_QTWEBKIT=OFF > > NO_TEST = Yes > - > - > -MODCMAKE_POLICY_VERSION_OVERRIDE = Yes > > .include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: /cvs/ports/www/otter-browser/distinfo,v > diff -u -p -r1.20 distinfo > --- distinfo 14 Jan 2023 07:44:06 -0000 1.20 > +++ distinfo 26 Nov 2026 15:03:45 -0000 > @@ -1,2 +1,4 @@ > -SHA256 (otter-browser-1.0.03.tar.bz2) = GgRGaDHgtzm3dGK+f9of3ylffDoLP3PQWKtBNH0wxus= > -SIZE (otter-browser-1.0.03.tar.bz2) = 3377150 > +SHA256 (otter-browser-1.0.81pre20261125-0d71a947.tar.gz) = UJEwMGnRosjmVF5YZxd8M8omv90HFYpyf0Wp9TFn3Oc= > +SHA256 (otter-qt6-20260520.diff) = 8CwQoiV/MH0VDyZDcCb5bdHf5MUmsk5kqsnJc4D0vLY= > +SIZE (otter-browser-1.0.81pre20261125-0d71a947.tar.gz) = 5217304 > +SIZE (otter-qt6-20260520.diff) = 45514 > Index: patches/patch-src_modules_windows_web_StartPageWidget_cpp > =================================================================== > RCS file: patches/patch-src_modules_windows_web_StartPageWidget_cpp > diff -N patches/patch-src_modules_windows_web_StartPageWidget_cpp > --- patches/patch-src_modules_windows_web_StartPageWidget_cpp 14 Jan 2023 07:44:06 -0000 1.3 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,11 +0,0 @@ > -Index: src/modules/windows/web/StartPageWidget.cpp > ---- src/modules/windows/web/StartPageWidget.cpp.orig > -+++ src/modules/windows/web/StartPageWidget.cpp > -@@ -39,6 +39,7 @@ > - #include <QtCore/QtMath> > - #include <QtGui/QDrag> > - #include <QtGui/QGuiApplication> > -+#include <QtGui/QPainterPath> > - #include <QtGui/QMouseEvent> > - #include <QtGui/QPainter> > - #include <QtGui/QPainterPath> > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/www/otter-browser/pkg/PLIST,v > diff -u -p -r1.14 PLIST > --- pkg/PLIST 14 Jan 2023 07:44:06 -0000 1.14 > +++ pkg/PLIST 26 Nov 2026 15:03:45 -0000 > @@ -7,6 +7,9 @@ share/icons/hicolor/256x256/apps/otter-b > share/icons/hicolor/32x32/apps/otter-browser.png > share/icons/hicolor/48x48/apps/otter-browser.png > share/icons/hicolor/64x64/apps/otter-browser.png > +share/icons/hicolor/scalable/apps/otter-browser.svg > +share/metainfo/ > +share/metainfo/otter-browser.appdata.xml > share/otter-browser/ > share/otter-browser/locale/ > share/otter-browser/locale/otter-browser_ar.qm >