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 | |
5 | PERL=/opt/local |
7 | PERL=/opt/local |
6 | PERLLIB=/usr/lib/perl5 |
8 | PERLLIB=/usr/lib/perl5 |
7 | PANGO=1.6.0 |
|
|
8 | |
9 | |
9 | umask 022 |
10 | umask 022 |
10 | |
11 | |
11 | if false; then |
12 | if true; 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 |
13 | ( |
14 | ( |
14 | cd /root/src/$mod |
15 | cd /root/src/$mod |
15 | $PERL/bin/perl Makefile.PL </dev/null |
16 | $PERL/bin/perl Makefile.PL </dev/null |
16 | make clean |
17 | make clean |
… | |
… | |
166 | cat >dmg/README.txt <<EOF |
167 | cat >dmg/README.txt <<EOF |
167 | Hello! |
168 | Hello! |
168 | |
169 | |
169 | This disk image contains the Deliantra MORPG game client. |
170 | This disk image contains the Deliantra MORPG game client. |
170 | |
171 | |
|
|
172 | The client has been compiled for Intel systems only. |
|
|
173 | |
|
|
174 | The client uses a lot of right mouse button click pop-up menus, to emulate |
|
|
175 | a right-click with a mouse that has only one button, use ctrl-click. |
|
|
176 | |
171 | To play it, simply double-click it, then select a good graphics resolution |
177 | To play it, simply double-click it, then select a good graphics resolution |
172 | in the Setup => Graphics tab and then go to Setup => Login, enter a nickname |
178 | in 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 | |
175 | You can also install the client application by dragging it onto your |
181 | You can also install the client application by dragging it onto your |