Development/Porting Packages

From Maemo Leste Wiki
Revision as of 11:32, 28 May 2020 by Sicelo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Porting / Creating packages

If you're looking at creating your own package, or porting software, the first things to do are:

  1. Check if someone already ported the package (if it in the repository? Is there an issue for it?)
  2. Check if there already are Debian packaging scripts/files. Debian packages a LOT of software, so it's likely that the software is already in the Maemo repository, or someone at least has build scripts for it.
  3. (TODO)

Porting existing Maemo Fremantle packages

Maemo Fremantle ("Nokia Maemo for the N900") contains a lot of packages that are open source. Most of them should run with very few changes on Maemo Leste, the main changes you will need to make will be:

  1. Check if someone already ported the package (if it in the repository? Is there an issue for it?)
  2. Updating of the Debian packaging files/scripts.
  3. Porting to newer libraries if old libraries are used (OpenSSL 0.9.8 -> OpenSSL 1.1.x, Qt4 -> Qt5, etc)
  4. Fixing any compile errors/warnings due to more strict compile flags

Source of the packages can be found at one of these places:

If you import a package, please try to preserve history if possible (converting from svn -> git is not too hard)

Forking Debian/Devuan packages

(TODO - Describe what branches need to be set up, Jenkins integration, etc)

Preparing package for the repositories

See https://leste.maemo.org/Development/Building_Packages