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.12 by root, Sun Mar 29 22:28:12 2009 UTC vs.
Revision 1.16 by root, Fri Jan 8 19:46:19 2010 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#port install libsdl libsdl_mixer libsdl_image libvorbis libpng jpeg pango db46 libogg p5-libwww-perl p5-yaml
5# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib 6# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib
7# ln -s db46/db.h /opt/local/include
8# ln -s db46/libdb.dylib /opt/local/lib
9# /opt/local/bin/cpan Pod::POM
6 10
7#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps 11#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps
8export MACOSX_DEPLOYMENT_TARGET=10.5 # nope 12#export MACOSX_DEPLOYMENT_TARGET=10.5 # nope
9 13
10cvs update 14cvs update
11 15
12PERL=/opt/local 16PERL=/opt/local
13PERLLIB=/usr/lib/perl5 17PERLLIB=/usr/lib/perl5
14 18
15umask 022 19umask 022
16 20
17if true; then 21if true; then
18 for mod in AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard; do 22 for mod in common-sense AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard; do
19 ( 23 (
20 mkdir -p /root/src/$mod || exit 77 24 mkdir -p /root/src/$mod || exit 77
21 cd /root/src/$mod 25 cd /root/src/$mod
22 set -x 26 set -x
23 pwd 27 pwd
24 rsync -avPessh 10.0.0.1:src/$mod/. . --del 28 rsync -avPessh 10.0.0.1:src/$mod/. . --del --exclude "*.tar.gz" --delete-excluded
25 $PERL/bin/perl Makefile.PL </dev/null 29 $PERL/bin/perl Makefile.PL </dev/null
26 make clean 30 make clean
27 $PERL/bin/perl Makefile.PL </dev/null 31 $PERL/bin/perl Makefile.PL </dev/null
28 make install || exit 32 make install || exit
29 make clean 33 make clean
138 <key>LSMinimumSystemVersion</key> 142 <key>LSMinimumSystemVersion</key>
139 <string>10.5</string> 143 <string>10.5</string>
140 <key>NSAppleScriptEnabled</key> 144 <key>NSAppleScriptEnabled</key>
141 <false/> 145 <false/>
142 <key>NSHumanReadableCopyright</key> 146 <key>NSHumanReadableCopyright</key>
143 <string>Deliantra MORPG Client - Copyright 2008 The Deliantra Team</string> 147 <string>Deliantra MORPG Client - Copyright 2008,2009 The Deliantra Team</string>
144</dict> 148</dict>
145</plist> 149</plist>
146EOF 150EOF
147 151
148rm -rf dmg 152rm -rf dmg

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines