GNOME Bugzilla – Bug 682824
Don't build gtk-launch when gio-unix is not available
Last modified: 2013-05-01 05:47:25 UTC
Created attachment 222578 [details] [review] Proposed patch Don't build gtk-launch on Win32 environments The gtk-launch tool depends on gio-unix which isn't available on Win32
This happens when building only broadway backend as well. In that case configure.ac does not set have_gio_unix. I guess broadway backend can be built on win32 so it makes sense.
Review of attachment 222578 [details] [review]: I guess the conditional is not quite right then; it should really go by the availability of gio-unix
Created attachment 234531 [details] [review] Updated patch This updated patch only builds gtk-launch when gio-unix is available (in the previous patch the win32 target was used as conditional)
Review of attachment 234531 [details] [review]: ok
Since commit 99e194e7cc76c420c42562e2c77876d225975430 the gtk-launch tool can be build without gio-unix (although it will not really do much without an alternative implementation for g_desktop_app_info). So there is no need to not build gtk-launch anymore. Erik, would you it be okay to revert your patch 9a1235bf0dbdb1701779bec0ccae043cc4243ce5 ?
The commit I'd like to revert is commit 9a1235bf0dbdb1701779bec0ccae043cc4243ce5
If it doesn't break win32 compilation, sure, go ahead
Created attachment 242918 [details] [review] Revert "Don't build gtk-launch when gio-unix is not available" The gtk-launch tool can be build without gio-unix (although it will not really do much without an alternative implementation for g_desktop_app_info). So there is no need to not build gtk-launch anymore. This reverts commit 9a1235bf0dbdb1701779bec0ccae043cc4243ce5.
Created attachment 242921 [details] [review] Revert "Don't build gtk-launch when gio-unix is not available" - gtk-3.8 branch I just tested your patch against gtk 3.8.1 (as there are no gtk 3.9 releases done yet). It required a minor change to get it applied against the gtk-3.8 branch. I attached the updated patch to this ticket. With it gtk-launch can be compiled without issues. Feel free to apply this patch to the gtk-3.8 branch
fine with me, fwiw
commited. commit 4dcd49352b61d91796a2628666a0c9dfc5fdb2fd (master) commit 4380ce84958d78d912180353fa939feec8f30edc (gtk-3-8)