Hello, here are few steps, how I made gtk functional with uclibc based
gentoo environment. Maybe it helps someone.... at least you know, it
works.




gtkdfb on TinyGentoo (http://gentoo-wiki.com/TinyGentoo)



emerge: DirectFB (use fbcon, ~x86),   gettext, freetype,fontconfig ->
all into current environment and also into /tinygentoo

---===[[GTK....]]==---

glib-2.12.0
----------------------------------------------
configure  --with-libiconv=no -> not working for me, have to unmask
dev-libs/libiconv in /etc/protage/package.unmask and emerge it
./configure --prefix=/opt/gtkdfb
make, make install

atk-1.12.1
----------------------------------------------
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gtkdfb/lib
./configure --prefix=/opt/gtkdfb
make, make install

cairo-1.2.0
----------------------------------------------
emerge
./configure --enable-static --enable-directfb=yes --disable-xlib
--disable-win32  --prefix=/opt/gtkdfb
make, make install

pango-1.13.3
----------------------------------------------
./configure --enable-static  --without-x  --prefix=/opt/gtkdfb
make, make install

gtk+-2.10.0
----------------------------------------------
remove docbook related from configure of gtk-doc, build gtk-doc
localhost aclocal # ln -s /usr/local/share/aclocal/* ./

new versio not compiling:
 cvs -d:pserver:[EMAIL PROTECTED]:/cvs/gnome -z3 co -P -D "1
hour ago" gtk+
head also not

let's get something older:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs/gnome -z3 co -P -D
"20060628" gtk+

sh autogen.sh --with-gdktarget=directfb --enable-static
--with-gdktarget=directfb --without-libtiff --prefix=/opt/gtkdfb
make, make install
        

Strip all libs ( --enable-debug=no   brings not any big size savements).
Remove all unnecessary from /tinygentoo (doc/man/include)

Copy some fonts, to the place, where  fontconfig is configured to have them.

After this you should be able to run in your /tinygentoo environment.

Bye bye

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to