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 [[../../ | + | 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 | + | * <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>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 | + | 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.