From daee0ba31563174d69515a7fc277034b91dac99b Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 5 Nov 2009 22:07:24 +0000 Subject: [PATCH] Merged WebCycript into the core cydgets distribution. --- .../CydgetCentral.plist => CydgetCentral.plist | 0 webcycript/Info.plist => Info.plist | 0 LockScreen.mk | 1 + webcycript/LockScreen.mm => LockScreen.mm | 0 makefile | 12 +++++++++++- webcycript/control | 12 ------------ webcycript/make.sh | 2 -- webcycript/makefile | 8 -------- 8 files changed, 12 insertions(+), 23 deletions(-) rename webcycript/CydgetCentral.plist => CydgetCentral.plist (100%) rename webcycript/Info.plist => Info.plist (100%) rename webcycript/LockScreen.mm => LockScreen.mm (100%) delete mode 100644 webcycript/control delete mode 100755 webcycript/make.sh delete mode 100644 webcycript/makefile diff --git a/webcycript/CydgetCentral.plist b/CydgetCentral.plist similarity index 100% rename from webcycript/CydgetCentral.plist rename to CydgetCentral.plist diff --git a/webcycript/Info.plist b/Info.plist similarity index 100% rename from webcycript/Info.plist rename to Info.plist diff --git a/LockScreen.mk b/LockScreen.mk index b54d6da..87e5791 100644 --- a/LockScreen.mk +++ b/LockScreen.mk @@ -31,6 +31,7 @@ $(deb): $(name)LockScreen mkdir -p package/System/Library/SpringBoardPlugins/$(name)LockScreen.bundle cp -a Info.plist package/System/Library/SpringBoardPlugins/$(name)LockScreen.bundle cp -a $(name)LockScreen package/System/Library/SpringBoardPlugins/$(name)LockScreen.bundle + $(MAKE) extra dpkg-deb -b package $(deb) extra: diff --git a/webcycript/LockScreen.mm b/LockScreen.mm similarity index 100% rename from webcycript/LockScreen.mm rename to LockScreen.mm diff --git a/makefile b/makefile index 63fd4b1..9782796 100644 --- a/makefile +++ b/makefile @@ -3,5 +3,15 @@ flags := -framework UIKit -framework AddressBook base := $(shell cd ~; pwd)/menes/tweaks include $(base)/tweak.mk +all: WebCycriptLockScreen + +WebCycriptLockScreen: LockScreen.mm makefile $(base)/../mobilesubstrate/substrate.h + $(target)g++ -bundle -mthumb -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -lobjc -I$(base)/../mobilesubstrate $(link) $(flags) -framework CoreGraphics -framework QuartzCore -framework SpringBoardUI -framework WebCore -framework GraphicsServices + ldid -S $@ + extra: - mkdir -p package/System/Library/LockCydgets + mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget + cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist + mkdir -p package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle + cp -a Info.plist package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle + cp -a WebCycriptLockScreen package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle diff --git a/webcycript/control b/webcycript/control deleted file mode 100644 index 36014f7..0000000 --- a/webcycript/control +++ /dev/null @@ -1,12 +0,0 @@ -Package: cydget-webcycript -Priority: optional -Section: Development -Maintainer: Jay Freeman (saurik) -Architecture: iphoneos-arm -Version: 0.9.3073-1 -Description: write LockCydgets using Cycript and HTML -Name: Cydget WebCycript -Depends: cydget, cycript -Author: Jay Freeman (saurik) -Depiction: http://cydia.saurik.com/info/cydget-webcycript/ -Tag: purpose::library, role::developer diff --git a/webcycript/make.sh b/webcycript/make.sh deleted file mode 100755 index 6d212b3..0000000 --- a/webcycript/make.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -PKG_ARCH=iphoneos-arm /apl/tel/exec.sh - make package "$@" diff --git a/webcycript/makefile b/webcycript/makefile deleted file mode 100644 index fac7d59..0000000 --- a/webcycript/makefile +++ /dev/null @@ -1,8 +0,0 @@ -name := WebCycript -flags := -lcycript -L/dat/src/cycript -framework QuartzCore -framework WebCore -framework CoreGraphics -framework GraphicsServices -base := ../../tweaks -include ../LockScreen.mk - -extra: - mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget - cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist -- 2.45.2