Q&A Porting to Fremantle
danielwilms (Talk | contribs) |
danielwilms (Talk | contribs) (→Limitation of Home Area applets) |
||
Line 43: | Line 43: | ||
==Limitation of Home Area applets== | ==Limitation of Home Area applets== | ||
- | Unlike Diablo in Fremantle these applets don't support text input, pannable areas | + | Unlike Diablo in Fremantle these applets don't support text input, pannable areas, resizing nor scrolling. |
'''Reason''' | '''Reason''' | ||
Line 51: | Line 51: | ||
'''Action''' | '''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]. | + | Replace text input fields with dialogs. Use buttons for scrolling. Add resizing options in the settings dialog or adapt the UI of the applet regarding to that. 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]. |
- | + | ||
- | + | ||
== What can I do if my question is not mentioned here? == | == What can I do if my question is not mentioned here? == |
Revision as of 10:54, 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[hide] |
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, resizing nor scrolling.
Reason
Framework limitations.
Action
Replace text input fields with dialogs. Use buttons for scrolling. Add resizing options in the settings dialog or adapt the UI of the applet regarding to that. For further information on how to develop those applets, please check the documentation.
What can I do if my question is not mentioned here?
- Look if it is discussed already in one of the mailing lists or in talk.maemo.org
- If not post your question in the developer mailing list or in talk
- 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.