From 9a888b9a4d236fab2d48a83c6eff8b49d8e0eee5 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 8 May 2008 19:08:33 +0000 Subject: Added GData client APIs. git-svn-id: http://svn.telesphoreo.org/trunk@268 514c082c-b64e-11dc-b46d-3d985efe055d --- data/gdata-objectivec-client/Info.plist | 24 +++++++++++++++++++++ data/gdata-objectivec-client/_metadata/description | 1 + data/gdata-objectivec-client/_metadata/libxml2.dep | 1 + data/gdata-objectivec-client/_metadata/license | 19 ++++++++++++++++ data/gdata-objectivec-client/_metadata/maintainer | 1 + data/gdata-objectivec-client/_metadata/name | 1 + data/gdata-objectivec-client/_metadata/priority | 1 + data/gdata-objectivec-client/_metadata/section | 1 + data/gdata-objectivec-client/_metadata/version | 1 + data/gdata-objectivec-client/formatter.diff | 22 +++++++++++++++++++ .../gdata-objectivec-client-129.tgz | Bin 0 -> 580917 bytes data/gdata-objectivec-client/make.sh | 5 +++++ 12 files changed, 77 insertions(+) create mode 100644 data/gdata-objectivec-client/Info.plist create mode 100644 data/gdata-objectivec-client/_metadata/description create mode 120000 data/gdata-objectivec-client/_metadata/libxml2.dep create mode 100644 data/gdata-objectivec-client/_metadata/license create mode 120000 data/gdata-objectivec-client/_metadata/maintainer create mode 100644 data/gdata-objectivec-client/_metadata/name create mode 100644 data/gdata-objectivec-client/_metadata/priority create mode 100644 data/gdata-objectivec-client/_metadata/section create mode 100644 data/gdata-objectivec-client/_metadata/version create mode 100644 data/gdata-objectivec-client/formatter.diff create mode 100644 data/gdata-objectivec-client/gdata-objectivec-client-129.tgz create mode 100644 data/gdata-objectivec-client/make.sh (limited to 'data') diff --git a/data/gdata-objectivec-client/Info.plist b/data/gdata-objectivec-client/Info.plist new file mode 100644 index 000000000..9bceed23d --- /dev/null +++ b/data/gdata-objectivec-client/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en_US + CFBundleExecutable + GData + CFBundleIdentifier + com.google.GData + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + GData + CFBundlePackageType + FMWK + CFBundleShortVersionString + 6.5 + CFBundleSignature + ???? + CFBundleVersion + 610 + + diff --git a/data/gdata-objectivec-client/_metadata/description b/data/gdata-objectivec-client/_metadata/description new file mode 100644 index 000000000..a9fe5e226 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/description @@ -0,0 +1 @@ +GData client library (Objective-C) diff --git a/data/gdata-objectivec-client/_metadata/libxml2.dep b/data/gdata-objectivec-client/_metadata/libxml2.dep new file mode 120000 index 000000000..076284360 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/libxml2.dep @@ -0,0 +1 @@ +../../libxml2 \ No newline at end of file diff --git a/data/gdata-objectivec-client/_metadata/license b/data/gdata-objectivec-client/_metadata/license new file mode 100644 index 000000000..3acf2bb99 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/license @@ -0,0 +1,19 @@ +GData.framework is developed by Google and licensed under the following Apache License: + +_____________________________________________________________________ + +Copyright (c) 2007 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +_____________________________________________________________________ diff --git a/data/gdata-objectivec-client/_metadata/maintainer b/data/gdata-objectivec-client/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik \ No newline at end of file diff --git a/data/gdata-objectivec-client/_metadata/name b/data/gdata-objectivec-client/_metadata/name new file mode 100644 index 000000000..a2514e1d1 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/name @@ -0,0 +1 @@ +Google Data APIs diff --git a/data/gdata-objectivec-client/_metadata/priority b/data/gdata-objectivec-client/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/gdata-objectivec-client/_metadata/section b/data/gdata-objectivec-client/_metadata/section new file mode 100644 index 000000000..e0eb96881 --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/section @@ -0,0 +1 @@ +Development diff --git a/data/gdata-objectivec-client/_metadata/version b/data/gdata-objectivec-client/_metadata/version new file mode 100644 index 000000000..b0d73241c --- /dev/null +++ b/data/gdata-objectivec-client/_metadata/version @@ -0,0 +1 @@ +129 diff --git a/data/gdata-objectivec-client/formatter.diff b/data/gdata-objectivec-client/formatter.diff new file mode 100644 index 000000000..09076c950 --- /dev/null +++ b/data/gdata-objectivec-client/formatter.diff @@ -0,0 +1,22 @@ +diff -ru gdata-objectivec-client-129/Source/Networking/GDataHTTPFetcherLogging.m gdata-objectivec-client-129+iPhone/Source/Networking/GDataHTTPFetcherLogging.m +--- gdata-objectivec-client-129/Source/Networking/GDataHTTPFetcherLogging.m 2008-05-06 00:11:33.000000000 +0000 ++++ gdata-objectivec-client-129+iPhone/Source/Networking/GDataHTTPFetcherLogging.m 2008-05-07 17:32:26.000000000 +0000 +@@ -160,11 +160,13 @@ + if (!gLoggingDateStamp) { + // produce a string like 08-21_01-41-23PM + +- NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease]; +- [formatter setFormatterBehavior:NSDateFormatterBehavior10_4]; +- [formatter setDateFormat:@"M-dd_hh-mm-ssa"]; +- +- gLoggingDateStamp = [[formatter stringFromDate:[NSDate date]] retain] ; ++ CFLocaleRef locale = CFLocaleCopyCurrent(); ++ CFDateFormatterRef formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle); ++ CFRelease(locale); ++ ++ CFDateFormatterSetFormat(formatter, CFSTR("M-dd_hh-mm-ssa")); ++ gLoggingDateStamp = (NSString *) CFDateFormatterCreateStringWithDate(NULL, formatter, (CFDateRef) [NSDate date]); ++ CFRelease(formatter); + } + return gLoggingDateStamp; + } diff --git a/data/gdata-objectivec-client/gdata-objectivec-client-129.tgz b/data/gdata-objectivec-client/gdata-objectivec-client-129.tgz new file mode 100644 index 000000000..9e164c923 Binary files /dev/null and b/data/gdata-objectivec-client/gdata-objectivec-client-129.tgz differ diff --git a/data/gdata-objectivec-client/make.sh b/data/gdata-objectivec-client/make.sh new file mode 100644 index 000000000..c4d9ed2a2 --- /dev/null +++ b/data/gdata-objectivec-client/make.sh @@ -0,0 +1,5 @@ +pkg:setup +"${PKG_TARG}-gcc" -std=c99 -fobjc-exceptions -I"$(PKG_DEST_ libxml2)/usr/include/libxml2" -I. -ISource/{.,ACL,BaseClasses,Elements,Geo,Media,Networking,XMLSupport} -ISource/Clients/{Calendar,CodeSearch,Contacts,Docs,GoogleBase,Photos,Spreadsheets,YouTube} -o GData -dynamiclib $(find Source -name Tests -prune -o -name '*.m' -print) -lobjc -framework CoreFoundation -framework Foundation -lxml2 -install_name /System/Library/Frameworks/GData.framework/GData +pkg: mkdir -p /System/Library/Frameworks/GData.framework/Headers +pkg: cp -a %/Info.plist GData /System/Library/Frameworks/GData.framework +pkg: cp -a $(find Source -name Tests -prune -o -name '*.h' -print) /System/Library/Frameworks/GData.framework/Headers -- cgit v1.2.3