Documentation/BuildOfficialPackage

Build an Official Package

We are going to build "gm" package. This package, short for "Global Menu", is the first menu you see after OpenInkpot boots (except first-time language-selector menu).

Install git-core

OpenInkpot and IPlinux sources can be fechted using git.

sudo apt-get install git-core

If you need access with another CVS:

  • svn : use git-svn. In case it imports lots of data just fetch necessary branches to the separate repo.
  • bzr : use git-bzr.

Download sources

  • Create a source directory under the chrooted IPlinux. This directory will be called <source directory> below.
  • Check out "gm.git" repository:
    git clone http://git.openinkpot.org/gm.git <source directory>/gm
    
  • Enter in "gm" sources folder
    cd <source directory>/gm
    

Install missing dependencies

  • Look for missing build dependencies for the gm package
    dpkg-checkbuilddeps --arch=armel
    
  • Install all of them using "apt-get install"

Build package

  • Create "gm" package with
    dpkg-buildpackage -aarmel
    

NOTE: remember there are many other modules in  OpenInkpot and  IPlinux git repositories.

This package can be installed using SSH or NFS access.