Re: [Vala] Errors trying to re-generate poppler-glib.vapi
- From: Al Thomas <astavale yahoo co uk>
- To: Francesco Poli <invernomuto paranoici org>, "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Errors trying to re-generate poppler-glib.vapi
- Date: Thu, 9 Mar 2017 10:49:50 +0000 (UTC)
----- Original Message -----
From: Francesco Poli <invernomuto paranoici org>
Sent: Wednesday, 8 March 2017, 23:07
Subject: [Vala] Errors trying to re-generate poppler-glib.vapi
I am trying to re-generate poppler-glib.vapi from Poppler-0.18.gir with the following command-line:
$ vapigen --vapidir /usr/share/vala-0.34/vapi/ \
--pkg cairo --pkg gio-2.0 --library poppler-glib \
/usr/share/gir-1.0/Poppler-0.18.gir
Unfortunately, I get the following errors:
Poppler-0.18.gir:5044.71-5044.71: error: The type name `Poppler.Backend.CAIRO.Surface' could not be found
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
I'm not sure this will solve your exact problem, but there is some
metadata that you should reference with your vapigen command:
https://git.gnome.org/browse/vala/tree/vapi/metadata/Poppler-0.18.metadata?h=0.34
Hope that helps,
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]