help building ipk packages

2008-09-26 Thread Nicolas Laurance
hi community gurus,

I've done my homework, at least I tried to, reading through the wiki and 
elsewhere

http://lists.openmoko.org/nabble.html#nabble-td1084542
http://wiki.openmoko.org/wiki/BitBake_recipe
http://wiki.openmoko.org/wiki/MokoMakefile
http://faassen.n--tree.net/blog/view/weblog/2007/09/26/0
http://wiki.openmoko.org/wiki/Customizing_the_Openmoko_Distribution#Adding_Python_scripts_as_applications
http://handhelds.org/~pb/bitbake.pdf


still building a simple package remains a mystery to me

following the instructions of the wiki, regarding the setup of openembed
the monotone command always fail (at least 6 retries)::

$ mtn --db=OE.mtn pull monotone.openembedded.org org.openembedded.dev
mtn: doing anonymous pull; use -kKEYNAME if you need authentication
mtn: connecting to monotone.openembedded.org
mtn: finding items to synchronize:
mtn: certificates | keys | revisions
mtn:   76,060 |   76 |25,058
mtn:  bytes in | bytes out | certs in | revs in
mtn: 1.4 M | 1.3 M |0 |   0
mtn:  bytes in | bytes out |certs in | revs in
mtn: 3.1 M | 1.4 M | 1,797/4,018 | 441/991
mtn: error: I/O failure while talking to peer monotone.openembedded.org, 
disconnecting

Time spent in user mode   (CPU seconds) : 3270.584s
Time spent in kernel mode (CPU seconds) : 49.617s
Total time  : 4:22:48.15s



However, MY QUESTION IS :

how can I build an ipk package out of a project source file ??

please, can someone, give a simple example, choosing a running program 
of some kind, of the steps to follow
the bb recipe and the procedure to produce a small ipk

All I've found is scarecely documented, and is concerning a global image 
for the moko.

many, many thanks

NiL

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help building ipk packages

2008-09-26 Thread Joseph Reeves
Not using bb, but this is how I made a small ipk from source:

http://blogs.thehumanjourney.net/finds/entry/3

Joseph



2008/9/26 Nicolas Laurance [EMAIL PROTECTED]:
 hi community gurus,

 I've done my homework, at least I tried to, reading through the wiki and
 elsewhere

 http://lists.openmoko.org/nabble.html#nabble-td1084542
 http://wiki.openmoko.org/wiki/BitBake_recipe
 http://wiki.openmoko.org/wiki/MokoMakefile
 http://faassen.n--tree.net/blog/view/weblog/2007/09/26/0
 http://wiki.openmoko.org/wiki/Customizing_the_Openmoko_Distribution#Adding_Python_scripts_as_applications
 http://handhelds.org/~pb/bitbake.pdf


 still building a simple package remains a mystery to me

 following the instructions of the wiki, regarding the setup of openembed
 the monotone command always fail (at least 6 retries)::

 $ mtn --db=OE.mtn pull monotone.openembedded.org org.openembedded.dev
 mtn: doing anonymous pull; use -kKEYNAME if you need authentication
 mtn: connecting to monotone.openembedded.org
 mtn: finding items to synchronize:
 mtn: certificates | keys | revisions
 mtn:   76,060 |   76 |25,058
 mtn:  bytes in | bytes out | certs in | revs in
 mtn: 1.4 M | 1.3 M |0 |   0
 mtn:  bytes in | bytes out |certs in | revs in
 mtn: 3.1 M | 1.4 M | 1,797/4,018 | 441/991
 mtn: error: I/O failure while talking to peer monotone.openembedded.org,
 disconnecting

 Time spent in user mode   (CPU seconds) : 3270.584s
 Time spent in kernel mode (CPU seconds) : 49.617s
 Total time  : 4:22:48.15s

 

 However, MY QUESTION IS :

 how can I build an ipk package out of a project source file ??

 please, can someone, give a simple example, choosing a running program
 of some kind, of the steps to follow
 the bb recipe and the procedure to produce a small ipk

 All I've found is scarecely documented, and is concerning a global image
 for the moko.

 many, many thanks

 NiL

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help building ipk packages

2008-09-26 Thread Marco Trevisan (Treviño)
Joseph Reeves wrote:
 Not using bb, but this is how I made a small ipk from source:
 
 http://blogs.thehumanjourney.net/finds/entry/3

Adding a control file like:
 Package: $name
 Section: $section
 Priority: optional
 Version: $version
 Architecture: armv4t
 Maintainer: $your-name
 Depends: $comma-separated-dependencies
 Description: $description
 Source: $archive-origin (http, svn, git...)

Could help (mostly for dependencies)...
To use it, you've only to copy it in a software-control file and use
 om-make-ipkg $sw-path software-control

To build the ipk...

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community