[Pkg-cli-libs-commits] [flickrnet] 08/24: * 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

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Mon Apr 17 12:36:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

mans0954 pushed a commit to branch master
in repository flickrnet.

commit e2a8820e302d49b499a0de21e232dd0761dbe7b7
Author: Varun Hiremath <varun at debian.org>
Date:   Sun Mar 1 08:23:17 2009 +0000

    * 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
---
 debian/changelog                           |  9 ++++
 debian/control                             |  2 +-
 debian/patches/series                      |  1 +
 debian/patches/unbreak-zooomr-support.diff | 77 ++++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 50d8911..86c234c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 ]
diff --git a/debian/control b/debian/control
index eb4f860..f474d17 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends-Indep: mono-devel (>= 2.0.1),
  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/
diff --git a/debian/patches/series b/debian/patches/series
index f2f7ddd..ccd6c70 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 AssemblyInfo.diff
+unbreak-zooomr-support.diff
diff --git a/debian/patches/unbreak-zooomr-support.diff b/debian/patches/unbreak-zooomr-support.diff
new file mode 100644
index 0000000..8675455
--- /dev/null
+++ b/debian/patches/unbreak-zooomr-support.diff
@@ -0,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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/flickrnet.git



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