Editing Documentation/Maemo 5 Developer Guide/Application Development/Writing a new maemo application

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 11: Line 11:
== Creating the application file structure ==
== Creating the application file structure ==
-
In general, a Maemo application uses the [[../../GNU Build System|GNU Build System]] and has the following files and subdirectories:
+
In general, a Maemo application uses the [[../../GNU_Build_System|GNU Build System]] and has the following files and subdirectories:
* <code>src/</code>: Contains the source files.
* <code>src/</code>: Contains the source files.
-
* <code>debian/</code>: Contains the files related to Debian packaging
+
* <code>debian/</code>: Contains the files related to debian packaging
* <code>data/</code>: Contains all data files needed to run the application. Maemopad will need the following data files:
* <code>data/</code>: Contains all data files needed to run the application. Maemopad will need the following data files:
**<code>maemopad.desktop</code> file  
**<code>maemopad.desktop</code> file  
Line 24: Line 24:
* <code>autogen.sh</code> is a shell script that provides automatic build system preparation.
* <code>autogen.sh</code> is a shell script that provides automatic build system preparation.
* <code>configure.ac</code> is an input file for <code>autoconf</code> that contains <code>autoconf</code> macros that test the system features the package needs or can use. It produces the <code>configure</code> script.
* <code>configure.ac</code> is an input file for <code>autoconf</code> that contains <code>autoconf</code> macros that test the system features the package needs or can use. It produces the <code>configure</code> script.
-
* <code>Makefile.am</code> is used by <code>automake</code> to produce a standards-compliant <code>Makefile.in</code>. The <code>Makefile.am</code> in the top source directory is usually very simple and includes the files and subdirectories needed to make the application: <code>src/</code>, <code>po/</code> and <code>data/</code> and all the <code>Makefile</code>s in <code>src/</code>, <code>po/</code>, and <code>data/</code> directories.
+
* <code>Makefile.am</code> is used by <code>automake</code> to produce a standards-compliant <code>Makefile.in</code>. The <code>Makefile.am</code> in the top source directory is usually very simple and includes the files and subdirectories needed to make the application: <code>src/, po/ and data/</code> and all the <code>Makefile</code>s in <code>src/, po/, and data/</code> directories.
You can compile the source as follows:
You can compile the source as follows:
Line 32: Line 32:
   [sbox-FREMANTLE_X86 ~] >$ make
   [sbox-FREMANTLE_X86 ~] >$ make
-
For more information about GNU autoconf and automake, see the [[Documentation/Maemo 5 Developer Guide/GNU Build System|GNU build system]] article.
+
For more information about GNU autoconf and automake, see chapter [http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/GNU_Build_System GNU build system]
== Coding the application ==
== Coding the application ==

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)

Templates used on this page: