diff options
Diffstat (limited to 'network/qutebrowser-tox')
-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 | 156 | ||||
-rw-r--r-- | network/qutebrowser-tox/qutebrowser-tox.info | 44 | ||||
-rw-r--r-- | network/qutebrowser-tox/slack-desc | 19 | ||||
-rw-r--r-- | network/qutebrowser-tox/wrapper.qutebrowser | 3 |
7 files changed, 0 insertions, 280 deletions
diff --git a/network/qutebrowser-tox/README b/network/qutebrowser-tox/README deleted file mode 100644 index 7b852e17a5..0000000000 --- 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 829582a8cf..0000000000 --- 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 65c7e2eeb9..0000000000 --- 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 08ea84a3f0..0000000000 --- a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild +++ /dev/null @@ -1,156 +0,0 @@ -#!/bin/sh - -# 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. - -PRGNAM=qutebrowser-tox -VERSION=${VERSION:-2.0.2} -SSLVERSION=${SSLVERSION:-1.1.1i} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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 - -CWD=$(pwd) -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 {} \; - -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:-tgz} diff --git a/network/qutebrowser-tox/qutebrowser-tox.info b/network/qutebrowser-tox/qutebrowser-tox.info deleted file mode 100644 index 20c5ea4f54..0000000000 --- a/network/qutebrowser-tox/qutebrowser-tox.info +++ /dev/null @@ -1,44 +0,0 @@ -PRGNAM="qutebrowser-tox" -VERSION="2.0.2" -HOMEPAGE="https://qutebrowser.org" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="https://github.com/qutebrowser/qutebrowser/archive/v2.0.2/qutebrowser-2.0.2.tar.gz \ - https://files.pythonhosted.org/packages/de/47/58b9f3e6f611dfd17fb8bd9ed3e6f93b7ee662fb85bdfee3565e8979ddf7/pip-21.0-py3-none-any.whl \ - https://files.pythonhosted.org/packages/f7/30/f963996d7efea5a336455a3c727711469280c318e2711e295007dea04d7e/setuptools-52.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/91/cf/cc705497cdae04c3c0bc34f94b91e31b6585bb65eb561f18473c998caae1/PyQt5-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-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/e5/c9/e1d49dd3d4d658b19bbe6a111bb70f6454fab8c30047896409801832c03a/PyQtWebEngine-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl \ - https://files.pythonhosted.org/packages/c4/bd/6adfc6fac46a5a570add499a2050435c1734db8c2a64c87a926ceb018907/adblock-0.4.1-cp37-cp37m-manylinux2010_x86_64.whl \ - https://files.pythonhosted.org/packages/c3/aa/cb45262569fcc047bf070b5de61813724d6726db83259222cd7b4c79821a/attrs-20.3.0-py2.py3-none-any.whl \ - https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl \ - https://files.pythonhosted.org/packages/82/70/7bf5f275a738629a7252c30c8461502d3658a75363db9f4f88ddbeb9eeac/importlib_resources-5.1.0-py3-none-any.whl \ - https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl \ - https://files.pythonhosted.org/packages/98/7b/ff284bd8c80654e471b769062a9b43cc5d03e7a615048d96f4619df8d420/MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl \ - https://files.pythonhosted.org/packages/17/e3/c7ea888bd6e9849c60b1f378637850265177ed01297137f544a7ecf7d7ba/Pygments-2.7.4-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/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl \ - https://github.com/mozilla/pdf.js/releases/download/v2.6.347/pdfjs-2.6.347-dist.zip \ - https://www.openssl.org/source/openssl-1.1.1i.tar.gz" -MD5SUM_x86_64="517bdd6b2e2e29179f271b5e93495db7 \ - 617d83434cc86611cb3ba15df4ce5b0f \ - 1f5b1f2d985d260c216647cfbcdce19c \ - 6c222a4df97a3311b4e189a59c47dea0 \ - 527d3122c8fc1d6fd4b290833783ef4e \ - 15ab5559104be2d1ca4c9c7802ed3e9b \ - c8b498076e2d286431edc8bfec056cb5 \ - 7f7154346b20cc04d4107eaa133ddfca \ - e8156a6d3ff4d7c6362c40451cddc897 \ - 1dcd07acf2b1875ed09428e1ddf7e028 \ - 5d2d44d356fe281198da8805400651d7 \ - e36888c21cb0f6716b9987be2972744d \ - ce9334cb93c3fb155b6395458935ad61 \ - dc22e2ea6830211a29e1ad36137b79e0 \ - 11fe109ca339ae11e59a410b85ecd14e \ - bbd9aa1c9d53ed2178157746c7198fae \ - 06c69693d6a493a698b8c70bfc196171 \ - 08987c3cf125202e2b0840035efb392c" -REQUIRES="libxkbcommon krb5 python3 Pygments" -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 b75e1e0172..0000000000 --- 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 5561a4ac75..0000000000 --- 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 "$@" |