| Version 7 (modified by , 15 years ago) ( diff ) | 
|---|
How did I create the Maemo 5 packages
- I used py2deb in scratchbox
 - modified the py2deb file in /usr/lib/python2.5/site-packages/py2deb.py (in scratchbox)
- fixed the bugtracker issue
 - modified the build depends:
# ADDED for building modRana Build-Depends: debhelper (>= 5), python-support
 - modified the "build architecture independent files section"
# Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. dh_pysupport /opt/modrana # its important to add path to the main application folder
 - fixed the USERNAME environmental variable not found issue (caused by py2deb) in the ./build_modrana.py script:
import os os.environ["USERNAME"]='user'
 - made sure there is #DEBHELPER# in the postinst script
 - set correct file and folder permissions for the different modRana folders and files
 
 
Example build script: build_modrana.py
Example modified py2deb.py: py2deb.py
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/trac/chrome/site/nlp-logo.png)