[Vala] vala-gen-introspection possible bug



I found that vala-gen-introspection command automatically defaults to a
prefix defined at compile time (/usr in my case). But if I want to create a
package.files.in to be used by it (pointing files to the sources) it allways
prefix the files using /usr.

I added a folder to GDA (libgda) called vapi, with a libgda-4.0.files.in and
libgda-4.0.namespace.in, the later have Gda and the first use:

@srcdir@/[filename]

one per file to be used to generate gi file using vala-gen-introspection. At
the end, configure.ac generates a libgda-4.0.files with:

../[filename]

but vala-gen-introspection returns errors because it can't find the files
from:

/usr/../[filename]

I think that prefix must be a parameter or even don't prefix with a default
one. Allows package.files file to set the absolute or relative files
locations.

-- 
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates:
LIBRE)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]