rpms/homebank/devel homebank-3.8-gtk.patch, NONE, 1.1 homebank.spec, 1.4, 1.5

Johan Cwiklinski trasher at fedoraproject.org
Sat Aug 30 20:35:16 UTC 2008


Author: trasher

Update of /cvs/extras/rpms/homebank/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15997

Modified Files:
	homebank.spec 
Added Files:
	homebank-3.8-gtk.patch 
Log Message:
Use of Gtk deprecated methods cause build fail for F-10


homebank-3.8-gtk.patch:

--- NEW FILE homebank-3.8-gtk.patch ---
diff -up homebank-3.8/src/gtkchart.h.fix homebank-3.8/src/gtkchart.h
--- homebank-3.8/src/gtkchart.h.fix	2008-03-31 13:40:23.000000000 +0200
+++ homebank-3.8/src/gtkchart.h	2008-08-30 21:25:03.000000000 +0200
@@ -127,7 +127,7 @@ struct _GtkChartClass {
   void (*_gtk_reserved4) (void);
 };
 
-GtkType      gtk_chart_get_type              (void);
+GType      gtk_chart_get_type              (void);
 
 /* public function */
 GtkWidget *gtk_chart_new(gint type);
diff -up homebank-3.8/src/gtkdateentry.c.fix homebank-3.8/src/gtkdateentry.c
--- homebank-3.8/src/gtkdateentry.c.fix	2008-03-31 13:40:23.000000000 +0200
+++ homebank-3.8/src/gtkdateentry.c	2008-08-30 21:42:16.000000000 +0200
@@ -209,13 +209,13 @@ GtkWidget *arrow;
 	gtk_widget_show (dateentry->arrow);
 
 	g_signal_connect (GTK_OBJECT (dateentry->arrow), "toggled",
-				(GtkSignalFunc) gtk_dateentry_arrow_press, dateentry);
+				G_CALLBACK (gtk_dateentry_arrow_press), dateentry);
 
 	g_signal_connect (GTK_OBJECT (dateentry->entry), "activate",
-				(GtkSignalFunc) gtk_dateentry_entry_new, dateentry);
+				G_CALLBACK (gtk_dateentry_entry_new), dateentry);
 
 	g_signal_connect (GTK_OBJECT (dateentry->entry), "focus-out-event",
-				(GtkSignalFunc) gtk_dateentry_focus, dateentry);
+				G_CALLBACK (gtk_dateentry_focus), dateentry);
 
 
 	g_signal_connect (GTK_OBJECT (dateentry->entry), "key_press_event",
diff -up homebank-3.8/src/gtkdateentry.h.fix homebank-3.8/src/gtkdateentry.h
--- homebank-3.8/src/gtkdateentry.h.fix	2008-03-31 13:40:23.000000000 +0200
+++ homebank-3.8/src/gtkdateentry.h	2008-08-30 21:25:11.000000000 +0200
@@ -68,7 +68,7 @@ struct _GtkDateEntryClass
   void (*_gtk_reserved4) (void);
 };
 
-GtkType		gtk_dateentry_get_type(void);
+GType		gtk_dateentry_get_type(void);
 
 GtkWidget	*gtk_dateentry_new(void);



Index: homebank.spec
===================================================================
RCS file: /cvs/extras/rpms/homebank/devel/homebank.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- homebank.spec	5 Apr 2008 19:55:54 -0000	1.4
+++ homebank.spec	30 Aug 2008 20:34:46 -0000	1.5
@@ -1,12 +1,13 @@
 Name:           homebank
 Version:        3.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Free easy personal accounting for all  
 
 Group:          Applications/Productivity
 License:        GPLv2+
 URL:            http://homebank.free.fr
 Source0:        http://homebank.free.fr/public/%{name}-%{version}.tar.gz
+Patch0:         homebank-3.8-gtk.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q
+patch -p1 < %{PATCH0}
 
 
 %build
@@ -96,6 +98,9 @@
 %{_datadir}/%{name}/help
 
 %changelog
+* Sat Aug 30 2008 Johan Cwiklinski <johan AT x-tnd DOT be> 3.8-2
+- patch for gtk deprecated methods (thanks to zebob)
+
 * Sat Apr 05 2008 Johan Cwiklinski <johan AT x-tnd DOT be> 3.8-1
 - 3.8
 




More information about the fedora-extras-commits mailing list