rpms/mojito/devel mojito-async-crashfix.patch, NONE, 1.1 mojito.spec, 1.27, 1.28

Peter Robinson pbrobinson at fedoraproject.org
Mon Jan 25 10:35:18 UTC 2010


Author: pbrobinson

Update of /cvs/pkgs/rpms/mojito/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15568

Modified Files:
	mojito.spec 
Added Files:
	mojito-async-crashfix.patch 
Log Message:
- Add upstream patch to fix crash

mojito-async-crashfix.patch:
 mojito-web.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE mojito-async-crashfix.patch ---
>From e3bd931e95b806c870f4bb190caa0e31fbbc596d Mon Sep 17 00:00:00 2001
From: Ross Burton <ross at linux.intel.com>
Date: Thu, 21 Jan 2010 11:16:59 +0000
Subject: mojito: use the async context when downloading images async

---
diff --git a/mojito/mojito-web.c b/mojito/mojito-web.c
index 0500203..97d231c 100644
--- a/mojito/mojito-web.c
+++ b/mojito/mojito-web.c
@@ -152,7 +152,7 @@ mojito_web_download_image_async (const char *url, ImageDownloadCallback callback
   g_return_if_fail (url);
   g_return_if_fail (callback);
 
-  g_once (&once, (GThreadFunc)mojito_web_make_sync_session, NULL);
+  g_once (&once, (GThreadFunc)mojito_web_make_async_session, NULL);
   session = once.retval;
 
   md5 = g_compute_checksum_for_string (G_CHECKSUM_MD5, url, -1);
--
cgit v0.8.3-13-ge633


Index: mojito.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mojito/devel/mojito.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- mojito.spec	12 Jan 2010 09:32:36 -0000	1.27
+++ mojito.spec	25 Jan 2010 10:35:18 -0000	1.28
@@ -1,6 +1,6 @@
 Name:           mojito
 Version:        0.22.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A social network data aggregator
 
 Group:          Applications/Internet
@@ -8,6 +8,7 @@ License:        LGPLv2.1
 URL:            http://moblin.org/projects/mojito
 Source0:        http://download.moblin.org/sources/mojito/0.21/%{name}-%{version}.tar.bz2
 Patch0:         mojito-fixNMdetect.patch
+Patch1:         mojito-async-crashfix.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -41,6 +42,8 @@ Files for development with %{name}.
 %prep
 %setup -q
 %patch0 -p1 -b .fixNMdetect
+%patch1 -p1 -b .async-crash
+
 chmod 644 examples/*.py 
 
 autoreconf
@@ -104,6 +107,9 @@ rm -rf %{buildroot}
 %{_libdir}/libmojito-keystore.so
 
 %changelog
+* Mon Jan 25 2010 Peter Robinson <pbrobinson at gmail.com> 0.22.0-2
+- Add upstream patch to fix crash
+
 * Tue Jan 12 2010 Peter Robinson <pbrobinson at gmail.com> 0.22.0-1
 - New major upstream 0.22.0 release
 



More information about the scm-commits mailing list