Re: [Vala] vapigen ignores .metadata
- From: Tal Hadad <tal_hd hotmail com>
- To: Vala Mail List <vala-list gnome org>
- Subject: Re: [Vala] vapigen ignores .metadata
- Date: Wed, 4 Jan 2012 12:53:45 +0200
Thanks, it works as expected.
But I were reading other manual:
http://live.gnome.org/Vala/Manual/GIDL%20metadata%20format
Since it was mention in:
http://live.gnome.org/Vala/Bindings
What is the different between this two "metadata" formats?
Thanks
Tal
Date: Wed, 4 Jan 2012 11:40:08 +0100
Subject: Re: [Vala] vapigen ignores .metadata
From: lethalman88 gmail com
To: tal_hd hotmail com
CC: vala-list gnome org
2012/1/4 Tal Hadad <tal_hd hotmail com>
I try to create a binding from GNOME official PanelApplet-4.0.gir to libpanelapplet-4.0.vapi.
Vapi generation success, but the header file name is wrong(always "PanelApplet-4.0.h"). I tried to change it
by adding a new file named "libpanelapplet-4.0.metadata" in the same directory:
PanelApplet cheader_filename="libpanel-applet/panel-applet.h"
But it didn't change anything in the vapi file.
This is my command(based on what you gave me in this mailing list):
vapigen --metadatadir . --pkg gtk+-3.0 --library libpanelapplet-4.0 PanelApplet-4.0.gir
What am I doing wrong?
As per http://live.gnome.org/Vala/Manual/GIR%20metadata%20format :
"The filename of a metadata for a SomeLib.gir must be SomeLib.metadata."
Therefore, it must be PanelApplet-4.0.metadata .
--
www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]