diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-02 08:24:06 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 16:25:43 +0700 |
commit | 121a73b6fafd198f278ac3a865c712b558e4825b (patch) | |
tree | 13bd2c6bdb912acd8755f3a73a85e4ea4e7e1679 /network | |
parent | c37a0eb667258630c2843ba4350df49dc0800239 (diff) |
network/qutebrowser-tox: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/qutebrowser-tox/8232d38.patch | 42 | ||||
-rw-r--r-- | network/qutebrowser-tox/README | 15 | ||||
-rw-r--r-- | network/qutebrowser-tox/README.SBo | 34 | ||||
-rw-r--r-- | network/qutebrowser-tox/doinst.sh | 9 | ||||
-rw-r--r-- | network/qutebrowser-tox/qutebrowser-tox.SlackBuild | 168 | ||||
-rw-r--r-- | network/qutebrowser-tox/qutebrowser-tox.info | 50 | ||||
-rw-r--r-- | network/qutebrowser-tox/slack-desc | 19 | ||||
-rw-r--r-- | network/qutebrowser-tox/wrapper.qutebrowser | 3 |
8 files changed, 0 insertions, 340 deletions
diff --git a/network/qutebrowser-tox/8232d38.patch b/network/qutebrowser-tox/8232d38.patch deleted file mode 100644 index 952170b1bd54..000000000000 --- a/network/qutebrowser-tox/8232d38.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8232d384929641be7409e026d20843a2edd73e48 Mon Sep 17 00:00:00 2001 -From: Florian Bruhin <me@the-compiler.org> -Date: Tue, 13 Apr 2021 16:33:13 +0200 -Subject: [PATCH] notifications: Handle MaxNotificationsExceeded error from - GNOME Flashback - -(cherry picked from commit 2cfc64579a22e7dd933c9591e6bb141b877b58e0) ---- - qutebrowser/browser/webengine/notification.py | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/qutebrowser/browser/webengine/notification.py b/qutebrowser/browser/webengine/notification.py -index 36493f4f72..5e32b63276 100644 ---- a/qutebrowser/browser/webengine/notification.py -+++ b/qutebrowser/browser/webengine/notification.py -@@ -693,6 +693,15 @@ class DBusNotificationAdapter(AbstractNotificationAdapter): - SPEC_VERSION = "1.2" # Released in January 2011, still current in March 2021. - NAME = "libnotify" - -+ _NON_FATAL_ERRORS = { -+ # notification daemon is gone -+ "org.freedesktop.DBus.Error.NoReply", -+ -+ # https://gitlab.gnome.org/GNOME/gnome-flashback/-/blob/3.40.0/gnome-flashback/libnotifications/nd-daemon.c#L178-187 -+ # Exceeded maximum number of notifications -+ "org.freedesktop.Notifications.MaxNotificationsExceeded", -+ } -+ - def __init__(self, parent: QObject = None) -> None: - super().__init__(bridge) - if not qtutils.version_check('5.14'): -@@ -878,8 +887,8 @@ def _verify_message( - - if msg.type() == QDBusMessage.ErrorMessage: - err = msg.errorName() -- if err == "org.freedesktop.DBus.Error.NoReply": -- self.error.emit(msg.errorMessage()) # notification daemon is gone -+ if err in self._NON_FATAL_ERRORS: -+ self.error.emit(msg.errorMessage()) - return - - raise Error(f"Got DBus error: {err} - {msg.errorMessage()}") diff --git a/network/qutebrowser-tox/README b/network/qutebrowser-tox/README deleted file mode 100644 index 7b852e17a576..000000000000 --- a/network/qutebrowser-tox/README +++ /dev/null @@ -1,15 +0,0 @@ -Qutebrowser is a keyboard-focused browser with a minimal vim-like GUI. -It's based on Qt and PyQt5 and free software, licensed under the GPL. - -It was inspired by other browsers/addons like dwb and -Vimperator/Pentadactyl. - -This SlackBuild installs all needed dependencies in a virtual -environment subfolder. This comes with an up-to-date Qt/PyQt including a -pre-compiled QtWebEngine binary, but has a couple of caveats: -* It only works on 64-bit x86 systems. -* It comes with a QtWebEngine compiled without proprietary codec support - (such as h.264). - -Before version 1.10.0 this SlackBuild used tox to manage virtualenv, -hence the name of the SlackBuild. diff --git a/network/qutebrowser-tox/README.SBo b/network/qutebrowser-tox/README.SBo deleted file mode 100644 index 829582a8cfaf..000000000000 --- a/network/qutebrowser-tox/README.SBo +++ /dev/null @@ -1,34 +0,0 @@ -Qutebrowser crashes -=================== - -If qutebrowser starts to crash, its cache may be corrupt. This often -happens after an upgrade. To remove the cache run: -rm -rf ~/.cache/qutebrowser/ -rm -rf ~/.local/share/qutebrowser/webengine/Application\ Cache/ -rm -rf ~/.local/share/qutebrowser/webengine/GPUCache -rm -rf ~/.local/share/qutebrowser/webengine/Service\ Worker/CacheStorage -rm -rf ~/.local/share/qutebrowser/webengine/Service\ Worker/ScriptCache - -Widevine support -================ - -Widevine DRM support requires libwidevinecdm.so plugin. Qutebrowser -searches for it in the following directories: - -/opt/google/chrome -/usr/lib/chromium -/usr/lib64/chromium -/usr/lib/chromium-browser - -libwidevinecdm.so can be download at -https://dl.google.com/widevine-cdm/X.X.X.X-linux-x64.zip -and manually put to one of the above directories. The version "X.X.X.X" -to download can be found at -https://dl.google.com/widevine-cdm/versions.txt - -libwidevinecdm.so provided by google-chrome from /extra, Alien Bob's -chromium-widevine-plugin, etc. can be used as well. - -To test the Widevine DRM support, go to -https://shaka-player-demo.appspot.com/demo/ -and play the Sintel video. diff --git a/network/qutebrowser-tox/doinst.sh b/network/qutebrowser-tox/doinst.sh deleted file mode 100644 index 65c7e2eeb9aa..000000000000 --- a/network/qutebrowser-tox/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi diff --git a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild b/network/qutebrowser-tox/qutebrowser-tox.SlackBuild deleted file mode 100644 index a9d7766b18e2..000000000000 --- a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild +++ /dev/null @@ -1,168 +0,0 @@ -#!/bin/bash - -# Slackware build script for qutebrowser-tox - -# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=qutebrowser-tox -VERSION=${VERSION:-2.2.0} -SSLVERSION=${SSLVERSION:-1.1.1k} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ "$ARCH" != "x86_64" ]; then - echo "Only x86_64 is supported." - exit 1 -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG/opt $OUTPUT -cd $PKG/opt -tar xvf $CWD/qutebrowser-$VERSION.tar.gz -mv qutebrowser-$VERSION qutebrowser -cd qutebrowser -sed -i.bak "s|\(run_venv(venv_dir, 'python', '-m', 'pip', 'install',\)|\1 \ -'--no-index', '--find-links=$CWD/',|" scripts/mkvenv.py - -sed -i "/env\['PATH'\] = str(bin_path) + os.pathsep + env\['PATH'\]/d" \ - scripts/asciidoc2html.py - -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -patch -p1 < $CWD/8232d38.patch - -python3 scripts/mkvenv.py --skip-smoke-test - -mv scripts/mkvenv.py.bak scripts/mkvenv.py - -find ./ -type f -name '*.pyc' -delete -find ./ -type d -name '__pycache__' -delete -find ./ -type f -exec sed -i -e "s|$PKG||" {} \; -find ./ -type f -exec sed -i -e \ - '1,2 s|^#!/usr/bin/env python.*$|#!/opt/qutebrowser/.venv/bin/python3|' {} \; -.venv/bin/python3 -m compileall scripts/__init__.py \ - scripts/setupcommon.py scripts/utils.py -fq -.venv/bin/python3 -m compileall .venv/lib -fq - -.venv/bin/python3 scripts/asciidoc2html.py -a2x -f manpage doc/qutebrowser.1.asciidoc -gzip -9 doc/qutebrowser.1 -mkdir -p $PKG/usr/man/man1 -mv doc/qutebrowser.1.gz $PKG/usr/man/man1 - -mkdir -p $PKG/usr/share/{metainfo,applications,icons/hicolor/scalable/apps,pixmaps,qutebrowser/pdf.js} -install -m 0644 misc/org.qutebrowser.qutebrowser.appdata.xml \ - $PKG/usr/share/metainfo/ -install -m 0644 misc/org.qutebrowser.qutebrowser.desktop \ - $PKG/usr/share/applications -for res in 16 24 32 48 64 96 128 256 512; do - mkdir -p $PKG/usr/share/icons/hicolor/${res}x${res}/apps/; - install -m 0644 "icons/qutebrowser-${res}x${res}.png" \ -"$PKG/usr/share/icons/hicolor/${res}x${res}/apps/qutebrowser.png" -done -install -m 0644 "icons/qutebrowser.svg" \ - $PKG/usr/share/icons/hicolor/scalable/apps/ -install -m 0644 "icons/qutebrowser.xpm" $PKG/usr/share/pixmaps/ - -cp -a misc/userscripts $PKG/usr/share/qutebrowser -cp -a scripts $PKG/usr/share/qutebrowser -rm -rf $PKG/usr/share/qutebrowser/scripts/{__pycache__,dev,testbrowser,__init__.py,asciidoc2html.py,setupcommon.py,link_pyqt.py} - -mkdir -p $PKG/usr/bin -install -m 0755 -o root -g root $CWD/wrapper.qutebrowser \ - $PKG/usr/bin/qutebrowser - -find ./ -type f -exec sed -i -e \ - 's|/usr/share/pdf.js|/usr/share/qutebrowser/pdf.js|' {} \; -cd $PKG/usr/share/qutebrowser/pdf.js -unzip $CWD/pdfjs-*-dist.zip -chown -R root:root $PKG/usr/share/qutebrowser/pdf.js -find ./ -type f -exec chmod 644 {} \; - -cd $TMP -rm -rf openssl-$SSLVERSION -tar xvf $CWD/openssl-$SSLVERSION.tar.gz -cd openssl-$SSLVERSION -./config \ - zlib \ - enable-camellia \ - enable-seed \ - enable-rfc3779 \ - enable-cms \ - enable-md2 \ - enable-rc5 \ - enable-ssl3 \ - enable-ssl3-method \ - no-weak-ssl-ciphers \ - no-mdc2 \ - no-ec2m \ - no-idea \ - no-sse2 \ - shared - -make - -mv libcrypto.so.1.1 libssl.so.1.1 $PKG/opt/qutebrowser -cd $PKG/opt/qutebrowser - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.asciidoc $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/qutebrowser-tox/qutebrowser-tox.info b/network/qutebrowser-tox/qutebrowser-tox.info deleted file mode 100644 index c8eb7050488c..000000000000 --- a/network/qutebrowser-tox/qutebrowser-tox.info +++ /dev/null @@ -1,50 +0,0 @@ -PRGNAM="qutebrowser-tox" -VERSION="2.2.0" -HOMEPAGE="https://qutebrowser.org" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="https://github.com/qutebrowser/qutebrowser/archive/v2.2.0/qutebrowser-2.2.0.tar.gz \ - https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl \ - https://files.pythonhosted.org/packages/ae/42/2876a3a136f8bfa9bd703518441c8db78ff1eeaddf174baa85c083c1fd15/setuptools-56.0.0-py3-none-any.whl \ - https://files.pythonhosted.org/packages/65/63/39d04c74222770ed1589c0eaba06c05891801219272420b40311cd60c880/wheel-0.36.2-py2.py3-none-any.whl \ - https://files.pythonhosted.org/packages/ed/62/cd9f10702c75b242f82da858668fba0cda04cda92133244d3d1555e530b4/PyQt5-5.15.4-cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl \ - https://files.pythonhosted.org/packages/83/d4/241a6a518d0bcf0a9fcdcbad5edfed18d43e884317eab8d5230a2b27e206/PyQt5_Qt5-5.15.2-py3-none-manylinux2014_x86_64.whl \ - https://files.pythonhosted.org/packages/31/24/f887203677955ba4d5d4efe9176ac7ed2bf84efce8c243ab91e63183ad9e/PyQt5_sip-12.8.1-cp37-cp37m-manylinux1_x86_64.whl \ - https://files.pythonhosted.org/packages/8a/4a/570f9544d872c27d4c71f72c81af6890337a952a1b2923828c8f9dd56244/PyQtWebEngine-5.15.4-cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl \ - https://files.pythonhosted.org/packages/48/62/117c9c96837287b181fce6da481065ddda68b3a8c0fa5f00ea62cc08b877/PyQtWebEngine_Qt5-5.15.2-py3-none-manylinux2014_x86_64.whl \ - https://files.pythonhosted.org/packages/39/5d/68618c48e0c2f051143d0dfb981dc9098fe3362f77bfe53bb6f970800ac2/adblock-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl \ - https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl \ - https://files.pythonhosted.org/packages/99/8f/b0ac918b2234848ec5bd2a887d2be7d6686355fcb22d7a0efe878d5c1555/importlib_metadata-3.10.0-py3-none-any.whl \ - https://files.pythonhosted.org/packages/f0/5e/69e6a0602c1f18d390952177de648468c4a380252858b0022affc3ce7811/importlib_resources-5.1.2-py3-none-any.whl \ - https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl \ - https://files.pythonhosted.org/packages/c2/37/2e4def8ce3739a258998215df907f5815ecd1af71e62147f5eea2d12d4e8/MarkupSafe-1.1.1-cp37-cp37m-manylinux2010_x86_64.whl \ - https://files.pythonhosted.org/packages/3a/80/a52c0a7c5939737c6dca75a831e89658ecb6f590fb7752ac777d221937b9/Pygments-2.8.1-py3-none-any.whl \ - https://files.pythonhosted.org/packages/7a/a5/393c087efdc78091afa2af9f1378762f9821c9c1d7a22c5753fb5ac5f97a/PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl \ - https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl \ - https://files.pythonhosted.org/packages/0f/8c/715c54e9e34c0c4820f616a913a7de3337d0cd79074dd1bed4dd840f16ae/zipp-3.4.1-py3-none-any.whl \ - https://github.com/mozilla/pdf.js/releases/download/v2.7.570/pdfjs-2.7.570-dist.zip \ - https://www.openssl.org/source/openssl-1.1.1k.tar.gz" -MD5SUM_x86_64="c3d6baacef40ee84e0c5b01fd0f3e3a7 \ - e6e25dc3ecf3bab199b5ba1f14e81474 \ - 23559a79917a14480246c46e797e73c5 \ - 6c222a4df97a3311b4e189a59c47dea0 \ - 2020d0624acda6a6ab1abdb868f146ae \ - 038f56bd7af99133f591c7497b64ea17 \ - 15ab5559104be2d1ca4c9c7802ed3e9b \ - ff98ca82869ad5e0ecf8208908f3edbe \ - d9fe06e7758913f32dc09324ff9abfdf \ - 504321e0e009e2fbb194ffde9d9a594a \ - 1dcd07acf2b1875ed09428e1ddf7e028 \ - f99fe16a8f0c96a7149bd99a84dbb6f9 \ - 4414bda5a4cd09f2b87cffa1aa10fd33 \ - 8e733c6f4cdef7f6a336299e8e548dfa \ - c9c9888fa812cc8bc44cf6951b5d84e1 \ - 06d37d76edec4042d9438544df32e30e \ - 11fe109ca339ae11e59a410b85ecd14e \ - cbf20d17c294eb6a2d5e98669cfe67a6 \ - 483005e4371c4272901908cffc968ac2 \ - 836a95e4a7dd859781673dc5222b4ec6 \ - c4e7d95f782b08116afa27b30393dd27" -REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" diff --git a/network/qutebrowser-tox/slack-desc b/network/qutebrowser-tox/slack-desc deleted file mode 100644 index b75e1e017209..000000000000 --- a/network/qutebrowser-tox/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -qutebrowser-tox: qutebrowser-tox (PyQt5 keyboard-driven vim-like browser) -qutebrowser-tox: -qutebrowser-tox: Qutebrowser is a keyboard-focused browser with a minimal vim-like GUI. -qutebrowser-tox: It's based on Qt and PyQt5 and free software, licensed under the GPL. -qutebrowser-tox: -qutebrowser-tox: It was inspired by other browsers/addons like dwb and -qutebrowser-tox: Vimperator/Pentadactyl. -qutebrowser-tox: -qutebrowser-tox: This script installs all needed dependencies in a .venv subfolder. -qutebrowser-tox: -qutebrowser-tox: Homepage: https://www.qutebrowser.org diff --git a/network/qutebrowser-tox/wrapper.qutebrowser b/network/qutebrowser-tox/wrapper.qutebrowser deleted file mode 100644 index 5561a4ac750a..000000000000 --- a/network/qutebrowser-tox/wrapper.qutebrowser +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -LD_LIBRARY_PATH="/opt/qutebrowser" \ -setsid /opt/qutebrowser/.venv/bin/python3 -m qutebrowser "$@" |