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=575Hi 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.
Thomas
( In the case that the atachmend won't work:
http://shr.pastebin.com/d348b88cb
)
NOTE: make -j 4 -e MAKEFLAGS= VAPIDIR=/home/thomas/SHR/SHR/shr-unstable/tmp/staging/armv4t-angstrom-linux-gnueabi/usr/share/vala/vapi
valac --vapidir=/home/thomas/SHR/SHR/shr-unstable/tmp/staging/armv4t-angstrom-linux-gnueabi/usr/share/vala/vapi --pkg=elm --pkg=edje --pkg=dbus-glib-1 --pkg posix -C ffalarms.vala ffalarms.vapi
edje_cc data/ffalarms.edc data/ffalarms.edj
ffalarms.vala:63.13-63.66: error: `GLib.Time.local' is not a creation method
var t = Time.local(now) { hour=hour, minute=minute, second=0 };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ffalarms.vala:63.9-63.66: error: var declaration not allowed with non-typed initializer
var t = Time.local(now) { hour=hour, minute=minute, second=0 };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ffalarms.vala:64.21-64.21: error: The name `t' does not exist in the context of `next_hm'
var timestamp = t.mktime();
^
ffalarms.vala:64.9-64.30: error: var declaration not allowed with non-typed initializer
var timestamp = t.mktime();
^^^^^^^^^^^^^^^^^^^^^^
ffalarms.vala:65.9-65.17: error: The name `timestamp' does not exist in the context of `next_hm'
if (timestamp <= now) {
^^^^^^^^^
ffalarms.vala:66.2-66.2: error: The name `t' does not exist in the context of `next_hm'
t.day += 1;
^
ffalarms.vala:67.2-67.10: error: The name `timestamp' does not exist in the context of `next_hm'
timestamp = t.mktime(); // also normalizes Time
^^^^^^^^^
ffalarms.vala:69.9-69.9: error: The name `t' does not exist in the context of `next_hm'
if (t.hour != hour) {
^
ffalarms.vala:70.2-70.2: error: The name `t' does not exist in the context of `next_hm'
t.hour = hour;
^
ffalarms.vala:71.2-71.10: error: The name `timestamp' does not exist in the context of `next_hm'
timestamp = t.mktime();
^^^^^^^^^
ffalarms.vala:73.12-73.20: error: The name `timestamp' does not exist in the context of `next_hm'
return timestamp;
^^^^^^^^^
ffalarms.vala:643.6-643.36: warning: unhandled error `MyError'
cfg.load_from_file(config_file);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ffalarms.vala:823.2-823.42: warning: unhandled error `GLib.ShellError'
Shell.parse_argv(play_cmd, out play_argv);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 11 error(s), 2 warning(s)
make: *** [ffalarms.c] Error 1
FATAL: oe_runmake failed
_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community