Editing Documentation/Maemo 5 Developer Guide/Packaging, Deploying and Distributing

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 46: Line 46:
{| class="wikitable"
{| class="wikitable"
-
|+ Required files in <code>debian</code> directory
 
-
|-
 
! File in ./debian
! File in ./debian
! Description
! Description
|-
|-
-
| <code>changelog</code>
+
| changelog
-
| Package's change log
+
| Application's change log
|-
|-
-
| <code>compat</code>
+
| compat
| Debian helper compatibily version. Leave it as it is.
| Debian helper compatibily version. Leave it as it is.
|-
|-
-
| <code>control</code>
+
| control
| Describes the packages to be made.
| Describes the packages to be made.
|-
|-
-
| <code>copyright</code>
+
| copyright
| Copyright text. Fill in the blanks.
| Copyright text. Fill in the blanks.
|-
|-
-
| <code>rules</code>
+
| rules
| A makefile containing the rules to build all kinds of packages such as, for example, source and binary.
| A makefile containing the rules to build all kinds of packages such as, for example, source and binary.
|}
|}
Line 84: Line 82:
Description: A simple test application
Description: A simple test application
  A very simple application with a short description.
  A very simple application with a short description.
-
  Which spans multiple lines actually.
+
  Which spans multiple lines actually.  
-
XSBC-Bugtracker: A link to a bugtracker location
+
XB-Maemo-Icon-26:
XB-Maemo-Icon-26:
  iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+g
  iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+g
Line 98: Line 95:
  gJBZgKTwAAAAAElFTkSuQmCC
  gJBZgKTwAAAAAElFTkSuQmCC
</pre>
</pre>
-
 
