How to run OpenMoko Apps on PC

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Added Debian package name to get qmake.)
 
(22 intermediate revisions by 13 users not shown)
Line 1: Line 1:
===Install dependencies===
+
#redirect[[How to run Openmoko Apps on PC]]
 
+
* use aptitude, apt-get, urpmi, or whatever your distro supports
+
** Under ubuntu: apt-get install libgtk2.0-dev pulls in everything necessary
+
* you will probably need
+
** gtk-dev
+
** pango-dev
+
** atk-dev
+
** qmake from Qt4 (libqt4-dev on Debian)
+
 
+
===Build everything in one run using Qmake===
+
{{Note|qmake is Mickey's preferred build tool, you can use autotools as well...}}
+
 
+
  cd <svn-checkout>/src/target/OM-2007
+
  . ./makevars.sh
+
  qmake
+
  make
+
 
+
Now the applications should be found in ./bin.
+
 
+
===Set your theme to OpenMoko===
+
 
+
Edit $HOME/.gtkrc-2.0 to something like that:
+
 
+
  include "<PATH-to-svn-checkout>/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc"
+
 
+
===Run the examples===
+
 
+
  bin/openmoko-paned-demo
+
  bin/openmoko-finger-demo
+
  bin/openmoko-chordmaster
+

Latest revision as of 06:18, 24 March 2008

  1. redirectHow to run Openmoko Apps on PC
Personal tools

Install dependencies

  • use aptitude, apt-get, urpmi, or whatever your distro supports
    • Under ubuntu: apt-get install libgtk2.0-dev pulls in everything necessary
  • you will probably need
    • gtk-dev
    • pango-dev
    • atk-dev
    • qmake from Qt4 (libqt4-dev on Debian)

Build everything in one run using Qmake

NOTE: qmake is Mickey's preferred build tool, you can use autotools as well...


 cd <svn-checkout>/src/target/OM-2007
 . ./makevars.sh
 qmake
 make

Now the applications should be found in ./bin.

Set your theme to OpenMoko

Edit $HOME/.gtkrc-2.0 to something like that:

 include "<PATH-to-svn-checkout>/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc"

Run the examples

 bin/openmoko-paned-demo
 bin/openmoko-finger-demo
 bin/openmoko-chordmaster