www/qutebrowser: update to 1.3.3

Drop patch removing QtQuickWidgets dependency as it was removed upstream.
This commit is contained in:
Roman Bogorodskiy 2018-06-24 04:34:00 +00:00
parent 6df443ad65
commit cdd6fe1cee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473178
3 changed files with 4 additions and 29 deletions

View file

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= qutebrowser
DISTVERSION= 1.3.2
PORTREVISION= 1
DISTVERSION= 1.3.3
CATEGORIES= www
MASTER_SITES= CHEESESHOP

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1528793956
SHA256 (qutebrowser-1.3.2.tar.gz) = ff4bf5f74e6ba4f76e5bee8ab5c370c0fb8bbd99123592262c09605c5065c27f
SIZE (qutebrowser-1.3.2.tar.gz) = 3535391
TIMESTAMP = 1529756429
SHA256 (qutebrowser-1.3.3.tar.gz) = 68cab76dbd23ef77c29865a80e3eb508a3b5392e9f190c497f8a93dada5c9906
SIZE (qutebrowser-1.3.3.tar.gz) = 3536053

View file

@ -1,24 +0,0 @@
--- qutebrowser/browser/webengine/webview.py.orig 2018-06-10 13:42:47 UTC
+++ qutebrowser/browser/webengine/webview.py
@@ -24,7 +24,6 @@ import functools
import sip
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QUrl, PYQT_VERSION
from PyQt5.QtGui import QPalette
-from PyQt5.QtQuickWidgets import QQuickWidget
from PyQt5.QtWebEngineWidgets import (QWebEngineView, QWebEnginePage,
QWebEngineScript)
@@ -72,9 +71,10 @@ class WebEngineView(QWebEngineView):
if proxy is not None:
return proxy
- # This should only find the RenderWidgetHostViewQtDelegateWidget,
- # but not e.g. a QMenu
- children = self.findChildren(QQuickWidget)
+ # We don't want e.g. a QMenu.
+ rwhv_class = 'QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget'
+ children = [child for child in self.findChildren(QWidget)
+ if child.inherits(rwhv_class)]
if not children:
return None