[Pkg-cli-libs-commits] r4044 - in /packages/libflickrnet/trunk/debian: changelog control patches/series patches/unbreak-zooomr-support.diff

varun at users.alioth.debian.org varun at users.alioth.debian.org
Sun Mar 1 08:23:18 UTC 2009


Author: varun
Date: Sun Mar  1 08:23:17 2009
New Revision: 4044

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=4044
Log:
* Add patch unbreak-zooomr-support.diff to fix f-spot crashes when
  exporting to Zooomr (Closes: #514460). Thanks to Chris Coulson
  <chrisccoulson at googlemail.com> for providing the patch.
* Bump Standards-Version to 3.8.0

Added:
    packages/libflickrnet/trunk/debian/patches/unbreak-zooomr-support.diff
Modified:
    packages/libflickrnet/trunk/debian/changelog
    packages/libflickrnet/trunk/debian/control
    packages/libflickrnet/trunk/debian/patches/series

Modified: packages/libflickrnet/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libflickrnet/trunk/debian/changelog?rev=4044&op=diff
==============================================================================
--- packages/libflickrnet/trunk/debian/changelog (original)
+++ packages/libflickrnet/trunk/debian/changelog Sun Mar  1 08:23:17 2009
@@ -1,3 +1,12 @@
+libflickrnet (25277-8) unstable; urgency=low
+
+  * Add patch unbreak-zooomr-support.diff to fix f-spot crashes when
+    exporting to Zooomr (Closes: #514460). Thanks to Chris Coulson
+    <chrisccoulson at googlemail.com> for providing the patch.
+  * Bump Standards-Version to 3.8.0
+
+ -- Varun Hiremath <varun at debian.org>  Sun, 01 Mar 2009 03:19:42 -0500
+
 libflickrnet (25277-7) unstable; urgency=low
 
   [ Steve Langasek ]

Modified: packages/libflickrnet/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libflickrnet/trunk/debian/control?rev=4044&op=diff
==============================================================================
--- packages/libflickrnet/trunk/debian/control (original)
+++ packages/libflickrnet/trunk/debian/control Sun Mar  1 08:23:17 2009
@@ -9,7 +9,7 @@
  cli-common-dev (>= 0.5.6),
  libmono-system-web2.0-cil,
  libmono-system2.0-cil
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 Homepage: http://www.codeplex.com/FlickrNet
 Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-libs/packages/libflickrnet/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libflickrnet/trunk/

Modified: packages/libflickrnet/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libflickrnet/trunk/debian/patches/series?rev=4044&op=diff
==============================================================================
--- packages/libflickrnet/trunk/debian/patches/series (original)
+++ packages/libflickrnet/trunk/debian/patches/series Sun Mar  1 08:23:17 2009
@@ -1,1 +1,2 @@
 AssemblyInfo.diff
+unbreak-zooomr-support.diff

Added: packages/libflickrnet/trunk/debian/patches/unbreak-zooomr-support.diff
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libflickrnet/trunk/debian/patches/unbreak-zooomr-support.diff?rev=4044&op=file
==============================================================================
--- packages/libflickrnet/trunk/debian/patches/unbreak-zooomr-support.diff (added)
+++ packages/libflickrnet/trunk/debian/patches/unbreak-zooomr-support.diff Sun Mar  1 08:23:17 2009
@@ -1,0 +1,77 @@
+Index: libflickrnet-25277/FlickrNet/Flickr.cs
+===================================================================
+--- libflickrnet-25277.orig/FlickrNet/Flickr.cs	2009-02-23 22:10:07.000000000 -0500
++++ libflickrnet-25277/FlickrNet/Flickr.cs	2009-02-23 22:15:28.000000000 -0500
+@@ -54,7 +54,7 @@
+ 
+ 		private string[] _baseUrl = new string[] { 
+ 															"http://api.flickr.com/services/rest/", 
+-															"http://beta.zooomr.com/bluenote/api/rest",
++															"http://www.zooomr.com/api/rest/",
+ 															"http://www.23hq.com/services/rest/"};
+ 
+ 		private string UploadUrl
+@@ -63,7 +63,7 @@
+ 		}
+ 		private static string[] _uploadUrl = new string[] {
+ 															  "http://api.flickr.com/services/upload/",
+-															  "http://beta.zooomr.com/bluenote/api/upload",
++															  "http://www.zooomr.com/api/upload",
+ 															  "http://www.23hq.com/services/upload/"};
+ 
+ 		private string ReplaceUrl
+@@ -72,7 +72,7 @@
+ 		}
+ 		private static string[] _replaceUrl = new string[] {
+ 															   "http://api.flickr.com/services/replace/",
+-															   "http://beta.zooomr.com/bluenote/api/replace",
++															   "http://www.zooomr.com/api/replace",
+ 															   "http://www.23hq.com/services/replace/"};
+ 
+ 		private string AuthUrl
+@@ -81,7 +81,7 @@
+ 		}
+ 		private static string[] _authUrl = new string[] {
+ 															   "http://www.flickr.com/services/auth/",
+-															   "http://beta.zooomr.com/auth/",
++															   "http://www.zooomr.com/services/auth/",
+ 															   "http://www.23hq.com/services/auth/"};
+ 
+ 		private string _apiKey;
+@@ -443,7 +443,8 @@
+             {
+                 // This is needed in the Compact Framework
+                 // See for more details: http://msdn2.microsoft.com/en-us/library/1afx2b0f.aspx
+-                req.GetRequestStream().Close();
++		if (req.Method=="POST")
++		    req.GetRequestStream().Close();
+             }
+ 
+ 			try
+@@ -718,7 +719,7 @@
+ 			FlickrNet.Response response = GetResponseNoCache(parameters);
+ 			if( response.Status == ResponseStatus.OK )
+ 			{
+-				return response.AllElements[0].InnerText;
++				return response.AllElements[CurrentService==SupportedService.Zooomr?1:0].InnerText;
+ 			}
+ 			else
+ 			{
+@@ -789,7 +790,7 @@
+ 			FlickrNet.Response response = GetResponseNoCache(parameters);
+ 			if( response.Status == ResponseStatus.OK )
+ 			{
+-				Auth auth = new Auth(response.AllElements[0]);
++				Auth auth = new Auth(response.AllElements[CurrentService==SupportedService.Zooomr?1:0]);
+ 				return auth;
+ 			}
+ 			else
+@@ -837,7 +838,7 @@
+ 			FlickrNet.Response response = GetResponseNoCache(parameters);
+ 			if( response.Status == ResponseStatus.OK )
+ 			{
+-				Auth auth = new Auth(response.AllElements[0]);
++				Auth auth = new Auth(response.AllElements[CurrentService==SupportedService.Zooomr?1:0]);
+ 				return auth;
+ 			}
+ 			else




More information about the Pkg-cli-libs-commits mailing list