[Gpe-list] Fwd: Patch for gpesummary to start gpecalendar when an alarm occurs

Christoph Würstle chris at axique.de
Sat Jun 7 15:36:58 CEST 2008


Hi,
you should not get any problems when changing it like this.

But you run in one hopefully simple to fix problem, when installing 
gpe-suimmary automatically with gpe-calendar.
Because hildon tries to load the applet after installation and the 
applet tries to connect to the gpe-caldar db which is for a new user not 
present at that moment (before first launch of gpe-calendar) gpe-summary 
crashes. The gpe-calendar installer could for example create an empty db 
file, to fix this.

Chris


Graham Cobb schrieb:
> On Monday 02 June 2008 20:33:43 Ryan Pavlik wrote:
>   
>> Before integration someone should strace gpesummary, since home applets
>> that do unneeded activity, even rarely, can seriously negatively impact
>> battery life - in order to get a reasonable (1 day standby) battery life
>> on my N800 I had to remove almost all my applets, including the stock FM
>> Radio one (apparently a new fixed version is on the way).  Wouldn't want
>> to miss alarms because I had to remove gpesummary to be safe.
>>     
>
> Good point.  I have straced the unmodified gpesummary and it currently runs 
> every 5 seconds.  Not the end of the world but not good.  In the code this 
> calls "update_clock" (which does not just update the clock, it updates 
> everything).
>
> I think I will change this so that it runs every minute, just as the minute 
> changes.  I will also hook Andrew's alarm waking code into this same action.
>
> Anyone (particularly Christoph!) know of any problem this might cause?
>
> I am also intending to remove the gpe-calendar homepage plugin.  I don't think 
> it works any more -- I certainly don't test it.  And I don't think it does 
> anything that gpesummary doesn't do better.  Any objections?  I will add a 
> dependency so gpesummary is installed whenever gpe-calendar, gpe-contacts or 
> gpe-todo is installed (that doesn't mean anyone has to run it, of course, 
> just that it will automatically be installed and available on the home page 
> applets menu).
>
> Graham
>
> P.S. to Lars and others... I know the best solution is to use the maemo alarms 
> mechanism.  But Andrew's patch is an improvement and someone else has done 
> the work for me!  And the other changes above are worthwhile anyway, I think.
>
> _______________________________________________
> Gpe-list mailing list
> Gpe-list at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-list
>
>   




More information about the Gpe-list mailing list