[Sugar-devel] compiled to .XO

Sameer Verma sverma at sfsu.edu
Sat Jun 30 03:21:36 EDT 2012


On Fri, Jun 29, 2012 at 7:39 PM, Gonzalo Odiard <gonzalo at 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 <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
>> > 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: 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
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


More information about the Sugar-devel mailing list