Re: Recent gtk+ on DirectFB



Not sure if this would help anyone, or if it's particularly relevant, but I thought that I'd share my configure line for gtk+ 2.18.9, which works with my uClibc-based toolchain:

First, create a config.cache file with gio_can_sniff=${gio_can_sniff=yes} in it, then

PKG_CONFIG_LIBDIR=/home/ersin/vorpo/toolchain/usr/lib/pkgconfig FFLAGS="-Os" CXXFLAGS="-Os" CFLAGS="-Os" ./configure --prefix=/home/ersin/vorpo/toolchain/usr --host=i386-linux --enable-static --disable-xkb --disable-xinerama --disable-glibtest --with-gdktarget=directfb --without-x --cache-file=config.cache --without-xinput --disable-xim --disable-modules

PKG_CONFIG_LIBDIR and --prefix are just for my build environment, and I use gcc with a heavily modified specs file.  Sounds silly, but I haven't gotten around to testing if the programs compiled with it actually work; however, I got the GTK+ hello world tutorial program to compile.  Static linking is really annoying but works if you fidget around with -l flags enough.

-Ersin


2010/4/8 Paul Stuart <Paul_Stuart seektech com>
We use GTK+-2.16.6 with DirectFB. Not saying that's the latest version that will work, it's just the last version we've cross compiled.
________________________________________
From: gtk-list-bounces gnome org [gtk-list-bounces gnome org] On Behalf Of Ersin Akinci [ersin akinci gmail com]
Sent: Thursday, April 08, 2010 9:08 AM
To: Javier Jardón
Cc: gtk-list gnome org
Subject: Re: Recent gtk+ on DirectFB

Does anyone know what versions of gtk+ *do* work well with the directfb backend?  I e-mailed this list asking for help in compiling gtk+ programs with only the directfb backend and never got a response (I did eventually fix it, it was a problem with my setup), but I haven't yet tried compiling anything complicated like gimp.

-Ersin

2010/4/8 Javier Jardón <jjardon gnome org<mailto:jjardon gnome org>>
2010/4/8 Vasily Khoruzhick <anarsoul gmail com<mailto:anarsoul gmail com>>:
> Hi,
>
> As you may know, DirectFB backend of gtk+ in recent versions is heavily
> broken, and I want to know if anyone working on fixing DirectFB backend :)
>
> I was able to fix crash by applying 2 patches (attached) from André Draszik,
> and now simple gtk apps works, but that's not enough for complete gtk-demo -
> it just draws white window.

Are these patches already submitted to GTK+ Bugzilla [1]? If not,
could you attach them to a new bug report?

Thank you.

[1] https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B
--
Javier Jardón Cabezas
_______________________________________________
gtk-list mailing list
gtk-list gnome org<mailto:gtk-list gnome org>
What Digital Revolution? -- www.whatdigitalrevolution.com<http://www.whatdigitalrevolution.com>
Thinking critically about digital worlds.



--
What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.


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