summaryrefslogtreecommitdiff
path: root/libre/qutebrowser
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-06-11 12:57:03 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-06-11 15:09:23 -0400
commit75eb7fd73604c180268d05da519e01eb4b2ad198 (patch)
tree9d6045c6882e0ac5b51e238081c023f902fd6724 /libre/qutebrowser
parent46948f4c98e8f7f292c70ae418c1d4bea4310c10 (diff)
downloadabslibre-75eb7fd73604c180268d05da519e01eb4b2ad198.tar.gz
abslibre-75eb7fd73604c180268d05da519e01eb4b2ad198.tar.bz2
abslibre-75eb7fd73604c180268d05da519e01eb4b2ad198.zip
[qutebrowser]: upgrade to v1.12.0
Diffstat (limited to 'libre/qutebrowser')
-rw-r--r--libre/qutebrowser/PKGBUILD14
-rw-r--r--libre/qutebrowser/warning-webkit.html15
-rw-r--r--libre/qutebrowser/webkit-warning.patch88
3 files changed, 23 insertions, 94 deletions
diff --git a/libre/qutebrowser/PKGBUILD b/libre/qutebrowser/PKGBUILD
index dd0f8ca3d..1925d3100 100644
--- a/libre/qutebrowser/PKGBUILD
+++ b/libre/qutebrowser/PKGBUILD
@@ -3,20 +3,22 @@
# Contributor (Arch): Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: André Silva <emulatorman@hyperbola.info>
+# Contributor: bill-auger <bill-auger@programmer.net>
# parabola changes and rationale:
# - removed qt5-webengine dependency
# - set webkit backend as default
+# - condensed the excessive webkit rant on the welcome screen
pkgname=qutebrowser
-pkgver=1.11.1
+pkgver=1.12.0
pkgrel=1
_pkgrel_armv7h=.parabola1 # this could be an 'any' package
_pkgrel_i686=.parabola1 # but our different arches do not always roll at the same speed
_pkgrel_x86_64=.parabola1
eval "pkgrel+=\$_pkgrel_${CARCH}"
pkgdesc="A keyboard-driven, vim-like browser based on PyQt5"
-pkgdesc+=" and QtWebKit, without nonfree qt5-webengine recommendation"
+pkgdesc+=" and QtWebKit"
arch=('armv7h' 'i686' 'x86_64')
url="https://www.qutebrowser.org/"
license=("GPL")
@@ -32,11 +34,11 @@ optdepends=("gst-libav: media playback with qt5-webkit backend"
options=(!emptydirs)
source=("https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz"
"https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz.asc"
- "webkit-warning.patch")
+ "warning-webkit.html")
validpgpkeys=("E04E560002401B8EF0E76F0A916EB0C8FD55A072") # Florian Bruhin
-sha256sums=('7a3354cb28efcec2cc4549b8ab37e1c4b81b45c51f52e87fdfb9380100afb533'
+sha256sums=('41bbd5ede2ba74dc691e0e3b59aad59dd5a7426e39bf82ecedd59b4d22f4dc5f'
'SKIP'
- '41da24c74fca7a716a672bab2924e7c1de8e83ad4bdcec3b0ba055baba6459f2')
+ 'e18216f24387b61a109611958bb59248beaf5afc90da8654e29ea8b0a7ef1610')
_version_constraint() # (dep_pkgname)
@@ -52,7 +54,7 @@ _version_constraint() # (dep_pkgname)
prepare() {
cd "$pkgname-$pkgver"
- patch -Np1 < $srcdir/webkit-warning.patch
+ cp "$srcdir"/warning-webkit.html qutebrowser/html/
}
build() {
diff --git a/libre/qutebrowser/warning-webkit.html b/libre/qutebrowser/warning-webkit.html
new file mode 100644
index 000000000..c4aa6a952
--- /dev/null
+++ b/libre/qutebrowser/warning-webkit.html
@@ -0,0 +1,15 @@
+{% extends "styled.html" %}
+
+{% block content %}
+<h1>{{ title }}</h1>
+
+<p>You're using qutebrowser with the QtWebKit backend.</p>
+
+<blockquote><i>WARNING:</i> This release [of QtWebKit] is based on [an] <i>old
+WebKit revision</i> with known unpatched vulnerabilities. <i>Please use it
+carefully and avoid visiting untrusted websites and using it for
+transmission of sensitive data.</i></blockquote>
+
+<p>If that bothers you, it is recommended that you use another web browser instead,
+such as IceCat, IceWeasel, or Epiphany.</p>
+{% endblock %}
diff --git a/libre/qutebrowser/webkit-warning.patch b/libre/qutebrowser/webkit-warning.patch
deleted file mode 100644
index e659e68ee..000000000
--- a/libre/qutebrowser/webkit-warning.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git a/qutebrowser/html/warning-webkit.html b/qutebrowser/html/warning-webkit.html
-index 7fc2290..938762c 100644
---- a/qutebrowser/html/warning-webkit.html
-+++ b/qutebrowser/html/warning-webkit.html
-@@ -2,81 +2,14 @@
-
- {% block content %}
- <h1>{{ title }}</h1>
--<span class="note">Note this warning will only appear once. Use <span class="mono">:open
--qute://warning/webkit</span> to show it again at a later time.</span>
-
- <p>You're using qutebrowser with the QtWebKit backend.</p>
-
--<p>While QtWebKit has gained some traction again recently, its latest release
--(5.212.0 Alpha 3) is still based on an old upstream WebKit. It also lacks
--various security features (process isolation/sandboxing) present in
--QtWebEngine. From the upstream release notes:</p>
--
- <blockquote>WARNING: This release is based on old WebKit revision with known
- unpatched vulnerabilities. Please use it carefully and avoid visiting untrusted
- websites and using it for transmission of sensitive data. Wait for new release
- from qtwebkit-dev branch to use it with untrusted content.</blockquote>
-
--<p>It's recommended that you use QtWebEngine instead.</p>
--
--<h2>(Outdated) reasons to use QtWebKit</h2>
--<p>Most reasons why people preferred the QtWebKit backend aren't relevant anymore:</p>
--
--<p><b>PDF.js support</b>: Supported with QtWebEngine since qutebrowser v1.5.0.</p>
--
--<p><b>Missing control over Referer header</b>: <span
--class="mono">content.headers.referer</span> is supported with QtWebEngine since
--qutebrowser v1.5.0.</p>
--
--<p><b>Missing control over cookies</b>: With Qt 5.11 or newer, the <span
--class="mono">content.cookies.accept</span> setting works on QtWebEngine.</p>
--
--<p><b>Graphical glitches</b>: The new values for the <span
--class="mono">qt.force_software_rendering</span> setting added in v1.4.0 should
--hopefully help.</p>
--
--<p><b>Missing support for notifications</b>: With qutebrowser v1.7.0, initial
--notification support was added for Qt 5.13.0.</p>
--
--<p><b>Resource usage</b>: qutebrowser v1.5.0 added the <span
--class="mono">qt.process_model</span> and <span
--class="mono">qt.low_end_device_mode</span> settings which can be used to
--decrease the resource usage of QtWebEngine (but come with other drawbacks).</p>
--
--<p><b>Not trusting Google</b>: Various people have checked the connections made
--by QtWebEngine/qutebrowser, and it doesn't make any connections to Google (or
--any other unsolicited connections at all). Arguably, having to trust Google
--also is a smaller issue than having to trust every website you visit because of
--heaps of security issues...</p>
--
--<p><b>Nouveau graphic driver</b>: You can use QtWebEngine with software
--rendering. With Qt 5.13 (~May 2019) it might be possible to run with Nouveau
--without software rendering.</p>
--
--<p><b>Wayland</b>: It's possible to use QtWebEngine with XWayland. With Qt
--5.11.2 or newer, qutebrowser also runs natively with Wayland.</p>
--
--<p><b>Instability on FreeBSD</b>: Those seem to be FreeBSD-specific crashes,
--and unfortunately nobody has looked into them yet so far...</p>
--
--<p><b>QtWebEngine being unavailable in ArchlinuxARM's PyQt package</b>:
--QtWebEngine itself is available on the armv7h/aarch64 architectures, but their
--PyQt package is broken and doesn't come with QtWebEngine support. This
--<a href="https://archlinuxarm.org/forum/viewtopic.php?f=15&t=11269&p=54587">has
--been reported</a> in their forums, but without any change so far. It should
--however be possible to rebuild the PyQt package from source with QtWebEngine
--installed.</p>
--
--<p><b>QtWebEngine being unavailable on Parabola</b>: Claims of Parabola
--developers about QtWebEngine being "non-free" have repeatedly been disputed,
--and so far nobody came up with solid evidence about that being the case. Also,
--note that their qutebrowser package is usually very outdated (even qutebrowser
--security fixes took months to arrive there). You might be better off chosing an
--<a href="https://qutebrowser.org/doc/install.html#tox"> alternative install
--method</a>.</p>
--
--<p><b>White flashing between loads with a custom stylesheet</b>: This doesn't
--seem to happen with <span class="mono">qt.process_model = single-process</span>
--set. However, note that that setting comes with decreased security and
--stability, but QtWebKit doesn't have any process isolation at all.</p>
-+<p>If that bothers you, it is recommended that you use another web browser instead,
-+such as IceCat, IceWeasel, or Epiphany.</p>
- {% endblock %}