From 0ad3b4416fe53cce9d121f1a676ac602e11d5cea Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Tue, 26 Aug 2008 11:06:01 +0000 Subject: Checkpoint of a recent iPhone/Java release. git-svn-id: http://svn.telesphoreo.org/trunk@456 514c082c-b64e-11dc-b46d-3d985efe055d --- data/jocstrap/_metadata/depiction | 1 + data/jocstrap/_metadata/homepage | 1 + data/jocstrap/closures.diff | 7 ++----- data/jocstrap/frameworks.diff | 23 +++++++++++++++++++++++ data/jocstrap/repair.diff | 17 +++++++++++++++++ 5 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 data/jocstrap/_metadata/depiction create mode 100644 data/jocstrap/_metadata/homepage create mode 100644 data/jocstrap/frameworks.diff create mode 100644 data/jocstrap/repair.diff diff --git a/data/jocstrap/_metadata/depiction b/data/jocstrap/_metadata/depiction new file mode 100644 index 000000000..ae6c8e9c2 --- /dev/null +++ b/data/jocstrap/_metadata/depiction @@ -0,0 +1 @@ +http://cydia.saurik.com/info/jocstrap/ diff --git a/data/jocstrap/_metadata/homepage b/data/jocstrap/_metadata/homepage new file mode 100644 index 000000000..5cd94e20c --- /dev/null +++ b/data/jocstrap/_metadata/homepage @@ -0,0 +1 @@ +http://www.jocstrap.com/ diff --git a/data/jocstrap/closures.diff b/data/jocstrap/closures.diff index fdba6d14c..ddcdc3880 100644 --- a/data/jocstrap/closures.diff +++ b/data/jocstrap/closures.diff @@ -1,15 +1,12 @@ diff -ru jocstrap-1.0.2474/jocstrap/source/joc/Runtime.m jocstrap-1.0.2474+iPhone/jocstrap/source/joc/Runtime.m --- jocstrap-1.0.2474/jocstrap/source/joc/Runtime.m 2008-07-14 02:07:50.000000000 +0000 +++ jocstrap-1.0.2474+iPhone/jocstrap/source/joc/Runtime.m 2008-07-14 04:36:25.000000000 +0000 -@@ -242,7 +242,11 @@ +@@ -242,7 +242,7 @@ @throw joc_FromObject(env, error); } -+#ifdef __OBJC2__ - #define UseClosures false -+#else +-#define UseClosures false +#define UseClosures true -+#endif void ejprint(JNIEnv *env, jstring jvalue) { const char *cvalue = (*(*env)->GetStringUTFChars)(env, jvalue, NULL); diff --git a/data/jocstrap/frameworks.diff b/data/jocstrap/frameworks.diff new file mode 100644 index 000000000..e80fca39b --- /dev/null +++ b/data/jocstrap/frameworks.diff @@ -0,0 +1,23 @@ +diff -ru jocstrap-1.0.2474/jocstrap/makefile jocstrap-1.0.2474+iPhone/jocstrap/makefile +--- jocstrap-1.0.2474/jocstrap/makefile 2008-07-14 02:07:50.000000000 +0000 ++++ jocstrap-1.0.2474+iPhone/jocstrap/makefile 2008-08-02 23:54:06.000000000 +0000 +@@ -42,6 +42,8 @@ + frameworks += MessageUI + frameworks += AddressBookUI + frameworks += CoreTelephony ++ frameworks += CoreLocation ++ frameworks += MusicLibrary + main += HelloJava + else + target := +diff -ru jocstrap-1.0.2474/jocstrap/makefile jocstrap-1.0.2474+iPhone/jocstrap/makefile +--- jocstrap-1.0.2474/jocstrap/makefile 2008-07-14 02:07:50.000000000 +0000 ++++ jocstrap-1.0.2474+iPhone/jocstrap/makefile 2008-08-09 19:51:18.000000000 +0000 +@@ -26,6 +26,7 @@ + frameworks += MessageUI + frameworks += AddressBookUI + frameworks += CoreTelephony ++ frameworks += MusicLibrary + main += HelloJava + else + ifeq ($(PKG_ARCH),iphoneos-arm) diff --git a/data/jocstrap/repair.diff b/data/jocstrap/repair.diff new file mode 100644 index 000000000..38ba4f389 --- /dev/null +++ b/data/jocstrap/repair.diff @@ -0,0 +1,17 @@ +diff -ru jocstrap-1.0.2474/jocstrap/joc-repair.sql jocstrap-1.0.2474+iPhone/jocstrap/joc-repair.sql +--- jocstrap-1.0.2474/jocstrap/joc-repair.sql 2008-07-14 02:07:50.000000000 +0000 ++++ jocstrap-1.0.2474+iPhone/jocstrap/joc-repair.sql 2008-08-06 22:18:57.000000000 +0000 +@@ -40,12 +40,9 @@ + + /* these methods cause a load of trouble that I have no clue about :( */ + delete from "method" where "name" in ( +- 'load', +- 'new', + 'peerTrust', +- 'position', + 'resignFirstResponder', +- 'version' ++ 'position' + ); + + /* this field mentions a class that I don't have a definition for */ -- cgit v1.2.3