How to run OpenMoko Apps on PC

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:
 
   include "<PATH-to-svn-checkout>/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc"
 
   include "<PATH-to-svn-checkout>/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc"
  
===Run the examples==
+
===Run the examples===
  
bin/openmoko-paned-demo
+
  bin/openmoko-paned-demo
bin/openmoko-finger-demo
+
  bin/openmoko-finger-demo
bin/openmoko-chordmaster
+
  bin/openmoko-chordmaster

Revision as of 18:58, 24 November 2006

Contents

Install dependencies

  • use aptitude, apt-get, urpmi, or whatever your distro supports
  • you will probably need
    • gtk-dev
    • pango-dev
    • atk-dev
    • qmake from Qt4

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
Personal tools

Install dependencies

  • use aptitude, apt-get, urpmi, or whatever your distro supports
  • you will probably need
    • gtk-dev
    • pango-dev
    • atk-dev
    • qmake from Qt4

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