[Spice-devel] Spice on OS/X
Kai Mosebach
spice at komadev.de
Wed Apr 27 10:27:58 PDT 2011
Yeah, I also gave it a shot and that x11 parts stopped my quite quickly :-/
Another note, on building the OSX client the symbol _g_get_monotonic_clock
is missing.
I think this comes from gtk/spice-session.c but does not seem to resolve
the glib version correctly.
I had to uncomment this pretty ugly:
//#if !GLIB_CHECK_VERSION(2,28,0)
static guint64 g_get_monotonic_clock(void)
{
GTimeVal tv;
/* TODO: support real monotonic clock? */
g_get_current_time (&tv);
return (((gint64) tv.tv_sec) * 1000000) + tv.tv_usec;
}
//#endif
On 4/27/11 7:23 PM, "Christophe Fergeau" <cfergeau at redhat.com> wrote:
>On Wed, Apr 27, 2011 at 11:29:37AM +0200, Christophe Fergeau wrote:
>> On Wed, Apr 27, 2011 at 11:27:53AM +0200, Kai Mosebach wrote:
>> > Regarding the native gtk2 build I think its not possible with
>>macports.
>> > You would need to use this I guess : http://gtk-osx.sourceforge.net/
>>
>> yes, trying out http://sourceforge.net/apps/trac/gtk-osx/wiki/Build is
>>part
>> of my medium term plans :)
>
>Actually I tested this today, I think starting from that work, it should
>be
>possible to make building a spice client on osx much easier. Basically, by
>using these instructions, then by building gstreamer using what is
>provided
>by the gtk-osx project, and finally plugging and tweaking the jhbuild
>spice
>module from http://cgit.freedesktop.org/~teuf/spice-gtk/ I wasn't too far
>from getting spice-gtk to build using a native gtk build. There are still
>a
>part of spice-gtk that expects either x11 or windows, so that doesn't work
>yet :)
>I'll try to get all the small tweaks I had to make integrated in whatever
>git they belong to.
>
>Christophe
More information about the Spice-devel
mailing list