--- gdata-sharp-1.4.0.2.orig/Makefile +++ gdata-sharp-1.4.0.2/Makefile @@ -53,7 +53,7 @@ PhotoTool.exe \ HealthTool.exe \ -all: $(ALLLIBS) tests $(samples) $(PKGCONFIG_FILES) +all: $(ALLLIBS) $(samples) $(PKGCONFIG_FILES) core_sources = $(wildcard src/core/*.cs) $(wildcard version/*.cs) extensions_sources = $(wildcard src/extensions/*.cs) $(wildcard version/*.cs) @@ -127,8 +127,8 @@ for i in $(ALLLIBS); do gacutil -u $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done for i in $(PKGCONFIG_FILES) ; do rm "$(DESTDIR)$(PREFIX)/lib/pkgconfig/$$i" ; done -tests: $(ALLLIBS) - $(CSC) $(DEFINES) -target:library -out:unittests.dll $(ALLREFS) -r:nunit.framework.dll $(test_sources) +#tests: $(ALLLIBS) +# $(CSC) $(DEFINES) -target:library -out:unittests.dll $(ALLREFS) -r:nunit.framework.dll $(test_sources) gbase_customertool_sources = samples/gbase/example.cs \ samples/gbase/customertool.cs \ @@ -173,10 +173,5 @@ HealthTool.exe: $(ALLLIBS) $(healthtool_sources) $(CSC) -out:$@ $(ALLREFS) $(healthtool_sources) - - -test: - nunit-console2 unittests.dll - %.pc : %.pc.in sed "s,\@VERSION\@,$(VERSION),g; s,\@prefix\@,$(PREFIX),g" < $< > $@ --- gdata-sharp-1.4.0.2.orig/debian/libgdata1.4-cil.install +++ gdata-sharp-1.4.0.2/debian/libgdata1.4-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/*/*/* /usr/lib/cli/gdata-sharp-1.4/ +debian/tmp/usr/lib/pkgconfig --- gdata-sharp-1.4.0.2.orig/debian/libgdata1.4-cil.installcligac +++ gdata-sharp-1.4.0.2/debian/libgdata1.4-cil.installcligac @@ -0,0 +1,14 @@ +/usr/lib/cli/gdata-sharp-1.4/Google.GData.AccessControl.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Apps.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Blogger.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Calendar.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Client.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.CodeSearch.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Contacts.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Documents.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Extensions.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.GoogleBase.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Health.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Photos.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.Spreadsheets.dll +/usr/lib/cli/gdata-sharp-1.4/Google.GData.YouTube.dll --- gdata-sharp-1.4.0.2.orig/debian/monodoc-gdata-manual.install +++ gdata-sharp-1.4.0.2/debian/monodoc-gdata-manual.install @@ -0,0 +1,3 @@ +debian/GData.source /usr/lib/monodoc/sources +GData.tree /usr/lib/monodoc/sources +GData.zip /usr/lib/monodoc/sources --- gdata-sharp-1.4.0.2.orig/debian/copyright +++ gdata-sharp-1.4.0.2/debian/copyright @@ -0,0 +1,66 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Name: google-gdata +Upstream-Maintainer: Google Inc +Upstream-Source: http://code.google.com/p/google-gdata/ + +Files: * +Copyright: Copyright 2006-2008, Google Inc +License: Apache-2.0 + 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. + . + On Debian systems, a full copy of this license can be found in + /usr/share/common-licenses/Apache-2.0 + +Files: src/core/HttpUtility.cs +Copyright: Copyright 2005 Novell, Inc (http://www.novell.com) +License: MIT/X11 + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: debian/* +Copyright: Copyright 2009, Chow Loong Jin +Copyright: Copyright 2009, Mirco Bauer +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, a full copy of this license can be found in + /usr/share/common-licenses/GPL-2 + --- gdata-sharp-1.4.0.2.orig/debian/changelog +++ gdata-sharp-1.4.0.2/debian/changelog @@ -0,0 +1,49 @@ +gdata-sharp (1.4.0.2-1~intrepid~ppa6) intrepid; urgency=low + + * Remove references to tests + + -- Iain Lane Sat, 09 May 2009 12:45:25 +0100 + +gdata-sharp (1.4.0.2-1~intrepid~ppa5) intrepid; urgency=low + + * Comment out unit tests + * remove buildsystem patch + + -- Iain Lane Sat, 09 May 2009 12:24:40 +0100 + +gdata-sharp (1.4.0.2-1~intrepid~ppa4) intrepid; urgency=low + + * Or the 4th. + + -- Iain Lane Sat, 09 May 2009 11:36:14 +0100 + +gdata-sharp (1.4.0.2-1~intrepid~ppa3) intrepid; urgency=low + + * Third time's a charm + + -- Iain Lane Sat, 09 May 2009 11:29:23 +0100 + +gdata-sharp (1.4.0.2-1~intrepid~ppa2) intrepid; urgency=low + + * Try again + + -- Iain Lane Sat, 09 May 2009 11:07:38 +0100 + +gdata-sharp (1.4.0.2-1~intrepid~ppa1) intrepid; urgency=low + + * Backport to Intrepid. Necessitates changes to build-deps. + + -- Iain Lane Fri, 08 May 2009 16:04:28 +0100 + +gdata-sharp (1.4.0.2-1) unstable; urgency=low + + * Initial release (Closes: #519844) + * debian/patches/00_build-system.patch: + + Fix Makefile searching for nunit + * debian/patches/01_pkgconfig-paths.patch: + + Update the locations of the libraries + * debian/patches/02_cli-2.0-port.patch: + + Patch to use System.IO.Compression.GZipStream instead of shipped + GZipStream + + -- Chow Loong Jin Sun, 22 Mar 2009 21:37:21 +0800 --- gdata-sharp-1.4.0.2.orig/debian/watch +++ gdata-sharp-1.4.0.2/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://code.google.com/p/google-gdata/downloads/list http://google-gdata.googlecode.com/files/libgoogle-data-mono-(.*)\.tar\.gz --- gdata-sharp-1.4.0.2.orig/debian/control +++ gdata-sharp-1.4.0.2/debian/control @@ -0,0 +1,66 @@ +Source: gdata-sharp +Section: libs +Priority: optional +Maintainer: Debian CLI Libraries Team +Uploaders: Chow Loong Jin +Build-Depends: debhelper (>= 7.0.50), + quilt, + cli-common-dev (>= 0.5.7), + mono-gmcs, + libmono2.0-cil +Build-Depends-Indep: libnunit2.4-cil, + libmono-winforms2.0-cil, + libmono-i18n2.0-cil, + monodoc-base +Standards-Version: 3.8.1 +Vcs-Git: git://git.debian.org/git/pkg-cli-libs/packages/gdata-sharp.git +Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/gdata-sharp.git +Homepage: http://code.google.com/p/google-gdata/ + +Package: libgdata1.4-cil +Architecture: all +Depends: ${misc:Depends}, ${cli:Depends} +Description: Google GData CLI client library + GData (Google data) is a set of Application Programming Interfaces (APIs) for + the Common Language Infrastructure (CLI) which provide a simple protocol for + reading and writing data on the web. + . + Each of the following Google services provides a Google data API: + * Base + * Blogger + * Calendar + * Code Search + * Contacts + * Document List + * Google Apps Provisioning + * Notebook + * Picasa Web Albums + * Spreadsheets + * YouTube + . + The GData CLI Client Library provides a library and source code that make it + easy to access data through Google Data APIs. + +Package: monodoc-gdata-manual +Section: doc +Architecture: all +Depends: monodoc-manual, ${misc:Depends} +Description: compiled XML documentation for GData + GData (Google data) is a set of Application Programming Interfaces (APIs) for + the Common Language Infrastructure (CLI) which provide a simple protocol for + reading and writing data on the web. + . + Each of the following Google services provides a Google data API: + * Base + * Blogger + * Calendar + * Code Search + * Contacts + * Document List + * Google Apps Provisioning + * Notebook + * Picasa Web Albums + * Spreadsheets + * YouTube + . + This package contains the compiled XML documentation for GData --- gdata-sharp-1.4.0.2.orig/debian/compat +++ gdata-sharp-1.4.0.2/debian/compat @@ -0,0 +1 @@ +7 --- gdata-sharp-1.4.0.2.orig/debian/rules +++ gdata-sharp-1.4.0.2/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +export DH_VERBOSE=1 + +include /usr/share/cli-common/cli.make +include /usr/share/quilt/quilt.make + +DEB_CLI_API_VERSION = 1.4.0.2 + +override_dh_makeclilibs: + dh_makeclilibs -m$(DEB_CLI_API_VERSION) + +override_dh_installchangelogs: + dh_installchangelogs RELEASE_NOTES.HTML + +override_dh_auto_build: $(QUILT_STAMPFN) + # we have to pass PREFIX has as there is no configure script which + # covers that :( + dh_auto_build -- PREFIX=/usr + ( ls $(CURDIR)/Google.GData.*.dll | \ + sed -e 's/^/--assembly:/'; echo --path:$(CURDIR)/monodocer ) | \ + xargs monodocer + mdassembler \ + --ecma $(CURDIR)/monodocer \ + --out $(CURDIR)/GData + +override_dh_auto_install: + # gar, see above + # extra brokeness for building tests in install + dh_auto_install -- PREFIX=/usr CSC=/usr/bin/csc + +# skip test-cases as they fail for some reason +override_dh_auto_test: + +%: + dh $@ + +.PHONY: override_dh_makeclilibs override_dh_installchangelogs override_dh_auto_build override_dh_auto_install override_dh_auto_test --- gdata-sharp-1.4.0.2.orig/debian/GData.source +++ gdata-sharp-1.4.0.2/debian/GData.source @@ -0,0 +1,5 @@ + + + + + --- gdata-sharp-1.4.0.2.orig/debian/patches/02_cli-2.0-port.patch +++ gdata-sharp-1.4.0.2/debian/patches/02_cli-2.0-port.patch @@ -0,0 +1,368 @@ +Index: gdata-sharp/src/core/gzipstream.cs +=================================================================== +--- gdata-sharp.orig/src/core/gzipstream.cs 2009-03-19 05:04:46.000000000 +0800 ++++ gdata-sharp/src/core/gzipstream.cs 2009-03-19 05:12:28.000000000 +0800 +@@ -4,308 +4,4 @@ + + namespace Google.GData.Client + { +- /// Type of compression to use for the GZipStream. Currently only Decompress is supported. +- public enum CompressionMode +- { +- /// Compresses the underlying stream. +- Compress, +- /// Decompresses the underlying stream. +- Decompress, +- } +- +- /// Provides methods and properties used to compress and decompress streams. +- public class GZipStream : Stream +- { +- #region Native const, structs, and defs +- private const string ZLibVersion = "1.2.3"; +- +- private enum ZLibReturnCode +- { +- Ok = 0, +- StreamEnd = 1, +- NeedDictionary = 2, +- Errno = -1, +- StreamError = -2, +- DataError = -3, +- MemoryError = -4, +- BufferError = -5, +- VersionError = -6 +- } +- +- private enum ZLibFlush +- { +- NoFlush = 0, +- PartialFlush = 1, +- SyncFlush = 2, +- FullFlush = 3, +- Finish = 4 +- } +- +- private enum ZLibCompressionLevel +- { +- NoCompression = 0, +- BestSpeed = 1, +- BestCompression = 2, +- DefaultCompression = 3 +- } +- +- private enum ZLibCompressionStrategy +- { +- Filtered = 1, +- HuffmanOnly = 2, +- DefaultStrategy = 0 +- } +- +- private enum ZLibCompressionMethod +- { +- Delated = 8 +- } +- +- private enum ZLibDataType +- { +- Binary = 0, +- Ascii = 1, +- Unknown = 2, +- } +- +- private enum ZLibOpenType +- { +- ZLib = 15, +- GZip = 15 + 16, +- Both = 15 + 32, +- } +- +- +- [StructLayoutAttribute(LayoutKind.Sequential)] +- private struct z_stream +- { +- public IntPtr next_in; /* next input byte */ +- public uint avail_in; /* number of bytes available at next_in */ +- public uint total_in; /* total nb of input bytes read so far */ +- +- public IntPtr next_out; /* next output byte should be put there */ +- public uint avail_out; /* remaining free space at next_out */ +- public uint total_out; /* total nb of bytes output so far */ +- +- public IntPtr msg; /* last error message, NULL if no error */ +- public IntPtr state; /* not visible by applications */ +- +- public IntPtr zalloc; /* used to allocate the internal state */ +- public IntPtr zfree; /* used to free the internal state */ +- public IntPtr opaque; /* private data object passed to zalloc and zfree */ +- +- public ZLibDataType data_type; /* best guess about the data type: ascii or binary */ +- public uint adler; /* adler32 value of the uncompressed data */ +- public uint reserved; /* reserved for future use */ +- }; +- #endregion +- +- #region P/Invoke +-#if WindowsCE || PocketPC +- [DllImport("zlib.arm.dll", EntryPoint = "inflateInit2_", CharSet = CharSet.Auto)] +-#else +- [DllImport("zlib.x86.dll", EntryPoint = "inflateInit2_", CharSet = CharSet.Ansi)] +-#endif +- private static extern ZLibReturnCode inflateInit2(ref z_stream strm, ZLibOpenType windowBits, string version, int stream_size); +- +-#if WindowsCE || PocketPC +- [DllImport("zlib.arm.dll", CharSet = CharSet.Auto)] +-#else +- [DllImport("zlib.x86.dll", CharSet = CharSet.Ansi)] +-#endif +- private static extern ZLibReturnCode inflate(ref z_stream strm, ZLibFlush flush); +- +-#if WindowsCE || PocketPC +- [DllImport("zlib.arm.dll", CharSet = CharSet.Auto)] +-#else +- [DllImport("zlib.x86.dll", CharSet = CharSet.Ansi)] +-#endif +- private static extern ZLibReturnCode inflateEnd(ref z_stream strm); +- #endregion +- +- private const int BufferSize = 16384; +- +- private Stream compressedStream; +- private CompressionMode mode; +- +- private z_stream zstream = new z_stream(); +- +- private byte[] inputBuffer = new byte[BufferSize]; +- private GCHandle inputBufferHandle; +- +- /// Initializes a new instance of the GZipStream class using the specified stream and CompressionMode value. +- /// The stream to compress or decompress. +- /// One of the CompressionMode values that indicates the action to take. +- public GZipStream(Stream stream, CompressionMode mode) +- { +- if (mode != CompressionMode.Decompress) +- throw new NotImplementedException("Compression is not implemented."); +- +- this.compressedStream = stream; +- this.mode = mode; +- +- this.zstream.zalloc = IntPtr.Zero; +- this.zstream.zfree = IntPtr.Zero; +- this.zstream.opaque = IntPtr.Zero; +- +- ZLibReturnCode ret = inflateInit2(ref this.zstream, ZLibOpenType.Both, ZLibVersion, Marshal.SizeOf(typeof(z_stream))); +- +- if (ret != ZLibReturnCode.Ok) +- throw new ArgumentException("Unable to init ZLib. Return code: " + ret.ToString()); +- +- this.inputBufferHandle = GCHandle.Alloc(inputBuffer, GCHandleType.Pinned); +- } +- +- /// GZipStream destructor. Cleans all allocated resources. +- ~GZipStream() +- { +- Dispose(false); +- } +- +- ////////////////////////////////////////////////////////////////////// +- /// Handle Dispose since Stream implements IDisposable +- /// indicates if dispose called it or finalize +- ////////////////////////////////////////////////////////////////////// +- protected override void Dispose(bool disposing) +- { +- base.Dispose(disposing); +- +- if (inputBufferHandle.IsAllocated) +- { +- inputBufferHandle.Free(); +- inflateEnd(ref this.zstream); +- } +- } +- +- +- /// Reads a number of decompressed bytes into the specified byte array. +- /// The array used to store decompressed bytes. +- /// The location in the array to begin reading. +- /// The number of bytes decompressed. +- /// The number of bytes that were decompressed into the byte array. If the end of the stream has been reached, zero or the number of bytes read is returned. +- public override int Read(byte[] buffer, int offset, int count) +- { +- if (this.mode == CompressionMode.Compress) +- throw new NotSupportedException("Can't read on a compress stream!"); +- +- bool exitLoop = false; +- +- byte[] tmpOutputBuffer = new byte[count]; +- GCHandle tmpOutpuBufferHandle = GCHandle.Alloc(tmpOutputBuffer, GCHandleType.Pinned); +- +- this.zstream.next_out = tmpOutpuBufferHandle.AddrOfPinnedObject(); +- this.zstream.avail_out = (uint)tmpOutputBuffer.Length; +- +- try +- { +- while (this.zstream.avail_out > 0 && exitLoop == false) +- { +- if (this.zstream.avail_in == 0) +- { +- int readLength = this.compressedStream.Read(inputBuffer, 0, inputBuffer.Length); +- this.zstream.avail_in = (uint)readLength; +- this.zstream.next_in = this.inputBufferHandle.AddrOfPinnedObject(); +- } +- ZLibReturnCode result = inflate(ref zstream, ZLibFlush.NoFlush); +- switch (result) +- { +- case ZLibReturnCode.StreamEnd: +- exitLoop = true; +- Array.Copy(tmpOutputBuffer, 0, buffer, offset, count - (int)this.zstream.avail_out); +- break; +- case ZLibReturnCode.Ok: +- Array.Copy(tmpOutputBuffer, 0, buffer, offset, count - (int)this.zstream.avail_out); +- break; +- case ZLibReturnCode.MemoryError: +- throw new OutOfMemoryException("ZLib return code: " + result.ToString()); +- default: +- throw new Exception("ZLib return code: " + result.ToString()); +- } +- } +- +- return (count - (int)this.zstream.avail_out); +- } +- finally +- { +- tmpOutpuBufferHandle.Free(); +- } +- } +- +- /// Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. +- public override void Close() +- { +- this.compressedStream.Close(); +- base.Close(); +- } +- +- /// Gets a value indicating whether the stream supports reading while decompressing a file. +- public override bool CanRead +- { +- get { return (this.mode == CompressionMode.Decompress ? true : false); } +- } +- +- /// Gets a value indicating whether the stream supports writing. +- public override bool CanWrite +- { +- get { return (this.mode == CompressionMode.Compress ? true : false); } +- } +- +- /// Gets a value indicating whether the stream supports seeking. +- public override bool CanSeek +- { +- get { return (false); } +- } +- +- /// Gets a reference to the underlying stream. +- public Stream BaseStream +- { +- get { return (this.compressedStream); } +- } +- +- #region Not yet supported +- /// Flushes the contents of the internal buffer of the current GZipStream object to the underlying stream. +- public override void Flush() +- { +- throw new NotSupportedException("The method or operation is not implemented."); +- } +- +- /// This property is not supported and always throws a NotSupportedException. +- /// The location in the stream. +- /// One of the SeekOrigin values. +- /// A long value. +- public override long Seek(long offset, SeekOrigin origin) +- { +- throw new NotSupportedException(); +- } +- +- /// This property is not supported and always throws a NotSupportedException. +- /// The length of the stream. +- public override void SetLength(long value) +- { +- throw new NotSupportedException(); +- } +- +- /// This property is not supported and always throws a NotSupportedException. +- /// The array used to store compressed bytes. +- /// The location in the array to begin reading. +- /// The number of bytes compressed. +- public override void Write(byte[] buffer, int offset, int count) +- { +- throw new NotSupportedException("Not yet supported!"); +- } +- +- /// This property is not supported and always throws a NotSupportedException. +- public override long Length +- { +- get { throw new NotSupportedException(); } +- } +- +- /// This property is not supported and always throws a NotSupportedException. +- public override long Position +- { +- get { throw new NotSupportedException(); } +- set { throw new NotSupportedException(); } +- } +- #endregion +- } + } +Index: gdata-sharp/src/core/request.cs +=================================================================== +--- gdata-sharp.orig/src/core/request.cs 2009-03-19 05:04:46.000000000 +0800 ++++ gdata-sharp/src/core/request.cs 2009-03-19 05:12:28.000000000 +0800 +@@ -22,6 +22,7 @@ + using System.Collections.Generic; + using System.Globalization; + using System.ComponentModel; ++using System.IO.Compression; + + #endregion + +Index: gdata-sharp/src/unittests/gziplivetest.cs +=================================================================== +--- gdata-sharp.orig/src/unittests/gziplivetest.cs 2009-03-19 05:04:46.000000000 +0800 ++++ gdata-sharp/src/unittests/gziplivetest.cs 2009-03-19 05:13:05.000000000 +0800 +@@ -10,6 +10,7 @@ + using Google.GData.Extensions; + using Google.GData.Calendar; + using Google.GData.AccessControl; ++using System.IO.Compression; + + namespace Google.GData.Client.LiveTests + { +@@ -54,7 +55,7 @@ + + Stream responseStream = request.GetResponseStream(); + Assert.IsTrue(responseStream != null, "Response stream should not be null."); +- Assert.IsTrue(responseStream is Google.GData.Client.GZipStream, "Response stream is not Google.GData.Client.GZipStream."); ++ Assert.IsTrue(responseStream is GZipStream, "Response stream is not System.IO.Compression.GZipStream."); + + AtomFeed feed = new AtomFeed(new Uri(calendarUri), this.calendarService); + feed.Parse(request.GetResponseStream(), AlternativeFormat.Atom); +Index: gdata-sharp/src/unittests/gzipstreamtest.cs +=================================================================== +--- gdata-sharp.orig/src/unittests/gzipstreamtest.cs 2009-03-19 05:13:25.000000000 +0800 ++++ gdata-sharp/src/unittests/gzipstreamtest.cs 2009-03-19 05:14:23.000000000 +0800 +@@ -3,7 +3,7 @@ + using System.Xml; + using System.IO; + +-using Google.GData.Client; ++using System.IO.Compression; + + using NUnit.Framework; + +@@ -15,7 +15,7 @@ + [TestFixture] + public class GZipStreamTest : BaseTestClass + { +- private const string Data = "Google.GData.Client.GZipStream"; ++ private const string Data = "System.IO.Compression..GZipStream"; + private const string Base64GZipData = "H4sIAEDbsEYAA3PPz0/PSdVzd0ksSdRzzslMzSvRc4/KLAguKUpNzAUAg1++Bx4AAAA="; + + private byte[] compressedData; --- gdata-sharp-1.4.0.2.orig/debian/patches/01_pkgconfig-paths.patch +++ gdata-sharp-1.4.0.2/debian/patches/01_pkgconfig-paths.patch @@ -0,0 +1,130 @@ +Index: gdata-sharp/misc/gdata-sharp-acl.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-acl.pc.in 2009-03-16 23:07:37.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-acl.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.AccessControl.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.AccessControl.dll +Index: gdata-sharp/misc/gdata-sharp-apps.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-apps.pc.in 2009-03-16 23:07:37.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-apps.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Apps.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Apps.dll +Index: gdata-sharp/misc/gdata-sharp-base.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-base.pc.in 2009-03-16 23:07:37.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-base.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.GoogleBase.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.GoogleBase.dll +Index: gdata-sharp/misc/gdata-sharp-blogger.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-blogger.pc.in 2009-03-16 23:07:37.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-blogger.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Blogger.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Blogger.dll +Index: gdata-sharp/misc/gdata-sharp-calendar.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-calendar.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-calendar.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core gdata-sharp-acl +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Calendar.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Calendar.dll +Index: gdata-sharp/misc/gdata-sharp-codesearch.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-codesearch.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-codesearch.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.CodeSearch.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.CodeSearch.dll +Index: gdata-sharp/misc/gdata-sharp-contacts.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-contacts.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-contacts.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Contacts.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Contacts.dll +Index: gdata-sharp/misc/gdata-sharp-core.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-core.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-core.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -5,4 +5,4 @@ + Description: CLI bindings to Google's online services (Core libraries) + Version: @VERSION@ + +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Client.dll -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Extensions.dll +Index: gdata-sharp/misc/gdata-sharp-documents.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-documents.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-documents.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Documents.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Documents.dll +Index: gdata-sharp/misc/gdata-sharp-health.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-health.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-health.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Health.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Health.dll +Index: gdata-sharp/misc/gdata-sharp-photos.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-photos.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-photos.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Photos.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Photos.dll +Index: gdata-sharp/misc/gdata-sharp-spreadsheets.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-spreadsheets.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-spreadsheets.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Spreadsheets.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.Spreadsheets.dll +Index: gdata-sharp/misc/gdata-sharp-youtube.pc.in +=================================================================== +--- gdata-sharp.orig/misc/gdata-sharp-youtube.pc.in 2009-03-16 23:07:38.000000000 +0800 ++++ gdata-sharp/misc/gdata-sharp-youtube.pc.in 2009-03-16 23:08:41.000000000 +0800 +@@ -6,4 +6,4 @@ + Version: @VERSION@ + + Requires: gdata-sharp-core +-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.YouTube.dll ++Libs: -r:${libdir}/cli/gdata-sharp-1.4/Google.GData.YouTube.dll --- gdata-sharp-1.4.0.2.orig/debian/patches/series +++ gdata-sharp-1.4.0.2/debian/patches/series @@ -0,0 +1,2 @@ +01_pkgconfig-paths.patch +02_cli-2.0-port.patch