summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-09-20 11:41:49 -0700
committerGitHub <noreply@github.com>2020-09-20 11:41:49 -0700
commitd5eaba6c06665caaab3a0f94673f9fa7f9cfce0c (patch)
tree6eace9d586fa7e10a001787b2e48c0a9b94c46bd
parent56fc2f58b1075047571f6dacc4f02d8237b8d6c7 (diff)
parentb052b273024d94b088580f70e959f18da4e0d0be (diff)
downloadonionshare-d5eaba6c06665caaab3a0f94673f9fa7f9cfce0c.tar.gz
onionshare-d5eaba6c06665caaab3a0f94673f9fa7f9cfce0c.zip
Merge pull request #1179 from micahflee/deb_rpm
Fix Debian and Fedora packaging
-rw-r--r--BUILD.md4
-rwxr-xr-xinstall/build_rpm.sh2
-rw-r--r--onionshare_gui/tab/tab.py2
-rw-r--r--stdeb.cfg4
4 files changed, 6 insertions, 6 deletions
diff --git a/BUILD.md b/BUILD.md
index 3615c2c0..c49f70be 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -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
diff --git a/stdeb.cfg b/stdeb.cfg
index 96fa3ba4..dd59abf6 100644
--- a/stdeb.cfg
+++ b/stdeb.cfg
@@ -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