From 9e86249800ac555a459297bc0fa0517d2d17c3b390027f2440c6e00db8f099b7 Mon Sep 17 00:00:00 2001 From: Mia Herkt <9+suse@cirno.systems> Date: Fri, 4 May 2018 10:40:54 +0000 Subject: [PATCH 1/2] - Update to version 1.3.0: Added: * New :scroll-to-anchor command to scroll to an anchor in the document. * New url.open_base_url option to open the base URL of a searchengine when no search term is given. * New tabs.min_width setting to configure the minimal width for tabs. * New userscripts: + getbib to download bibtex information for DOIs on a page. + qute-keepass to get passwords from KeePassX. Changed: * QtWebEngine: Support for JavaScript Shared Web Workers have been disabled on Qt versions older than 5.11 because of security issues in in Chromium. You can get the same effect in earlier versions via ":set qt.args ['disable-shared-workers']". An equivalent workaround is also contained in Qt 5.9.5 and 5.10.1. * The file dialog for downloads now has basic tab completion based on the entered text. * :version now shows OS information for POSIX OS other than Linux/macOS. * When there's an error inserting the text from an external editor, a backup file is now saved. * The window.hide_wayland_decoration setting got renamed to window.hide_decoration and now also works outside of wayland. * The tabs.favicons.show setting now can take three values: 'always' (was True), 'never' (was False) and 'pinned' (to only show favicons for pinned tabs). * Hover tooltips on tabs now always show the webpage's title. OBS-URL: https://build.opensuse.org/package/show/network/qutebrowser?expand=0&rev=34 --- qutebrowser-1.2.1.tar.gz | 3 -- qutebrowser-1.2.1.tar.gz.asc | 16 ------- qutebrowser-1.3.0.tar.gz | 3 ++ qutebrowser-1.3.0.tar.gz.asc | 16 +++++++ qutebrowser.changes | 90 ++++++++++++++++++++++++++++++++++++ qutebrowser.spec | 2 +- 6 files changed, 110 insertions(+), 20 deletions(-) delete mode 100644 qutebrowser-1.2.1.tar.gz delete mode 100644 qutebrowser-1.2.1.tar.gz.asc create mode 100644 qutebrowser-1.3.0.tar.gz create mode 100644 qutebrowser-1.3.0.tar.gz.asc diff --git a/qutebrowser-1.2.1.tar.gz b/qutebrowser-1.2.1.tar.gz deleted file mode 100644 index 8fa1d63..0000000 --- a/qutebrowser-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ce6cf2634f06d3e715c53b50e4d042ba04aa39207ec318039a2a333e2d46beb -size 3626806 diff --git a/qutebrowser-1.2.1.tar.gz.asc b/qutebrowser-1.2.1.tar.gz.asc deleted file mode 100644 index db67248..0000000 --- a/qutebrowser-1.2.1.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAlqpdkYACgkQkW6wyP1V -oHJnUhAAhvXi4ZDm9rQbrTsjV01nflk4/iLvY+ecwdPqewJQtFsGaP0O1p9xtYx3 -odoArGuIWlKj2iocEmdl9oIxXYHfP51OPsSDXfw42ldUNa6fI22hqBWcHi6wy84N -JPpqojFjzD1zZFatTckSmEYe+n01RxnPORw+JsjwTwMp1/TRgWQIp2Un0LCfrGrj -t1epZpnxQm19B/Gz8u4dKCsT2pYQ9Mg+enPfjRH7cPHwP1bKtJUB+cIBVStE3Pro -GD/fzTrMafEbfTFwRncwLfyQB6EvPveqJjkNmblOO2tt9gAVbT0bXkmEwCYPMATv -i7Sh3KdZhXyEdu+cNY1plo2Ds8pwjgLWtrhWkm41rktn0WlOZAFQKX5x1BY8ocpp -8ENJYeXY2az9ZDuOAN/BYHjKVt5bngANOuICwfsvH5+ssgaKGhyC3c66B14VZB8O -dj2Y8Xk4WzccitnqsPyoSH6RT4uR+nmYHha01pWG8f3BEglVQrUafSSWsV7R7fZ2 -jncH65LgzpofJl65p6eiy9TCz0wGMs9y2lq9IzOd5x3PiQaZDA6SvmAZz8XmXKml -HQew1Q9/SQrPTCq1pfkGYSMnckaEml6lXIgk+HQQpr6XN1pzp2/m5Bel14LRvO2e -uO+jDskrotNZI19cLjIgy/bGDzEUEKZ8NUZ1kmXckvZ48TXsxA4= -=WK7R ------END PGP SIGNATURE----- diff --git a/qutebrowser-1.3.0.tar.gz b/qutebrowser-1.3.0.tar.gz new file mode 100644 index 0000000..4689e67 --- /dev/null +++ b/qutebrowser-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83cf51e934d37ac6fa686ba25878d63ba319b3e548f41f8ea2ee02d393313095 +size 3659104 diff --git a/qutebrowser-1.3.0.tar.gz.asc b/qutebrowser-1.3.0.tar.gz.asc new file mode 100644 index 0000000..dfd84ff --- /dev/null +++ b/qutebrowser-1.3.0.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAlrr9Y0ACgkQkW6wyP1V +oHLZMw//beiovt7ZkezJizhV/3qrFgT2hWnPHZ8p7G0pQ+Hiiik/fUZGJKh+SbDe +yS2OIPpBWKmJL/o9KaXeyi7zKX0Gz7CAvQRk39Q4i1yaoz41EZy2o+4JLJUvn8Zx +nEtdqmGSh+FtStaWmY3ZQoo+SKa9GB4P/C/ztqJIXcX6qgOv4XB7UzLO+7eQLXtw +h4pZ8N3iAU1wgmr5Ij11oJ1BNqpz4sAimyaNZpUDmD/GI1hLdgCS9XNTkv5/M7rB +C6RHBt2315eBc+hO3H4zMn9pi+9vGgoPCpjj3uEs/Vqy5Zee10XW94t/PdAwqroN +4OwEc3xyYN5g9qFyKvOa0YD9QzkQ7mlzk4iy7B64/lMEOHEWJvHQNg4Nad9tcoFG +rI03/iG0rGjsPaBAS4UNqlHrTHfgpskiQMxFY2mn50cJYPWvZemxG+5K4Vq5yRQr +mHJflhiVuNKY8xBS7PrI1LtWSIzNmI+3T9ttdPezKrSQ7o2sjbNEor1btHqsJtAg +vUlrMrkgpjccKgJovFgNc85GIaaMQfgHO6M2wB62PZ6aCES0I+MNyBopLwVDUbd+ +0VlLcuWbuxpmZYhoXWY51W3TrNkxGQGLtMgZXWorQdJEB/W0mmBhvZ0FWfqVHIuW +Xn5ReaT+HpQA76BzDufKT7ZhEPU1GswTJ1+AM/dHscutI99qCSQ= +=A2zh +-----END PGP SIGNATURE----- diff --git a/qutebrowser.changes b/qutebrowser.changes index 9740970..cfb44dd 100644 --- a/qutebrowser.changes +++ b/qutebrowser.changes @@ -1,3 +1,93 @@ +------------------------------------------------------------------- +Fri May 4 10:29:52 UTC 2018 - 9+suse@cirno.systems + +- Update to version 1.3.0: + Added: + * New :scroll-to-anchor command to scroll to an anchor in the + document. + * New url.open_base_url option to open the base URL of a + searchengine when no search term is given. + * New tabs.min_width setting to configure the minimal width + for tabs. + * New userscripts: + + getbib to download bibtex information for DOIs on a page. + + qute-keepass to get passwords from KeePassX. + + Changed: + * QtWebEngine: Support for JavaScript Shared Web Workers have + been disabled on Qt versions older than 5.11 because of + security issues in in Chromium. You can get the same effect + in earlier versions via + ":set qt.args ['disable-shared-workers']". An equivalent + workaround is also contained in Qt 5.9.5 and 5.10.1. + * The file dialog for downloads now has basic tab completion + based on the entered text. + * :version now shows OS information for POSIX OS other than + Linux/macOS. + * When there's an error inserting the text from an external + editor, a backup file is now saved. + * The window.hide_wayland_decoration setting got renamed to + window.hide_decoration and now also works outside of wayland. + * The tabs.favicons.show setting now can take three values: + 'always' (was True), 'never' (was False) and 'pinned' + (to only show favicons for pinned tabs). + * Hover tooltips on tabs now always show the webpage's title. + * The default value for content.host_blocking.lists was + changed to only include https://github.com/StevenBlack/hosts + which combines various sources. + * Error messages when trying to wrap when tabs.wrap is False + are now logged to debug instead of messages. + + Fixed: + * Using hints before a page is fully loaded is now possible + again. + * Selecting hints with the number keypad now works again. + * Tab titles for tabs loaded from sessions should now really be + correct instead of showing the URL. + * Loading URLs with customized settings from a session now + avoids an additional reload. + * The window icon and title now get set correctly again. + * The tabs.switching_delay setting now has a correct maximum + value limit set. + * The taskadd script now works properly when there's multi-line + output. + * QtWebEngine: Worked around issues with + GreaseMonkey/stylesheets not being loaded correctly in some + situations. + * The statusbar now more closely reflects the caret mode state. + * The icon on Windows should now be displayed in a higher + resolution. + * The QtWebEngine development tools (inspector) now also work + when JavaScript is disabled globally. + * Building .exe files now works when upx is installed on the + system. + * The keyhint widget now shows the correct text for chained + modifiers. + * Loading GreaseMonkey scripts now also works with Jinja2 2.8 + (e.g. on Debian Stable). + * Adding styles with GreaseMonkey on fast sites now works + properly. + * Window ID 0 is now excluded properly from ":tab-take" + completion. + * A rare crash when cancelling a download has been fixed. + * The Makefile (intended for packagers) now supports PREFIX + properly. + * The workaround for a black window with Nvidia graphics is now + enabled on non-Linux systems (like FreeBSD) as well. + * Initial support for Qt 5.11. + * Checking for a new version after sending a crash report now + works properly again. + * "@match" in Greasemonkey scripts now more closely matches the + proper pattern syntax. + * Searching via / or ? now doesn't handle any characters in a + special way. + * Fixed crash when trying to retry some failed downloads on + QtWebEngine. + * An invalid spellcheck dictionary filename now doesn't crash + anymore. When no spellcheck dictionaries are configured, + it's now disabled internally. This works around an issue with + entering special characters on Facebook messenger. + ------------------------------------------------------------------- Wed Mar 14 19:31:01 UTC 2018 - 9+suse@cirno.systems diff --git a/qutebrowser.spec b/qutebrowser.spec index 7520b98..644d636 100644 --- a/qutebrowser.spec +++ b/qutebrowser.spec @@ -17,7 +17,7 @@ Name: qutebrowser -Version: 1.2.1 +Version: 1.3.0 Release: 0 Summary: Keyboard-driven vim-like browser on Qt5 License: GPL-3.0-or-later From 2b3097e09ede5b886cbe3c191a10d5c11c7e89d7d0b42a35cb6c3f33ae0608c0 Mon Sep 17 00:00:00 2001 From: Mia Herkt <9+suse@cirno.systems> Date: Fri, 4 May 2018 12:36:37 +0000 Subject: [PATCH 2/2] - Use upstream Makefile to install * Package scripts and manpage - Package AppStream metadata OBS-URL: https://build.opensuse.org/package/show/network/qutebrowser?expand=0&rev=35 --- qutebrowser.changes | 3 +++ qutebrowser.spec | 30 ++++++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/qutebrowser.changes b/qutebrowser.changes index cfb44dd..8c118b7 100644 --- a/qutebrowser.changes +++ b/qutebrowser.changes @@ -1,6 +1,9 @@ ------------------------------------------------------------------- Fri May 4 10:29:52 UTC 2018 - 9+suse@cirno.systems +- Use upstream Makefile to install + * Package scripts and manpage +- Package AppStream metadata - Update to version 1.3.0: Added: * New :scroll-to-anchor command to scroll to an anchor in the diff --git a/qutebrowser.spec b/qutebrowser.spec index 644d636..83b4aa6 100644 --- a/qutebrowser.spec +++ b/qutebrowser.spec @@ -22,10 +22,11 @@ Release: 0 Summary: Keyboard-driven vim-like browser on Qt5 License: GPL-3.0-or-later Group: Productivity/Networking/Web/Browsers -Url: https://qutebrowser.org/ +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: asciidoc BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: python3-Jinja2 @@ -59,26 +60,20 @@ It's based on Python, PyQt5 and QtWebKit and is free software. %prep %setup -q sed -i '1d' %{name}/__main__.py -touch -r qutebrowser/browser/network/__init__.py \ - qutebrowser/browser/webkit/network/__init__.py +sed -i 's,^#!/usr/bin/env python,#!/usr/bin/python,;s,^#!/usr/bin/env bash,#!/bin/bash,' \ + misc/userscripts/* \ + scripts/*.py +mv misc/Makefile . %build -python3 setup.py build %install -python3 setup.py install \ - --root=%{buildroot} --prefix=%{_prefix} - -install -Dpm 0644 misc/%{name}.desktop \ - %{buildroot}%{_datadir}/applications/%{name}.desktop - -for size in 16 24 32 48 64 128 256; do - install -Dpm 0644 "icons/%{name}-${size}x${size}.png" \ - "%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png" -done -install -Dpm 0644 icons/%{name}.svg \ - %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%make_install PREFIX=%{_prefix} +install -d %{buildroot}%{_datadir}/appdata +install -m644 misc/%{name}.appdata.xml %{buildroot}%{_datadir}/appdata +chmod -x %{buildroot}%{_datadir}/%{name}/scripts/cycle-inputs.js \ + %{buildroot}%{_datadir}/%{name}/scripts/utils.py rm %{buildroot}%{python3_sitelib}/%{name}/git-commit-id %fdupes %{buildroot}%{python3_sitelib}/ @@ -100,5 +95,8 @@ rm %{buildroot}%{python3_sitelib}/%{name}/git-commit-id %{python3_sitelib}/%{name}-* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* +%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog