USAGE ----- Untar the mtpaint*.tgz to somewhere in your root filesystem (/home/user or /usr/local/bin for e.g.). Run the mtpaint from command line. Click on edit->preferences to remove the preferences popup screen. Function keys enable-disable toolbars. The initial surface is a 256-color indexed image. To get 24bit rgb click on file->new and select the image depth and size. PROBLEMS: -------------- Need feeback from testers! AS = Arnim Sauerbier UN = Unique311 MZ = mzandrew AS 770 Raw build 0.01 - "powered by caffeine" NOTE: These are only problems with this port of mtpaint, NOT mtpaint per-se. * UN. unique311_> no crashes at all.. (N800 / Bora) * AS.CRASH: Drawing with pencil and moving stylus off the edge * AS.CRASH: Clicking many menus quickly - getting ahead of the program * AS.CRASH: immediately after drawing into 1600x1200 RGB image * AS.CRASH: after drawing a few lines into 1024x768 RGB image * AS.CRASH: after drawing about 4 minutes into 640x480 image * AS.BUG: Preferences menu not closing with F7 keypress, only by menu. * AS.USAGE: Issues solved by RTM DEVELOPMENT ----------- (notes for unique311) * AS. Stylus input method for filesave WORKS out of the box! * AS. No right click implemented yet. (DPAD select plus tap combo?) * AS. No fullscreen or hildon menus yet. * AS. Disable status window by default (slows down sketching) * AS. Reduce width of color-selector * AS. Brush selection could be optimized - drop-down from toolbar? * MZ. FullScreen btn rotate btwn Windowed, FS+Toolbar, FS-image modes * AS. Fuzzy RGBA brushes and drawmode (add, subtract, average) needed. PORTING NOTES ------------ JimC's Notes: http://www.math.ucla.edu/~jimc/nokia770/scratchbox.html MAEMO Tutorial: http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html Common Problem Discussions: ------------------------------------ Osso initialization ------------------------------------ Jaffa Nice to see the "porting an existing app" tutorial doesn't mention osso_initialize() timeless http://209.85.129.104/search?q=cache:kgrL2qgA7i0J:www.maemo.org/platform/docs/tutorials/Maemo_tutorial.pdf+howto+osso_initialize+site:maemo.org+-%22maemo-developers%22+-%22WITHOUT+ANY+WARRANTY%22+-lxr+-hafqa&hl=en&ct=clnk&cd=3 timeless 8.2.1. Maemo Initialization timeless All maemo applications need to be initialized correctly or they will not work as expected. timeless One symptom of missing initialization is that application starts from Task Navigator but closesautomatically after few seconds. timeless don't you read the howtos? There's no information in the porting guide on the initialisation required, and no reference to osso_initialize() (and the associated -losso lines). There should be changes at the following points: http://maemo.org/platform/docs/howtos/howto_porting_an_existing_application.html#src-Makefile-am http://maemo.org/platform/docs/howtos/howto_porting_an_existing_application.html#src-main-c mentioning "-losso", "#include " and "osso_initialize(...)" GTK/Hildon includes / scope ------------------------------------ wolfg I'm trying to port a gtk program written in c++ to maemo, compile failed after adding "#include " to source file. wolfg I'm using Maemo 2.2 SDK. The error message is "/usr/X11R6/include/X11/Xlib.h:510: error: expected `;' before '*' token" . daniels try adding #include before the hildon-program include, though that _really_ shouldn't happen wolfg daniels, thanks :) but still have the same errors wolfg another error: /usr/X11R6/include/X11/Xlib.h:2775: error: `KeyCode' does not name a type keesj wolfg: is it a configure based program ? wolfg yes dragorn you're missing a bunch of co-dependent header files. All those errors are missing types since you're not including things it needs. You'll have to track down all the headers it expects and include them. grep will be your friend. daniels something is quite brutally wrong daniels KeyCode is a CARD8, which is an unsigned char daniels if that can't be resolved, then something is screwed wolfg I found a KeyCode definition in a header file of my program. Does it cause the "KeyCode does not name a typ"e error? daniels yeah, KeyCode is an internal X type wolfg how to solve this prolem? I also notice the KeyCode definition of my program is in my namespace. daniels your namespace? wolfg yes, namespace declared in the header file. daniels c++? wolfg yes, a c++ program. derf Maybe the maemo headers aren't properly extern "C"? daniels and all the includes are always out of the namespace? daniels i.e. you don't make the #include inside namespace Foo, and you don't have using Foo anywhere derf using Foo shouldn't assign things to the Foo namespace. daniels no, but it means that KeyCode is now ambiguous between Xproto.h's KeyCode, and Foo::KeyCode. daniels regardless, try the extern "C" bit