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@xxxxxxxxxxxx>
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@xxxxxxxxx [gtk-list-bounces@xxxxxxxxx] On Behalf Of Ersin Akinci [ersin.akinci@xxxxxxxxx]
Sent: Thursday, April 08, 2010 9:08 AM
To: Javier Jardón
Cc: gtk-list@xxxxxxxxx
Subject: Re: Recent gtk+ on DirectFB
2010/4/8 Javier Jardón <jjardon@xxxxxxxxx<mailto:jjardon@xxxxxxxxx>>
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 Vasily Khoruzhick <anarsoul@xxxxxxxxx<mailto:anarsoul@xxxxxxxxx>>:
> Hi,gtk-list@xxxxxxxxx<mailto:gtk-list@xxxxxxxxx>
>
> 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
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.
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list