Author: siwuzzz
Date: Wed Aug  8 16:48:51 2007
New Revision: 218

Added:
   trunk/clients/cs/gzip-mono-howto.txt
   trunk/clients/cs/misc/Google.GData.Client.dll.config

Log:
GZip for Mono added along with How-To

Added: trunk/clients/cs/gzip-mono-howto.txt
==============================================================================
--- (empty file)
+++ trunk/clients/cs/gzip-mono-howto.txt        Wed Aug  8 16:48:51 2007
@@ -0,0 +1,39 @@
+        *** How to use GZip with Mono ***
+
+    Because the Google.GData.Client.GZipStream implementation relies on zlib,
+we decided to ship our own compiled version with the library, for both Windows
+and Windows Mobile. However, we can't possibly ship binaries for each platform
+supported by Mono. Here are the instructions to use GZip with Mono.
+
+    You first need to obtain zlib v1.2.3 (version 1.2.3 is *VERY* important,
+it simply WON'T work if you try to use another version) at http://www.zlib.net,
+or http://www.zlib.net/zlib-1.2.3.tar.gz. Then, issue the following commands:
+
+    $ make clean
+    $ ./configure -s
+    $ make
+    
+    This will build libz.so.1.2.3 that will be needed by the library. If you
+want you can issue a "make install" to install the library to your library
+path. If you don't want to install, just put the libz.so.1.2.3 file in the
+same directory as Google.GData.Client.dll.
+
+    That done, you only need to do one last thing, drop the
+Google.GData.Client.dll.config file found in clients/cs/misc in the same
+directory as Google.GData.Client.dll file.
+
+    Finally, to check everything is alright, run the following:
+    
+    $ nunit-console2 /fixture=Google.GData.Client.UnitTests.GZipStreamTest\
+      unittests.dll
+    
+    You can also run the tests against the live server (careful to configure
+unittests.dll.config before!) using:
+
+    $ nunit-console2 /fixture=Google.GData.Client.LiveTests.GZipTestSuite\
+      unittests.dll
+
+    And there you are :)
+    
+NB:
+    zlib-1.2.3.tar.gz: 485K, MD5 checksum debc62758716a169df9f62e6ab2bc634
\ No newline at end of file

Added: trunk/clients/cs/misc/Google.GData.Client.dll.config
==============================================================================
--- (empty file)
+++ trunk/clients/cs/misc/Google.GData.Client.dll.config        Wed Aug  8 
16:48:51 2007
@@ -0,0 +1,4 @@
+<configuration>
+    <!-- Map to libz.so.1.2.3 on everything but windows, as we ship it for 
windows. -->
+    <dllmap os="linux,osx,solaris,freebsd,openbsd,netbsd,aix,hpux" 
dll="zlib.x86.dll" target="libz.so.1.2.3"/>
+</configuration>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to