Ticket #961: fix-debian-building-instructions.dpatch

File fix-debian-building-instructions.dpatch, 2.2 KB (added by francois, at 2010-03-04T19:57:07Z)

This patch fix a few missing commands in ioerror's modifications to docs/debian.txt

Line 
1Thu Mar  4 17:15:53 CET 2010  Francois Deppierraz <francois@ctrlaltdel.ch>
2  * Fix the instructions for building Debian packages
3
4New patches:
5
6[Fix the instructions for building Debian packages
7Francois Deppierraz <francois@ctrlaltdel.ch>**20100304161553
8 Ignore-this: a13dbdb99af091e3304c4c24ba541218
9] {
10hunk ./docs/debian.txt 13
11 
12 First, we'll install some common packages for development:
13 
14-    apt-get install -y build-essential debhelper cdbs python-central \
15+    sudo apt-get install -y build-essential debhelper cdbs python-central \
16                     python-setuptools python python-dev python-twisted-core \
17                     fakeroot darcs python-twisted python-nevow \
18hunk ./docs/debian.txt 16
19-                    python-simplejson  python-pycryptopp devscripts
20+                    python-simplejson  python-pycryptopp devscripts \
21+                    apt-file
22+    sudo apt-file update
23 
24 
25 To create packages for Lenny, we'll also install stdeb:   
26hunk ./docs/debian.txt 23
27 
28-    apt-get install python-all-dev
29+    sudo apt-get install python-all-dev
30     STDEB_VERSION="0.3.2"
31hunk ./docs/debian.txt 25
32-    http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz
33+    wget http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz
34     tar xzf stdeb-$STDEB_VERSION.tar.gz
35     cd stdeb-$STDEB_VERSION
36     python setup.py --command-packages=stdeb.command bdist_deb
37}
38
39Context:
40
41[CREDITS to Jacob Appelbaum
42zooko@zooko.com**20100304015616
43 Ignore-this: 70db493abbc23968fcc8db93f386ea54
44] 
45[desert-island-build-with-proper-versions
46jacob@appelbaum.net**20100304013858] 
47[docs: a few small edits to try to guide newcomers through the docs
48zooko@zooko.com**20100303231902
49 Ignore-this: a6aab44f5bf5ad97ea73e6976bc4042d
50 These edits were suggested by my watching over Jake Appelbaum's shoulder as he completely ignored/skipped/missed install.html and also as he decided that debian.txt wouldn't help him with basic installation. Then I threw in a few docs edits that have been sitting around in my sandbox asking to be committed for months.
51] 
52[TAG allmydata-tahoe-1.6.1
53david-sarah@jacaranda.org**20100228062314
54 Ignore-this: eb5f03ada8ea953ee7780e7fe068539
55] 
56Patch bundle hash:
57dfac76faecf49c7d3fdc5eeda050cf65673cbb91