Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22869
Modified Files: tea.info tea.patch Log Message: Fixed call to gdk_pixbuf_new_from_file_at_scale not available in gtk+2 2.4 and buggy anyway Index: tea.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors/tea.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- tea.patch 20 Aug 2006 07:41:14 -0000 1.3 +++ tea.patch 30 Oct 2006 15:50:38 -0000 1.4 @@ -60,3 +60,40 @@ #endif +diff -Nurd tea-14.2.3-orig/src/image_browser.c tea-14.2.3/src/image_browser.c +--- tea-14.2.3-orig/src/image_browser.c 2006-08-15 13:35:38.000000000 +0200 ++++ tea-14.2.3/src/image_browser.c 2006-10-28 09:33:03.000000000 +0200 +@@ -25,6 +25,7 @@ + #include <string.h> + #include <sys/stat.h> + #include <gdk/gdkkeysyms.h> ++#include <gdk-pixbuf/gdk-pixbuf.h> + + #include <stddef.h> + #include <stdlib.h> +@@ -73,9 +74,10 @@ + { + GdkPixbuf *x = gtk_image_get_pixbuf (instance->image); + gint w = gdk_pixbuf_get_width (x); ++ gint h = gdk_pixbuf_get_height (x); + +- GdkPixbuf *p = gdk_pixbuf_new_from_file_at_scale (instance->filename, w + 50, +- -1, TRUE, NULL); ++ GdkPixbuf *p = gdk_pixbuf_new_from_file_at_size (instance->filename, w + 50, ++ h+50, NULL); + + gtk_image_set_from_pixbuf (instance->image, p); + } +@@ -84,9 +86,10 @@ + { + GdkPixbuf *x = gtk_image_get_pixbuf (instance->image); + gint w = gdk_pixbuf_get_width (x); ++ gint h = gdk_pixbuf_get_height (x); + +- GdkPixbuf *p = gdk_pixbuf_new_from_file_at_scale (instance->filename, w - 50, +- -1, TRUE, NULL); ++ GdkPixbuf *p = gdk_pixbuf_new_from_file_at_size (instance->filename, w - 50, ++ h + 50, NULL); + + gtk_image_set_from_pixbuf (instance->image, p); + Index: tea.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors/tea.info,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- tea.info 20 Aug 2006 07:41:14 -0000 1.6 +++ tea.info 30 Oct 2006 15:50:38 -0000 1.7 @@ -1,22 +1,22 @@ Package: tea Version: 14.2.3 -Revision: 1011 +Revision: 1031 Source: mirror:sourceforge:tea-editor/%n-%v.tar.bz2 Source-MD5: 810de44cdbef34d17bf7b956cf3ef60f SourceDirectory: %n-%v Depends: << aspell-shlibs (>= 0.50.5-1002), atk1-shlibs, gconf2-shlibs, glib2-shlibs, - gnome-vfs2-ssl-shlibs | gnome-vfs2-shlibs, gtk+2-shlibs (>= 2.4.0-1), gtksourceview, - libart2-shlibs, libbonobo2-shlibs, libgettext3-shlibs, - libgnomeprint2.2-shlibs, libiconv, libxml2-shlibs, - orbit2-shlibs, pango1-xft2-shlibs, x11-shlibs + gnome-vfs2-ssl-shlibs | gnome-vfs2-shlibs, gtk+2-shlibs (>= 2.4.0-1), + gtk+2 (>= 2.4.0-1), gtksourceview, gtksourceview-shlibs, libart2-shlibs, + libbonobo2-shlibs, libgettext3-shlibs, libgnomeprint2.2-shlibs, libiconv, + libxml2-shlibs, orbit2-shlibs, pango1-xft2-shlibs, x11-shlibs << BuildDepends: << pkgconfig, aspell-dev (>= 0.50.5-1002), atk1, gconf2-dev, glib2-dev, - dbus-dev (>= 0.60-1), libhowl-dev, gnome-vfs2-ssl-dev | gnome-vfs2-dev, gtk+2-dev (>= 2.4.0-1), gtksourceview-dev, libart2, - libbonobo2-dev, libgettext3-dev, libgnomeprint2.2-dev, gettext-tools, gettext-bin, - libiconv-dev, libxml2, orbit2-dev, pango1-xft2-dev, - x11-dev + dbus-dev (>= 0.60-1), libhowl-dev, gnome-vfs2-ssl-dev | gnome-vfs2-dev, + gtk+2-dev (>= 2.4.0-1), gtksourceview-dev, libart2, libbonobo2-dev, + libgettext3-dev, libgnomeprint2.2-dev, gettext-tools, gettext-bin, + libiconv-dev, libxml2, orbit2-dev, pango1-xft2-dev, x11-dev << Patch: %n.patch ConfigureParams: --disable-dependency-tracking @@ -48,6 +48,9 @@ Changed part of configure to recognize correctly version of gtksourceview Patched version number in log memo +Patched image_browser.c because +gdk_pixbuf_new_from_file_at_scale is buggy and does not +exist in gtk+-2.4 << Homepage: http://tea-editor.sourceforge.net/ License: GPL ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits