1 | Wed Mar 3 15:33:47 PST 2010 jacob@appelbaum.net |
---|
2 | * debian docs, the too long; didn't read version |
---|
3 | |
---|
4 | Wed Mar 3 17:20:04 PST 2010 jacob@appelbaum.net |
---|
5 | * Full desert island build instructions |
---|
6 | |
---|
7 | New patches: |
---|
8 | |
---|
9 | [debian docs, the too long; didn't read version |
---|
10 | jacob@appelbaum.net**20100303233347] hunk ./docs/debian.txt 6 |
---|
11 | +== TL;DR package building instructions == |
---|
12 | + |
---|
13 | +If you want to build your own Debian packages from the darcs tree or from |
---|
14 | +a source release, do the following: |
---|
15 | + |
---|
16 | + apt-get install -y build-essential debhelper cdbs python-central \ |
---|
17 | + python-setuptools python python-dev python-twisted-core \ |
---|
18 | + fakeroot darcs |
---|
19 | + cd ~/ |
---|
20 | + mkdir src && cd src/ |
---|
21 | + darcs get --lazy http://allmydata.org/source/tahoe-lafs/trunk tahoe-lafs |
---|
22 | + cd tahoe-lafs |
---|
23 | + # set this for your Debian release name (lenny, sid, etc) |
---|
24 | + make deb-lenny |
---|
25 | + # You must have your dependency issues worked out by hand for this to work |
---|
26 | + sudo dpkg -i ../allmydata-tahoe_0.0.1_all.deb |
---|
27 | + |
---|
28 | |
---|
29 | [Full desert island build instructions |
---|
30 | jacob@appelbaum.net**20100304012004] { |
---|
31 | hunk ./docs/debian.txt 6 |
---|
32 | -== TL;DR package building instructions == |
---|
33 | +== TL;DR supporting package building instructions == |
---|
34 | hunk ./docs/debian.txt 13 |
---|
35 | - fakeroot darcs |
---|
36 | + fakeroot darcs python-twisted python-nevow \ |
---|
37 | + python-simplejson python-pycryptopp |
---|
38 | + |
---|
39 | + |
---|
40 | +To create packages for Lenny, we'll also install stdeb: |
---|
41 | + |
---|
42 | + apt-get install python-all-dev |
---|
43 | + STDEB_VERSION="0.3.2" |
---|
44 | + http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz |
---|
45 | + tar xzf stdeb-$STDEB_VERSION.tar.gz |
---|
46 | + cd stdeb-$STDEB_VERSION |
---|
47 | + python setup.py --command-packages=stdeb.command bdist_deb |
---|
48 | + sudo dpkg -i deb_dist/python-stdeb_$STDEB_VERSION-1_all.deb |
---|
49 | + |
---|
50 | +Now we're ready to build and install the zfec Debian package: |
---|
51 | + |
---|
52 | + darcs get http://allmydata.org/source/zfec/trunk zfac |
---|
53 | + cd zfac/zfec/ |
---|
54 | + python setup.py sdist_dsc |
---|
55 | + cd `find deb_dist -mindepth 1 -maxdepth 1 -type d` && \ |
---|
56 | + dpkg-buildpackage -rfakeroot -uc -us |
---|
57 | + sudo dpkg -i ../python-zfec_1.4.6-r333-1_amd64.deb |
---|
58 | + |
---|
59 | +Finally, we'll fetch, unpack, build and install foolscap: |
---|
60 | + |
---|
61 | + # You may not already have Brian's key: |
---|
62 | + # gpg --recv-key 0x1514A7BD |
---|
63 | + wget http://foolscap.lothar.com/releases/foolscap-0.5.0.tar.gz.asc |
---|
64 | + wget http://foolscap.lothar.com/releases/foolscap-0.5.0.tar.gz |
---|
65 | + gpg --verify foolscap-0.5.0.tar.gz.asc |
---|
66 | + tar -xvzf foolscap-0.5.0.tar.gz |
---|
67 | + cd foolscap-0.5.0/ |
---|
68 | + python setup.py --command-packages=stdeb.command sdist_dsc |
---|
69 | + cd deb_dist/foolscap-0.5.0/ |
---|
70 | + dpkg-buildpackage -rfakeroot -uc -us |
---|
71 | + sudo dpkg -i ../python-foolscap_0.5.0-1_all.deb |
---|
72 | + |
---|
73 | +== TL;DR package building instructions for Tahoe == |
---|
74 | + |
---|
75 | +If you want to build your own Debian packages from the darcs tree or from |
---|
76 | +a source release, do the following: |
---|
77 | + |
---|
78 | hunk ./docs/debian.txt 64 |
---|
79 | +You should now have a functional desert island build of Tahoe with all of the |
---|
80 | +supported libraries as .deb packages. |
---|
81 | + |
---|
82 | } |
---|
83 | |
---|
84 | Context: |
---|
85 | |
---|
86 | [docs: a few small edits to try to guide newcomers through the docs |
---|
87 | zooko@zooko.com**20100303231902 |
---|
88 | Ignore-this: a6aab44f5bf5ad97ea73e6976bc4042d |
---|
89 | 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. |
---|
90 | ] |
---|
91 | [TAG allmydata-tahoe-1.6.1 |
---|
92 | david-sarah@jacaranda.org**20100228062314 |
---|
93 | Ignore-this: eb5f03ada8ea953ee7780e7fe068539 |
---|
94 | ] |
---|
95 | Patch bundle hash: |
---|
96 | 7c17024478a906c4b5f62059a3fc7778974f82d5 |
---|