diff --git a/metadata/org.hystudio.android.dosbox.txt b/metadata/org.hystudio.android.dosbox.txt new file mode 100644 index 0000000000..4502bc67a9 --- /dev/null +++ b/metadata/org.hystudio.android.dosbox.txt @@ -0,0 +1,26 @@ +Category:System +License:LGPLv2.1 +Web Site:http://androiddosbox.appspot.com/ +Source Code:http://code.google.com/p/adosbox/source +Issue Tracker:http://code.google.com/p/adosbox/issues/list + +Summary:DOSBox port for Android. +Description: +DOSBox is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics, +sound and DOS. It’s been designed to run old DOS games under platforms that +don’t support it. +. + +Repo Type:svn +Repo:http://adosbox.googlecode.com/svn/trunk + +Build Version:0.2.5,00020500 + commit=115 + patch=remove_dup_defn.patch;sformat.patch + build=$$NDK$$/ndk-build + +Auto Update Mode:None +Update Check Mode:RepoManifest +Current Version:0.2.5 +Current Version Code:00020500 + diff --git a/metadata/org.hystudio.android.dosbox/assembly.patch b/metadata/org.hystudio.android.dosbox/assembly.patch new file mode 100644 index 0000000000..0798a8698a --- /dev/null +++ b/metadata/org.hystudio.android.dosbox/assembly.patch @@ -0,0 +1,31 @@ +Index: jni/jpeg/jidctfst.S +=================================================================== +--- a/jni/jpeg/jidctfst.S (revision 115) ++++ b/jni/jpeg/jidctfst.S (working copy) +@@ -63,7 +63,7 @@ + + + jpeg_idct_ifast: +- PLD (r2, #0) ++ PLD [r2, #0] + stmdb sp!, {r4,r5, r6,r7, r8,r9, r10,r11, r12,lr} + ldr r4, [sp, #4*10] + sub sp, #local_SIZE +@@ -256,7 +256,7 @@ + + HLoopStart: + // reset pointers +- PLD (sp, #off_WORKSPACE) ++ PLD [sp, #off_WORKSPACE] + add ip, sp, #off_WORKSPACE + ldr r10, local_RANGE_TABLE + +@@ -268,7 +268,7 @@ + str r0, local_OUTPUT_BUF + add fp, r2, r1 + +- PLD (ip, #32) ++ PLD [ip, #32] + ldmia ip!, {r0-r7} + + cmp r1, #0 diff --git a/metadata/org.hystudio.android.dosbox/new.build.xml.patch b/metadata/org.hystudio.android.dosbox/new.build.xml.patch new file mode 100644 index 0000000000..341226effb --- /dev/null +++ b/metadata/org.hystudio.android.dosbox/new.build.xml.patch @@ -0,0 +1,140 @@ +Index: build.xml +=================================================================== +--- a/build.xml (revision 115) ++++ b/build.xml (working copy) +@@ -1,15 +1,14 @@ + + + +- ++ + + +- +- ++ + +- ++ ++ ++ ++ ++ ++ +- ++ + ++ ++ + +- +- ++ ++ + ++ +- +- +- +- ++ ++ + + diff --git a/metadata/org.hystudio.android.dosbox/sformat.patch b/metadata/org.hystudio.android.dosbox/sformat.patch new file mode 100644 index 0000000000..a270c5037b --- /dev/null +++ b/metadata/org.hystudio.android.dosbox/sformat.patch @@ -0,0 +1,13 @@ +Index: jni/sdl-1.3/src/video/android/SDL_fake_stdout.c +=================================================================== +--- a/jni/sdl-1.3/src/video/android/SDL_fake_stdout.c (revision 115) ++++ b/jni/sdl-1.3/src/video/android/SDL_fake_stdout.c (working copy) +@@ -34,7 +34,7 @@ + */ + return_value = vsnprintf(buff, sizeof(buff), fmt, ap); + va_end(ap); +- __android_log_print(ANDROID_LOG_INFO, "libSDL", buff); ++ __android_log_print(ANDROID_LOG_INFO, "libSDL", "%s", buff); + //delete buff; + return return_value; + }