Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12351
Added Files: rep-gtk.info rep-gtk.patch Log Message: GCC: 4.0 version --- NEW FILE: rep-gtk.info --- Package: rep-gtk Version: 0.18 Revision: 1013 GCC: 4.0 Source: mirror:sourceforge:rep-gtk/rep-gtk-%v.tar.gz Source-MD5: 220b0d728656472c068e40823f0a3b22 Depends: librep (>= 0.16.2-1011), gnome-libs-shlibs, gdk-pixbuf-shlibs, libglade2-shlibs, glib2-shlibs, gtk+2-shlibs BuildDepends: libiconv-dev, gdbm, libjpeg, libtiff, netpbm, audiofile, esound, glib, orbit-dev, readline (>= 4.3-1028), giflib, imlib, gnome-libs-dev, librep-dev (>= 0.16.2-1011), libxml, gtk+2, gdk-pixbuf, libglade2, gettext-dev, gettext-bin, gettext-tools, pkgconfig, glib2-dev (>= 2.6.0-1), pango1-xft2-dev (>= 1.8.0-1), atk1 (>= 1.9.0-1), gtk+2-dev (>= 2.5.0-1), libxml2 (>= 2.6.6-1) UpdateConfigGuess: true Patch: %n.patch ConfigureParams: --libexecdir='${prefix}/lib' SetCPPFLAGS: -no-cpp-precomp InstallScript: << make install DESTDIR=%d << DocFiles: README* COPYING AUTHORS # Description: Gtk+ and GNOME bindings for librep DescDetail: << This package allows librep programs to use Gtk+ and GNOME to display user interfaces. << License: GPL Homepage: http://rep-gtk.sourceforge.net/ Maintainer: Daryl Anderman <[EMAIL PROTECTED]> --- NEW FILE: rep-gtk.patch --- diff -ruN rep-gtk-0.18/gtk-compat.c rep-gtk-0.18.patched/gtk-compat.c --- rep-gtk-0.18/gtk-compat.c Fri Jul 12 00:19:22 2002 +++ rep-gtk-0.18.patched/gtk-compat.c Sat Jul 24 08:04:58 2004 @@ -62,6 +62,7 @@ func, func_data, button, activate_time); } +#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 3 GtkWidget* gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, gchar *label) @@ -77,6 +78,7 @@ GSList *g = group? gtk_radio_menu_item_group (group) : NULL; return gtk_radio_menu_item_new_with_mnemonic (g, label); } +#endif GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group) @@ -101,6 +103,8 @@ } #ifndef HAVE_GDK_COLOR_COPY +#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 3 + /* *-------------------------------------------------------------- * gdk_color_copy @@ -156,6 +160,7 @@ g_mem_chunk_free (color_chunk, color); } +#endif #endif GdkColor* diff -ruN rep-gtk-0.18/rep-gtk.h rep-gtk-0.18.patched/rep-gtk.h --- rep-gtk-0.18/rep-gtk.h Wed Feb 12 03:51:45 2003 +++ rep-gtk-0.18.patched/rep-gtk.h Sat Jul 24 08:02:32 2004 @@ -288,19 +288,23 @@ gint button, guint32 activate_time, repv position); - +#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 3 GtkWidget* gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, gchar *label); GtkWidget* gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, gchar *label); +#endif + GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group); GtkWidget* gtk_pixmap_new_interp (char *file, GtkWidget *intended_parent); #ifndef HAVE_GDK_COLOR_COPY +#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 3 GdkColor* gdk_color_copy (GdkColor *); void gdk_color_free (GdkColor *); +#endif #endif GdkColor *gdk_color_parse_interp (char *spec); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits