On Fri, Jun 29, 2012 at 7:39 PM, Gonzalo Odiard <gonz...@laptop.org> wrote:
> You need do only make (and not make install),
> copy the generated binaries in a bin directory inside the activity
> directory,
> and probably you will need start the acivity with a .sh file and set env
> variables.
> You can look at the Tuxmath activity as a example.

OK. Will take a look.

Sameer

>
> Gonzalo
>
>
> On Fri, Jun 29, 2012 at 10:59 PM, Sameer Verma <sve...@sfsu.edu> wrote:
>>
>> On Fri, Jun 29, 2012 at 5:37 PM, Alan Jhonn Aguiar Schwyn
>> <alan...@hotmail.com> wrote:
>> >
>> > Maybe I don't understand all..
>> > When activity launs, calls a sh with the commands that you need to make
>> > the
>> > 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.
>>
>> Sameer
>>
>> >
>> >> From: sve...@sfsu.edu
>> >> Date: Fri, 29 Jun 2012 17:35:07 -0700
>> >> Subject: compiled to .XO
>> >> To: sugar-devel@lists.sugarlabs.org; de...@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
>> >> de...@lists.laptop.org
>> >> http://lists.laptop.org/listinfo/devel
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to