mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-11-24 01:49:59 +00:00
added package building instructions and a build script
This commit is contained in:
parent
69418d88a2
commit
321de6a1fe
30
README
30
README
@ -6,3 +6,33 @@ Tor Browser Launcher is intended to make the Tor Browser Bundle (TBB) easier to
|
||||
When you first launch Tor Browser Launcher, it will download TBB from https://www.torproject.org/ and extract it in ~/.torproject, and then execute it. When you run it after that it will just execute TBB.
|
||||
|
||||
Tor Browser Launcher will get updated each time a new version of TBB is released. When you open Tor Browser after an update, it will download the newer version of TBB for you and extract it over your old TBB directory in ~/.torproject, so you will maintain your TBB bookmarks.
|
||||
|
||||
Building a Debian package
|
||||
=========================
|
||||
|
||||
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
|
||||
|
||||
Here are other things you might need:
|
||||
|
||||
sudo apt-get install build-essential dpkg-dev debhelper devscripts fakeroot cdbs
|
||||
|
||||
First build a source distribution:
|
||||
|
||||
python setup.py sdist
|
||||
|
||||
Turn it into a Debian source package:
|
||||
|
||||
cd dist
|
||||
py2dsc torbrowser-launcher-2.3.25-2-1.tar.gz
|
||||
|
||||
Turn it into a Debian binary package:
|
||||
|
||||
cd deb_dist/torbrowser-launcher-2.3.25-2-1
|
||||
dpkg-buildpackage -rfakeroot -uc -us
|
||||
|
||||
Once you've made a .deb, you can install it like this:
|
||||
|
||||
sudo dpkg -i python-torbrowser-launcher_2.3.25-2-1-1_all.deb
|
||||
|
||||
|
21
build_and_install.sh
Executable file
21
build_and_install.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 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-2.3.25-2-1.tar.gz
|
||||
|
||||
# turn it into a debian binary package
|
||||
cd deb_dist/torbrowser-launcher-2.3.25-2-1
|
||||
dpkg-buildpackage -rfakeroot -uc -us
|
||||
|
||||
# install it
|
||||
cd ..
|
||||
sudo dpkg -i python-torbrowser-launcher_2.3.25-2-1-1_all.deb
|
||||
cd ../..
|
||||
|
Loading…
Reference in New Issue
Block a user