| 1 | = How did I create the packages = |
| 2 | |
| 3 | * I used py2deb in scratchbox |
| 4 | * modified the py2deb file in ''/usr/lib/python2.5/site-packages/py2deb.py'' (in scratchbox) |
| 5 | * [http://wiki.maemo.org/Py2deb#Install_py2deb fixed the bugtracker issue] |
| 6 | * modified the build depends: |
| 7 | {{{ |
| 8 | # ADDED for building modRana |
| 9 | Build-Depends: debhelper (>= 5), python-support |
| 10 | }}} |
| 11 | * modified the "build architecture independent files section" |
| 12 | {{{ |
| 13 | # Build architecture-independent files here. |
| 14 | binary-indep: build install |
| 15 | # We have nothing to do by default. |
| 16 | dh_pysupport /opt/modrana # its important to add path to the main application folder |
| 17 | }}} |
| 18 | * fixed the USERNAME environmental variable not found issue in the ./build_modrana.py script: |
| 19 | {{{ |
| 20 | import os |
| 21 | os.environ["USERNAME"]='user' |
| 22 | }}} |
| 23 | * made sure there is #DEBHELPER# in the '''postinst''' script |
| 24 | * set correct file and folder permissions for the different modRana folders and files |
| 25 | |
| 26 | |