comparison es/examples/mq.tarball @ 432:04c08ad7e92e

Translated svgs dummy .tex towards building
author Igor TAmara <igor@tamarapatino.org>
date Sat, 18 Oct 2008 07:48:21 -0500
parents
children
comparison
equal deleted inserted replaced
431:d13a05515acf 432:04c08ad7e92e
1 #!/bin/bash
2
3 cp $EXAMPLE_DIR/data/netplug-*.tar.bz2 .
4 ln -s /bin/true download
5 export PATH=`pwd`:$PATH
6
7 #$ name: download
8
9 download netplug-1.2.5.tar.bz2
10 tar jxf netplug-1.2.5.tar.bz2
11 cd netplug-1.2.5
12 hg init
13 hg commit -q --addremove --message netplug-1.2.5
14 cd ..
15 hg clone netplug-1.2.5 netplug
16
17 #$ name:
18
19 cd netplug
20 echo '[extensions]' >> $HGRC
21 echo 'hgext.mq =' >> $HGRC
22 cd ..
23
24 #$ name: qinit
25
26 cd netplug
27 hg qinit
28 hg qnew -m 'fix build problem with gcc 4' build-fix.patch
29 perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c
30 hg qrefresh
31 hg tip -p
32
33 #$ name: newsource
34
35 hg qpop -a
36 cd ..
37 download netplug-1.2.8.tar.bz2
38 hg clone netplug-1.2.5 netplug-1.2.8
39 cd netplug-1.2.8
40 hg locate -0 | xargs -0 rm
41 cd ..
42 tar jxf netplug-1.2.8.tar.bz2
43 cd netplug-1.2.8
44 hg commit --addremove --message netplug-1.2.8
45
46 #$ name: repush
47
48 cd ../netplug
49 hg pull ../netplug-1.2.8
50 hg qpush -a
51