Embedding/NewApi/GtkLinux: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: == Gtk Widget (linux) == This is a Gtk widget using the new API along with a small test application == Prerequisites == * Get the code * For ubuntu 8...)
 
Line 4: Line 4:
== Prerequisites ==
== Prerequisites ==
* [[Embedding/NewApi#Getting_the_code|Get the code]]
* [[Embedding/NewApi#Getting_the_code|Get the code]]
* For ubuntu 8.04 you can install xulrunner like this
* For ubuntu 8.04 you can install the needed xulrunner libs/headers like this
  sudo apt-get install xulrunner-1.9-dev libsqlite3-dev
  sudo apt-get install xulrunner-1.9-dev libsqlite3-dev
* TODO: using your own xulrunner build
* '''TODO:''' using your own xulrunner build


== Building ==
== Building ==

Revision as of 14:01, 30 June 2008

Gtk Widget (linux)

This is a Gtk widget using the new API along with a small test application

Prerequisites

  • Get the code
  • For ubuntu 8.04 you can install the needed xulrunner libs/headers like this
sudo apt-get install xulrunner-1.9-dev libsqlite3-dev
  • TODO: using your own xulrunner build

Building

You build using the provided Makefile

cd mozembed/gtk
make

Running

You can run the test program from the mozembed/gtk folder. You just need to add xulrunner to the library path

export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/lib/xulrunner-devel-1.9/lib
./test