Editing Documentation/Maemo 5 Developer Guide/Porting Software/Porting MaemoPad

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 138: Line 138:
</source>
</source>
-
=== Dropped libraries ===
+
In Ethiopia, its believed that anyone could give you the evil eye. , <a href="http://porwidiscba.tripod.com/mannequin-retail-fixture-ghholdings.com.html">mannequin retail fixture ghholdings.com</a>, [url="http://porwidiscba.tripod.com/mannequin-retail-fixture-ghholdings.com.html"]mannequin retail fixture ghholdings.com[/url], http://porwidiscba.tripod.com/mannequin-retail-fixture-ghholdings.com.html mannequin retail fixture ghholdings.com,  ycb,
-
 
+
-
Hildon help library, libhildonhelp, was dropped from Fremantle so all dependencies to it had to be removed.
+
-
 
+
-
libhildonhelp-dev needs to removed from build dependencies:
+
-
 
+
-
Diablo: debian/control:
+
-
 
+
-
<pre>
+
-
Build-Depends: debhelper (&gt;= 4.0.0), intltool,
+
-
libhildon1-dev, libgtk2.0-dev, libosso-gnomevfs2-dev,
+
-
libglib2.0-dev, libdbus-glib-1-dev, libosso-dev, libmodest-dbus-client-dev,
+
-
conbtdialogs-dev,libhildonhelp-dev, libhildonfm2-dev, osso-af-settings
+
-
</pre>
+
-
 
+
-
Fremantle: debian/control:
+
-
 
+
-
<pre>
+
-
Build-Depends: debhelper (&gt;= 4.0.0), intltool,
+
-
libhildon1-dev, libgtk2.0-dev, libosso-gnomevfs2-dev,
+
-
libglib2.0-dev, libdbus-glib-1-dev, libosso-dev, libmodest-dbus-client-dev,
+
-
conbtdialogs-dev,  libhildonfm2-dev, osso-af-settings
+
-
</pre>
+
-
 
+
-
Callback and all other help stuff removed:
+
-
 
+
-
Diablo callbacks.c
+
-
 
+
-
<source lang="c">
+
-
/* help */
+
-
void callback_help( GtkAction * action, gpointer data )
+
-
{
+
-
    osso_return_t retval;
+
-
    /* connect pointer to our AppUIData struct */
+
-
    AppUIData *mainview = NULL;
+
-
    mainview = ( AppUIData * ) data;
+
-
    g_assert(mainview != NULL && mainview->data != NULL );
+
-
    retval = hildon_help_show(
+
-
      mainview->data->osso, /* osso_context */
+
-
      HELP_TOPIC_ID,        /* topic id */
+
-
      HILDON_HELP_SHOW_DIALOG);
+
-
}
+
-
</source>
+
-
 
+
-
Diablo interface.c
+
-
 
+
-
<source lang="c">
+
-
GtkWidget *help = NULL;
+
-
help = gtk_menu_item_new_with_label( _("Help") );
+
-
gtk_menu_append( main_menu, help );
+
-
g_signal_connect( G_OBJECT( help ), "activate",
+
-
  G_CALLBACK ( callback_help ), main );
+
-
</source>
+
-
 
+
-
Diablo callbacks.c
+
-
 
+
-
<source lang="c">
+
-
#include <hildon/hildon-help.h>
+
-
#define HELP_TOPIC_ID "Example_MaemoPad_Content"
+
-
</source>
+
-
 
+
-
Diablo configure.ac:
+
-
 
+
-
<source lang="autoconf">
+
-
PKG_CHECK_MODULES(HILDON, hildon-1 hildon-fm-2 hildon-help conbtdialogs)
+
-
</source>
+
-
 
+
-
Fremantle configure.ac:
+
-
 
+
-
<source lang="c">
+
-
PKG_CHECK_MODULES(HILDON, hildon-1 hildon-fm-2 conbtdialogs)
+
-
</source>
+
-
 
+
-
Removed data/help directory which contained an example help file.
+
-
 
+
-
Some files contained items related to it and they were also removed:
+
-
 
+
-
Diablo data/Makefile.am:
+
-
 
+
-
<source lang="make">
+
-
helpfile_engb_DATA = help/en_GB/MaemoPad.xml
+
-
-EXTRA_DIST = $(serviceentry_DATA) $(desktopentry_DATA) $(icon_26x26_DATA) $(icon_40x40_DATA)
+
-
$(icon_scalable_DATA) *$(helpfile_engb_DATA)*
+
-
</source>
+
-
 
+
-
Diablo data/Makefile.am:
+
-
 
+
-
<source lang="make">
+
-
# Help file install directory
+
-
helpfile_engbdir=$datadir/hildon-help/en_GB
+
-
AC_SUBST(helpfile_engbdir)
+
-
</source>
+
=== GUI design changes ===
=== GUI design changes ===

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)