[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gtk2/devel gtk+-2.6.7-spew.patch,NONE,1.1 gtk2.spec,1.74,1.75



Author: mclasen

Update of /cvs/dist/rpms/gtk2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22769

Modified Files:
	gtk2.spec 
Added Files:
	gtk+-2.6.7-spew.patch 
Log Message:
Remove debug spew


gtk+-2.6.7-spew.patch:
 io-bmp.c |    6 ------
 1 files changed, 6 deletions(-)

--- NEW FILE gtk+-2.6.7-spew.patch ---
--- gtk+-2.6.7/gdk-pixbuf/io-bmp.c.spew	2005-05-08 00:11:37.507532000 -0400
+++ gtk+-2.6.7/gdk-pixbuf/io-bmp.c	2005-05-08 00:12:05.171841000 -0400
@@ -1074,12 +1074,10 @@
 
 	gint BytesToCopy;
 
-	g_print ("load_inc\n");
 	if (context->read_state == READ_STATE_DONE)
 		return TRUE;
 	else if (context->read_state == READ_STATE_ERROR)
 	{
-		g_print ("ah\n");
 		return FALSE;
 	}
 
@@ -1108,7 +1106,6 @@
 					   context->buff + 14, context,
 					   error))
 			{
-				g_print ("bla\n");
 				return FALSE;
 			}
 
@@ -1117,7 +1114,6 @@
 		case READ_STATE_PALETTE:
 			if (!DecodeColormap (context->buff, context, error))
 			{
-				g_print ("bleh\n");
 				return FALSE;
 			}
 			break;
@@ -1125,7 +1121,6 @@
 		case READ_STATE_BITMASKS:
 			if (!decode_bitmasks (context->buff, context, error))
 			{
-				g_print ("blurb\n");
 				return FALSE;
 			}
 			break;
@@ -1135,7 +1130,6 @@
 				OneLine (context);
 			else if (!DoCompressed (context, error))
 			{
-				g_print ("blurb\n");
 				return FALSE;
 			}
 


Index: gtk2.spec
===================================================================
RCS file: /cvs/dist/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- gtk2.spec	22 Apr 2005 19:45:38 -0000	1.74
+++ gtk2.spec	8 May 2005 04:14:36 -0000	1.75
@@ -14,7 +14,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X.
 Name: gtk2
 Version: %{base_version}
-Release: 2
+Release: 3
 License: LGPL
 Group: System Environment/Libraries
 Source: gtk+-%{version}.tar.bz2
@@ -24,6 +24,8 @@
 Patch1: gtk+-2.3.2-themename.patch
 # Biarch changes
 Patch2: gtk+-2.4.1-lib64.patch
+# Remove debug spew from the bmp loader; fixed in 2.6.8
+Patch3: gtk+-2.6.7-spew.patch
 
 BuildPrereq: atk-devel >= %{atk_version}
 BuildPrereq: pango-devel >= %{pango_version}
@@ -84,6 +86,7 @@
 
 %patch1 -p1 -b .themename
 %patch2 -p1 -b .lib64
+%patch3 -p1 -b .spew
 
 for i in config.guess config.sub ; do
 	test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -258,6 +261,9 @@
 %doc tmpdocs/examples
 
 %changelog
+* Sun May  8 2005 Matthias Clasen <mclasen redhat com>
+- remove debug spew
+
 * Fri Apr 22 2005 Florian La Roche <laroche redhat com>
 - add a Prereq: for the new openssl version to be installed first
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]