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.16 by root, Fri Jan 8 19:46:19 2010 UTC vs.
Revision 1.18 by root, Sat Apr 24 07:07: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#port install libsdl libsdl_mixer libsdl_image libvorbis libpng jpeg pango db46 libogg p5-libwww-perl p5-yaml
6# 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.8.dylib
7# ln -s db46/db.h /opt/local/include 7# ln -s db46/db.h /opt/local/include
8# ln -s db46/libdb.dylib /opt/local/lib 8# ln -s db46/libdb.dylib /opt/local/lib
9# /opt/local/bin/cpan Pod::POM 9# /opt/local/bin/cpan Pod::POM
10 10
11#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps 11#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps
17PERLLIB=/usr/lib/perl5 17PERLLIB=/usr/lib/perl5
18 18
19umask 022 19umask 022
20 20
21if true; then 21if true; then
22 for mod in common-sense AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard; do 22 for mod in common-sense AnyEvent EV JSON-XS Compress-LZF BDB Guard deliantra/Deliantra; do
23 ( 23 (
24 mkdir -p /root/src/$mod || exit 77 24 mkdir -p /root/src/$mod || exit 77
25 cd /root/src/$mod 25 cd /root/src/$mod
26 set -x 26 set -x
27 pwd 27 pwd
64 db-4.6 \ 64 db-4.6 \
65 glib-2.0.0 gobject-2.0.0 gmodule-2.0.0 \ 65 glib-2.0.0 gobject-2.0.0 gmodule-2.0.0 \
66 pango-1.0.0 pangoft2-1.0.0 \ 66 pango-1.0.0 pangoft2-1.0.0 \
67 SDL-1.2.0 SDL_mixer-1.2.0 SDL_image-1.2.0 \ 67 SDL-1.2.0 SDL_mixer-1.2.0 SDL_image-1.2.0 \
68 vorbisfile vorbis.0 ogg.0 \ 68 vorbisfile vorbis.0 ogg.0 \
69 png12 jpeg.62 z.1 \ 69 png12 jpeg.8 z.1 \
70 fontconfig.1 expat.1 freetype.6 intl.8 iconv.2; 70 fontconfig.1 expat.1 freetype.6 intl.8 iconv.2;
71 do 71 do
72 echo "/opt/local/lib/lib$lib.dylib;shlib/darwin-2level/lib$lib.dylib" 72 echo "/opt/local/lib/lib$lib.dylib;shlib/darwin-2level/lib$lib.dylib"
73 done 73 done
74 74

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines