Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-09-28 Thread Tomeu Vizoso
On Tue, Sep 28, 2010 at 21:43, Gonzalo Odiard  wrote:
> We have this code in many places, I found it in the Distance activity and
> bitfrost updater.
> May be is a good idea inhibit suspend when is displayed the neighborhood
> view also.
> Can we have a unique class like PowerManager or anything like that?

Good with me if that's the way to go from the POV of the systems
people, would be great if it could be implemented in Sugar in terms of
org.freedesktop.UPower, so we don't need to maintain two or more
backends.

Regards,

Tomeu

> Regards
>
> Gonzalo
>
>
> On Thu, Sep 16, 2010 at 8:23 PM, James Cameron  wrote:
>>
>> On Thu, Sep 16, 2010 at 05:38:29PM -0400, Martin Langhoff wrote:
>> > 2 - hack the Tubes/Telepathy stack to _prevent sleep_ while an actual
>> > collaboration session is running
>>
>> This might help.  Once an activity is shared, the laptop stays awake
>> until the activity is stopped.
>>
>> (sugar-toolkit.git)
>> --- a/src/sugar/activity/activity.py
>> +++ b/src/sugar/activity/activity.py
>> @@ -916,6 +916,14 @@ class Activity(Window, gtk.Container):
>>         self._share_id = self._pservice.connect("activity-shared",
>>                                                 self.__share_cb)
>>         self._pservice.share_activity(self, private=private)
>> +        # inhibit suspend during sharing
>> +        path = '/var/run/powerd-inhibit-suspend/%s' % os.getpid()
>> +        try:
>> +            fd = open(path, 'w')
>> +        except IOError:
>> +            pass
>> +        else:
>> +            fd.close()
>>
>>     def _show_keep_failed_dialog(self):
>>         alert = Alert()
>>
>> --
>> James Cameron
>> http://quozl.linux.org.au/
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC OS Builder recipe for forcing OpenDNS resolver

2010-09-28 Thread Martin Langhoff
On Tue, Sep 28, 2010 at 5:04 PM, Reuben K. Caron  wrote:
> Isn't a pre-requisite to also remove root?

Removing root is a way to make it stronger / harder to workaround.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC OS Builder recipe for forcing OpenDNS resolver

2010-09-28 Thread Reuben K. Caron
Martin,

Isn't a pre-requisite to also remove root? Alternatively have you  
considered rebuilding initrd signed with ARG keys to check and readd  
the config on every reboot if it has been removed?

Regards,

Reuben


On Sep 28, 2010, at 4:06 PM, Martin Langhoff wrote:

> Working recently in La Rioja (Argentina) we came up with a strategy to
> enforce some content filtering on the XOs even when connected via
> random local ISPs (IOWs, when borrowing a neighbour's connection, or
> at a wifi-friendly cafe).
>
> The results are here, in the form of an OLPC OS Builder recipe.
>
>   http://wiki.laptop.org/go/OS_Builder/Adding_OpenDNS_Configuration
>
> Comments welcome. Getting this working involved Sebastián Miranda,
> Guillermo Narvaez and Reuben. Thanks to all!
>
>
>
> m
> -- 
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


OLPC OS Builder recipe for forcing OpenDNS resolver

2010-09-28 Thread Martin Langhoff
Working recently in La Rioja (Argentina) we came up with a strategy to
enforce some content filtering on the XOs even when connected via
random local ISPs (IOWs, when borrowing a neighbour's connection, or
at a wifi-friendly cafe).

The results are here, in the form of an OLPC OS Builder recipe.

   http://wiki.laptop.org/go/OS_Builder/Adding_OpenDNS_Configuration

Comments welcome. Getting this working involved Sebastián Miranda,
Guillermo Narvaez and Reuben. Thanks to all!



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-09-28 Thread Gonzalo Odiard
We have this code in many places, I found it in the Distance activity and
bitfrost updater.
May be is a good idea inhibit suspend when is displayed the neighborhood
view also.
Can we have a unique class like PowerManager or anything like that?
Regards

Gonzalo


On Thu, Sep 16, 2010 at 8:23 PM, James Cameron  wrote:

> On Thu, Sep 16, 2010 at 05:38:29PM -0400, Martin Langhoff wrote:
> > 2 - hack the Tubes/Telepathy stack to _prevent sleep_ while an actual
> > collaboration session is running
>
> This might help.  Once an activity is shared, the laptop stays awake
> until the activity is stopped.
>
> (sugar-toolkit.git)
> --- a/src/sugar/activity/activity.py
> +++ b/src/sugar/activity/activity.py
> @@ -916,6 +916,14 @@ class Activity(Window, gtk.Container):
> self._share_id = self._pservice.connect("activity-shared",
> self.__share_cb)
> self._pservice.share_activity(self, private=private)
> +# inhibit suspend during sharing
> +path = '/var/run/powerd-inhibit-suspend/%s' % os.getpid()
> +try:
> +fd = open(path, 'w')
> +except IOError:
> +pass
> +else:
> +fd.close()
>
> def _show_keep_failed_dialog(self):
> alert = Alert()
>
> --
> James Cameron
> http://quozl.linux.org.au/
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Observations and question about http://wiki.laptop.org/go/XS_Software_Repositories

2010-09-28 Thread Martin Langhoff
On Tue, Sep 28, 2010 at 11:46 AM, rihowa...@gmail.com
 wrote:
> It would make more sense for me to base this effort on F11 XS code even if it 
> is experimental.  This will help find hardware dependencies in the code.

The only "binary" package IIRC is ejabberd-xs. And given that it's
"compiled" against Erlang, it may well be portable bytecode.

There are also "pyo" files which should be portable across
platform/cpu (but not across Python version).

> Is this the location you are referring to for the F11 XS 
> http://fedora.laptop.org/xs/testing/olpc/11/source/SOURCES/ ?

That'll have tarballs. You are looking for the git repos, which are
all under http://dev.laptop.org/git/

> I know in the earlier versions of XS software there were a number of places 
> that the arch was hard coded to an X86 variants.

Help cleaning up bogus explicit arch welcome :-)


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Observations and question about http://wiki.laptop.org/go/XS_Software_Repositories

2010-09-28 Thread rihowa...@gmail.com
Martin,

It would make more sense for me to base this effort on F11 XS code even if it 
is experimental.  This will help find hardware dependencies in the code.
Is this the location you are referring to for the F11 XS 
http://fedora.laptop.org/xs/testing/olpc/11/source/SOURCES/ ?  If so I would 
rather clone from source control system so it is easier to give you any diffs 
back.
I know in the earlier versions of XS software there were a number of places 
that the arch was hard coded to an X86 variants.

Robert H.


On Sep 27, 2010, at 6:56 AM, Martin Langhoff wrote:

> On Mon, Sep 27, 2010 at 1:58 AM, rihowa...@gmail.com
>  wrote:
>> I am back to working on getting the XS working on one of my ARM systems with 
>> a more recent Fedora version.
> 
> Hi Robert
> 
> - that's excellent news! Ask on devel@lists.laptop.org -- AIUI, there
> is work afoot for F13 or F14 on ARM. I don't really know whether there
> are any usable builds...
> 
> Thanks for the heads up, I've updated the wikipage -- fixewd up the
> git links (broken due to a change from gitweb to cgit) and added links
> to the F9 repos.
> 
> If you look around the "fedora.l.o" server, you'll also find a F11
> experimental repo that might be of use.
> 
> 
> 
> m
> -- 
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff

___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: Menu frame

2010-09-28 Thread Sascha Silbe
Excerpts from Thomas PLESSIS's message of Mon Sep 27 21:09:17 +0200 2010:

> Yes, the frame. And i need to do that bcause my flash application crash
> after the launch when this menu frame is not enable... it's a mistake for
> me. So to fix that rapidly, i'm trying to show the menu frame before the
> game appears.

Your "fix" is unlikely to work on more than a single operating system
version respectively Sugar version so any time you spend on it would be
wasted (unless you are the only user of your application).

