[Sugar-devel] compiled to .XO
gonzalo at laptop.org
Fri Jun 29 22:39:15 EDT 2012
You need do only make (and not make install),
copy the generated binaries in a bin directory inside the activity
and probably you will need start the acivity with a .sh file and set env
You can look at the Tuxmath activity as a example.
On Fri, Jun 29, 2012 at 10:59 PM, Sameer Verma <sverma at sfsu.edu> wrote:
> On Fri, Jun 29, 2012 at 5:37 PM, Alan Jhonn Aguiar Schwyn
> <alanjas at hotmail.com> wrote:
> > Maybe I don't understand all..
> > When activity launs, calls a sh with the commands that you need to make
> > binary. After, only calls the binary and start.
> > Alan
> I was thinking about how we would package the binaries, given that the
> .xo activity isn't supposed to install in /usr/local/bin and other
> locations. If we bundle the RPM, the olpc user does not have rights to
> install the binary.
> >> From: sverma at sfsu.edu
> >> Date: Fri, 29 Jun 2012 17:35:07 -0700
> >> Subject: compiled to .XO
> >> To: sugar-devel at lists.sugarlabs.org; devel at lists.laptop.org
> >> We are looking at an app that goes through the classic "./configure,
> >> make, make install" to compile from source. The compile process runs
> >> ok (this is on a XO-1). We are also able to run the binary, but I am
> >> unclear about how we would package this into a .xo activity. Any
> >> pointers?
> >> cheers,
> >> Sameer
> >> _______________________________________________
> >> Devel mailing list
> >> Devel at lists.laptop.org
> >> http://lists.laptop.org/listinfo/devel
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel