rpms/evolution-data-server/devel evolution-data-server-2.24.1-remove-console-spew.patch, NONE, 1.1 evolution-data-server.spec, 1.236, 1.237

Matthew Barnes mbarnes at fedoraproject.org
Thu Oct 23 18:51:11 UTC 2008


Author: mbarnes

Update of /cvs/pkgs/rpms/evolution-data-server/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4361

Modified Files:
	evolution-data-server.spec 
Added Files:
	evolution-data-server-2.24.1-remove-console-spew.patch 
Log Message:

* Thu Oct 23 2008 Matthew Barnes <mbarnes at redhat.com> - 2.24.1-2.fc10
- Add patch for RH bug #467804 (remove console spew).


evolution-data-server-2.24.1-remove-console-spew.patch:

--- NEW FILE evolution-data-server-2.24.1-remove-console-spew.patch ---
diff -up evolution-data-server-2.24.1/camel/camel-folder-summary.c.remove-console-spew evolution-data-server-2.24.1/camel/camel-folder-summary.c
--- evolution-data-server-2.24.1/camel/camel-folder-summary.c.remove-console-spew	2008-10-21 12:50:51.000000000 -0400
+++ evolution-data-server-2.24.1/camel/camel-folder-summary.c	2008-10-23 14:45:04.000000000 -0400
@@ -827,12 +827,12 @@ remove_cache (CamelSession *session, Cam
 	if (time(NULL) - s->cache_load_time < SUMMARY_CACHE_DROP)
 		return;
 	
-	printf("removing cache for  %s %d %p\n", s->folder ? s->folder->full_name : s->summary_path, g_hash_table_size (s->loaded_infos), s->loaded_infos);
+	d(printf("removing cache for  %s %d %p\n", s->folder ? s->folder->full_name : s->summary_path, g_hash_table_size (s->loaded_infos), s->loaded_infos));
 	#warning "hack. fix it"
 	CAMEL_SUMMARY_LOCK (s, summary_lock);
 	g_hash_table_foreach_remove  (s->loaded_infos, (GHRFunc) remove_item, s);
 	CAMEL_SUMMARY_UNLOCK (s, summary_lock);
-	printf("done .. now %d\n",g_hash_table_size (s->loaded_infos));
+	d(printf("done .. now %d\n",g_hash_table_size (s->loaded_infos)));
 
 	s->cache_load_time = time(NULL);
 	
@@ -1378,7 +1378,7 @@ camel_folder_summary_save_to_db (CamelFo
 	if (!count) 
 		return camel_folder_summary_header_save_to_db (s, ex);
 
-	printf("Saving %d/%d dirty records of %s\n", count, g_hash_table_size (s->loaded_infos), s->folder->full_name);
+	d(printf("Saving %d/%d dirty records of %s\n", count, g_hash_table_size (s->loaded_infos), s->folder->full_name));
 
 	camel_db_begin_transaction (cdb, ex);
 


Index: evolution-data-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution-data-server/devel/evolution-data-server.spec,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -r1.236 -r1.237
--- evolution-data-server.spec	21 Oct 2008 19:51:37 -0000	1.236
+++ evolution-data-server.spec	23 Oct 2008 18:50:41 -0000	1.237
@@ -29,7 +29,7 @@
 
 Name: evolution-data-server
 Version: 2.24.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2
 Group: System Environment/Libraries
 Summary: Backend data server for Evolution
@@ -51,6 +51,9 @@
 # RH bug #243296
 Patch13: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
 
+# RH bug #467804
+Patch14: evolution-data-server-2.24.1-remove-console-spew.patch
+
 ### Build Dependencies ###
 
 BuildRequires: GConf2-devel
@@ -129,6 +132,7 @@
 %patch11 -p1 -b .fix-ldap-query
 %patch12 -p1 -b .camel-folder-summary-crash
 %patch13 -p1 -b .fix-64bit-acinclude
+%patch14 -p1 -b .remove-console-spew
 
 mkdir -p krb5-fakeprefix/include
 mkdir -p krb5-fakeprefix/lib
@@ -374,6 +378,9 @@
 %{_datadir}/gtk-doc/html/libedataserverui
 
 %changelog
+* Thu Oct 23 2008 Matthew Barnes <mbarnes at redhat.com> - 2.24.1-2.fc10
+- Add patch for RH bug #467804 (remove console spew).
+
 * Tue Oct 21 2008 Matthew Barnes <mbarnes at redhat.com> - 2.24.1-1.fc10
 - Update to 2.24.1
 




More information about the scm-commits mailing list