GNOME Bugzilla – Bug 634014
GTK+3 is a moving target, lets not compile against it by default.
Last modified: 2010-11-06 12:41:30 UTC
At least on Fedora 14, the gtk+3 in there doesn't actually let me compile the gst examples/tests, so I guess its safer to not enable it by default until a version with a stable API is released.
Created attachment 173838 [details] [review] configure: Only compile against GTK+3 if explicitly requested
Created attachment 173839 [details] [review] configure: Only compile against GTK+3 if explicitly requested
Created attachment 173840 [details] [review] configure: Only compile against GTK+3 if explicitly requested
arg, the first one is against base, the second is for good and the 3rd is for bad
I do think that's a good idea for GStreamer, as compilation of examples is not something that GTK developers care about a lot. If I were picky, I'd suggest using the code that's copied around in gnome-land, which does: AC_MSG_CHECKING([which gtk+ version to compile against]) AC_ARG_WITH([gtk], AC_HELP_STRING([--with-gtk=3.0|2.0], [which gtk+ version to compile against (default: 3.0)]), [case "$with_gtk" in 2.0|3.0) ;; *) AC_MSG_ERROR([invalid gtk+ version specified]);; esac], [with_gtk=3.0]) AC_MSG_RESULT([$with_gtk]) but I'll leave that to the build system maintainer(s).
I copied the one I used from empathy.. the --with-gtk=X also looks fine (as long as 2.0 is the default at least until gtk+ 3 is stabilized).
I went with the --with-gtk option now, since I slightly prefer that. Hope it all still works right now. Thanks for the bug report and patches.