Where can I get information about compiling GTK+-2.0 in ltib ? using if possible the mx6 vivante gpu ...
What are the packages to select to get gtk-demo working on my mx6dl sabre sdp ?!
Thank you ...
to build gtk2 for ltib is pretty simple, you just need to select it in the package list. Gtk2 by default will use the fbdev which is already accelerated, if you install the x11 then gtk2 will use it, in this case, with no acceleration.
Ok it compiles, but what are the dependancy ?!
Is there a way to make it work with wayland without X ... and be sure to get the hardware acceleration ?!
I succefully compiled the GTK 3.8.4 with LTIB and its dependancy...
But like it does with the original GTK version of ltib, when I run gtk-demo I get :
Gtk-WARNING **: cannot open display:
To run gtk-demo application on your imx6 board. Its mandatory to select both X11 and GTK packages from the package list of LTIB. After successful compilation and building, copy your rootfs to your sd card. After booting up your device, before running " gtk-demo " App you need to start Xserver on IMX6 board.
To start xserver on your board follow the steps as mentioned below :
$ export DISPLAY=:0
where " startx " starts your xserver. Once xserver had been started, you can run " gtk-demo " application.
I may not assure gtk-demo app works with " wayland " but you can cross compile " wayland " package explicitly using LTIB, And you need to fix dependency packages for building wayland. some dependencies like libffi, EGL need to be build.
To build wayland package using LTIB follow the following steps :
# ./ltib -m prep -p wayland.spec
# ./ltib -m scbuild -p wayland.spec
# ./ltib -m scinstall -p wayland.spec
# ./ltib -m scdeploy -p wayland.spec
Thanks & Regards,
Retrieving data ...