Re: [Tracker] Check for gdbus-codegen



On Wed, Jun 11, 2014 at 5:23 PM, Martyn Russell <martyn lanedo com> wrote:
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.


Thanks Aleksander, I didn't realise. Please feel free to patch Tracker! :)


Done; in git master.

-- 
Aleksander
https://aleksander.es


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