[maemo-developers] [maemo-developers] How do I hildonise an SDL app?

From: Frantisek Dufka dufkaf at seznam.cz
Date: Sun Aug 20 22:49:22 EEST 2006
Martin wrote:

> The app goes straight into SDL_Init; it does not use GTK (or anything 
> else).
> 
> As a result, I get "untitled" as a title in the window bar, and if the 
> window is minimised there is no way to get it back.

Both issues are solvable in pure SDL. Window title can be set by 
SDL_WM_SetCaption, icon in task navigator by setting 
SDL_VIDEO_X11_WMCLASS environment variable. See 
http://maemo.org/maemowiki/GameDevelopment for details. Best is to use 
wrapper shell script as described.

> I know that I have some packaging work to do in any case, like .desktop 
> and .service files, and they may get the application listed in the 
> application manager

You don't need .service file for SDL app, just .desktop as described in wiki

Frantisek

More information about the maemo-developers mailing list