summaryrefslogtreecommitdiff
path: root/data/gdata-objectivec-client
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-05-08 19:08:33 +0000
committerJay Freeman <saurik@saurik.com>2008-05-08 19:08:33 +0000
commit9a888b9a4d236fab2d48a83c6eff8b49d8e0eee5 (patch)
treeed1027b3fe453de1c8fb9cf29c057995825b8cf3 /data/gdata-objectivec-client
parent94b9b8c1811b2191ada7c71ff1db5028280e3631 (diff)
Added GData client APIs.
git-svn-id: http://svn.telesphoreo.org/trunk@268 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/gdata-objectivec-client')
-rw-r--r--data/gdata-objectivec-client/Info.plist24
-rw-r--r--data/gdata-objectivec-client/_metadata/description1
l---------data/gdata-objectivec-client/_metadata/libxml2.dep1
-rw-r--r--data/gdata-objectivec-client/_metadata/license19
l---------data/gdata-objectivec-client/_metadata/maintainer1
-rw-r--r--data/gdata-objectivec-client/_metadata/name1
-rw-r--r--data/gdata-objectivec-client/_metadata/priority1
-rw-r--r--data/gdata-objectivec-client/_metadata/section1
-rw-r--r--data/gdata-objectivec-client/_metadata/version1
-rw-r--r--data/gdata-objectivec-client/formatter.diff22
-rw-r--r--data/gdata-objectivec-client/gdata-objectivec-client-129.tgzbin0 -> 580917 bytes
-rw-r--r--data/gdata-objectivec-client/make.sh5
12 files changed, 77 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en_US</string>
+ <key>CFBundleExecutable</key>
+ <string>GData</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.google.GData</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>GData</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleShortVersionString</key>
+ <string>6.5</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>610</string>
+</dict>
+</plist>
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
--- /dev/null
+++ b/data/gdata-objectivec-client/gdata-objectivec-client-129.tgz
Binary files 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