It looks a lot like that blog entry: http://chrislord.net/blog/Software/building-moblin-web-browser.enlighten
My 2 cents Mike Le jeudi 02 juillet 2009 13:13:26, Xixi Zhou a écrit : > Dear Jing, > > Thank you very much for your quick response! :) I think it's some > possible to port Moblin Web Browser into Ubuntu, so I have a try > > :P...And for your question, I set up my build environment by the steps > > below: > > ============================================== > > [clutter-0.9.4] > apt-get install mesa-common-dev libgl1-mesa-dev gtk-doc-tools libclutter* > http://www.clutter-project.org/sources/clutter/0.9/ > > [clutter-gtk-0.9.0] > http://www.clutter-project.org/sources/clutter-gtk/0.9/ > > [mozilla-headless] > apt-get install libasound2-dev libidl-dev libdbus-glib-1-dev > git clone git://git.o-hand.com/mozilla-headless > > And the ~/.mozconfig is this: > ac_add_options --enable-application=xulrunner > ac_add_options --prefix=/opt/mozilla > > mk_add_options moz_objd...@topsrcdir@/../o...@config_guess@ > #mk_add_options moz_objd...@topsrcdir@/../o...@config_guess@-gtk > ac_add_options --disable-optimize --enable-debug > ac_add_options --disable-tests > ac_add_options --disable-javaxpcom > ac_add_options --enable-application=xulrunner > ac_add_options --enable-default-toolkit=cairo-headless > #ac_add_options --enable-default-toolkit=cairo-gtk2 > ac_add_options --enable-pango > ac_add_options --disable-printing > ac_add_options --disable-crashreporter > #ac_add_options --disable-plugins > ac_add_options --enable-plugins > ac_add_options --disable-accessibility > #ac_add_options --disable-ogg > mk_add_options MOZ_CO_PROJECT=xulrunner > > Then, > make -f client.mk build > make SKIP_GRE_REGISTRATION=1 install > > git clone git://git.moblin.org/mozilla-headless-services > > [nbtk] > apt-get install libcroco3-dev libsoup2.4-dev > http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/librsvg-2.26.0.tar.bz2 > git clone git://git.moblin.org/libccss > git clone git://git.moblin.org/nbtk > > [clutter-mozembed] > git clone git://git.clutter-project.org/clutter-mozembed > git clone git://git.moblin.org/mozilla-headless-services > > (Build FAIL here, please refer to the previous error message. Can't go > on.) > > [moblin-web-browser] > apt-get install libunique-dev libstartup-notification0-dev > > http://ftp.gnome.org/pub/GNOME/sources/libunique/1.0/libunique-1.0.8.tar.gz > > > ============================================== > > Those are my steps...Did I foget to add any other dependency? > > > Thanks a lot for your help, > Xixi > > 2009/7/2 Wang, Jing J <[email protected]>: > > How you setup local build environment on your Ubuntu8.04? We suggest you > > create a pure chroot moblin development environment against your host > > machine. In addition, keep right clutter-core, NBTK,etc devel packages > > installed. > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] On Behalf Of > > Xixi Zhou Sent: 2009年7月1日 23:33 > > To: [email protected] > > Subject: [Moblin Dev] [Moblin Web Browser ] Fail to compile > > clutter-mozembed > > > > Dear all, > > > > I want to build moblin-web-browser these days, but when I'm > > building clutter-mozembed, I can't go on with the error message: > > > > > > ====================================================================== > > In file included from clutter-mozembed.c:22: > > clutter-mozembed.h:109: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'clutter_mozembed_get_cursor' > > clutter-mozembed.c:163: error: expected specifier-qualifier-list > > before 'MozHeadlessCursorType' > > clutter-mozembed.c: In function 'update': > > clutter-mozembed.c:250: warning: passing argument 2 of > > 'clutter_actor_get_size' from incompatible pointer type > > clutter-mozembed.c:250: warning: passing argument 3 of > > 'clutter_actor_get_size' from incompatible pointer type > > clutter-mozembed.c: In function 'process_feedback': > > clutter-mozembed.c:429: warning: implicit declaration of function > > 'clutter_threads_add_repaint_func' > > clutter-mozembed.c:611: error: 'ClutterMozEmbedPrivate' has no member > > named 'cursor' > > clutter-mozembed.c: In function 'clutter_mozembed_get_property': > > clutter-mozembed.c:1177: error: 'ClutterMozEmbedPrivate' has no member > > named 'cursor' > > clutter-mozembed.c: In function 'clutter_mozembed_set_property': > > clutter-mozembed.c:1236: error: 'ClutterMozEmbedPrivate' has no member > > named 'cursor' > > clutter-mozembed.c: In function 'clutter_mozembed_dispose': > > clutter-mozembed.c:1424: warning: implicit declaration of function > > 'clutter_threads_remove_repaint_func' > > clutter-mozembed.c: At top level: > > clutter-mozembed.c:1559: error: expected declaration specifiers or > > '...' before 'ClutterAllocationFlags' > > clutter-mozembed.c: In function 'clutter_mozembed_allocate': > > clutter-mozembed.c:1599: error: 'flags' undeclared (first use in this > > function) clutter-mozembed.c:1599: error: (Each undeclared identifier is > > reported only once > > clutter-mozembed.c:1599: error: for each function it appears in.) > > clutter-mozembed.c: In function 'clutter_mozembed_pick': > > clutter-mozembed.c:1656: warning: passing argument 2 of > > 'clutter_actor_get_size' from incompatible pointer type > > clutter-mozembed.c:1656: warning: passing argument 3 of > > 'clutter_actor_get_size' from incompatible pointer type > > clutter-mozembed.c: In function 'clutter_mozembed_class_init': > > clutter-mozembed.c:2341: warning: assignment from incompatible pointer > > type clutter-mozembed.c: At top level: > > clutter-mozembed.c:2905: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'clutter_mozembed_get_cursor' > > make[3]: *** [clutter-mozembed.lo] Error 1 > > make[3]: Leaving directory > > `/root/resource/moblin/git/clutter-mozembed/cluttermozembed' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory > > `/root/resource/moblin/git/clutter-mozembed/cluttermozembed' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/resource/moblin/git/clutter-mozembed' > > make: *** [all] Error 2 > > > > ====================================================================== > > > > I use Ubuntu 8.04, and have installed all the dependences of > > cluttermozembed. But according to the error message in compiling, > > seems there is no definition of 'MozHeadlessCursorType'? I'm not sure > > if I use the old version of source codes or not: > > git://git.o-hand.com/mozilla-headless and > > git://git.clutter-project.org/clutter-mozembed. Could you kindly give > > me some advice if anyone knows this? > > > > Thanks a lot. > > Xixi _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
