GNOME Bugzilla – Bug 673963
gtkmm's gdk target list should be non-automagic
Last modified: 2012-04-17 08:42:30 UTC
Currently, gtkmm-3.4.0's gdk target list is automagic, i.e. it is read at build time from gtk's pkgconfig file. This makes it inconvenient, for example, to build a wayland-only gtkmm on a machine that has gdk with both x11 and wayland backends installed. Although automagically detecting the list of backends should certainly be the default behavior, it should be possible to override it via a configure option.
Created attachment 211897 [details] [review] proposed patch
Is this patch like the configure options in GTK+ itself?
(In reply to comment #2) > Is this patch like the configure options in GTK+ itself? Basically, yes. Gtk+ implements the same idea as separate configure options: --enable-x11-backend, --enable-win32-backend, --enable-quartz-backend, --enable-broadway-backend, and --enable-wayland-backend. Given gtkmm's existing configure.ac, a single option with a comma-delimeted list seemed simpler.
Then I would prefer to have what GTK+ has, please.
Created attachment 212121 [details] [review] proposed patch, v2 (In reply to comment #4) > Then I would prefer to have what GTK+ has, please. OK, then this patch should do it.
Thanks. I have pushed that.