OK, I use a workaround and run a sed command to fix the incorrect generated
vapi file.
I use sed to prepend global:: to all wrong namespaced classes then it works.
Before the bug of vala gets handled, I have to use the workaround for now.
The problem is, how to integrate this fix with automake?
I
On Thu, 2012-11-29 at 10:13 +0800, PCMan wrote:
All of the errors I got are like these:
VALAC lxpanel2_vala.stamp
lxpanel-applet.vapi:10.27-10.49: error: The type name `Lxpanel.AppletInfo'
could not be found
In lxpanel2.vala you have a class `Lxpanel' in the namespace `Lxpanel'.
This means
Thank you for the prompt reply.
I just fixed it with using a sed command to add the global:: prefix in a
all-local target of Makefile.am, which is very dirty!
I'll try what you said. I did not noticed that it can be the cause of the
problem.
Thank you very much!!!
On Thu, Nov 29, 2012 at 5:11
Really thank you , Jürg Billeter.
My problem is solved by renaming that class to avoid conflicts.
Mailing list is good.
I spent hours and hours trying to workaround this and did not find any clue.
I should have came here earlier.
Thanks!
On Thu, Nov 29, 2012 at 5:26 PM, PCMan pcman...@gmail.com
Sorry that I forgot to paste the complete vapi file generated
It's here:
http://pastebin.com/v2j6CnXq
Thanks a lot!
On Thu, Nov 29, 2012 at 10:13 AM, PCMan pcman...@gmail.com wrote:
Hello,
I got another issue with vala.
I moved the core part of my program to a separate library, and let the
On Thu, 29 Nov 2012 10:13:40 +0800
PCMan pcman...@gmail.com wrote:
Hello,
I got another issue with vala.
I moved the core part of my program to a separate library, and let
the main program call that library.
The library itself compiles correctly.
However, the genrated vapi file is not
Thanks for sharing.
Manually editing the vapi file works for me too, but this is only a
workaround.
After regeneration of vapi files, the changes are gone and need to be done
again.
There must be something wrong in valac or my compiler settings.
We need a way to generate correct vapi files from
On Thu, 29 Nov 2012 13:09:53 +0800
PCMan pcman...@gmail.com wrote:
Thanks for sharing.
Manually editing the vapi file works for me too, but this is only a
workaround.
After regeneration of vapi files, the changes are gone and need to be
done again.
There must be something wrong in valac or