[Scummvm-cvs-logs] SF.net SVN: scummvm:[49671] scummvm/branches/gsoc2010-plugins/backends/ platform/gp2xwiz
toneman1138 at users.sourceforge.net
toneman1138 at users.sourceforge.net
Mon Jun 14 23:31:54 CEST 2010
Revision: 49671
http://scummvm.svn.sourceforge.net/scummvm/?rev=49671&view=rev
Author: toneman1138
Date: 2010-06-14 21:31:53 +0000 (Mon, 14 Jun 2010)
Log Message:
-----------
merged GP2x-Wiz debug build scripts from trunk into branch
Modified Paths:
--------------
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/build.sh
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle.sh
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/clean.sh
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/config.sh
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/gp2xwiz-events.cpp
Added Paths:
-----------
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle-debug.sh
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/scummvm-gdb.gpe
Property Changed:
----------------
scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/
Property changes on: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz
___________________________________________________________________
Added: svn:mergeinfo
+ /scummvm/branches/gsoc2009-draci/backends/platform/gp2xwiz:41389-44325
/scummvm/trunk/backends/platform/gp2xwiz:49122-49670
Modified: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/build.sh
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/build.sh 2010-06-14 20:46:19 UTC (rev 49670)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/build.sh 2010-06-14 21:31:53 UTC (rev 49671)
@@ -13,7 +13,7 @@
cd ../../../..
-echo Building ScummVM for GP2X.
+echo Building ScummVM for GP2X Wiz.
make
-echo Build for GP2X - SDL - complete - Please check build logs.
+echo Build for GP2X Wiz - complete - Please check build logs.
Copied: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle-debug.sh (from rev 49670, scummvm/trunk/backends/platform/gp2xwiz/build/bundle-debug.sh)
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle-debug.sh (rev 0)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle-debug.sh 2010-06-14 21:31:53 UTC (rev 49671)
@@ -0,0 +1,54 @@
+#!/bin/bash
+
+echo Quick script to make building a distribution of the GP2X Wiz backend more consistent.
+
+echo Collecting files.
+mkdir "scummvm-wiz-`date '+%Y-%m-%d'`"
+mkdir "scummvm-wiz-`date '+%Y-%m-%d'`/scummvm"
+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-gdb.gpe ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/scummvm.gpe
+cp ./scummvm.png ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ./README-GP2XWIZ ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ./scummvm.ini ./scummvm-wiz-`date '+%Y-%m-%d'`/
+cp ../../../../scummvm.wiz ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../AUTHORS ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../README ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../COPYING ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../COPYRIGHT ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../NEWS ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../gui/themes/scummmodern.zip ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../backends/vkeybd/packs/vkeybd_default.zip ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+cp ../../../../dists/pred.dic ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/
+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 Building ZIP bundle.
+if [ -f /usr/bin/zip ]
+ then
+ rm ./"scummvm-wiz-`date '+%Y-%m-%d'`.zip"
+ cd "scummvm-wiz-`date '+%Y-%m-%d'`"
+ zip -r -9 "../scummvm-wiz-`date '+%Y-%m-%d'`.zip" *
+ echo You should have a "scummvm-wiz-`date '+%Y-%m-%d'`.zip" for the GP2X Wiz backend ready to go.
+ cd ..
+ rm -R ./"scummvm-wiz-`date '+%Y-%m-%d'`"
+ else
+ echo - /usr/bin/zip not found, ZIP bundle not created.
+ echo All included files can also be found in ./"scummvm-wiz-`date '+%Y-%m-%d'`"
+ echo - Please use you preferred archive tool to bundle these files.
+fi
+
+echo Please ensure GDB is installed somewhere in the path on your Wiz.
+
Modified: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle.sh
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle.sh 2010-06-14 20:46:19 UTC (rev 49670)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/bundle.sh 2010-06-14 21:31:53 UTC (rev 49671)
@@ -35,10 +35,12 @@
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.
+echo Making Stripped Binary.
arm-open2x-linux-strip ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/scummvm.wiz
+echo Making Stripped Plugins.
+arm-open2x-linux-strip ./scummvm-wiz-`date '+%Y-%m-%d'`/scummvm/plugins/*
+
echo Building ZIP bundle.
if [ -f /usr/bin/zip ]
then
Modified: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/clean.sh
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/clean.sh 2010-06-14 20:46:19 UTC (rev 49670)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/clean.sh 2010-06-14 21:31:53 UTC (rev 49671)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo Quick script to make building all the time less painful.
Modified: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/config.sh
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/config.sh 2010-06-14 20:46:19 UTC (rev 49670)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/config.sh 2010-06-14 21:31:53 UTC (rev 49671)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo Quick script to make running configure all the time less painful
echo and let all the build work be done from the backend/build folder.
Copied: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/scummvm-gdb.gpe (from rev 49670, scummvm/trunk/backends/platform/gp2xwiz/build/scummvm-gdb.gpe)
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/scummvm-gdb.gpe (rev 0)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/build/scummvm-gdb.gpe 2010-06-14 21:31:53 UTC (rev 49671)
@@ -0,0 +1,16 @@
+#!/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 via GDB (so make sure you have a terminal open or serial).
+# Oh, and GDB installed of course ;)
+gdb --args ./scummvm.wiz --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc
+
+# Sync the SD card to check that everything is written.
+sync
+
+# Return to the GPH menu screen
+cd /usr/gp2x
+exec /usr/gp2x/gp2xmenu
Modified: scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/gp2xwiz-events.cpp
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/gp2xwiz-events.cpp 2010-06-14 20:46:19 UTC (rev 49670)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/gp2xwiz/gp2xwiz-events.cpp 2010-06-14 21:31:53 UTC (rev 49671)
@@ -30,6 +30,7 @@
#include "backends/platform/gp2xwiz/gp2xwiz-sdl.h"
#include "backends/platform/gp2xwiz/gp2xwiz-hw.h"
+#include "graphics/scaler/aspect.h"
#include "common/util.h"
#include "common/events.h"
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