- Enable test suite
- Update to version 2.2.0 Deprecated * Running qutebrowser with Qt 5.12.0 is now unsupported and logs a warning. It should still work - however, a workaround for issues with the Nvidia graphic driver was dropped. Newer Qt 5.12.x versions are still fully supported. * The --force argument for :tab-only is deprecated, use --pinned close instead. * Using :tab-focus without an argument or count is now deprecated, use :tab-next instead. Added * New dependency on the QtDBus module. If this requirement is an issue for you or your distribution, please open an issue! Note that a DBus connection at runtime is still optional. * New input.media_keys setting which can be used to disable Chromium's handling of media keys. * New :process command (and associated qute://process pages) which can be used to view and terminate/kill external processes spawned by qutebrowser. * New content.site_specific_quirks.skip setting which can be used to disable individual site-specific quirks. * New --pinned argument for :tab-only, which replaces --force (with --pinned close), but also can take --pinned keep to keep pinned tabs without prompting. * New fileselect.folder.command which can be used with fileselect.handler = external to customize the command to use to upload directories (<input type="file" webkitdirectory /> elements, which are non-standard but in wide use). * New content.notifications.presenter setting with various new OBS-URL: https://build.opensuse.org/package/show/network/qutebrowser?expand=0&rev=106
This commit is contained in:
parent
13ef5a7a14
commit
569767f8bf
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ddd373a4f31f16ba809870779918a8920b13dcb936f2d41ff4b27cfd4cae63b
|
||||
size 6246732
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAmBLS+oACgkQkW6wyP1V
|
||||
oHIjoQ//fXb62WMb4bnOssLmgHEG9geJ4mX/Hm82zA2RZ4yO4MJSTNrQWo1SteIB
|
||||
f5h3GnzscqG+8OssZGZamCmzSt0jxsDl21frwzQmion6rAntQCVOV8RWk04RSZx9
|
||||
r8905RFPcf7Hq9mfJrt5gWsRq+q4+WhTJR8L/RFmorSCyyYDIydEsNiyJNpiVtSr
|
||||
tTiClozk2qxjde8q+s1DSXVdt8SCYCEvxpWB7sYTx1SLWXopRQIcPijd8NLo+eiR
|
||||
tFpY/BxjTPnY3M8ooz8MRph74bZd/FLpNymOvI7Jaa+dQU9XUNwQPx6DtbiF0jkV
|
||||
nKpqzNs8K+zudqwDftJnn2+tBW59UNNM7G2045u5V23lotF57Jujt6BxJxWrQi3U
|
||||
kAYl81vIWkqUYJbdi7DUMccbBRLy0u/Jx7XV8eIgAAM60H2fF83u+jTithAt6PG4
|
||||
GfT/YMSRm15SfGElLjM2U0CgPFjH9XQTo8oEIloZb6jAjTGPecKlTcsnEZW+yXc1
|
||||
iH8/I9i8MyNgVT/UhMnh1cyLPs7wExvzePNw+pUc2gwW6o35wgGOpFVhHxA9mZvX
|
||||
OvHXQ5B9/p8eswKwLY7/pzJF5244veyRdOU4Tz/ek5f1cQpqG5QMpCFs3Zu2Zyjb
|
||||
R3Pm1BK4igx3WpAgfaqLSSnFMqhNRwPBUCFXpR4+7OBM2KKikyM=
|
||||
=p8re
|
||||
-----END PGP SIGNATURE-----
|
3
qutebrowser-2.2.0.tar.gz
Normal file
3
qutebrowser-2.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa5d2015d64289ab70d4ce719134096503ee580702657972af652cdc6786dd2a
|
||||
size 6297885
|
16
qutebrowser-2.2.0.tar.gz.asc
Normal file
16
qutebrowser-2.2.0.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAmB1bQ4ACgkQkW6wyP1V
|
||||
oHJ2fxAApNn6Rxli3giCpMViQ0SFeN1vUv5Ovea8H/uxxmR4tuXnPp6Ed0xd1pHo
|
||||
yspOo1QeaIaA+tK7tQjSSX7NZnxoapgOZ1OD5yTsZH3qjl+s/LsURDrYQb4ciQv2
|
||||
pGyAEwr11BwEBLOcyRbwi/zFHZ3nvMkrl5ATQkCBZPhle0dk/m26jwm1zV18Kv4y
|
||||
XSY/5GVZvcaG1OVeH+x+tH/FpKYM3pWiz30ynUz79GUomufGMeJgwPAo4AfNClch
|
||||
ViRsoxWOg5FPZld6bJxwAICa+cC7LoDCKO3PWq8Nc/xbwq5mszRXroSrQIYUJhi/
|
||||
AbwcPk883rVZq5VndYj2G7smySUJjc9/sHWC4DVW76ouOyzMt+lirHX4GDg77zHE
|
||||
62tZ0ZNvFcR/vuuum2azrbBZX1PLBCbUcB5jlKZs/Zdt+zyNYy6MeRW5ROYVOoUP
|
||||
HBU0D0h42mbyA9EL0p7DFeKBVGmF7BUH4EeITJG0Zbttyw/vkAbGIFrbNth0D2tW
|
||||
fBDfUKEQeS6L7BaQQB2sSUz7DczkxWd3GQXNAAi0ZlKdOljVk74YkL/bt8SRrLX4
|
||||
XirmQLcJhUzF56NO914BtahCG7HZBjP6IbeyXCKTOUZIB0FHAwB/AR7K8W29V3cc
|
||||
eRSpcONJRh8f0FxqhYJp4gMg4H98L5DxwPpuXUrfsOa1VI/uJfM=
|
||||
=cARM
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,169 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 22:31:55 UTC 2021 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Enable test suite
|
||||
- Update to version 2.2.0
|
||||
Deprecated
|
||||
* Running qutebrowser with Qt 5.12.0 is now unsupported and logs
|
||||
a warning. It should still work - however, a workaround for
|
||||
issues with the Nvidia graphic driver was dropped.
|
||||
Newer Qt 5.12.x versions are still fully supported.
|
||||
* The --force argument for :tab-only is deprecated, use --pinned
|
||||
close instead.
|
||||
* Using :tab-focus without an argument or count is now
|
||||
deprecated, use :tab-next instead.
|
||||
|
||||
Added
|
||||
* New dependency on the QtDBus module. If this requirement is an
|
||||
issue for you or your distribution, please open an issue!
|
||||
Note that a DBus connection at runtime is still optional.
|
||||
* New input.media_keys setting which can be used to disable
|
||||
Chromium's handling of media keys.
|
||||
* New :process command (and associated qute://process pages)
|
||||
which can be used to view and terminate/kill external processes
|
||||
spawned by qutebrowser.
|
||||
* New content.site_specific_quirks.skip setting which can be used
|
||||
to disable individual site-specific quirks.
|
||||
* New --pinned argument for :tab-only, which replaces --force
|
||||
(with --pinned close), but also can take --pinned keep to keep
|
||||
pinned tabs without prompting.
|
||||
* New fileselect.folder.command which can be used with
|
||||
fileselect.handler = external to customize the command to use
|
||||
to upload directories (<input type="file" webkitdirectory />
|
||||
elements, which are non-standard but in wide use).
|
||||
* New content.notifications.presenter setting with various new
|
||||
ways to show web notifications:
|
||||
+ auto (default): Automatically detect the best available
|
||||
option
|
||||
+ qt: Use Qt's built-in mechanism (like before this release)
|
||||
+ libnotify: Use a libnotify-compatible notification server
|
||||
(i.e. native notifications on Linux)
|
||||
+ systray: Use a systray icon (very similar to qt but without
|
||||
some of its drawbacks)
|
||||
+ messages: Use qutebrowser messages
|
||||
+ herbe: Use herbe
|
||||
* New content.notifications.show_origin setting, which can be
|
||||
used to decide for which notifications to show the origin
|
||||
(the URL the notification was sent from).
|
||||
|
||||
Changed
|
||||
* The content.ssl_strict setting got renamed to
|
||||
content.tls.certificate_errors, with new values:
|
||||
+ ask: Prompt on overridable certificate errors
|
||||
(ssl_strict = 'ask')
|
||||
+ ask-block-thirdparty: See below
|
||||
+ block: Block the page load (ssl_strict = True)
|
||||
+ load-insecurely: Load the page despite the error
|
||||
(ssl_strict = False)
|
||||
* The new content.tls.certificate_errors setting now also
|
||||
understands the value ask-block-thirdparty, which asks for page
|
||||
loads but automatically blocks resource loads on TLS errors.
|
||||
This behavior is consistent with what other browsers do.
|
||||
* The prompt text shown on certificate errors has been improved
|
||||
to make it clearer what kind of error occurred exactly.
|
||||
* The content.site_specific_quirks setting got renamed to
|
||||
content.site_specific_quirks.enabled.
|
||||
* The content.notifications option got renamed to
|
||||
content.notifications.enabled.
|
||||
* The completion now also shows bindings starting with
|
||||
set-cmd-text in its third column, such as o for :open.
|
||||
* When :spawn is used with the -m / --output-messages flag,
|
||||
the output now appears live, while the process is running.
|
||||
* When a shown message replaces an existing related one (e.g. for
|
||||
zoom levels), the replacing now also works even if a different
|
||||
message was shown in between.
|
||||
* The .redirect(...) method on interceptors now supports an
|
||||
ignore_unsupported=True argument which supresses exceptions if
|
||||
a request could not be redirected. Note, however, that it is
|
||||
still not public API.
|
||||
* When the --config-py argument is used, no warning about a
|
||||
missing config.load_autoconfig is shown anymore, as the
|
||||
argument is typically used for temporarily testing a config.
|
||||
* The internal _autosave session used for crash recovery is now
|
||||
only saved once per minute, since saving it for every page load
|
||||
is a noticable performance issue.
|
||||
* The readability-js userscript now displays a small header with
|
||||
page information.
|
||||
* When an external file selector is used, some additional
|
||||
validation is done on the picked files now, so that errors are
|
||||
shown if e.g. a directory is selected when a file was expected.
|
||||
* The default binding for T (:tab-focus) got changed so that it
|
||||
fills the command line with :tab-focus if used without a count
|
||||
(instead of being equivalent to :tab-next in that case).
|
||||
* The :config-unset command now understands the --pattern (-u)
|
||||
flag to unset options customized for a given URL pattern
|
||||
(such as after answering a prompt with "always"/"never").
|
||||
* The :config-unset command now shows an error when used on an
|
||||
option which is valid, but was never customized.
|
||||
* The statusbar.widgets setting now understands text:... entries
|
||||
which allows adding a hard-coded text to the statusbar.
|
||||
* The polyfill for String.replaceAll (required for Nextcloud
|
||||
Calendar < 2.2.0 with QtWebEngine < 5.15.3) is now disabled by
|
||||
default, as it's not fully compliant to the ECMAScript spec and
|
||||
might cause issues on other websites. If you still need it
|
||||
(e.g. if you're still on an old Nextcloud Calendar version),
|
||||
remove js-string-replaceall from
|
||||
content.site_specific_quirks.skip.
|
||||
|
||||
Fixed
|
||||
* When an editor exits with a != 0 exit status, the temporary
|
||||
editor file is now persisted. This already was the case when
|
||||
the editor crashed.
|
||||
* When a nonexistent file gets passed to --config-py, qutebrowser
|
||||
now complains instead of silently not loading it.
|
||||
* With some (rare) setups, opening the report dialog or using a
|
||||
PAC proxy with QtWebKit could result in qutebrowser hanging due
|
||||
to a PyQt bug. There's now a workaround which prevents the hang
|
||||
* Certain version number formats in /etc/os-release caused
|
||||
qutebrowser to crash. Those are now handled correctly.
|
||||
|
||||
Removed
|
||||
* The qute://spawn-output page used by :spawn -o is now removed,
|
||||
as it's replaced by the new qute://process pages.
|
||||
|
||||
- Changes in 2.1.1
|
||||
Added
|
||||
* Site-specific quirk for krunker.io, which shows a
|
||||
"Socket Error" with qutebrowser's default Accept-Language
|
||||
header. The workaround is equivalent to doing
|
||||
:set -u matchmaker.krunker.io content.headers.accept_language "".
|
||||
|
||||
Changed
|
||||
* Clicking the 'x' in the devtools window to hide it now also
|
||||
leaves insert mode.
|
||||
|
||||
Fixed
|
||||
* The workaround for black on (almost) black formula images in
|
||||
dark mode now also works with Qt 5.12 and 5.13.
|
||||
* When the metainfo in the completion database doesn't have the
|
||||
expected structure, qutebrowser now tries to gracefully recover
|
||||
from the situation instead of crashing.
|
||||
* When qutebrowser displays an error during initialization,
|
||||
opening a second instance would lead to a crash. Instead,
|
||||
qutebrowser now ignores the attempt to open a new page as long
|
||||
as it's not fully initialized yet.
|
||||
* When the Brave adblock cache folder was unreadable,
|
||||
qutebrowser crashed. It now displays an error instead.
|
||||
* Fixes in the qute-pass userscript for gopass:
|
||||
+ Generating OTP tokens now works correctly.
|
||||
+ Storing the username as part of the secret broke in v2.0.0
|
||||
and now works again.
|
||||
* When using bindings.key_mappings to map a key to multiple other
|
||||
keys, qutebrowser would crash. This is now handled correctly -
|
||||
however, note that it's usually better to map keys to commands
|
||||
instead.
|
||||
* When a minimized window is selected via :tab-select, it's now
|
||||
un-minimized properly.
|
||||
* When a format string in the config (e.g. tabs.title_format)
|
||||
used a value like {current_url.host} (instead of
|
||||
{current_url:host}), qutebrowser would crash. It now correctly
|
||||
reports an invalid config value instead.
|
||||
* In rare circumstances, sending URLs/commands to existing
|
||||
instances would result in a crash, which is now fixed.
|
||||
* Running the testsuite should now fully work without internet
|
||||
access again. The --asciidoc script for mkvenv.py broke with
|
||||
v1.14.0. It now works correctly again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 12 11:12:54 UTC 2021 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: qutebrowser
|
||||
Version: 2.1.0
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
Summary: Keyboard-driven vim-like browser based on Qt5
|
||||
License: GPL-3.0-or-later
|
||||
@ -26,22 +26,41 @@ URL: https://qutebrowser.org/
|
||||
Source: https://github.com/The-Compiler/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/The-Compiler/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: Mesa-dri
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: python >= 3.6.1
|
||||
BuildRequires: python3-Flask
|
||||
BuildRequires: python3-Jinja2
|
||||
BuildRequires: python3-MarkupSafe
|
||||
BuildRequires: python3-PyYAML
|
||||
BuildRequires: python3-beautifulsoup4
|
||||
BuildRequires: python3-cheroot
|
||||
BuildRequires: python3-devel >= 3.6
|
||||
BuildRequires: python3-qt5 >= 5.12
|
||||
BuildRequires: python3-hypothesis
|
||||
BuildRequires: python3-importlib-resources
|
||||
BuildRequires: python3-opengl
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest-bdd
|
||||
BuildRequires: python3-pytest-benchmark
|
||||
BuildRequires: python3-pytest-instafail
|
||||
BuildRequires: python3-pytest-mock
|
||||
BuildRequires: python3-pytest-qt
|
||||
BuildRequires: python3-pytest-rerunfailures
|
||||
BuildRequires: python3-pytest-xvfb
|
||||
BuildRequires: python3-qt5 > 5.12
|
||||
BuildRequires: python3-qtwebengine-qt5
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-tk
|
||||
BuildRequires: python3-tldextract
|
||||
Requires: libqt5-sql-sqlite
|
||||
Requires: python3-Jinja2
|
||||
Requires: python3-MarkupSafe
|
||||
Requires: python3-PyYAML
|
||||
Requires: python3-opengl
|
||||
Requires: python3-qt5 >= 5.12
|
||||
Requires: python3-qt5 > 5.12
|
||||
Requires: python3-qtwebengine-qt5
|
||||
Recommends: python3-Pygments
|
||||
Recommends: python3-adblock
|
||||
BuildArch: noarch
|
||||
@ -50,17 +69,6 @@ BuildRequires: python3-qt5-sip
|
||||
%else
|
||||
BuildRequires: python3-sip
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1500
|
||||
Requires: python3-qtwebengine-qt5
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1550
|
||||
Requires: python3-qt5-sip
|
||||
%else
|
||||
Requires: python3-sip
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1320
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
%if %{python3_version_nodots} <= 38
|
||||
Requires: python3-importlib-resources
|
||||
%endif
|
||||
@ -75,12 +83,14 @@ It's based on PyQt5 and can use either QtWebEngine or QtWebKit.
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i '1d' %{name}/__main__.py
|
||||
sed -i 's,^#!/usr/bin/env ,#!%{_bindir}/,' \
|
||||
sed -i 's,^#!%{_bindir}/env ,#!%{_bindir}/,' \
|
||||
misc/userscripts/* \
|
||||
scripts/*.py
|
||||
sed -i 's,^#!/usr/bin/bash,#!/bin/bash,' \
|
||||
sed -i 's,^#!%{_bindir}/bash,#!/bin/bash,' \
|
||||
misc/userscripts/*
|
||||
mv misc/Makefile .
|
||||
# missing files in release tarball
|
||||
rm tests/unit/scripts/test_problemmatchers.py
|
||||
|
||||
%build
|
||||
|
||||
@ -93,6 +103,11 @@ chmod -x %{buildroot}%{_datadir}/%{name}/scripts/cycle-inputs.js \
|
||||
rm %{buildroot}%{python3_sitelib}/%{name}/git-commit-id
|
||||
%fdupes %{buildroot}%{python3_sitelib}/
|
||||
|
||||
%check
|
||||
# NOTE: test suite is slow but doesn’t run reliably with xdist
|
||||
PYTHONPATH=. QUTE_BDD_WEBENGINE=true pytest -v \
|
||||
-k 'not importlib'
|
||||
|
||||
%if 0%{?suse_version} <= 1320
|
||||
%post
|
||||
%desktop_database_post
|
||||
|
Loading…
Reference in New Issue
Block a user