]> git.saurik.com Git - veency.git/commitdiff
Refactored Veency so ashikase can use the tiny stub. v0.9.2972
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jul 2009 13:39:11 +0000 (13:39 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jul 2009 13:39:11 +0000 (13:39 +0000)
Hook.mm [deleted file]
VeencyHook.plist [deleted file]
control
makefile

diff --git a/Hook.mm b/Hook.mm
deleted file mode 100644 (file)
index 00ce7e9..0000000
--- a/Hook.mm
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <dlfcn.h>
-#include <objc/runtime.h>
-
-extern "C" void TweakInitialize() {
-    if (Class star = objc_getClass("UIKeyboardLayoutStar")) {
-        Method method(class_getInstanceMethod(objc_getClass("UIKeyboardLayoutRoman"), @selector(handleHardwareKeyDownFromSimulator:)));
-        class_addMethod(star, @selector(handleHardwareKeyDownFromSimulator:), method_getImplementation(method), method_getTypeEncoding(method));
-    }
-}
diff --git a/VeencyHook.plist b/VeencyHook.plist
deleted file mode 100644 (file)
index 2ab5990..0000000
Binary files a/VeencyHook.plist and /dev/null differ
diff --git a/control b/control
index 46771e361784458d546d190ccb0d2dff12f32a76..2dd9dd409fdb72818c5c0a6d97384ea6c3ec10a2 100644 (file)
--- a/control
+++ b/control
@@ -5,10 +5,10 @@ Priority: optional
 Section: Networking
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 Architecture: iphoneos-arm
-Version: 0.9.2971-1
+Version: 0.9.2972-1
 Description: a VNC /server/ for the iPhone
 Name: Veency
-Depends: mobilesubstrate (>= 0.9.2966-1), libvncserver
+Depends: mobilesubstrate (>= 0.9.2966-1), libvncserver, com.saurik.iphone.ske
 Author: Jay Freeman (saurik) <saurik@saurik.com>
 Depiction: http://cydia.saurik.com/info/veency/
 Tag: purpose::daemon, role::enduser
index 84c3b3ae91846d37738d1c852045acf173cc26c6..3f0ac4b88c8870c7a91f0cc4388590253c165769 100644 (file)
--- a/makefile
+++ b/makefile
@@ -4,13 +4,6 @@ flags := -lvncserver -framework IOMobileFramebuffer -framework CoreSurface -fram
 base := ../tweaks
 include ../tweaks/tweak.mk
 
-all: VeencyHook.dylib
-
-VeencyHook.dylib: Hook.mm makefile
-       $(target)g++ -dynamiclib -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -init _TweakInitialize -lobjc
-       ldid -S $@
-
 extra:
-       cp -a VeencyHook.dylib VeencyHook.plist package/Library/MobileSubstrate/DynamicLibraries
        mkdir -p package/System/Library/CoreServices/SpringBoard.app
        cp -a Default_Veency.png FSO_Veency.png package/System/Library/CoreServices/SpringBoard.app