-
The <code>XSBC-Bugtracker</code> field contains a link to a bugtracker location. See [[Packaging#Maemo-specific_fields|the documentation on Maemo-specific fields]] for more information.
 
The <code>XB-Maemo-Icon-26</code> field contains the application icon file (in this case, <code>hello_icon_48x48.png</code>) encoded in base64. The Application Manager displays this icon next to the package name. To perform this encoding in Linux, use either <code>uuencode</code> or <code>openssl</code>; however, more suitable applications may also exist.  
The <code>XB-Maemo-Icon-26</code> field contains the application icon file (in this case, <code>hello_icon_48x48.png</code>) encoded in base64. The Application Manager displays this icon next to the package name. To perform this encoding in Linux, use either <code>uuencode</code> or <code>openssl</code>; however, more suitable applications may also exist.  
Line 115: Line 110:
The Application Manager only shows packages in the user section. Thus, the <code>Section:</code> field in the control file must have the <code>Section: user/<SUBSECTION></code> syntax, where <code><SUBSECTION></code> is arbitrary. See section [localhost#sec:making_app_pack_sections 17.2.6] for information on the suggested values.
The Application Manager only shows packages in the user section. Thus, the <code>Section:</code> field in the control file must have the <code>Section: user/<SUBSECTION></code> syntax, where <code><SUBSECTION></code> is arbitrary. See section [localhost#sec:making_app_pack_sections 17.2.6] for information on the suggested values.
-
Usually you do not have to change the <code>rules</code> file. However, if the new .deb package is empty, check the "install:" section to make sure that the <code>DESTDIR</code> environment variable is pointing to the where the other packaging scripts are looking for the application to be packaged.
+
Usually you do not have to change the <code>rules</code> file. However, if the new .deb package is empty, check the "install:" section to make sure that the <code>DESTDIR</code> environment variable is pointing to the where the other the packaging scripts are looking for the application to be packaged.
Once the application is properly 'Debianized', building the application is performed easily with the command:
Once the application is properly 'Debianized', building the application is performed easily with the command:
Line 190: Line 185:
{| class="wikitable"
{| class="wikitable"
-
|+ Maemo package sections
 
-
|-
 
! Key
! Key
! Example English i18n
! Example English i18n
! Example apps
! Example apps
|-
|-
-
| <code>user/desktop</code>
+
| user/desktop
| Desktop
| Desktop
| Home, statusbar and taskbar applets
| Home, statusbar and taskbar applets
|-
|-
-
| <code>user/development</code>
+
| user/development
| Programming
| Programming
| py2deb
| py2deb
|-
|-
-
| <code>user/education</code>
+
| user/education
| Education
| Education
| Flashcard apps
| Flashcard apps
|-
|-
-
| <code>user/games</code>
+
| user/games
| Games
| Games
| Doom, Duke Nukem 3D
| Doom, Duke Nukem 3D
|-
|-
-
| <code>user/graphics</code>
+
| user/graphics
| Graphics
| Graphics
| Photo apps, GIMP, Inkscape, fonts
| Photo apps, GIMP, Inkscape, fonts
|-
|-
-
| <code>user/multimedia</code>
+
| user/multimedia
| Multimedia ''or'' Sound & Video
| Multimedia ''or'' Sound & Video
| Canola, mplayer, Kagu, UKMP, MediaBox
| Canola, mplayer, Kagu, UKMP, MediaBox
|-
|-
-
| <code>user/navigation</code>
+
| user/navigation
| (Location &) Navigation
| (Location &) Navigation
| maemo-mapper, Navit
| maemo-mapper, Navit
|-
|-
-
| <code>user/network</code>
+
| user/network
| Internet & Networking
| Internet & Networking
| Web browsers, Samba clients, OpenAFS, Transmission
| Web browsers, Samba clients, OpenAFS, Transmission
|-
|-
-
| <code>user/office</code>
+
| user/office
| Office
| Office
| GPE, Claws, AbiWord
| GPE, Claws, AbiWord
|-
|-
-
| <code>user/science</code>
+
| user/science
| Science
| Science
| gnuplot, Octave
| gnuplot, Octave
|-
|-
-
| <code>user/system</code>
+
| user/system
| System
| System
| rotation-support, enhanced kernels, themes
| rotation-support, enhanced kernels, themes
|-
|-
-
| <code>user/utilities</code>
+
| user/utilities
| Utilities ''or'' Accessories
| Utilities ''or'' Accessories
| Calculators, terminals, text editors
| Calculators, terminals, text editors
 +
|-
|}
|}
Line 406: Line 400:
===Installing Application Packages to SDK ===
===Installing Application Packages to SDK ===
-
 
+
Application packages can be installed into the maemo SDK using the Debian package manager called ''dpkg'' with root permission.
-
Application packages can be installed into the Maemo SDK using the Debian package manager called <code>dpkg</code> with root permission.
+
   
   
-
  [sbox-FREMANTLE_X86: ~] > fakeroot dpkg -i application_i386.deb
+
  [sbox-FREMANTLE_X86: ~] &gt; fakeroot dpkg -i application_i386.deb
-
Replace ''application'' with the actual name of the package. You can install packages in both X86 and ARMEL targets. The package architecture must match the Scratchbox target.
+
Replace 'application' with the actual name of the package. You can install packages in both X86 and ARMEL targets. The package architecture must match the Scratchbox target.
===Installing Application Packages to Device ===
===Installing Application Packages to Device ===
-
 
You can also use the Debian package installer for installing application packages in Maemo devices.  
You can also use the Debian package installer for installing application packages in Maemo devices.  
   
   
Line 425: Line 417:
===Uploading Application Packaged to Extras===
===Uploading Application Packaged to Extras===
-
 
Debian packages can be distributed to end users with the [[Extras|Extras repository]], which is pre-configured on the device. Before a package can be added to Extras, it must first be [[Uploading to Extras-devel|uploaded to Extras-devel]], promoted to [[Extras-testing]] if QA checks succeed, and finally promoted to Extras after successful testing by community testers. The [[Extras repository process definition|current Extras process]] is still under discussion, and may change in the future.
Debian packages can be distributed to end users with the [[Extras|Extras repository]], which is pre-configured on the device. Before a package can be added to Extras, it must first be [[Uploading to Extras-devel|uploaded to Extras-devel]], promoted to [[Extras-testing]] if QA checks succeed, and finally promoted to Extras after successful testing by community testers. The [[Extras repository process definition|current Extras process]] is still under discussion, and may change in the future.
Line 433: Line 424:
==== Activation ====
==== Activation ====
-
 
Go to the application menu by clicking on the Application Menu button (on the top left corner of the screen) -> App manager -> Click on the application manager window title area -> Click "Application catalogues" ->Click "New"  
Go to the application menu by clicking on the Application Menu button (on the top left corner of the screen) -> App manager -> Click on the application manager window title area -> Click "Application catalogues" ->Click "New"  
  Enter "matrix" into the "Web address" field and cancel the dialog by clicking on the area outside the dialog.
  Enter "matrix" into the "Web address" field and cancel the dialog by clicking on the area outside the dialog.
Line 439: Line 429:
==== Settings ====
==== Settings ====
-
 
After activating red pill mode, the application manager menu has two additional buttons : "Settings" and "Install from file".
After activating red pill mode, the application manager menu has two additional buttons : "Settings" and "Install from file".

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: