Ticket #8778: scummvm-maemo-1.patch
File scummvm-maemo-1.patch, 5.5 KB (added by , 16 years ago) |
---|
-
scummvm-0.11
old new 717 717 PlayStation Portable 718 718 RISC OS 719 719 Symbian 720 720 Maemo (Nokia Internet tablets 770, N800, N810) 721 721 722 The Dreamcast port does not support The Curse of Monkey Island, nor The Dig. 722 723 The PalmOS port does not support The Curse of Monkey Island, Beneath a Steel 723 724 Sky, nor either Simon the Sorcerer 1 or 2. The Dig will only work on some … … 1768 1769 * Please refer to: 1769 1770 http://wiki.scummvm.org/index.php/Compiling_ScummVM/iPhone 1770 1771 1772 Maemo: 1773 * Get Scratchbox environment with Maemo 2.2 rootstrap (2.2 is for 770 and up) 1774 * Install limbad, Tremor, FLAC, libmpeg2 from source 1775 * patch scummvm source (some stuff is currently too dirty to be in svn directly) 1776 patch -p1 < backends/platform/maemo/scummvm-0.11.0-maemo.patch 1777 * go to backends/platform/maemo 1778 * run 'make config' 1779 * run 'make scummvm' 1780 * create your debian/changelog in top directory 1781 * run 'make deb' in backends/platform/maemo 1771 1782 1772 1783 ------------------------------------------------------------------------ 1773 1784 Good Luck and Happy Adventuring! -
scummvm-0.11
old new 14 14 15 15 New Ports: 16 16 - Added iPhone port. 17 - Added Maemo port for Nokia Internet tablets. 17 18 18 19 General: 19 20 - Added ARM assembly routines for code in the sound mixer and SCUMM -
dists/maemo/scummvm.desktop
diff -Naur scummvm-0.11.orig/dists/maemo/scummvm.desktop scummvm-0.11/dists/maemo/scummvm.desktop
old new 1 [Desktop Entry] 2 Encoding=UTF-8 3 Version=1.0 4 Type=Application 5 Name=ScummVM 6 Exec=/usr/games/scummvm 7 Icon=scummvm 8 X-Icon-path=/usr/share/icons 9 X-Window-Icon=scummvm 10 X-HildonDesk-ShowInToolbar=true 11 X-Osso-Type=application/x-executable -
dists/maemo/scummvm.wrapper
diff -Naur scummvm-0.11.orig/dists/maemo/scummvm.wrapper scummvm-0.11/dists/maemo/scummvm.wrapper
old new 1 #!/bin/sh 2 # wrapper for proper WM_CLASS name in SDL apps (needed for icon in taskbar) 3 #BASEDIR=`dirname $0` 4 BASENAME=`basename $0` 5 export SDL_VIDEO_X11_WMCLASS=${BASENAME} 6 exec ${0}.bin "$@" -
scummvm-0.11
old new 1332 1332 fi 1333 1333 if test "$_flac" = yes ; then 1334 1334 _def_flac='#define USE_FLAC' 1335 LIBS="$LIBS $FLAC_LIBS $OGG_LIBS -lFLAC -logg" 1335 if test "$_ogg" = yes ; then 1336 LIBS="$LIBS $FLAC_LIBS $OGG_LIBS -lFLAC -logg" 1337 else 1338 LIBS="$LIBS $FLAC_LIBS -lFLAC" 1339 fi 1336 1340 INCLUDES="$INCLUDES $FLAC_CFLAGS" 1337 1341 add_to_config_mk_if_no no 'USE_FLAC = 1' 1338 1342 else -
backends/platform/maemo/Makefile
old new 1 # ScummVM Maemo MakeFile 2 # $URL: https://svn.sourceforge.net/svnroot/scummvm/scummvm/trunk/backends/platform/maemo/Makefile $ 3 # $Id: Makefile 24008 2006-09-29 08:14:27Z sev $ 4 5 #control build 6 DISABLE_HQ_SCALERS = true 7 8 #DISABLE_SCUMM = 1 9 #DISABLE_HE = 1 10 DISABLE_AGOS = 1 11 DISABLE_SKY = 1 12 DISABLE_SWORD1 = 1 13 DISABLE_SWORD2 = 1 14 DISABLE_QUEEN = 1 15 DISABLE_KYRA = 1 16 DISABLE_SAGA = 1 17 DISABLE_GOB = 1 18 DISABLE_LURE = 1 19 DISABLE_CINE = 1 20 DISABLE_AGI = 1 21 22 srcdir = ../../.. 23 VPATH = $(srcdir) 24 25 CXX := g++ 26 EXECUTABLE := scummvm 27 28 INCDIR = $(srcdir)/ . $(srcdir)/engines/ 29 30 CXXFLAGS := -g -ansi -W -Wno-unused-parameter 31 CXXFLAGS += `pkg-config --cflags gconf-2.0 hildon-libs gtk+-2.0 libosso gdk-2.0` 32 CXXFLAGS += $(addprefix -I,$(INCDIR)) -I. -Wall $(CXXFLAGS) 33 CXXFLAGS += -O -Wuninitialized 34 CXXFLAGS += -Wno-long-long -Wno-multichar -Wno-unknown-pragmas 35 # Even more warnings... 36 CXXFLAGS += -pedantic -Wpointer-arith -Wcast-qual -Wconversion 37 CXXFLAGS += -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor 38 CXXFLAGS += -Wno-reorder -Wwrite-strings -fcheck-new 39 40 LIBS += -lz -L/usr/lib -lSDL -lpthread -lXsp -losso 41 LIBS += `pkg-config --libs gconf-2.0 hildon-libs gtk+-2.0 libosso gdk-2.0` 42 INCLUDES += -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include 43 OBJS += 44 DEFINES += -DUNIX -DNONSTANDARD_PORT -D__MAEMO__ 45 LDFLAGS += 46 47 RANLIB := ranlib 48 INSTALL := install 49 AR := ar cru 50 MKDIR := mkdir -p 51 ECHO := printf 52 CAT := cat 53 RM := rm -f 54 RM_REC := rm -f -r 55 CP := cp 56 57 OBJS := main.o maemo-sdl.o 58 59 MODULE_DIRS += . 60 61 62 BACKEND := sdl 63 MODULES += backends/platform/sdl base 64 MODULE_DIRS += . 1 .PHONY: all 65 2 66 HAVE_GCC3 = 1 3 all: 4 5 6 SRCDIR = ../../.. 7 8 config: 9 cd $(SRCDIR) ; CXXFLAGS="-Os -mcpu=arm926ej-s -fomit-frame-pointer -DMAEMO_SDL" ./configure --host=arm-linux --prefix=/usr --disable-debug --disable-mt32emu --disable-hq-scalers --with-tremor-prefix=/usr --enable-tremor --with-zlib-prefix=/usr --enable-zlib --with-mad-prefix=/usr --enable-mad --enable-flac --disable-fluidsynth 10 11 scummvm: 12 cd $(SRCDIR) ; make 13 echo "If there is compiler crash (in Kyra engine) then cd ../../.. and copy/run last line with -O3 instead of -Os and re-run make" 14 # cp $(SRCDIR)/scummvm . 15 16 17 deb: $(SRCDIR)/scummvm 18 cd $(SRCDIR) ; dpkg-buildpackage -rfakeroot -b -nc 67 19 68 include $(srcdir)/Makefile.common69 20