gdk-linux-fb bit rot [PATCH]

I'm attempting to compile and use gdk-linux-fb -- using configure
--with-gdktarget=linux-fb. I have a simple embedded system with only
one GUI app running, so gtk-linux-fb would be ideal. I understand this
is an unsupported target, but I'm really hoping to make it work. I'm
running into some simple compile time bugs though that look like
they're the result of some bit rot.

Would a GTK developer familiar with the code and build system be
available and willing to attempt compiling GTK+ using the above
configuration and clean up the bit rot? I suspect most issues will be
one or two line fixes. I've attached a patch here for the first three
such issues I ran into myself. I'm not positive these are correct,
since I haven't actually managed to build the library yet, but they
look reasonable.

Please cc me in your reply. Many thanks!

--- ./gdk/linux-fb/gdkdrawable-fb2.c-	2006-01-25 14:23:05.000000000 -0700
+++ ./gdk/linux-fb/gdkdrawable-fb2.c	2006-01-25 14:23:27.000000000 -0700
@@ -72,12 +72,6 @@
  					       gint              y,
  					       const GdkWChar   *text,
  					       gint              text_length);
-static void         gdk_fb_draw_glyphs        (GdkDrawable      *drawable,
-					       GdkGC            *gc,
-					       PangoFont        *font,
-					       gint              x,
-					       gint              y,
-					       PangoGlyphString *glyphs);
  void                gdk_fb_draw_drawable      (GdkDrawable      *drawable,
  					       GdkGC            *gc,
  					       GdkPixmap        *src,
@@ -451,7 +445,7 @@

   if (gc)
-      GdkRegion *gc = _gdk_gc_get_clip_region (gc);
+      GdkRegion *clip_region = _gdk_gc_get_clip_region (gc);

       if (clip_region)
--- ./gdk/linux-fb/gdkgc-fb.c-	2005-07-11 22:38:51.000000000 -0600
+++ ./gdk/linux-fb/gdkgc-fb.c	2006-01-25 14:24:38.000000000 -0700
@@ -376,5 +376,5 @@

   dst_private->set_pixel = src_private->set_pixel;

-  _gdk_fb_gc_calc_state (gc, old_mask | dst_private->values_mask);
+  _gdk_fb_gc_calc_state (dst_gc, old_mask | dst_private->values_mask);

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