Re: [Vala] vapigen and Autotools problem

2012-03-29 Thread Alejandro T Colombini Gómez
I've finally generated all the .vapi files I needed. The error was in the call to vapigen itself. The library was uninstalled, so I had to tell vapigen where to look for the uninstalled .gir files. I didn't know I could use the "--girdir" option multiple times, and that's exactly what I needed. Th

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread august
> August, > I just didn't know that. Reading the documentation and looking at an > official gnome project (GDA, that does the same thing I was trying to do) I > though it was the only way to bind C to Vala. And the other developers I > mentioned are using Vala by the first time, too. > > If I

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread Alejandro T Colombini Gómez
Abderrahim, I did. In fact I needed to, in order to generate the Sql-0.1.gir and the subsequent .girs'. I noted that the name the error gives to the package is not the same I gave it when exporting it. I called it gvn-0.1 and the error talks about Gvn-0.1, which is not a correct package name.

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread Abderrahim Kitouni
في ث، 27-03-2012 عند 17:05 +0200 ، كتب Alejandro T Colombini Gómez: > August, > I just didn't know that. Reading the documentation and looking at an > official gnome project (GDA, that does the same thing I was trying to do) I > though it was the only way to bind C to Vala. And the other develope

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread august
Alejandro, Is there a reason to create a .vapi file? Couldn't your vala developers just use the .gir file? AFAIK, that is the preferred method for binding to vala if you are already writing gobject libs. -august. > Hi, vala-list. > Before anything else, I have to say I'm new to Vala and a

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread Alejandro T Colombini Gómez
August, I just didn't know that. Reading the documentation and looking at an official gnome project (GDA, that does the same thing I was trying to do) I though it was the only way to bind C to Vala. And the other developers I mentioned are using Vala by the first time, too. If I can do this th

[Vala] vapigen and Autotools problem

2012-03-27 Thread Alejandro T. Colombini
Hi, vala-list. Before anything else, I have to say I'm new to Vala and also to vapigen usage. I've been working on a library which uses GObject and GTK + and is written in C, now other developers are going to use this library to write an application, but they will do it using Vala, so I'm curre