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

Comparing cf.schmorp.de/Deliantra-Client/makebin.osx (file contents):
Revision 1.8 by root, Mon Sep 29 03:05:00 2008 UTC vs.
Revision 1.9 by root, Mon Sep 29 03:44:12 2008 UTC

1#!/bin/bash 1#!/bin/bash
2 2
3# Convert a gtk2-perl program to a standalone OS X binary 3# Convert a gtk2-perl program to a standalone OS X binary
4 4
5# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib 5# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib
6
7export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps
6 8
7PERL=/opt/local 9PERL=/opt/local
8PERLLIB=/usr/lib/perl5 10PERLLIB=/usr/lib/perl5
9 11
10umask 022 12umask 022
11 13
12if true; then 14if true; then
13 for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do 15 for mod in AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB; do
14 ( 16 (
15 cd /root/src/$mod 17 cd /root/src/$mod
18 set -x
19 pwd
16 rsync -avzPessh 10.0.0.1:/root/src/$mod . --del 20 rsync -avPessh 10.0.0.1:src/$mod/. . --del
17 $PERL/bin/perl Makefile.PL </dev/null 21 $PERL/bin/perl Makefile.PL </dev/null
18 make clean 22 make clean
19 $PERL/bin/perl Makefile.PL </dev/null 23 $PERL/bin/perl Makefile.PL </dev/null
20 make install || exit 24 make install || exit
21 make clean 25 make clean
22 ) 26 ) || exit
23 done 27 done
24fi 28fi
25 29
26if true; then 30if true; then
27 31
89 93
90trap "rm -f addlist pango.rc pango.modules fonts.conf" 0 94trap "rm -f addlist pango.rc pango.modules fonts.conf" 0
91 95
92cd /root/src/deliantra/Deliantra-Client 96cd /root/src/deliantra/Deliantra-Client
93 97
94#$PERL/bin/perl Makefile.PL 98$PERL/bin/perl Makefile.PL
95#make clean 99make clean
96#$PERL/bin/perl Makefile.PL 100$PERL/bin/perl Makefile.PL
97make install || exit 101make install || exit
98 102
99DYLD_LIBRARY_PATH=/opt/local/lib \ 103DYLD_LIBRARY_PATH=/opt/local/lib \
100$PERL/bin/pp -C \ 104$PERL/bin/pp -C \
101 -z 9 \ 105 -z 9 \
149 <key>CFBundleSignature</key> 153 <key>CFBundleSignature</key>
150 <string>????</string> 154 <string>????</string>
151 <key>LSHasLocalizedDisplayName</key> 155 <key>LSHasLocalizedDisplayName</key>
152 <false/> 156 <false/>
153 <key>LSMinimumSystemVersion</key> 157 <key>LSMinimumSystemVersion</key>
154 <string>10.5</string> 158 <string>10.3</string>
155 <key>NSAppleScriptEnabled</key> 159 <key>NSAppleScriptEnabled</key>
156 <false/> 160 <false/>
157 <key>NSHumanReadableCopyright</key> 161 <key>NSHumanReadableCopyright</key>
158 <string>Deliantra MORPG Client - Copyright 2008 The Deliantra Team</string> 162 <string>Deliantra MORPG Client - Copyright 2008 The Deliantra Team</string>
159</dict> 163</dict>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines