On Fri, Feb 18, 2011 at 3:15 AM, coz DS <cosimo...@gmail.com> wrote:

>
>
> On Thu, Feb 17, 2011 at 4:57 AM, Krzysztof Klimonda <
> kklimo...@syntaxhighlighted.com> wrote:
>
>> what version of cairo-dock-plugin were you trying to compile, and what
>> version of vala have you used?
>>
>> ** Changed in: vala (Ubuntu)
>>       Status: New => Incomplete
>>
>> --
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>> https://bugs.launchpad.net/bugs/720473
>>
>> Title:
>>  cairo dock plugin fails with a "undefined function strnlen"
>>
>
>
> Hey guy,
>  Thanks for responding
> The vala on ubuntu 11.04  at this moment is 0.11.6-0ubuntu1
> The cairo dock is the current bzr version which should be  2.3.0~0beta1
>   This compile issue started just this past week with the vala update in
> natty 11.04 earlier this week.
>
> coz
>


Hey guy,

 i want to add a few things;

we use valac to translate a vala code in C and it doesn't work with
valac-0.11-6 (the latest unstable version of vala)

we have a workaround that doesn't translate the vala code except if we force
it with a cmake flag

Here are two files that are effected;

http://dl.dropbox.com/u/132551/CDApplet.deps

http://dl.dropbox.com/u/132551/CDApplet.vala

we use this command to translate this file:

valac -q -C --disable-warnings --disable-dbus-transformation --pkg gio-2.0
--vapi=src/CDApplet.vapi --header=src/CDApplet.h -o CDApplet.c CDApplet.vala

also valac messes up signal names so we have to launch this command too:

sed -i "s/OnClick/on_click/g; s/OnMiddleClick/on_middle_click/g;
s/OnScroll/on_scroll/g; s/OnBuildMenu/on_build_menu/g;
s/OnMenuSelect/on_menu_select/g; s/OnDropData/on_drop_data/g;
s/OnAnswerDialog/on_answer_dialog/g; s/OnAnswer/on_answer/g;
s/OnShortkey/on_shortkey/g; s/OnChangeFocus/on_change_focus/g;
s/OnReloadModule/on_reload_module/g; s/OnStopModule/on_stop_module/g"
CDApplet.c

coz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/720473

Title:
  cairo dock plugin fails with a "undefined function strnlen"

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to