Re: [Vala] Define constant at compile time

2010-11-17 Thread Jan Hudec
On Tue, Nov 16, 2010 at 12:28:23 -0800, Anatol Pomozov wrote: But what if you want to change the real constant value at the compile-time? A classical example is DEBUG vs OPTIMIZED mode. During development I want to log of information to stdout, like this: if (DEBUG) { stdout.printf(User

[Vala] Versioned vala, and vapi directory locations

2010-11-17 Thread Michel Alexandre Salim
Hi, Since vala 0.9.5 Vala installs its VAPI binding files in $PREFIX/share/ vala-$APIVER/vapi . Is this the only directory scanned, or would Vala also pick up files in the old-style $PREFIX/share/vala/vapi directory? The reason I'm asking is that a lot of third-party packages still install in

[Vala] VAPI upgrade request

2010-11-17 Thread Michel Alexandre Salim
Dear developers, The latest versions of clutter-gtk and rest{,-extras} have their API levels bumped; from 0.10 to 1.0 for the former, and 0.6 to 0.7 for the latter. Could the vapi bindings in the master 0.11.x branch be updated to reflect this? Thanks, -- Michel Alexandre Salim Fedora

Re: [Vala] Versioned vala, and vapi directory locations

2010-11-17 Thread Jürg Billeter
Hi Michel, On Wed, 2010-11-17 at 12:01 +, Michel Alexandre Salim wrote: Since vala 0.9.5 Vala installs its VAPI binding files in $PREFIX/share/ vala-$APIVER/vapi . Is this the only directory scanned, or would Vala also pick up files in the old-style $PREFIX/share/vala/vapi directory?

Re: [Vala] Versioned vala, and vapi directory locations

2010-11-17 Thread Michel Alexandre Salim
Hi Jürg, On Wed, Nov 17, 2010 at 1:11 PM, Jürg Billeter j...@bitron.ch wrote: Hi Michel, On Wed, 2010-11-17 at 12:01 +, Michel Alexandre Salim wrote: Third-party packages should continue to install into unversioned directories - unless the vapi is really Vala version-specific but that

[Vala] Adding Blitzen on the Vala page

2010-11-17 Thread Samuel CUELLA
Hi list, As this part of my previous message didn't seem to drag to concerned people's attention, I'm asking again on this side: Is it possible to add Blitzen in the Applications / Applets / Other Projects section of the official Vala documentation page located at

Re: [Vala] Adding Blitzen on the Vala page

2010-11-17 Thread Samuel CUELLA
Thijs Vermeir thijsverm...@... writes: As it is a wiki page, Ok... Now I've created an account, the Edit Button make it really obivous. Sorry for the noise. you are free to add your application to that list, as long as it qualifies as the title suggests Projects Developed in Vala. The core

[Vala] gksu vapi

2010-11-17 Thread pancake
I've been looking for the vapi of libgksu with no result. So I decided to write it down. Feel free to report changes or commit into vapi/ the ones who have commit access :) I have opened a bug report for it https://bugzilla.gnome.org/show_bug.cgi?id=635131 Attached is the vapi and example