[maemo-developers] [maemo-developers] osso_initialize()

From: Xavier Garreau xavier at xgarreau.org
Date: Fri Feb 3 10:55:19 EET 2006
> I quess I wont try with osso_initialize() for a while but state that
> on a web page and just fix that fork() thing to proper one...
> (removing X-Osso-service might work too, but this fork() trick gives
> me tolerably working solution for sure)
> 
> ... after there is authorative, solid and robust information of how these
> D-BUS and osso_initialize() (and so on) things are to be used I'll
> reconsider, just now it just takes too much time to be wasted.

Hi,

I have a simple working application, a port of scribble, which can be found in 
the gtk2 tutorial ...

The source: http://www.xgarreau.org/temp/n770/main.c
The .service file: http://www.xgarreau.org/temp/n770/maemoscribble.service
The .desktop file: http://www.xgarreau.org/temp/n770/maemoscribble.desktop

To build:
gcc -o maemoscribble main.c `pkg-config --cflags --libs gtk+-2.0 hildon-libs 
libosso`

put the executable in /var/lib/install/usr/bin
put the .service file in /var/lib/install/usr/lib/dbus-1.0/services
put the .desktop file in /var/lib/install/usr/share/applications/hildon
create a symlink to the .desktop file called 
/var/lib/install/etc/others-menu/extra_applications/4477_maemoscribble.desktop

Hope it helps ...

bye
-- 
Xavier Garreau <xavier at xgarreau.org>
http://www.xgarreau.org/

More information about the maemo-developers mailing list