[Scummvm-cvs-logs] SF.net SVN: scummvm:[42847] scummvm/trunk/backends/platform/gp2xwiz/build
djwillis at users.sourceforge.net
djwillis at users.sourceforge.net
Mon Jul 27 20:05:17 CEST 2009
Revision: 42847
http://scummvm.svn.sourceforge.net/scummvm/?rev=42847&view=rev
Author: djwillis
Date: 2009-07-27 18:05:16 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
GP2XWiz: Update GP2X Wiz bundle.sh to copy libraries into the distribution file from the tool chain where the libraries are broken on the device. Also add LD_LIBRARY_PATH 'hack' to launch script to ensure bundled libraries are used over system ones.
Modified Paths:
--------------
scummvm/trunk/backends/platform/gp2xwiz/build/README-GP2XWIZ
scummvm/trunk/backends/platform/gp2xwiz/build/bundle.sh
scummvm/trunk/backends/platform/gp2xwiz/build/scummvm.gpe
Modified: scummvm/trunk/backends/platform/gp2xwiz/build/README-GP2XWIZ
===================================================================
--- scummvm/trunk/backends/platform/gp2xwiz/build/README-GP2XWIZ 2009-07-27 17:52:55 UTC (rev 42846)
+++ scummvm/trunk/backends/platform/gp2xwiz/build/README-GP2XWIZ 2009-07-27 18:05:16 UTC (rev 42847)
@@ -111,16 +111,15 @@
NOTE: To use button combos press and hold the Left Trigger then...
-Right Trigger: 0 (For skipping the copy protection in Monkey Island 2)
+Right Trigger: Display Virtual Keyboard
+ (or if it VKeybd is disabled 0 (For skipping the copy protection in Monkey Island 2)
Menu: Bring up the Global main menu for ScummVM
Select: Exit ScummVM completely (and gracefully)
------------------------------------------------------------------------
Know issues
-Possible random crash (well SegFault). I have had this happen twice and
-have not tracked down the cause.
-It happens very infrequently, both times it was in the DOTT CD intro.
+No major known issues
------------------------------------------------------------------------
Additional resources/links
Modified: scummvm/trunk/backends/platform/gp2xwiz/build/bundle.sh
===================================================================
--- scummvm/trunk/backends/platform/gp2xwiz/build/bundle.sh 2009-07-27 17:52:55 UTC (rev 42846)
+++ scummvm/trunk/backends/platform/gp2xwiz/build/bundle.sh 2009-07-27 18:05:16 UTC (rev 42847)
@@ -8,7 +8,9 @@
mkdir "scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/saves"
mkdir "scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/plugins"
mkdir "scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/engine-data"
+mkdir "scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/lib"
+
echo "Please put your save games in this dir" >> "scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/saves/PUT_SAVES_IN_THIS_DIR"
cp ./scummvm.gpe ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
@@ -27,6 +29,13 @@
cp ../../../../dists/engine-data/* ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/engine-data
cp ../../../../plugins/* ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/plugins
+# Copy over dynamic libs needed by the app (as the ones in the default filesystem are broken).
+f=`which arm-open2x-linux-g++`
+loc=`dirname "$f"`
+cp $loc/../lib/libz.so.1.2.3 ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/lib/libz.so.1
+cp $loc/../lib/libvorbisidec.so.1.0.2 ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/lib/libvorbisidec.so.1
+
+
echo Making Stripped exe.
arm-open2x-linux-strip ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/scummvm.wiz
Modified: scummvm/trunk/backends/platform/gp2xwiz/build/scummvm.gpe
===================================================================
--- scummvm/trunk/backends/platform/gp2xwiz/build/scummvm.gpe 2009-07-27 17:52:55 UTC (rev 42846)
+++ scummvm/trunk/backends/platform/gp2xwiz/build/scummvm.gpe 2009-07-27 18:05:16 UTC (rev 42847)
@@ -1,5 +1,9 @@
#!/bin/sh
+# Export the location of any libs ScummVM depends on
+# (to avoid installing to the NAND and overwriting the broken ones there).
+export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
+
# Run ScummVM, important this bit.
./scummvm.wiz --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list