Re: [Tracker] Check for gdbus-codegen



On Wed, Jun 11, 2014 at 10:27 AM, Martyn Russell <martyn lanedo com> wrote:
Hi,


It seems that gdbus-codegen is needed to build tracker now but there
is no check in the configure for it.
Maybe should be added?


Hmm, it's part of GLib isn't it?

GIO >= 2.30 if I'm not mistaken.

You can do something like this in configure.ac to look for it:

GDBUS_CODEGEN=`pkg-config --variable=gdbus_codegen gio-2.0`
AC_SUBST(GDBUS_CODEGEN)

And then use $(GDBUS_CODEGEN) instead of just calling "gdbus-codegen"
in the Makefile.am.

That should make it nicer to work with custom PKG_CONFIG_PATHs.

-- 
Aleksander
https://aleksander.es


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