summaryrefslogtreecommitdiff
path: root/data/jocstrap
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-08-26 11:06:01 +0000
committerJay Freeman <saurik@saurik.com>2008-08-26 11:06:01 +0000
commit0ad3b4416fe53cce9d121f1a676ac602e11d5cea (patch)
tree3233b06c6125bdd8b3825539cd74aa8c63a44c09 /data/jocstrap
parentd54d3f008dd80b94abbfebc8b3e87ebf8430f873 (diff)
Checkpoint of a recent iPhone/Java release.
git-svn-id: http://svn.telesphoreo.org/trunk@456 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/jocstrap')
-rw-r--r--data/jocstrap/_metadata/depiction1
-rw-r--r--data/jocstrap/_metadata/homepage1
-rw-r--r--data/jocstrap/closures.diff7
-rw-r--r--data/jocstrap/frameworks.diff23
-rw-r--r--data/jocstrap/repair.diff17
5 files changed, 44 insertions, 5 deletions
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 */