diff options
author | Jay Freeman <saurik@saurik.com> | 2008-11-21 19:16:53 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-11-21 19:16:53 +0000 |
commit | 7b83a4bcaf0e9b80d0f0c96e3d8f78c58ec99845 (patch) | |
tree | 41c145d584c731f0bff0b8bb0c90c355950da922 /data/cydia | |
parent | 58fdac45bb90df8f9cd9caf6af7a046dadb76cf8 (diff) |
While Cydia is not part of Telesphoreo, the bootstrapping tool is, and iPhoneOS 2.2 surprised me by being a day early.
git-svn-id: http://svn.telesphoreo.org/trunk@512 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/cydia')
l--------- | data/cydia/_metadata/apt.dep | 1 | ||||
l--------- | data/cydia/_metadata/author | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/conflicts | 1 | ||||
l--------- | data/cydia/_metadata/darwintools.dep | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/depiction | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/description | 1 | ||||
l--------- | data/cydia/_metadata/license | 1 | ||||
l--------- | data/cydia/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/name | 1 | ||||
l--------- | data/cydia/_metadata/pcre.dep | 1 | ||||
-rwxr-xr-x | data/cydia/_metadata/preinst | 16 | ||||
-rw-r--r-- | data/cydia/_metadata/priority | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/replaces | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/role | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/section | 1 | ||||
l--------- | data/cydia/_metadata/shell-cmds.dep | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/tags | 1 | ||||
-rw-r--r-- | data/cydia/_metadata/version | 1 | ||||
-rw-r--r-- | data/cydia/cydia-1.0.2595.tgz | bin | 0 -> 411138 bytes | |||
-rw-r--r-- | data/cydia/cydia.xml | 7 | ||||
-rw-r--r-- | data/cydia/iphoneos-2.2.diff | 12 | ||||
-rw-r--r-- | data/cydia/iphoneos-api.diff | 77 | ||||
-rw-r--r-- | data/cydia/make.sh | 19 |
23 files changed, 148 insertions, 0 deletions
diff --git a/data/cydia/_metadata/apt.dep b/data/cydia/_metadata/apt.dep new file mode 120000 index 000000000..e81d03f68 --- /dev/null +++ b/data/cydia/_metadata/apt.dep @@ -0,0 +1 @@ +../../apt
\ No newline at end of file diff --git a/data/cydia/_metadata/author b/data/cydia/_metadata/author new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/cydia/_metadata/author @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/cydia/_metadata/conflicts b/data/cydia/_metadata/conflicts new file mode 100644 index 000000000..ae4257515 --- /dev/null +++ b/data/cydia/_metadata/conflicts @@ -0,0 +1 @@ +com.sosiphone.addcydia diff --git a/data/cydia/_metadata/darwintools.dep b/data/cydia/_metadata/darwintools.dep new file mode 120000 index 000000000..190bdde01 --- /dev/null +++ b/data/cydia/_metadata/darwintools.dep @@ -0,0 +1 @@ +../../darwintools
\ No newline at end of file diff --git a/data/cydia/_metadata/depiction b/data/cydia/_metadata/depiction new file mode 100644 index 000000000..ed262d6b6 --- /dev/null +++ b/data/cydia/_metadata/depiction @@ -0,0 +1 @@ +http://cydia.saurik.com/info/cydia/ diff --git a/data/cydia/_metadata/description b/data/cydia/_metadata/description new file mode 100644 index 000000000..be4f2e502 --- /dev/null +++ b/data/cydia/_metadata/description @@ -0,0 +1 @@ +graphical iPhone front-end for APT diff --git a/data/cydia/_metadata/license b/data/cydia/_metadata/license new file mode 120000 index 000000000..b9c4e3684 --- /dev/null +++ b/data/cydia/_metadata/license @@ -0,0 +1 @@ +../../../licenses/menes
\ No newline at end of file diff --git a/data/cydia/_metadata/maintainer b/data/cydia/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/cydia/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/cydia/_metadata/name b/data/cydia/_metadata/name new file mode 100644 index 000000000..615e89f2a --- /dev/null +++ b/data/cydia/_metadata/name @@ -0,0 +1 @@ +Cydia Installer diff --git a/data/cydia/_metadata/pcre.dep b/data/cydia/_metadata/pcre.dep new file mode 120000 index 000000000..f88da5e24 --- /dev/null +++ b/data/cydia/_metadata/pcre.dep @@ -0,0 +1 @@ +../../pcre
\ No newline at end of file diff --git a/data/cydia/_metadata/preinst b/data/cydia/_metadata/preinst new file mode 100755 index 000000000..2c836cd4d --- /dev/null +++ b/data/cydia/_metadata/preinst @@ -0,0 +1,16 @@ +#!/bin/bash + +declare -a cydia +cydia=($CYDIA) + +if [[ $1 == install || $1 == upgrade ]]; then + if [[ ${CYDIA+@} ]]; then + if [[ ${cydia[1]} -lt 1 ]]; then + echo 'PLEASE RESTART CYDIA!' + echo 'PLEASE RESTART CYDIA!' + echo 'PLEASE RESTART CYDIA!' + else + eval "echo 'finish:reopen' >&${cydia[0]}" + fi + fi +fi diff --git a/data/cydia/_metadata/priority b/data/cydia/_metadata/priority new file mode 100644 index 000000000..fad9e164a --- /dev/null +++ b/data/cydia/_metadata/priority @@ -0,0 +1 @@ +required diff --git a/data/cydia/_metadata/replaces b/data/cydia/_metadata/replaces new file mode 100644 index 000000000..ae4257515 --- /dev/null +++ b/data/cydia/_metadata/replaces @@ -0,0 +1 @@ +com.sosiphone.addcydia diff --git a/data/cydia/_metadata/role b/data/cydia/_metadata/role new file mode 100644 index 000000000..762113e87 --- /dev/null +++ b/data/cydia/_metadata/role @@ -0,0 +1 @@ +enduser diff --git a/data/cydia/_metadata/section b/data/cydia/_metadata/section new file mode 100644 index 000000000..702b7b8d3 --- /dev/null +++ b/data/cydia/_metadata/section @@ -0,0 +1 @@ +Packaging diff --git a/data/cydia/_metadata/shell-cmds.dep b/data/cydia/_metadata/shell-cmds.dep new file mode 120000 index 000000000..27cb9a30a --- /dev/null +++ b/data/cydia/_metadata/shell-cmds.dep @@ -0,0 +1 @@ +../../shell-cmds
\ No newline at end of file diff --git a/data/cydia/_metadata/tags b/data/cydia/_metadata/tags new file mode 100644 index 000000000..3562c84b6 --- /dev/null +++ b/data/cydia/_metadata/tags @@ -0,0 +1 @@ +purpose::uikit diff --git a/data/cydia/_metadata/version b/data/cydia/_metadata/version new file mode 100644 index 000000000..684584696 --- /dev/null +++ b/data/cydia/_metadata/version @@ -0,0 +1 @@ +1.0.2595 diff --git a/data/cydia/cydia-1.0.2595.tgz b/data/cydia/cydia-1.0.2595.tgz Binary files differnew file mode 100644 index 000000000..b3736e0e7 --- /dev/null +++ b/data/cydia/cydia-1.0.2595.tgz diff --git a/data/cydia/cydia.xml b/data/cydia/cydia.xml new file mode 100644 index 000000000..6e2a15354 --- /dev/null +++ b/data/cydia/cydia.xml @@ -0,0 +1,7 @@ +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>com.apple.springboard.launchapplications</key> + <true/> +</dict> +</plist> diff --git a/data/cydia/iphoneos-2.2.diff b/data/cydia/iphoneos-2.2.diff new file mode 100644 index 000000000..07f1f0a63 --- /dev/null +++ b/data/cydia/iphoneos-2.2.diff @@ -0,0 +1,12 @@ +diff -ru cydia-1.0.2595/cydia/Cydia.mm cydia-1.0.2595+iPhone/cydia/Cydia.mm +--- cydia-1.0.2595/cydia/Cydia.mm 2008-09-23 23:10:25.000000000 +0000 ++++ cydia-1.0.2595+iPhone/cydia/Cydia.mm 2008-11-21 17:39:24.000000000 +0000 +@@ -6223,7 +6223,7 @@ + CGSize keysize = [UIKeyboard defaultSize]; + CGRect keyrect = {{0, [overlay_ bounds].size.height}, keysize}; + keyboard_ = [[UIKeyboard alloc] initWithFrame:keyrect]; +- [[UIKeyboardImpl sharedInstance] setSoundsEnabled:(Sounds_Keyboard_ ? YES : NO)]; ++ //[[UIKeyboardImpl sharedInstance] setSoundsEnabled:(Sounds_Keyboard_ ? YES : NO)]; + [overlay_ addSubview:keyboard_]; + + install_ = [[InstallView alloc] initWithBook:book_ database:database_]; diff --git a/data/cydia/iphoneos-api.diff b/data/cydia/iphoneos-api.diff new file mode 100644 index 000000000..cea4d8567 --- /dev/null +++ b/data/cydia/iphoneos-api.diff @@ -0,0 +1,77 @@ +diff -ru cydia-1.0.2595/cydia/Cydia.mm cydia-1.0.2595+iPhone/cydia/Cydia.mm +--- cydia-1.0.2595/cydia/Cydia.mm 2008-09-23 23:10:25.000000000 +0000 ++++ cydia-1.0.2595+iPhone/cydia/Cydia.mm 2008-11-21 17:46:41.000000000 +0000 +@@ -43,7 +43,6 @@ + #include <GraphicsServices/GraphicsServices.h> + #include <Foundation/Foundation.h> + +-#include <WebCore/DOMHTML.h> + #import <QuartzCore/CALayer.h> + + #import <UIKit/UIKit.h> +@@ -51,6 +50,14 @@ + // XXX: remove + #import <MessageUI/MailComposeController.h> + ++#include <WebKit/DOMCSSPrimitiveValue.h> ++#include <WebKit/DOMCSSStyleDeclaration.h> ++#include <WebKit/DOMDocument.h> ++#include <WebKit/DOMHTMLAnchorElement.h> ++#include <WebKit/DOMHTMLBodyElement.h> ++#include <WebKit/DOMNodeList.h> ++#include <WebKit/DOMRGBColor.h> ++ + #include <WebKit/WebFrame.h> + #include <WebKit/WebView.h> + +@@ -181,27 +188,6 @@ + + extern "C" int UIApplicationMain(int argc, char *argv[], NSString *principalClassName, NSString *delegateClassName); + +-extern NSString *kUIButtonBarButtonAction; +-extern NSString *kUIButtonBarButtonInfo; +-extern NSString *kUIButtonBarButtonInfoOffset; +-extern NSString *kUIButtonBarButtonSelectedInfo; +-extern NSString *kUIButtonBarButtonStyle; +-extern NSString *kUIButtonBarButtonTag; +-extern NSString *kUIButtonBarButtonTarget; +-extern NSString *kUIButtonBarButtonTitle; +-extern NSString *kUIButtonBarButtonTitleVerticalHeight; +-extern NSString *kUIButtonBarButtonTitleWidth; +-extern NSString *kUIButtonBarButtonType; +- +-typedef enum { +- kUIProgressIndicatorStyleLargeWhite = 0, +- kUIProgressIndicatorStyleMediumWhite = 1, +- kUIProgressIndicatorStyleMediumBrown = 2, +- kUIProgressIndicatorStyleSmallWhite = 3, +- kUIProgressIndicatorStyleSmallBlack = 4, +- kUIProgressIndicatorStyleTinyWhite = 5, +-} UIProgressIndicatorStyle; +- + typedef enum { + kUIControlEventMouseDown = 1 << 0, + kUIControlEventMouseMovedInside = 1 << 2, // mouse moved inside control target +@@ -4759,9 +4745,9 @@ + + //NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; + +- CGSize indsize = [UIProgressIndicator defaultSizeForStyle:kUIProgressIndicatorStyleMediumWhite]; ++ CGSize indsize = [UIProgressIndicator defaultSizeForStyle:UIProgressIndicatorStyleMediumWhite]; + indicator_ = [[UIProgressIndicator alloc] initWithFrame:CGRectMake(281, 12, indsize.width, indsize.height)]; +- [indicator_ setStyle:kUIProgressIndicatorStyleMediumWhite]; ++ [indicator_ setStyle:UIProgressIndicatorStyleMediumWhite]; + + Package *package([database_ packageWithName:@"cydia"]); + NSString *application = package == nil ? @"Cydia" : [NSString +@@ -5619,8 +5605,8 @@ + bool ugly = barstyle == 0; + + UIProgressIndicatorStyle style = ugly ? +- kUIProgressIndicatorStyleMediumBrown : +- kUIProgressIndicatorStyleMediumWhite; ++ UIProgressIndicatorStyleMediumBrown : ++ UIProgressIndicatorStyleMediumWhite; + + CGSize indsize = [UIProgressIndicator defaultSizeForStyle:style]; + unsigned indoffset = (ovrrect.size.height - indsize.height) / 2; diff --git a/data/cydia/make.sh b/data/cydia/make.sh new file mode 100644 index 000000000..4f88ea90f --- /dev/null +++ b/data/cydia/make.sh @@ -0,0 +1,19 @@ +pkg:setup +cd cydia +make + +pkg: mkdir -p /usr/libexec /var/lib/cydia +pkg: cp -a Library /usr/libexec/cydia +pkg: cp -a exec /usr/libexec/cydia + +pkg: mkdir -p /System/Library +pkg: cp -a LaunchDaemons /System/Library + +pkg: mkdir /Applications +pkg: cp -a Cydia.app /Applications +pkg: cp -a Cydia /Applications/Cydia.app/Cydia_ +ldid -S"${PKG_DATA}/cydia.xml" "${PKG_DEST}/Applications/Cydia.app/Cydia_" +pkg: chmod +s /Applications/Cydia.app/Cydia_ + +pkg: mkdir -p /System/Library/PreferenceBundles +pkg: cp -a CydiaSettings.bundle /System/Library/PreferenceBundles |