From 42696cde912370cd7dfe441831c02016392d6dea Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sat, 13 Feb 2016 17:10:43 -0800 Subject: [PATCH] Modify stdeb settings so that .deb that gets built will run in Ubuntu 14.04 --- BUILD.md | 1 + stdeb.cfg | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index e3c79f2c..e6994a56 100644 --- a/BUILD.md +++ b/BUILD.md @@ -18,6 +18,7 @@ sudo apt-get install -y build-essential fakeroot python3-all python3-stdeb pytho ./install/build_deb.sh sudo dpkg -i deb_dist/onionshare_*.deb ``` +Note that OnionShare uses stdeb to generate Debian packages, and `python3-stdeb` is not available in Ubuntu 14.04 (Trusty). Because of this, you can't use the `build_install.sh` script to build the .deb file in versions of Ubuntu 14.04 and earlier. However, .deb files you build in later versions of Ubuntu will install and work fine in 14.04. *For .rpm-based distros (Red Hat, Fedora, CentOS):* diff --git a/stdeb.cfg b/stdeb.cfg index 5645322b..50ebaf75 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,5 +1,6 @@ [DEFAULT] Package3: onionshare Depends3: python3-flask, python3-stem, python3-pyqt5 -Build-Depends3: python3-stdeb, python3-nose -Suite: trusty +Build-Depends3: python3-nose +Suite: trusty utopic vivid wily xenial jessie +X-Python3-Version: >= 3.2