[Pkg-privacy-commits] [torbrowser-launcher] 84/476: added stdeb.cfg, so the debian package name is torbrowser-launcher instead of python-torbrowser-launcher, and it also contains the correct debian dependencies (including tor). fixes #5.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository torbrowser-launcher.
commit 9143df5a40a19d5a40381b1a3b8101a9aa00fd51
Author: Micah Lee <micahflee at riseup.net>
Date: Sat Mar 2 20:57:32 2013 -0800
added stdeb.cfg, so the debian package name is torbrowser-launcher instead of python-torbrowser-launcher, and it also contains the correct debian dependencies (including tor). fixes #5.
---
README | 31 +++++++++----------------------
build_and_install.sh | 16 +++-------------
stdeb.cfg | 3 +++
3 files changed, 15 insertions(+), 35 deletions(-)
diff --git a/README b/README
index 787f488..0ce83f7 100644
--- a/README
+++ b/README
@@ -25,40 +25,27 @@ Dependencies
You need to have stdeb installed. If you're using Debian or Ubuntu you can
install it like this:
- sudo apt-get install python-stdeb
+ apt-get install python-stdeb
-Here are other things you might need:
+Also install the torbrowser-launcher dependencies:
- sudo apt-get install build-essential dpkg-dev debhelper devscripts fakeroot \
- cdbs
+ apt-get install tor python-gtk2 gnupg python-twisted
Building
--------
-First build a source distribution:
+To build a Debian source package:
- python setup.py sdist
+ python setup.py --command-packages=stdeb.command sdist_dsc
-Turn it into a Debian source package:
+To build a Debian binary package:
- cd dist
- py2dsc torbrowser-launcher-0.1.tar.gz
-
-Turn it into a Debian binary package:
-
- cd deb_dist/torbrowser-launcher-0.1
- dpkg-buildpackage -rfakeroot -uc -us
-
-Or, to combine all those in one command:
-
- python setup.py sdist; cd dist; py2dsc torbrowser-launcher-0.1.tar.gz; \
- cddeb_dist/torbrowser-launcher-0.1; dpkg-buildpackage -rfakeroot -uc -us; \
- cd ..
+ python setup.py --command-packages=stdeb.command bdist_deb
Installing
----------
-Once you've made a .deb, you can install it like this:
+Once you've made a .deb, you can install by running this as root:
- sudo dpkg -i python-torbrowser-launcher_0.1_all.deb
+ dpkg -i deb_dist/torbrowser-launcher_VERSION_all.deb
diff --git a/build_and_install.sh b/build_and_install.sh
index 1552320..54339bf 100755
--- a/build_and_install.sh
+++ b/build_and_install.sh
@@ -3,19 +3,9 @@
# clean up from last time
rm -rf ~/.torbrowser
-# build source dist
-python setup.py sdist
-
-# turn it into a debian source package
-cd dist
-py2dsc torbrowser-launcher-0.1.tar.gz
-
-# turn it into a debian binary package
-cd deb_dist/torbrowser-launcher-0.1
-dpkg-buildpackage -rfakeroot -uc -us
+# build binary package
+python setup.py --command-packages=stdeb.command bdist_deb
# install it
-cd ..
-sudo dpkg -i python-torbrowser-launcher_0.1-1_all.deb
-cd ../..
+sudo dpkg -i deb_dist/torbrowser-launcher_0.1-1_all.deb
diff --git a/stdeb.cfg b/stdeb.cfg
new file mode 100644
index 0000000..74edc1f
--- /dev/null
+++ b/stdeb.cfg
@@ -0,0 +1,3 @@
+[DEFAULT]
+Package: torbrowser-launcher
+Depends: tor, python-gtk2, gnupg, python-twisted
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list