Re: gdk-linux-fb bit rot [PATCH]



I think it needs a lot more work to get that backend back running.
The directfb backend is up todate and will be part of the main release
in a few weeks.
And its supported

If your intrested its now in CVS on www.directfb.org directfb itself
is pretty small around a few hundred k depending on compile options if
your using gtk I don't see that your saving much by not using it.


In any case  you should be able to use it as a example for getting the
linux-fb backend back
working. Note you need to port cairo also.



On 1/25/06, Shaun Jackman <sjackman gmail com> wrote:
> 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!
> Shaun
>
> --- ./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);
>  }
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>



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