If "flash application" implies you're using something from the Adobe
Flash line then I suggest working with them to fix their product.

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC-OS-Builder

2010-09-28 Thread Hellânio Costa
I did not add anything more and it worked, so the error is in the extra
packages that I'm wanting.

I'll try one by one then ... =(

2010/9/27 Daniel Drake 

> On 27 September 2010 20:04, Hellânio Costa 
> wrote:
> > Did with custom_packages and even then the error is the same one has any
> > idea which package is giving this error?
>
> Have you confirmed that the error does not occur if you make a build
> without any customizations?
>
> Daniel
>



-- 
Instituto UFC - Virtual
www.virtual.ufc.br
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Introduction

2010-09-28 Thread Simon Schampijer
Hi Steven,

On 09/28/2010 01:00 PM, Tomeu Vizoso wrote:
> On Tue, Sep 28, 2010 at 12:46, Steven Parrish  wrote:
>> Some of you may have already heard that I have accepted a position
>> with ActivityCentral to be the project manager for Dextrose.  It feels
>> like I have come full circle as I started out as a volunteer
>> maintaining the "F11 for the XO-1" builds for the past 18 months.
>> That work was very rewarding and I was glad to see OLPC step in and
>> release official builds based on my work.  The "F11 for the XO-1" was
>> also a starting point for the original Dextrose system, which Bernie
>> Innocenti brought to fruition.
>>
>> Now we will be taking the original Dextrose and expanding upon it.
>> Dextrose2 will be the result.  Based on Fedora11 and Sugar 0.88 it
>> will strive for stability, while providing deployments with a
>> customizable product.  I have already started creating builds for the
>> new system with additional language support, and they can be found at
>> http://wiki.sugarlabs.org/go/Dextrose .  The builds will be for both
>> the XO-1 and XO-1.5 and will be available both with Gnome and without.
>>
>> We have a team of developers at SEETA who will be working on this with
>> us.  Many of them are already known to the community and more will
>> become known as they join the effort.
>>
>> I have already started going over the outstanding issues and know that
>> with everyone's help we can make Dextrose the Premier system for XO
>> deployments.
>>
>> The issues that need to be worked on can be found at:
>>
>> http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&keywords=$love
>>
>> and
>>
>> http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&keywords=$extrose
>>
>> If you are already working on any of these tickets please send me a
>> quick note as to which tickets you are working on and what the status
>> is.
>>
>> I look forward to working with everyone.
>
> I'm very happy to read this, look forward to work further with you.
>
> It would be very helpful if any new contributors could take the time
> to present themselves and their plans as you have done.
>
> Regards,
>
> Tomeu

Thanks for your great introduction. It is a good habit to present 
oneself and his role to the community. I would like to encourage others 
to do so as well.

Looking forward to work with you,
Simon



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Introduction

2010-09-28 Thread Aleksey Lim
On Tue, Sep 28, 2010 at 06:46:00AM -0400, Steven Parrish wrote:
> Some of you may have already heard that I have accepted a position
> with ActivityCentral to be the project manager for Dextrose.

Great to hear!

> It feels
> like I have come full circle as I started out as a volunteer
> maintaining the "F11 for the XO-1" builds for the past 18 months.
> That work was very rewarding and I was glad to see OLPC step in and
> release official builds based on my work.  The "F11 for the XO-1" was
> also a starting point for the original Dextrose system, which Bernie
> Innocenti brought to fruition.
> 
> Now we will be taking the original Dextrose and expanding upon it.
> Dextrose2 will be the result.  Based on Fedora11 and Sugar 0.88 it
> will strive for stability, while providing deployments with a
> customizable product.  I have already started creating builds for the
> new system with additional language support, and they can be found at
> http://wiki.sugarlabs.org/go/Dextrose .  The builds will be for both
> the XO-1 and XO-1.5 and will be available both with Gnome and without.

What about reusing bazaar.sl.o as Dextrose repository for all sugar
packages (it could be only sugar, other packages like hw maybe reused
directly from upstream, attached after bazaar repo or even build on
bazaar)?

I'm planing to have 0.88 Sugar Platform run on f11 at the end of this
week.

The benefits I see here is that we can reuse Dextrose efforts(regarding
to sugar itself) in other sugar distros directly (just building for
particular distro). Also, we can have the same repo of activities on
bazaar (w/o repacking it for several distros).

> We have a team of developers at SEETA who will be working on this with
> us.  Many of them are already known to the community and more will
> become known as they join the effort.
> 
> I have already started going over the outstanding issues and know that
> with everyone's help we can make Dextrose the Premier system for XO
> deployments.
> 
> The issues that need to be worked on can be found at:
> 
> http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&keywords=$love
> 
> and
> 
> http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&keywords=$extrose
> 
> If you are already working on any of these tickets please send me a
> quick note as to which tickets you are working on and what the status
> is.
> 
> I look forward to working with everyone.
> 
> Steven Parrish
> smparr...@gmail.com
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

-- 
Aleksey
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Introduction

2010-09-28 Thread Tomeu Vizoso
On Tue, Sep 28, 2010 at 12:46, Steven Parrish  wrote:
> Some of you may have already heard that I have accepted a position
> with ActivityCentral to be the project manager for Dextrose.  It feels
> like I have come full circle as I started out as a volunteer
> maintaining the "F11 for the XO-1" builds for the past 18 months.
> That work was very rewarding and I was glad to see OLPC step in and
> release official builds based on my work.  The "F11 for the XO-1" was
> also a starting point for the original Dextrose system, which Bernie
> Innocenti brought to fruition.
>
> Now we will be taking the original Dextrose and expanding upon it.
> Dextrose2 will be the result.  Based on Fedora11 and Sugar 0.88 it
> will strive for stability, while providing deployments with a
> customizable product.  I have already started creating builds for the
> new system with additional language support, and they can be found at
> http://wiki.sugarlabs.org/go/Dextrose .  The builds will be for both
> the XO-1 and XO-1.5 and will be available both with Gnome and without.
>
> We have a team of developers at SEETA who will be working on this with
> us.  Many of them are already known to the community and more will
> become known as they join the effort.
>
> I have already started going over the outstanding issues and know that
> with everyone's help we can make Dextrose the Premier system for XO
> deployments.
>
> The issues that need to be worked on can be found at:
>
> http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&keywords=$love
>
> and
>
> http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&keywords=$extrose
>
> If you are already working on any of these tickets please send me a
> quick note as to which tickets you are working on and what the status
> is.
>
> I look forward to working with everyone.

I'm very happy to read this, look forward to work further with you.

It would be very helpful if any new contributors could take the time
to present themselves and their plans as you have done.

Regards,

Tomeu

> Steven Parrish
> smparr...@gmail.com
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Introduction

2010-09-28 Thread Steven Parrish
Some of you may have already heard that I have accepted a position
with ActivityCentral to be the project manager for Dextrose.  It feels
like I have come full circle as I started out as a volunteer
maintaining the "F11 for the XO-1" builds for the past 18 months.
That work was very rewarding and I was glad to see OLPC step in and
release official builds based on my work.  The "F11 for the XO-1" was
also a starting point for the original Dextrose system, which Bernie
Innocenti brought to fruition.

Now we will be taking the original Dextrose and expanding upon it.
Dextrose2 will be the result.  Based on Fedora11 and Sugar 0.88 it
will strive for stability, while providing deployments with a
customizable product.  I have already started creating builds for the
new system with additional language support, and they can be found at
http://wiki.sugarlabs.org/go/Dextrose .  The builds will be for both
the XO-1 and XO-1.5 and will be available both with Gnome and without.

We have a team of developers at SEETA who will be working on this with
us.  Many of them are already known to the community and more will
become known as they join the effort.

I have already started going over the outstanding issues and know that
with everyone's help we can make Dextrose the Premier system for XO
deployments.

The issues that need to be worked on can be found at:

http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&keywords=$love

and

http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&keywords=$extrose

If you are already working on any of these tickets please send me a
quick note as to which tickets you are working on and what the status
is.

I look forward to working with everyone.

Steven Parrish
smparr...@gmail.com
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel