Mobile/DFBPorting: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 328: Line 328:
** make
** make
** make install
** make install
=== Building and testing GTK-DirectFB applications ===
* Setup pkg-config and library paths
** export LD_LIBRARY_PATH=/usr/local/dfb/lib
** export PKG_CONFIG_PATH=/usr/local/dfb/lib/pkgconfig
* Write a “Hello world” GTK application: hell_world.c and compile it
** gcc `pkg-config --cflags –libs hello_world.c –o hello_world
* Run hello_world
** A DirectFB window with hello_world widget inside should pop-up
=== Building and testing firefox-DirectFB ===
* .mozconfig for DirectFB build
** . $topsrcdir/browser/config/mozconfig
** mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-dfb
** #disable main static library build - libxul=20MB
** ac_add_options --disable-libxul
** ac_add_options --enable-debug
** ac_add_options --enable-optimize
** ac_add_options --enable-static
** ac_add_options --disable-shared
** ac_add_options --disable-tests
** #ac_add_options --enable-tests
** ac_add_options --disable-crashreporter
** ac_add_options --disable-installer
** ac_add_options --disable-javaxpcom
** #ac_add_options --enable-codesighs
** #ac_add_options --enable-jprof
** ac_add_options --enable-system-cairo
** # Taken from Tata-Elxsi porting
** ac_add_options --without-x
** ac_add_options --enable-directfb
** ac_add_options --disable-pedantic
** ac_add_options --disable-gtktest
** ac_add_options --enable-pango
** ac_add_options --disable-xft
** ac_add_options --enable-extensions=default,spatialnavigation
** ac_add_options --disable-xinerama
** ac_add_options --without-system-nspr
** ac_add_options --disable-mailnews
** ac_add_options --disable-composer
** ac_add_options --disable-ldap
** ac_add_options --disable-xprint
** ac_add_options --disable-dbus
* Setup pkg-config and library paths
** export LD_LIBRARY_PATH=/usr/local/dfb/lib
** export PKG_CONFIG_PATH=/usr/local/dfb/lib/pkgconfig
* Follow the usual steps for building and running firefox

Navigation menu