Re: [Sugar-devel] Cairo scale (porting Implode)

2012-06-29 Thread Manuel Kaufmann
On Thu, Jun 28, 2012 at 11:22 AM, Gonzalo Odiard gonz...@laptop.org wrote: vbox.pack_start(self.preview, expand=True, fill=False, padding=_DEFAULT_PADDING) Maybe is fill=True ? I've just tried this but it didn't work :( I will take a closer look later. -- Kaufmann Manuel Blog:

Re: [Sugar-devel] sugarless.py Implode version

2012-06-29 Thread Bert Freudenberg
On 29.06.2012, at 02:00, James Cameron wrote: On Thu, Jun 28, 2012 at 11:36:25AM -0300, Gonzalo Odiard wrote: +1 to keep the sugarless version working. In the future, I hope we have more activities working in Gnome too. I would like to see every activity as a menu option in the GNOME

[Sugar-devel] [PATCH Speak] A lot of pep8 corrections

2012-06-29 Thread Daniel Francis
I'm porting Speak Activity to Gtk3, this patch is the first step. I have these pending steps to do: . Remove the toolkit modules and migrate the activity to sugar-toolkit . Migrate from Hippo to Gtk . Convert the activity to PyGI; Gtk3 Port Start . Use gi.repository.Gst in the place of pygst .

[Sugar-devel] compiled to .XO

2012-06-29 Thread Sameer Verma
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

Re: [Sugar-devel] compiled to .XO

2012-06-29 Thread Alan Jhonn Aguiar Schwyn
Maybe I don't understand all..When activity launs, calls a sh with the commands that you need to make thebinary. After, only calls the binary and start. Alan From: sve...@sfsu.edu Date: Fri, 29 Jun 2012 17:35:07 -0700 Subject: compiled to .XO To: sugar-devel@lists.sugarlabs.org;

Re: [Sugar-devel] [PATCH Speak] A lot of pep8 corrections

2012-06-29 Thread Gonzalo Odiard
On Fri, Jun 29, 2012 at 6:25 PM, Daniel Francis fran...@sugarlabs.orgwrote: I'm porting Speak Activity to Gtk3, this patch is the first step. I have these pending steps to do: . Remove the toolkit modules and migrate the activity to sugar-toolkit . Migrate from Hippo to Gtk . Convert the

Re: [Sugar-devel] [PATCH Speak] A lot of pep8 corrections

2012-06-29 Thread S. Daniel Francis
2012/6/29 Gonzalo Odiard gonz...@laptop.org: Great! Please coordinate with the activity maintainer. I think is Aleksey, but Rafael (dirakx) should know better. To migrate from hippo to gtk, look at the work done in Chat activity. I am sure a big part can be used. Gonzalo Alright, thanks.

Re: [Sugar-devel] compiled to .XO

2012-06-29 Thread Sameer Verma
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

Re: [Sugar-devel] compiled to .XO

2012-06-29 Thread Gonzalo Odiard
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. Gonzalo On Fri, Jun 29, 2012 at

Re: [Sugar-devel] compiled to .XO

2012-06-29 Thread Alan Jhonn Aguiar Schwyn
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. Easy: no install the binaries.. only use them,,You can compile

Re: [Sugar-devel] compiled to .XO

2012-06-29 Thread Mikus Grinbergs
We are also able to run the binary, but I am unclear about how we would package this into a .xo activity. Any pointers? Am attaching an copy of an email I sent earlier to someone with a question similar to yours. IMHO that email provides a concise how-to guide to fashioning a bare-bones .xo

Re: [Sugar-devel] [PATCH Speak] A lot of pep8 corrections

2012-06-29 Thread Rafael Ortiz
On Fri, Jun 29, 2012 at 8:46 PM, S. Daniel Francis fran...@sugarlabs.orgwrote: 2012/6/29 Gonzalo Odiard gonz...@laptop.org: Great! Please coordinate with the activity maintainer. I think is Aleksey, but Rafael (dirakx) should know better. To migrate from hippo to gtk, look at the work