GNOME Bugzilla – Bug 738767
pitivi uses GdkX11 module directly
Last modified: 2014-11-07 04:57:21 UTC
I managed to get pitivi to build on Mac OS X 10.9.5 (build issues tracked via bug 738622), but it doesn't run because there's an explicit usage of the GdkX11 module: ERROR:root:Could not find any typelib for GdkX11 Failed to initialize modules Traceback (most recent call last):
+ Trace 234234
_initialize_modules()
initialize_modules()
from gi.repository import GdkX11
This could be a problem for running natively on Wayland as well. It looks like the GdkX11 module is used only for this in application.py: if self.gui: # The app is already started and the window already created. # Present the already existing window. # TODO: Use present() instead of present_with_time() when # https://bugzilla.gnome.org/show_bug.cgi?id=688830 is fixed. x11_server_time = GdkX11.x11_get_server_time(self.gui.get_window()) self.gui.present_with_time(x11_server_time) # No need to show the welcome wizard. return
Created attachment 288815 [details] [review] Quick hack to load GdkX11 in a try block
commit 10d82cd5e13a06616d884d175a81ebcc4daf3880 Author: Brion Vibber <brion@pobox.com> Date: Sat Oct 18 09:07:01 2014 -0700 pitivi: Remove our hard dependency to GdkX11 Allowing us to run without X11, as on Mac OS X