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

Comparing deliantra/Deliantra-Client/makebin.osx (file contents):
Revision 1.4 by root, Wed Aug 27 20:28:12 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
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
4 8
5PERL=/opt/local 9PERL=/opt/local
6PERLLIB=/usr/lib/perl5 10PERLLIB=/usr/lib/perl5
7PANGO=1.6.0
8 11
9umask 022 12umask 022
10 13
11if false; then 14if true; then
12 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
13 ( 16 (
14 cd /root/src/$mod 17 cd /root/src/$mod
18 set -x
19 pwd
20 rsync -avPessh 10.0.0.1:src/$mod/. . --del
15 $PERL/bin/perl Makefile.PL </dev/null 21 $PERL/bin/perl Makefile.PL </dev/null
16 make clean 22 make clean
17 $PERL/bin/perl Makefile.PL </dev/null 23 $PERL/bin/perl Makefile.PL </dev/null
18 make install || exit 24 make install || exit
19 make clean 25 make clean
20 ) 26 ) || exit
21 done 27 done
22fi 28fi
23 29
24if true; then 30if true; then
25 31
87 93
88trap "rm -f addlist pango.rc pango.modules fonts.conf" 0 94trap "rm -f addlist pango.rc pango.modules fonts.conf" 0
89 95
90cd /root/src/deliantra/Deliantra-Client 96cd /root/src/deliantra/Deliantra-Client
91 97
92#$PERL/bin/perl Makefile.PL 98$PERL/bin/perl Makefile.PL
93#make clean 99make clean
94#$PERL/bin/perl Makefile.PL 100$PERL/bin/perl Makefile.PL
95make install || exit 101make install || exit
96 102
97DYLD_LIBRARY_PATH=/opt/local/lib \ 103DYLD_LIBRARY_PATH=/opt/local/lib \
98$PERL/bin/pp -C \ 104$PERL/bin/pp -C \
99 -z 9 \ 105 -z 9 \
147 <key>CFBundleSignature</key> 153 <key>CFBundleSignature</key>
148 <string>????</string> 154 <string>????</string>
149 <key>LSHasLocalizedDisplayName</key> 155 <key>LSHasLocalizedDisplayName</key>
150 <false/> 156 <false/>
151 <key>LSMinimumSystemVersion</key> 157 <key>LSMinimumSystemVersion</key>
152 <string>10.5</string> 158 <string>10.3</string>
153 <key>NSAppleScriptEnabled</key> 159 <key>NSAppleScriptEnabled</key>
154 <false/> 160 <false/>
155 <key>NSHumanReadableCopyright</key> 161 <key>NSHumanReadableCopyright</key>
156 <string>Deliantra MORPG Client - Copyright 2008 The Deliantra Team</string> 162 <string>Deliantra MORPG Client - Copyright 2008 The Deliantra Team</string>
157</dict> 163</dict>
166cat >dmg/README.txt <<EOF 172cat >dmg/README.txt <<EOF
167Hello! 173Hello!
168 174
169This disk image contains the Deliantra MORPG game client. 175This disk image contains the Deliantra MORPG game client.
170 176
177The client has been compiled for Intel systems only.
178
179The client uses a lot of right mouse button click pop-up menus, to emulate
180a right-click with a mouse that has only one button, use ctrl-click.
181
171To play it, simply double-click it, then select a good graphics resolution 182To play it, simply double-click it, then select a good graphics resolution
172in the Setup => Graphics tab and then go to Setup => Login, enter a nickname 183in the Setup => Graphics tab and then go to Setup => Login, enter a nickname
173(no spaces, only ASCII letters supported) and a password, then hit Login. 184(no spaces, only ASCII letters supported) and a password, then hit Login.
174 185
175You can also install the client application by dragging it onto your 186You can also install the client application by dragging it onto your

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines