Q&A Porting to Fremantle

Line 40: Line 40:
Remove the dependency and calls to the help APIs.
Remove the dependency and calls to the help APIs.
 +
 +
 +
==Limitation of Home Area applets==
 +
Unlike Diablo in Fremantle these applets don't support text input, pannable areas or scrolling.
 +
 +
'''Reason'''
 +
 +
Framework limitations.
 +
 +
'''Action'''
 +
 +
Replace text input fields with dialogs. Use buttons for scrolling. For further information on how to develop those applets, please check the [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_Desktop_Widgets documentation].
 +

Revision as of 10:06, 7 August 2009


This page is intended to consolidate the common errors that occur while trying to port Diablo applications to Fremantle. Feel free to improve this page and/or add additional information.

Contents

maemo-select-menu-location: command not found

Typical error message

scratchbox/tools/bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such file or directory
Setting up leafpad (0.8.16le-0maemo2) ...
gtk-update-icon-cache: Cache file created successfully.
/var/lib/dpkg/info/leafpad.postinst: line 7: maemo-select-menu-location: command not found
dpkg: error processing leafpad (--configure): subprocess post-installation script returned error exit  status 127

Reason

maemo-select-menu-location is obsolete. In Fremantle, there is no submenu like, "Utility", "Extra", "Settings" etc. All installed 3rd party software will be visible under "Applications" by default.

Action Remove the instance from the post installation script. It is not needed.


Missing dependency: maemo-installer-utils

Reason

The package hildon-application-manager no longer "provides" maemo-installer-utils. The commands maemo-confirm-text, maemo-application-running, maemo-list-user-packages are still available.

Action

Replace the dependency with hildon-application-manager.


Missing dependency: libhildonhelp0

Reason

libhildonhelp is dropped.

Action

Remove the dependency and calls to the help APIs.


Limitation of Home Area applets

Unlike Diablo in Fremantle these applets don't support text input, pannable areas or scrolling.

Reason

Framework limitations.

Action

Replace text input fields with dialogs. Use buttons for scrolling. For further information on how to develop those applets, please check the documentation.


What can I do if my question is not mentioned here?

  1. Look if it is discussed already in one of the mailing lists or in talk.maemo.org
  2. If not post your question in the developer mailing list or in talk
  3. If you find the answer and you think it could be interesting for others as well post it here, so that we just have to point on this page in the future if the question pops up again.