diff options
author | Micah Lee <micah@micahflee.com> | 2020-09-20 11:41:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-20 11:41:49 -0700 |
commit | d5eaba6c06665caaab3a0f94673f9fa7f9cfce0c (patch) | |
tree | 6eace9d586fa7e10a001787b2e48c0a9b94c46bd | |
parent | 56fc2f58b1075047571f6dacc4f02d8237b8d6c7 (diff) | |
parent | b052b273024d94b088580f70e959f18da4e0d0be (diff) | |
download | onionshare-d5eaba6c06665caaab3a0f94673f9fa7f9cfce0c.tar.gz onionshare-d5eaba6c06665caaab3a0f94673f9fa7f9cfce0c.zip |
Merge pull request #1179 from micahflee/deb_rpm
Fix Debian and Fedora packaging
-rw-r--r-- | BUILD.md | 4 | ||||
-rwxr-xr-x | install/build_rpm.sh | 2 | ||||
-rw-r--r-- | onionshare_gui/tab/tab.py | 2 | ||||
-rw-r--r-- | stdeb.cfg | 4 |
4 files changed, 6 insertions, 6 deletions
@@ -80,13 +80,13 @@ Install the needed dependencies: **For Debian-like distros:** ``` -apt install -y python3-flask python3-stem python3-pyqt5 python3-crypto python3-socks python-nautilus tor obfs4proxy python3-pytest python3-pytestqt build-essential fakeroot python3-all python3-stdeb dh-python python3-flask-httpauth python3-distutils python3-psutil python3-watchdog +apt install -y python3-flask python3-stem python3-pyqt5 python3-crypto python3-socks python3-nautilus tor obfs4proxy python3-pytest python3-pytestqt build-essential fakeroot python3-all python3-stdeb dh-python python3-flask-httpauth python3-distutils python3-psutil python3-socketio python3-flask-socketio python3-qrcode ``` **For Fedora-like distros:** ``` -dnf install -y python3-flask python3-flask-httpauth python3-stem python3-qt5 python3-crypto python3-pysocks nautilus-python tor obfs4 python3-pytest rpm-build python3-psutil python3-watchdog +dnf install -y python3-flask python3-flask-httpauth python3-stem python3-qt5 python3-crypto python3-pysocks nautilus-python tor obfs4 python3-pytest rpm-build python3-psutil python3-socketio python3-flask-socketio python3-qrcode ``` After that you can try both the CLI and the GUI version of OnionShare: diff --git a/install/build_rpm.sh b/install/build_rpm.sh index 22153c6d..145f0a3c 100755 --- a/install/build_rpm.sh +++ b/install/build_rpm.sh @@ -9,7 +9,7 @@ VERSION=`cat share/version.txt` rm -r build dist >/dev/null 2>&1 # build binary package -python3 setup.py bdist_rpm --requires="python3-flask, python3-flask-httpauth, python3-stem, python3-qt5, python3-crypto, python3-pysocks, nautilus-python, tor, obfs4" +python3 setup.py bdist_rpm --requires="python3-flask, python3-flask-httpauth, python3-stem, python3-qt5, python3-crypto, python3-pysocks, nautilus-python, tor, obfs4, python3-psutil, python3-socketio, python3-flask-socketio, python3-qrcode" # install it echo "" diff --git a/onionshare_gui/tab/tab.py b/onionshare_gui/tab/tab.py index 9303f18b..ae987729 100644 --- a/onionshare_gui/tab/tab.py +++ b/onionshare_gui/tab/tab.py @@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. """ import queue -from PyQt5 import QtCore, QtWidgets, QtGui, QtSvg +from PyQt5 import QtCore, QtWidgets, QtGui from onionshare import strings from onionshare.onionshare import OnionShare @@ -1,6 +1,6 @@ [DEFAULT] Package3: onionshare -Depends3: python3, python3-flask, python3-flask-httpauth, python3-stem, python3-pyqt5, python3-crypto, python3-socks, python3-distutils, python-nautilus, tor, obfs4proxy, python3-psutil -Build-Depends: python3, python3-all, python3-pytest, python3-requests, python3-flask, python3-flask-httpauth, python3-stem, python3-pyqt5, python3-crypto, python3-socks, python3-distutils, python3-psutil +Depends3: python3, python3-flask, python3-flask-httpauth, python3-stem, python3-pyqt5, python3-crypto, python3-socks, python3-distutils, python3-nautilus, tor, obfs4proxy, python3-psutil, python3-socketio, python3-flask-socketio, python3-qrcode +Build-Depends: python3, python3-all, python3-pytest, python3-requests, python3-flask, python3-flask-httpauth, python3-stem, python3-pyqt5, python3-crypto, python3-socks, python3-distutils, python3-psutil, python3-socketio, python3-flask-socketio, python3-qrcode Suite: disco X-Python3-Version: >= 3.6 |