Re: [Spice-devel] Spice-iOS
Ok - thanks for the information - I will check into it. Hi Marc. What do you think Marc? On Jul 8, 2011, at 2:35 AM, Christophe Fergeau wrote: Hi Cliff, On Thu, Jul 07, 2011 at 06:12:07PM -0500, Cliff Sharp wrote: I would like to ask a question to extract a fairly detailed response from those who are most familiar with the spice architecture. What (in some detail) would be needed, as far as architecture and software development, to maybe start with the spice-protocol (i.e. as little as possible) and build a command line spice client to run on a platform? Your best bet might be to look at what spice-glib does, it's part of spice-gtk, but it doesn't have any GUI-related dependency, so it should be pretty light on deps, and it handles most of the low-level protocol interactions with a spice-server. Marc-André might be able to give a more detailed description of what this provides. Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] Spice-iOS
Great suggestion. My plan has been to convert to OpenGL - then spice-ios would have the potential to run on most every platform with decent performance. OS/X runs OpenGL and iOS runs OpenGL ES. I know how to implement OpenGL is such a way that it would be the same code base on both of these platforms and with none to minor changes would run on a lot of other platforms. Who would be a good person to ask to maybe provide some guidance from a spice architectural standpoint? I have spent a lot of hours digging the the current code but without knowing all the tons of libraries very well I feel like I am just spinning my wheels. If I could just get a little help with a starting point, in the code, I could start making some progress. Thanks On Jul 8, 2011, at 5:28 AM, Attila Sukosd wrote: Hi, Wouldn't an idea be to get the OpenGL version (+ glut?) in a usable shape? I would guess transitioning it to OpenGL ES shouldn't be too difficult either for android/ios.. Best Regards, Attila Sukosd - DTU Computing Center - www.cc.dtu.dk att...@cc.dtu.dk, gba...@student.dtu.dk, s070...@student.dtu.dk On Fri, Jul 8, 2011 at 9:35 AM, Christophe Fergeau cferg...@redhat.com wrote: Hi Cliff, On Thu, Jul 07, 2011 at 06:12:07PM -0500, Cliff Sharp wrote: I would like to ask a question to extract a fairly detailed response from those who are most familiar with the spice architecture. What (in some detail) would be needed, as far as architecture and software development, to maybe start with the spice-protocol (i.e. as little as possible) and build a command line spice client to run on a platform? Your best bet might be to look at what spice-glib does, it's part of spice-gtk, but it doesn't have any GUI-related dependency, so it should be pretty light on deps, and it handles most of the low-level protocol interactions with a spice-server. Marc-André might be able to give a more detailed description of what this provides. Christophe ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] Spice-iOS
These are very good points and I really appreciate your input. I will research this over the next couple of days and see if I can make some sense of it. I will again try and decipher the spice-glib part of the spice-gtk project. It would help me quite a bit if you would point me to specific files and or libraries to focus on. Thanks very much On Jul 8, 2011, at 10:47 AM, Christophe Fergeau wrote: On Fri, Jul 08, 2011 at 10:35:54AM -0500, Cliff Sharp wrote: My feeling is that it would be best to totally replace/remove glib and as many unix libraries as makes sense; mainly from performance and cross platform perspectives. I feel that continuing to try and port all these unix based libraries to run on smart devices (even though a number of these smart devices contain custom unix kernels) is way too time consuming and down the road may lead to be counter productive due to the factors I mention below. Also, all these unix libraries, as part of a smart device bundles, require a very large memory footprint. Well, I specifically mentioned glib because it shouldn't have many dependencies, is highly portable/ported, and I don't think most of your arguments apply to it. And I think it the spice-glib code would handle most of hte low-level stuff for you, just leaving you some opengl rendering code to build on top of it (though the existing client in spice/client has optional GL support already). If even glib proves too much, then you'll have to start from scratch (spice-protocol + protocol docs) and reimplement things yourself, which will be much more work. Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] Spice-iOS
This is very helpful. Thanks. On Jul 8, 2011, at 11:37 AM, Christophe Fergeau wrote: On Fri, Jul 08, 2011 at 11:32:02AM -0500, Cliff Sharp wrote: According to the spice-gtk here is a list of the main level build dependent libraries listed on the web site: spice-protocol pygtk2-devel inittool celt051-devel gtk2-devel openssl-devel pulseaudio-devel pixman-devel python I have not been able to create a complete list of all the libraries that these main level libraries are dependent on. My best guess is 30-40 in number; maybe more. This is a lot of libraries. As I mentioned in one of my last emails - I can't find a project for OS/X that has ported these and their dependent libraries. And of course there are none for iOS. spice-glib isn't separated from spice-gtk because there was no need for it, but if you look on a linux system, it builds separate spice-glib and spice-gtk shared libraries. If you focus on only building the spice-glib bits, you'll find that there are far less depencies (in particular, python and gtk2 go away). Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] Spice-iOS
I am trying to figure out the best approach to continue to port spice client to iOS. Performance is a big issue in this effort. I have tried all of the following: * MacPorts to take advantages of the ported libraries. But there are just too many that don't work, mismatched versions, and don't work right. * Fink - the same issues as MacPorts. * spice-gtk. Just seems like too big of a task because of all the dependent libraries - same problem again. * gtk-osx - tons of library issues. I would like to ask a question to extract a fairly detailed response from those who are most familiar with the spice architecture. What (in some detail) would be needed, as far as architecture and software development, to maybe start with the spice-protocol (i.e. as little as possible) and build a command line spice client to run on a platform? Thanks Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] libcacard... Please go away...
I tried your suggestion ... But I am not using MacPorts any longer. I am using gtk-osx. Hi Cliff, I've hit the same problem, it seems like its the problem with introspection in MacPorts. Adding --enable-introspection=no seemed to have solved this issue. I'm hitting another with vala though: make all-recursive Making all in common Making all in win Making all in my_getopt-1.5 make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in gtk make all-recursive Making all in controller make all-am make[5]: *** No rule to make target `menu.c', needed by `menu.lo'. Stop. make[4]: *** [all] Error 2 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Anyone has any ideas on this? Best Regards, Attila Sukosd _ How do you disable libcacard??? I did the following but it did not work... --enable-smartcard=no --without-smartcard ??? _ Have you resolved your issue above yet? ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] No package 'libcacard' found
I can't seem to get past this... Does anybody have any ideas??? Thanks Attempting to build spice-gtk using gtk-osx files: ./autogen.sh --with-audio=gstreamer --without-python --with-coroutine=gthread --with-gtk=2.0 --enable-smartcard=no --enable-vala=no --with-sasl=no --prefix=/Users/gtkosx/gtk/inst --enable-smartcard=nodoes NOT seem to work - ANY IDEAS on how to bypass libcacards??? checking for SMARTCARD... no configure: error: Package requirements (libcacard = 0.1.2) were not met: No package 'libcacard' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SMARTCARD_CFLAGS and SMARTCARD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. I tried building libcacard but I can never get it install without NSS and I can't seem to get NSS to install correctly... ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] Error building Spice-GTK with gtk-osx
I thought I had seen this in a previous email but could not find it. S. When attempting to make spice-gtk against the gtk-osx project after executing: ./autogen.sh --with-audio=gstreamer --without-python --with-coroutine=gthread --with-gtk=2.0 --enable-smartcard=no I get the following error: configure: Spice-Gtk 0.6.111-c275-dirty == prefix: /Users/gtkosx/gtk/inst c compiler: /usr/bin/gcc-4.2 -std=gnu99 Coroutine:gthread Audio:gstreamer Target: Unix SASL support: yes Smartcard support:no Gtk: 2.0 Now type 'make' to build spice-gtk bash-3.2$ make make all-recursive Making all in common Making all in win Making all in my_getopt-1.5 make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in gtk GENspice-marshal.c GENspice-marshal.h GENgenerated_demarshallers.c Wrote generated_demarshallers.c GENgenerated_demarshallers1.c Wrote generated_demarshallers1.c GENgenerated_marshallers.c Wrote generated_marshallers.c GENgenerated_marshallers1.c Wrote generated_marshallers1.c GENspice-glib-enums.c GENspice-glib-enums.h GENspice-widget-enums.c GENspice-widget-enums.h CC spice-audio.lo CC spice-util.lo CC spice-session.lo CC spice-channel.lo CC spice-glib-enums.lo CC spice-marshal.lo CC generated_demarshallers.lo CC generated_demarshallers1.lo CC generated_marshallers.lo CC generated_marshallers1.lo CC gio-coroutine.lo CC channel-base.lo CC channel-cursor.lo CC channel-display.lo CC channel-display-mjpeg.lo CC channel-inputs.lo CC channel-main.lo CC channel-playback.lo CC channel-record.lo CC decode-glz.lo CC decode-jpeg.lo CC decode-zlib.lo CC mem.lo CC marshaller.lo CC canvas_utils.lo CC sw_canvas.lo CC pixman_utils.lo CC lines.lo CC rop3.lo CC quic.lo CC lz.lo CC region.lo CC ssl_verify.lo CC spice-gstaudio.lo CC coroutine_gthread.lo CCLD libspice-client-glib-2.0.la warning: no debug symbols in executable (-arch i386) GISCAN SpiceClientGLib-2.0.gir g-ir-scanner: SpiceClientGLib: warning: 12 warnings suppressed (use --warn-all to see them) CC spice-widget.lo CC spice-widget-enums.lo CC vncdisplaykeymap.lo CC spice-grabsequence.lo CC spice-widget-cairo.lo CCLD libspice-client-gtk-2.0.la warning: no debug symbols in executable (-arch i386) GISCAN SpiceClientGtk-2.0.gir Couldn't find include 'Gtk-2.0.gir' (search path: ['.', '/Users/gtkosx/gtk/inst/share/gir-1.0', '/Users/gtkosx/gtk/inst/share/gir-1.0', '/usr/share/gir-1.0', '/Users/gtkosx/gtk/inst/share/gir-1.0']) make[2]: *** [SpiceClientGtk-2.0.gir] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Can anyone provide some insight. Thanks ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] spice-gtk build error - no debug symbols in executable
I thought I had seen this in a previous email but could not find it. S. When attempting to make spice-gtk against the gtk-osx project after executing: ./autogen.sh --with-audio=gstreamer --without-python --with-coroutine=gthread --with-gtk=2.0 --enable-smartcard=no I get the following error: configure: Spice-Gtk 0.6.111-c275-dirty == prefix: /Users/gtkosx/gtk/inst c compiler: /usr/bin/gcc-4.2 -std=gnu99 Coroutine:gthread Audio:gstreamer Target: Unix SASL support: yes Smartcard support:no Gtk: 2.0 Now type 'make' to build spice-gtk bash-3.2$ make make all-recursive Making all in common Making all in win Making all in my_getopt-1.5 make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in gtk GENspice-marshal.c GENspice-marshal.h GENgenerated_demarshallers.c Wrote generated_demarshallers.c GENgenerated_demarshallers1.c Wrote generated_demarshallers1.c GENgenerated_marshallers.c Wrote generated_marshallers.c GENgenerated_marshallers1.c Wrote generated_marshallers1.c GENspice-glib-enums.c GENspice-glib-enums.h GENspice-widget-enums.c GENspice-widget-enums.h CC spice-audio.lo CC spice-util.lo CC spice-session.lo CC spice-channel.lo CC spice-glib-enums.lo CC spice-marshal.lo CC generated_demarshallers.lo CC generated_demarshallers1.lo CC generated_marshallers.lo CC generated_marshallers1.lo CC gio-coroutine.lo CC channel-base.lo CC channel-cursor.lo CC channel-display.lo CC channel-display-mjpeg.lo CC channel-inputs.lo CC channel-main.lo CC channel-playback.lo CC channel-record.lo CC decode-glz.lo CC decode-jpeg.lo CC decode-zlib.lo CC mem.lo CC marshaller.lo CC canvas_utils.lo CC sw_canvas.lo CC pixman_utils.lo CC lines.lo CC rop3.lo CC quic.lo CC lz.lo CC region.lo CC ssl_verify.lo CC spice-gstaudio.lo CC coroutine_gthread.lo CCLD libspice-client-glib-2.0.la warning: no debug symbols in executable (-arch i386) GISCAN SpiceClientGLib-2.0.gir g-ir-scanner: SpiceClientGLib: warning: 12 warnings suppressed (use --warn-all to see them) CC spice-widget.lo CC spice-widget-enums.lo CC vncdisplaykeymap.lo CC spice-grabsequence.lo CC spice-widget-cairo.lo CCLD libspice-client-gtk-2.0.la warning: no debug symbols in executable (-arch i386) GISCAN SpiceClientGtk-2.0.gir Couldn't find include 'Gtk-2.0.gir' (search path: ['.', '/Users/gtkosx/gtk/inst/share/gir-1.0', '/Users/gtkosx/gtk/inst/share/gir-1.0', '/usr/share/gir-1.0', '/Users/gtkosx/gtk/inst/share/gir-1.0']) make[2]: *** [SpiceClientGtk-2.0.gir] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Can anyone provide some insight. Thanks ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] gstreamer on Mac
I am in the process of porting spice-gtk-0.5 to iOS. On OS/X I am attempting to build gstreamer. I am getting the same errors even when I use MacPorts to install gstreamer. I could use some help debugging this Thanks __ Configuration Version: 0.10.34 Source code location : . Prefix : /opt/local Compiler : gcc -std=gnu99 Package name : GStreamer source release Package origin : Unknown package origin Documentation (manuals): no Documentation (API): no Debug Logging : yes Pipeline XML load/save : yes Command-line parser: yes Option parsing in gst_init : yes Tracing subsystem : yes Allocation tracing : yes Plugin registry: yes Plugin support : yes Network support: yes Unit testing support : yes Debug : yes Profiling : no Building examples : yes Building test apps : yes Building tests that fail : no csharpOSX:gstreamer-0.10.34 csharp$ make make all-recursive Making all in pkgconfig CP gstreamer-0.10.pc CP gstreamer-base-0.10.pc CP gstreamer-check-0.10.pc CP gstreamer-controller-0.10.pc CP gstreamer-dataprotocol-0.10.pc CP gstreamer-net-0.10.pc CP gstreamer-0.10-uninstalled.pc CP gstreamer-base-0.10-uninstalled.pc CP gstreamer-check-0.10-uninstalled.pc CP gstreamer-controller-0.10-uninstalled.pc CP gstreamer-dataprotocol-0.10-uninstalled.pc CP gstreamer-net-0.10-uninstalled.pc Making all in gst GENgstenumtypes.h GENgstmarshal.h GENgstenumtypes.c GENgstmarshal.c make all-recursive Making all in parse GENlex._gst_parse_yy.c CC libgstparse_la-lex._gst_parse_yy.lo lex._gst_parse_yy.c:2169: warning: no previous prototype for '_gst_parse_yyget_column' lex._gst_parse_yy.c:2245: warning: no previous prototype for '_gst_parse_yyset_column' GENgrammar.tab.c ./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce CC libgstparse_la-grammar.tab.lo CCLD libgstparse.la CC libgstreamer_0.10_la-gst.lo CC libgstreamer_0.10_la-gstobject.lo CC libgstreamer_0.10_la-gstbin.lo CC libgstreamer_0.10_la-gstbuffer.lo CC libgstreamer_0.10_la-gstbufferlist.lo CC libgstreamer_0.10_la-gstbus.lo CC libgstreamer_0.10_la-gstcaps.lo CC libgstreamer_0.10_la-gstchildproxy.lo CC libgstreamer_0.10_la-gstclock.lo CC libgstreamer_0.10_la-gstdatetime.lo CC libgstreamer_0.10_la-gstdebugutils.lo CC libgstreamer_0.10_la-gstelement.lo CC libgstreamer_0.10_la-gstelementfactory.lo gstelementfactory.c: In function 'gst_element_factory_create': gstelementfactory.c:397: error: size of array 'Compile_Time_Assertion' is negative gstelementfactory.c:397: error: void value not ignored as it ought to be gstelementfactory.c:397: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap' make[4]: *** [libgstreamer_0.10_la-gstelementfactory.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] gstreamer on Mac
I don't have it available anywhere on the Internet right now. I tried downloading the latest gstreamer source code. When I build it I get the same error as the one with MacPorts. I will try and build older versions of glib and gstreamer to see if I can get past these errors. On Jun 14, 2011, at 1:28 PM, Christophe Fergeau wrote: On Tue, Jun 14, 2011 at 11:31:09AM -0500, Cliff Sharp wrote: I am in the process of porting spice-gtk-0.5 to iOS. Ah, great news :) Is there code available somewhere to keep track of what's happening? gstelementfactory.c: In function 'gst_element_factory_create': gstelementfactory.c:397: error: size of array 'Compile_Time_Assertion' is negative gstelementfactory.c:397: error: void value not ignored as it ought to be gstelementfactory.c:397: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap' make[4]: *** [libgstreamer_0.10_la-gstelementfactory.lo] Error 1 This is a known issue with recent glib and latest gstreamer release, using gstreamer git or an older glib release should help. Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] OSX spice-gtk and pyparsing
How about a spice-opengl? On May 8, 2011, at 6:48 AM, Mosebach Kai wrote: I think having a xcode project would be quite nice. Furthermore a cocoa client completely based on spice-client-glib would be the better option compared to (native) gtk imho. I guess having a look at the Cord project (http://cord.sourceforge.net/) might be a good start (they ported freeRDP into a really nice cocoa app). Cheers Kai PS : The spice-gtk-0.6 builds nearly without any hacks on osx. I will try to provide a patch for the Makefile in ./gtk soon (regarding the sym-file issue)... On 5/4/11 10:41 AM, Christophe Fergeau cferg...@redhat.com wrote: On Tue, May 03, 2011 at 05:32:12PM -0500, Cliff Sharp wrote: So, now I use the X11 environment that comes with osx when I actually run spiced and/or spicy. But I feel you are correct in saying that it is better to use the X11 system that comes with osx. I was just attempting to notify others of these issues in hopes that it might help them to save some time. Ah ok, thanks for that, I thought you wanted to fix things on the macports X side :) Since spice-gtk-x11 on osx isn't that interesting to me (I'd rather have a more native port using gtk-osx), if it works with Apple X11, I'd leave it at that :) Do you feel it is worth the time to build an Xcode project for building spicec and spice-gtk to distribute? The visual debugger is sure nice in Xcode. I wouldn't spend too much time on an Xcode project for spicec. It might be useful for spice-gtk, but it might be too early for that. In my opinion, what would be really nice is * a working spice-gtk using gtk-osx (spice-gtk currently has X11/windows specific bits that needs to be ported) * when we have that, having some kind of bundle that people can install to use in xcode would be great (I think the gtk-osx project has some tools to help in doing that) * longer term, a cocoa spice client (probably using spice-client-glib for the low-level spice stuff) would be even better (I assume this would ease iOS porting) Christophe ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] Fwd: OSX spice-gtk and pyparsing
OK - this sounds very good. If you can think of any more or more specifics just let me know. On May 4, 2011, at 3:41 AM, Christophe Fergeau wrote: On Tue, May 03, 2011 at 05:32:12PM -0500, Cliff Sharp wrote: So, now I use the X11 environment that comes with osx when I actually run spiced and/or spicy. But I feel you are correct in saying that it is better to use the X11 system that comes with osx. I was just attempting to notify others of these issues in hopes that it might help them to save some time. Ah ok, thanks for that, I thought you wanted to fix things on the macports X side :) Since spice-gtk-x11 on osx isn't that interesting to me (I'd rather have a more native port using gtk-osx), if it works with Apple X11, I'd leave it at that :) Do you feel it is worth the time to build an Xcode project for building spicec and spice-gtk to distribute? The visual debugger is sure nice in Xcode. I wouldn't spend too much time on an Xcode project for spicec. It might be useful for spice-gtk, but it might be too early for that. In my opinion, what would be really nice is * a working spice-gtk using gtk-osx (spice-gtk currently has X11/windows specific bits that needs to be ported) * when we have that, having some kind of bundle that people can install to use in xcode would be great (I think the gtk-osx project has some tools to help in doing that) * longer term, a cocoa spice client (probably using spice-client-glib for the low-level spice stuff) would be even better (I assume this would ease iOS porting) Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] Fwd: OSX spice-gtk and pyparsing
I have not resolved these issues from below with MacPorts x11 or Xquartz. I am still getting these errors in the /var/log/system.log file when trying to run any x application. But, I was able to work around these problems. I used launchctl -w to disable macports x11 and xquartz entries. This allows me, when running x applications (i.e. xhost, spicec, and spicy), to actually run successfully using the default osx x11 installation. If anyone has a suggestion as to what is causing these errors listed below I would be forever grateful. Thanks Begin forwarded message: From: Cliff Sharp csh...@vbridges.com Date: May 2, 2011 4:53:40 PM CDT To: Kai Mosebach sp...@komadev.de Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing Sorry - this is the Xquartz version of xhost + May 2 16:52:02 csharpOSX sudo[10362]: csharp : TTY=ttys001 ; PWD=/opt/X11/bin ; USER=root ; COMMAND=./xhost + May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: lockfile: Forcing lock on /var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock May 2 16:52:06 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Scanning system font directories to generate X11 font caches May 2 16:52:06 csharpOSX defaults[10386]: \nThe domain/default pair of (org.macosforge.xquartz.X11, dpi) does not exist May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: xauth: file /Users/csharp/.serverauth.10366 does not exist May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11 May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: Xquartz: Unable to find application for org.macosforge.xquartz.X11 May 2 16:52:07 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Updating FC cache May 2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: giving up May 2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: unable to connect to X server: Connection refused May 2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: server error May 2 16:52:08 csharpOSX com.apple.launchd.peruser.501[154] (org.macosforge.xquartz.startx[10366]): Exited with exit code: 1 May 2 16:52:08 csharpOSX com.apple.launchd.peruser.501[154] (org.macosforge.xquartz.startx): Throttling respawn: Will start in 8 seconds May 2 16:52:09 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Done ^ On May 2, 2011, at 2:39 PM, Kai Mosebach wrote: That looks more like an X error to me… Try getting the latest X11 from http://xquartz.macosforge.org/ Cheers Kai From: Cliff Sharp csh...@vbridges.com Date: Mon, 2 May 2011 14:35:12 -0500 To: Kai Mosebach sp...@komadev.de Cc: Attila Sukosd attila.suk...@gmail.com, Christophe Fergeau cferg...@redhat.com Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing I remember that you were having trouble with that. As soon as I can get X server working again. Right now I cannot run xhost + or spicy due to the errors mentioned below. Some new stuff: May 2 14:01:20 csharpOSX org.macports.privileged_startx[233]: font_cache: Done May 2 14:01:20 csharpOSX org.macports.startx[376]: xinit: giving up May 2 14:01:20 csharpOSX org.macports.startx[376]: xinit: unable to connect to X server: Connection refused May 2 14:01:20 csharpOSX org.macports.startx[376]: xinit: server error May 2 14:01:20 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx[376]): Exited with exit code: 1 May 2 14:01:20 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx): Throttling respawn: Will start in 8 seconds May 2 14:01:28 csharpOSX org.macports.startx[444]: lockfile: Sorry, giving up on /var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock May 2 14:01:28 csharpOSX org.macports.startx[444]: font_cache is already running. May 2 14:01:28 csharpOSX org.macports.startx[444]: If you believe this to be erroneous, please remove /var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock. May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: lockfile: Try praying, giving up on /opt/local/var/run/font_cache.lock May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: font_cache: Scanning system font directories to generate X11 font caches May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: opendir: No such file or directory May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: find: /opt/local/share/fonts/*: No such file or directory May 2 14:01:28 csharpOSX defaults[465]: \nThe domain/default pair of (org.macports.X11, dpi) does not exist May 2 14:01:28 csharpOSX org.macports.startx[444]: xauth: file /Users/csharp/.serverauth.444 does not exist May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: font_cache: Updating FC cache
Re: [Spice-devel] Fwd: OSX spice-gtk and pyparsing
I agree totally. What I am doing is using MacPorts to download all the software ports, that are available for osx, to use to build spicec and spice-gtk successfully - including xorg. BTW - there is only one package that is not in MacPorts in order to build spice-gtk and that is celt051. I was attempting to use the MacPorts version of X to run spicec and spicy. BUT, I could not get the MacPorts version of X11 to work properly as per my last email. Then I downloaded Xquartz's environment, to checkout the difference, but I could not get that to work either with very similar errors. There is probably something simple I am not doing to get them to work. But I can't spend any more time on them right now. So, now I use the X11 environment that comes with osx when I actually run spiced and/or spicy. But I feel you are correct in saying that it is better to use the X11 system that comes with osx. I was just attempting to notify others of these issues in hopes that it might help them to save some time. Do you feel it is worth the time to build an Xcode project for building spicec and spice-gtk to distribute? The visual debugger is sure nice in Xcode. Everyone on this forum is so very helpful. It is great. On May 3, 2011, at 3:39 PM, Christophe Fergeau wrote: On Tue, May 03, 2011 at 03:34:07PM -0500, Cliff Sharp wrote: I have not resolved these issues from below with MacPorts x11 or Xquartz. I am still getting these errors in the /var/log/system.log file when trying to run any x application. But, I was able to work around these problems. I used launchctl -w to disable macports x11 and xquartz entries. This allows me, when running x applications (i.e. xhost, spicec, and spicy), to actually run successfully using the default osx x11 installation. Drop the macports x11/xquartz then? I don't know what you want to do :) Using Apple's X11 seems like the better way to go here anyway. Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] spicec and spice-gtk
There are companies that only use spicec that don't want to make changes right now. On Fri, 2011-04-29 at 10:54 +0200, Christophe Fergeau wrote: On Thu, Apr 28, 2011 at 03:57:50PM -0500, Cliff Sharp wrote: I have spice-gtk built and running on OSX. It has some issues but it does connect. I am in the process of testing this now. I am trying to build the spice cient spicec (spice-0.8.1) on OSX. What's missing in spice-gtk that makes you want to build spicec? I'd recommend sticking with the more cross-platform alternative :) Christophe -- Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] spicec and spice-gtk
I never said that spice-gtk is bad for me. There are companies that need and use spicec. On Fri, 2011-04-29 at 14:06 +0200, Christophe Fergeau wrote: On Fri, Apr 29, 2011 at 07:49:14AM -0400, Cliff Sharp wrote: There are companies that only use spicec that don't want to make changes right now. Not on OSX, do they? I'm really not understanding why using spice-gtk seems to be so bad for you :( Christophe -- Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] spicec and spice-gtk
Good question... Here are some recommendations -- There are a number of companies that interface to spicec programmatically. These companies right now do a fork exec or whatever to run spicec from within their software products. There are a number of reasons why they do not implement the spice protocol within their products and why they don't include the spicec software as part of their code base for their projects. So, firstly I feel we should support command line with spice-gtk so these people can switch over quickly. Then I recommend that we create a library/framework/API so that companies can use spice much easier programmatically. What do you think? On Apr 29, 2011, at 7:39 AM, Christophe Fergeau wrote: On Fri, Apr 29, 2011 at 07:22:12AM -0500, Cliff Sharp wrote: I never said that spice-gtk is bad for me. There are companies that need and use spicec. Once again, why do they *need* it as opposed to they need a spice client, they don't really care if it's C, python, raw X, Qt, ... Saying these (hypothetical so far) companies that on OSX they won't get spicec but spice-gtk or whatever we come up with would be a deal breaker? If so, again, why? Christophe Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] spicec and spice-gtk
This is great - thank you On Apr 29, 2011, at 10:01 AM, Marc-André Lureau wrote: Hi, - Original Message - There are a number of companies that interface to spicec programmatically. These companies right now do a fork exec or whatever to run spicec from within their software products. There are a number of reasons why they do not implement the spice protocol within their products and why they don't include the spicec software as part of their code base for their projects. So, firstly I feel we should support command line with spice-gtk so these people can switch over quickly. We have an option group, even provided as part of the spice-client-glib API, and usable from spicy: $ spicy --help-spice Usage: spicy [OPTION...] - spice client application A Gtk client to connect to Spice servers. Spice Options: --uri=uri Spice server uri -h, --host=host Spice server address -p, --port=port Spice server port -s, --secure-port=port Spice server secure port --ca-file=file Truststore file for secure connections -w, --password=password Server password --host-subject=host-subject Subject of the host certificate (field=value pairs separated by commas) Report bugs to spice-devel@lists.freedesktop.org. Then I recommend that we create a library/framework/API so that companies can use spice much easier programmatically. Spice-Gtk has a complete API. It allows to create complete clients without GTK using spice-client-glib. See reference documentation: http://fedorapeople.org/~elmarco/spice-gtk/ regards -- Marc-André Lureau Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] OSX spice-gtk and pyparsing
When building spice-gtk after loading tons of MacPorts dependencies -- I was getting the following error. make all-recursive Making all in common Making all in win Making all in my_getopt-1.5 make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in gtk GENspice-marshal.c GENspice-marshal.h GENgenerated_demarshallers.c Traceback (most recent call last): File ../spice_codegen.py, line 7, in module from python_modules import spice_parser File /Users/csharp/src/spice-gtk/spice-gtk-0.5/python_modules/spice_parser.py, line 1, in module from pyparsing import Literal, CaselessLiteral, Word, OneOrMore, ZeroOrMore, \ ImportError: No module named pyparsing make[2]: *** [generated_demarshallers.c] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I could not find pyparsing in MacPorts via the port list command. I did find and load py-parsing @1.5.1 python/py-parsing py25-parsing @1.5.1 python/py25-parsing py26-parsing @1.5.2 python/py26-parsing py27-parsing @1.5.5 python/py27-parsing But none of these resolved the issue. So I downloaded pyparsing-1.5.5.tar.gz from http://distfiles.macports.org/python/ and installed it via python setup.py install which resolved the issue. Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] OSX spice-gtk and pyparsing
The wonderful news is that spice-gtk is built and running OSX. AND I have a spice server running on a server and waiting on a connection. A connection is actually made: SERVER --- Apr-27 16:48:11 1-I added listener socket 3 Apr-27 16:48:21 1-I Accepted a SPICE connection Apr-27 16:48:21 1-I Will add a pair 4 (wrapper) -- 5 (verdempcd) with 8 bytes Apr-27 16:48:21 1-I socket 5 disconnected The bad news is the connection is dropped almost immediately... CLIENT --- Xlib: extension RANDR missing on display /tmp/launch-f4Kdn5/org.x:0. (this is at startup time) (spicy:90230): GSpice-CRITICAL **: incomplete link header (0/16) GSpice-Message: main channel: failed to connect We are making progress... On Apr 27, 2011, at 1:05 PM, Mosebach Kai wrote: With a valid OSX audio sink in gstreamer, as soon as I play sound I run into : GSpice-Message: main channel: opened GSpice-Message: create window (#0) (spicy:24949): GSpice-WARNING **: (channel-main.c:889):_channel_new: runtime check failed: (channel != NULL) Segmentation fault How can I enable debugging? Gdb's backtrace is pretty useless... Are there any other logging sources / flags? On 4/27/11 7:47 PM, Kai Mosebach sp...@komadev.de wrote: On Wed, Apr 27, 2011 at 06:36:24PM +0200, Kai Mosebach wrote: and why the bandwidth increases by ~70% compared to the spicec.exe from windows? The bandwidth thing is just a result of using a different client? that is very bizzarre, since it's all server-client and there is no negotiation that could affect the compression scheme. Its a different client (spicec.exe 0.8.0 (windows) vs. spice-gtk-0.5 (OSX) Sound wise - is gstreamer working standalone (gst-launch audiotestsrc ! autoaudiosink, should hear a pure tone)? that's what spice-gtk should be using I think. To get a valid audiosink for OSX one has to install the macport gst-plugins-good Now it segfaults though :-( im looking into it. ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] Spice on OS/X
Great suggestion. I have been looking into spice-gtk because it does seem like it would be much less work. Thanks. On Apr 26, 2011, at 3:01 AM, Attila Sukosd wrote: Hi, This might be a stupid question, but why don't you try to use spice-gtk on OS/X instead of spicec ? It has everything needed, such as gtk2/gtk3 and gstreamer for audio, all cross platform. Rgrds, Attila On Mon, Apr 25, 2011 at 11:34 PM, Cliff Sharp csh...@vbridges.com wrote: When trying to port the alsa-lib to OS/X while porting Spice to OS/X I am having some difficulties resolving issues with alsa-lib. I am using alsa-lib-1.0.24.1 After doing a ./configure - I have also tried ./configure --enable-shared=no --enable-static=yes Either way I get the following error in the middle --- ./configure: line 18735: CC_NOUNDEFINED: command not found ___ And then the end of the ./configure looks like this --- configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/pictures/Makefile config.status: creating doc/doxygen.cfg config.status: creating include/Makefile config.status: creating include/sound/Makefile config.status: creating src/Versions config.status: creating src/Makefile config.status: creating src/control/Makefile config.status: creating src/mixer/Makefile config.status: creating src/pcm/Makefile config.status: creating src/pcm/scopes/Makefile config.status: creating src/rawmidi/Makefile config.status: creating src/timer/Makefile config.status: creating src/hwdep/Makefile config.status: creating src/seq/Makefile config.status: creating src/ucm/Makefile config.status: creating src/compat/Makefile config.status: creating src/alisp/Makefile config.status: creating src/conf/Makefile config.status: creating src/conf/cards/Makefile config.status: creating src/conf/pcm/Makefile config.status: creating modules/Makefile config.status: creating modules/mixer/Makefile config.status: creating modules/mixer/simple/Makefile config.status: creating alsalisp/Makefile config.status: creating aserver/Makefile config.status: creating test/Makefile config.status: creating test/lsb/Makefile config.status: creating utils/Makefile config.status: creating utils/alsa-lib.spec config.status: creating utils/alsa.pc config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands Creating asoundlib.h... Does this look like the ./configure completed successfully??? __ Then as a result of the make I get the following --- Making all in doc Making all in pictures make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. Making all in include make all-recursive Making all in sound make[3]: Nothing to be done for `all'. Making all in src Making all in control CC cards.lo CC tlv.lo CC namehint.lo CC hcontrol.lo CC control.lo /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6097:Expected comma after segment-name /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6101:Expected comma after segment-name /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6101:Rest of line ignored. 1st junk character valued 32 ( ). /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6593:Unknown pseudo-op: .symver /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6593:Rest of line ignored. 1st junk character valued 95 (_). /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6637:Unknown pseudo-op: .symver /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6637:Rest of line ignored. 1st junk character valued 95 (_). make[2]: *** [control.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 I haven't been able to quite figure out what is going with the make errors. I would appreciate it if someone would be able to give me some hints. Thanks ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] Building celt-0.5.1.3 on OSX - Undefined symbols for architecture x86_64
Thanks for your response. I am able to get around the undefined symbols issues by editing the main celt-0.1.5.3 Makefile after the .configure and removing tests from SUBDIRS and the DIST-SUBDIRS variables. I would like to try your following suggestion next. But I don't quite understand. Below is a copy of my tests/Makefile.am Can you try adding ectest_LDADD = $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la to tests/Makefile.am, and regenerate the autofoo (running autoreconf -fi and then configure is generally enough). Similar errors might happen for other test files, in which case you'll want to try a similar fix, just changing the ectest prefix. _ tests/Makefile.am INCLUDES = -I$(top_srcdir)/libcelt METASOURCES = AUTO TESTS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test noinst_PROGRAMS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test type_test_SOURCES = type-test.c ectest_SOURCES = ectest.c cwrs32_test_SOURCES = cwrs32-test.c real_fft_test_SOURCES = real-fft-test.c dft_test_SOURCES = dft-test.c laplace_test_SOURCES = laplace-test.c mdct_test_SOURCES = mdct-test.c #rotation_test_SOURCES = rotation-test.c mathops_test_SOURCES = mathops-test.c ___ And BTW - this has been very helpful. On Apr 11, 2011, at 3:15 AM, Christophe Fergeau wrote: On Mon, Apr 11, 2011 at 09:57:24AM +0200, Attila Sukosd wrote: I've also got similar errors during the test, but seemed to work fine regardless... (Of course its not very optimal) I indeed forgot to mention that since the error happens in the tests/ directory, one can just ignore it (for example by editing the main Makefile by hand and remove the tests/ subdirectory from it). Christophe inline: PastedGraphic-2.tiff ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] OS/X and iPad Port
Is anyone working on or have completed a port of SPICE to OS/X or iPad? Thanks Cliff Sharp | csh...@vbridges.com ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] OS/X and/or iPad Port
Is anyone planning or know of anyone porting SPICE to OS/ X and/or iPad? Thanks inline: PastedGraphic-2.tiff ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel