ffalarms 0.2.4 -- now looks Elementary, LED color configurable

Łukasz Pankowski lukpank at o2.pl
Mon Sep 21 10:58:15 CEST 2009


Thomas Zimmermann <zimmermann at vdm-design.de> writes:

> Am Samstag 19 September 2009 14:20:12 schrieb Łukasz Pankowski:
>> Hi
>> 
>> I have just released ffalarms 0.2.4.  Features:
>> 
>> - now looks like other Elementary programs
>> 
>> - LED clock: add configuration option to change color of LED digits.
>> 
>>   You can change the color by setting ``color`` to ``red, blue,
>>   green`` (numbers in range 0-255) in your ~/.ffalarmsrc.  For
>>   example:
>> 
>> [ledclock]
>> color=255, 255, 0
>> 
>> 
>> Download page:
>> http://projects.openmoko.org/frs/?group_id=260&release_id=575
>
> Hi tried to compile ffalarms 0.2.4 for SHR, but i'm getting the following 
> errors, any idea what's wrong?
> First error was, that it should depend on libeflvala, that's fixed.

Hi

I have removed libeflvala from dependencies in ffalarms.bb as ffalarms.c
is included in the source tarball so valac should not start if you
compile from source tarball.

It is that way to minimize compilation problems, for example I compiled
ffalarms 0.2.4 with valac 0.7.5 (0.7.6 was not yet in Debian that day)
and the problem you encountered is with valac 0.7.6. I just committed a
quick fix to subversion repository [1].


[1] The change (http://projects.openmoko.org/plugins/scmsvn/viewcvs.php/trunk/?root=ffalarms):

--- trunk/ffalarms.vala	2009/09/19 12:02:37	53
+++ trunk/ffalarms.vala	2009/09/21 08:30:14	54
@@ -60,7 +60,7 @@
 time_t next_hm(int hour, int minute)
 {
     var now = time_t();
-    var t = Time.local(now) { hour=hour, minute=minute, second=0 };
+    var t = Time.local(now); t.hour=hour; t.minute=minute; t.second=0;
     var timestamp = t.mktime();
     if (timestamp <= now) {
 	t.day += 1;

>
> Thomas
>
> ( In the case that the atachmend won't work: http://shr.pastebin.com/d348b88cb 
> )



More information about the community mailing list