HildonDesktopPortability
This pages tries to list various problems which prevent compiling the Hildon Desktop and its dependencies, outside of the Maemo / scratchbox environment. It also tries to solve them :)
In this experiment, Ubuntu Edgy is used, and the following packages are used:
- matchbox 1:3
- libgtk2.0-0 2.10.6-0ubuntu1
- libgnome-vfs0 1.0.5-5.3
- libgconf2-4 2.16.0-0ubuntu1
- gcc 4:4.1.1-6ubuntu3
Compilation
hildon-libs
- dependency on Hildon-specific changes to GTK+. #823
- won't compile on recent gcc, because of duplicate symbols. #822
- dependency on L10n with format string requiring translation being used
libosso
- hard dependency on outu, even if unit tests are not wanted #824
maemo-af-desktop
- libosso-help should be optional, it should be possible to use e.g. yelp
- hildon-fm should be optional, it should be possible to use GtkFileChooserDialog
- libhildonmenu does not compile on recent gcc (compiler warnings)
Run-time
libosso
- osso_initialize tries to connect to register objects to both system bus and session bus. Registering object to system bus is typically not allowed for normal user. osso_initialize should not return NULL if the registration to the session bus works but not the one to system bus
themes
- the SDK theme needs an update, this is being worked on
- the theming uses a Hildon GTK specific way of defining logical colors. This should eventually be replaced with the GTK+ 2.10 way of doing it
- lots of theming properties depend on Hildon-hacks in GTK (menus, listview headers, ...)
- widgets not used in the Hildon environment are often not themed or look strange (menu bar, normal toolbar)
- matchbox's theme should not have hardcoded pixmap size
maemo-af-desktop
- reads .desktop files in /usr/share/applications/hildon. Should at least read them from /usr/share/applications
- does not understand Categories: in .desktop files
- uses MB_TITLEBAR_DOCK hint which seems not available in matchbox 1.0