GNOME Bugzilla – Bug 661871
Mutter does not build without introspection
Last modified: 2012-02-13 03:57:47 UTC
As the title. Mutter does not build without introspection. Reason: function main() in "mutter.c" uses MetaPluginManager and related from "meta-plugin-manager.h". This header is conditionally loaded if HAVE_INTROSPECTION is defined. Seeing as I am not very familiar with mutter, I'm not sure if #ifdef ... #endif-ing the part in main, or removing the #ifdef ... #endif around the header is the way to go. The first option at least allows it to compile on my computer.
Why do you need mutter without introspection? While this doesn't sound hard to fix, my first inclination is to just remove the support for building mutter without introspection - if we never test it that way, it's just going to rot.
I was building mutter without introspection, because GTK failed to build with, and I just added '--enable-intropsection=no' to autogenargs in JHBuild, only to find it bites me. Anyhow, if you supply a '--enable/--disable', '--with/--without', make sure it works, and otherwise drop it. If you don't plan to test it, drop it. (Probably, it would still not allow me to build it, so you should probably check if the other packages have been build with introspection enabled as well, if you need that.) So, drop the flag.
*** Bug 666014 has been marked as a duplicate of this bug. ***
Hi there, As a developer on the ex-moblin/ex-meego/etc... mutter plugin, I'm still compiling mutter without introspection (even though I'd like to change that at some point). I'm attaching a patch, it's really a small patch. I would to see it integrated. Thanks
Created attachment 203268 [details] [review] patch
*** Bug 669962 has been marked as a duplicate of this bug. ***