ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/makebin.linux
(Generate patch)

Comparing cf.schmorp.de/Deliantra-Client/makebin.linux (file contents):
Revision 1.12 by root, Wed Dec 26 21:06:01 2007 UTC vs.
Revision 1.13 by root, Sun Mar 23 19:42:44 2008 UTC

10#PANGO=1.6.0 10#PANGO=1.6.0
11 11
12for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do 12for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do
13 ( 13 (
14 cd /root/src/$mod 14 cd /root/src/$mod
15 $PERL/bin/perl Makefile.PL 15 $PERL/bin/perl Makefile.PL </dev/null
16 make install
17 make clean 16 make clean
17 $PERL/bin/perl Makefile.PL </dev/null
18 make install || exit
19 make clean
18 ) & 20 )
19done 21done
20 22
21( 23(
22 # patch braindamaged pango 24 # patch braindamaged pango
23 perl -pe 's{/u(?=sr/lib(32)?/pango)}{/\x00}g; s{\Q'$PANGO'\E\x00}{y.t.u\x00}g' </usr/lib/libpango-1.0.so.0 >pango-1.0.so.0 25 perl -pe 's{/u(?=sr/lib(32)?/pango)}{/\x00}g; s{\Q'$PANGO'\E\x00}{y.t.u\x00}g' </usr/lib/libpango-1.0.so.0 >pango-1.0.so.0
38) >addlist 40) >addlist
39 41
40trap "rm addlist pangoversion pango-1.0.so.0" 0 42trap "rm addlist pangoversion pango-1.0.so.0" 0
41 43
42$PERL/bin/perl Makefile.PL 44$PERL/bin/perl Makefile.PL
45make clean
46$PERL/bin/perl Makefile.PL
43make install 47make install || exit
44 48
45wait 49wait
46 50
47LD_LIBRARY_PATH=/lib:/usr/lib \ 51LD_LIBRARY_PATH=/lib:/usr/lib \
48$PERL/bin/pp -C -I /root/src/Deliantra \ 52$PERL/bin/pp -C -I /root/src/Deliantra \
52 -l glib-2.0 -l gobject-2.0 -l gmodule-2.0 \ 56 -l glib-2.0 -l gobject-2.0 -l gmodule-2.0 \
53 -l pangoft2-1.0 \ 57 -l pangoft2-1.0 \
54 -l SDL -l asound \ 58 -l SDL -l asound \
55 -l SDL_mixer -l vorbisfile -l vorbis -l ogg -l smpeg -l stdc++ \ 59 -l SDL_mixer -l vorbisfile -l vorbis -l ogg -l smpeg -l stdc++ \
56 -l SDL_image -l png12 -l z \ 60 -l SDL_image -l png12 -l z \
57 -o deliantra-gnu-linux-x86.bin -A addlist bin/deliantra 61 -o deliantra-gnu-linux-x86.bin -A addlist bin/deliantra || exit
58 62
59todata deliantra-gnu-linux-x86.bin 63todata deliantra-gnu-linux-x86.bin

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines