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

Comparing deliantra/Deliantra-Client/util/gatherer (file contents):
Revision 1.14 by root, Fri Jan 27 23:13:38 2012 UTC vs.
Revision 1.15 by root, Sat Jan 28 00:03:31 2012 UTC

66DISTf="dist/$OS-$ARCHNAME" 66DISTf="dist/$OS-$ARCHNAME"
67export DIST="$(pwd)/$DISTf" 67export DIST="$(pwd)/$DISTf"
68 68
69eval $("$PERL" -V:sitebinexp:) 69eval $("$PERL" -V:sitebinexp:)
70 70
71"$PERL" "$sitebinexp"/perl-libextractor --exedir . --dlldir . --bindir pm/bin --libdir pm \ 71"$PERL" "$sitebinexp"/perl-libextractor \
72 --perl --core-support --script deliantra $EXTRA_EXTRACT \ 72 --perl --core-support --script deliantra $EXTRA_EXTRACT \
73 --runtime-only \ 73 --runtime-only \
74 --copy "$DISTf" 74 --copy "$DISTf" --exedir . --dlldir . --bindir pm/bin --libdir pm
75 75
76cat <<EOF >"$DIST"/pango.rc 76cat <<EOF >"$DIST"/pango.rc
77[Pango] 77[Pango]
78ModuleFiles = pango.modules 78ModuleFiles = pango.modules
79EOF 79EOF
136} 136}
137 137
138( 138(
139 cd "$DIST" 139 cd "$DIST"
140 140
141 if [ "$OS" = windows ]; then 141 case "$OS" in
142 windows )
142 cp -p $SYSLIB/libvorbisfile-3.dll $SYSLIB/mikmod.dll $SYSLIB/libpng12-0.dll . 143 cp -p $SYSLIB/libvorbisfile-3.dll $SYSLIB/mikmod.dll $SYSLIB/libpng12-0.dll $SYSLIB/jpeg.dll .
144 cp -p $SYSLIB/jpeg.dll .
143 cp /root/src/CFPlus/util/splash.bmp . 145 cp /root/src/CFPlus/util/splash.bmp .
144 chmod -R u+rwX pm/auto 146 chmod -R u+rwX pm/auto
145 147
146 # convert perl to a non-console-app 148 # convert perl to a non-console-app
147 $PERL -MWin32::Exe -e '$e = new Win32::Exe"perl.exe"; $e->set_subsystem_windows; $e->write' 149 $PERL -MWin32::Exe -e '$e = new Win32::Exe"perl.exe"; $e->set_subsystem_windows; $e->write'
150 ;;
151 linux )
152 cp -p $SYSLIB/libjpeg.so.62 .
153 ;;
154 esac
148 155
149 else 156 if [ "$OS" != windows ]; then
150 for lib in mikmod vorbisfile; do 157 for lib in mikmod vorbisfile; do
151 cp -p $SYSLIB/lib$lib.$LIB0 . 158 cp -p $SYSLIB/lib$lib.$LIB0 .
152 chmod 755 lib$lib.$LIB0 159 chmod 755 lib$lib.$LIB0
153 done 160 done
154 fi 161 fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines