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.3 by root, Wed Aug 20 18:26:03 2008 UTC vs.
Revision 1.6 by root, Tue Sep 2 04:39:17 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
4 6
5PERL=/opt/local 7PERL=/opt/local
6PERLLIB=/usr/lib/perl5 8PERLLIB=/usr/lib/perl5
7PANGO=1.6.0
8 9
9umask 022 10umask 022
10 11
11if false; then 12if false; then
12 for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do 13 for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do
166cat >dmg/README.txt <<EOF 167cat >dmg/README.txt <<EOF
167Hello! 168Hello!
168 169
169This disk image contains the Deliantra MORPG game client. 170This disk image contains the Deliantra MORPG game client.
170 171
172The client has been compiled for Intel systems only.
173
174The client uses a lot of right mouse button click pop-up menus, to emulate
175a right-click with a mouse that has only one button, use ctrl-click.
176
171To play it, simply double-click it, then select a good graphics resolution 177To 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 178in 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. 179(no spaces, only ASCII letters supported) and a password, then hit Login.
174 180
175You can also install the client application by dragging it onto your 181You can also install the client application by dragging it onto your
207EOF 213EOF
208chmod 755 dmg/"Reset Configuration" 214chmod 755 dmg/"Reset Configuration"
209 215
210# now, the last third, putting all this into a dmg 216# now, the last third, putting all this into a dmg
211 217
218DMG="Deliantra_MORPG_Client-$VER".dmg
219
212hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"Deliantra_MORPG_Client-$VER".dmg 220hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"$DMG"
213ls -l ~user/"Deliantra_MORPG_Client-$VER".dmg 221ls -l ~user/"$DMG"
214rm -rf dmg 222rm -rf dmg
215 223
224chmod 644 ~user/$DMG
225echo http://data.plan9.de/"$DMG"
226rsync -avPessh ~user/"$DMG" ruth:/var/www/data.plan9.de/.
216 227
217 228
229

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines