<html>
  <head>
    <meta content="text/html; charset=iso-8859-15"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, Fabio!<br>
    <br>
    Your patient interest to this project make me to perform the attempt
    to continue it. Now, I'm trying another way.<br>
    <ol>
      <li>Compile old sources (old weston) with new version of spice and
        wayland - done<br>
      </li>
      <li>Make it work if possible</li>
      <li>Compile with new version of weston (perform merge)</li>
      <li>Perform refactoring of code</li>
      <li>Make TODO list</li>
    </ol>
    <p>As I see, you already done part of 3rd step, I will see it a bit
      later when I rember what is going on in the project.<br>
      I still have extremely limited amount of time - only a couple of
      evening per week. But I'll try to support you as much as possible.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 02/28/2016 03:36 PM, Fabio Fantoni
      wrote:<br>
    </div>
    <blockquote cite="mid:56D3060A.6070105@m2r.biz" type="cite"> <br>
      <br>
      Il 27/02/2016 19:02, Fabio Fantoni ha scritto: <br>
      <blockquote type="cite">Hi, long time ago I saw an interesting
        project for weston, the spice compositor: <br>
        <a class="moz-txt-link-freetext"
          href="https://github.com/ein-shved/compositor-spice">https://github.com/ein-shved/compositor-spice</a>
        <br>
        It is now abandoned because the developer has been involved in
        another project. <br>
        As no other has continued it, despite my low knowledge and time
        I would try to update, test and possibly improve it. <br>
        I did a new branch with only 2 commit on top of latest upstream
        commit: <br>
        <a class="moz-txt-link-freetext"
          href="https://github.com/Fantu/compositor-spice/commits/test">https://github.com/Fantu/compositor-spice/commits/test</a>
        <br>
        and I tried to do a fast rebase on latest upstream commit (1.10)
        instead of master (development branch) for decrease the risk
        regression on first build/use tests: <br>
        <a class="moz-txt-link-freetext"
href="https://github.com/Fantu/compositor-spice/commits/rebase/spice-1.10">https://github.com/Fantu/compositor-spice/commits/rebase/spice-1.10</a>
        <br>
        <br>
        Solving conflict about configure and makefile parts I have some
        doubts (as also reported in the description of each commit): <br>
        About first commit (Add Spice compositor)
        <a class="moz-txt-link-freetext"
href="https://github.com/Fantu/compositor-spice/commit/f589ab264e80d43fa0853770481b6ddcadf5505b">https://github.com/Fantu/compositor-spice/commit/f589ab264e80d43fa0853770481b6ddcadf5505b</a><br>
        - in configure.ac some changes seems strange, including LIBS and
        CFLAGS that seems "double" <br>
        - Makefile things seems fully changed, tried to adapt them and
        removed src/spice/Makefile.am but I'm not sure if I did it
        correct. <br>
        About the second commit (Monitor renderer)
        <a class="moz-txt-link-freetext"
href="https://github.com/Fantu/compositor-spice/commit/2632b8b8067e46ac69b5ad1bc2164d90ced5e19f">https://github.com/Fantu/compositor-spice/commit/2632b8b8067e46ac69b5ad1bc2164d90ced5e19f</a><br>
        - Makefile things seems fully changed, tried to adapt them but
        I'm not sure if I did it correct. <br>
        - Add -g to AM_CPPFLAGS in Makefile.am is really needed? not
        added for now <br>
        - add of "-Wl,--wrap=pixman_renderer_init" to LDFLAGS of many
        other backend is really needed? not added for now, if needed is
        good understand why to add it also to new things added since
        this start commit done 3 years ago <br>
        - src/compositor-rdp.c changes is really needed? if not I'll
        remove them <br>
        <br>
        I also searched documentation about api and/or internal weston
        functions changed any versions but I not found them. <br>
        I suppose that after 3 years many things are changed, can
        someone tell me if there are any docs that can help me to
        found/replace the removed/changed functions please? <br>
        Any other advice that can help me is appreciated. <br>
      </blockquote>
      <br>
      I did fast build tests, I fixed one my mistake in Makefile.am and
      after I had this error: <br>
      <blockquote type="cite">src/spice/weston_basic_event_loop.h:27:31:
        fatal error: weston/compositor.h: No such file or directory <br>
      </blockquote>
      I fixed with this even if I'm not sure it is correct: <br>
      <a class="moz-txt-link-freetext"
href="https://github.com/Fantu/compositor-spice/commit/92f8eeb50e593a489e23b5ddeb38edf0985603f2">https://github.com/Fantu/compositor-spice/commit/92f8eeb50e593a489e23b5ddeb38edf0985603f2</a>
      <br>
      <br>
      Now I had these errors: <br>
      <blockquote type="cite">src/spice/compositor-spice.c: In function
        'spice_output_start_repaint_loop': <br>
        src/spice/compositor-spice.c:66:5: warning: 'start' is
        deprecated [-Wdeprecated-declarations] <br>
             c->worker->start(c->worker); <br>
             ^ <br>
        In file included from /usr/include/spice-server/spice.h:26:0, <br>
                         from src/spice/compositor-spice.c:27: <br>
        /usr/include/spice-server/spice-qxl.h:46:12: note: declared here
        <br>
             void (*start)(QXLWorker *worker) SPICE_GNUC_DEPRECATED; <br>
                    ^ <br>
        src/spice/compositor-spice.c: In function 'on_wakeup': <br>
        src/spice/compositor-spice.c:118:5: warning: 'wakeup' is
        deprecated [-Wdeprecated-declarations] <br>
             c->worker->wakeup(c->worker); <br>
             ^ <br>
        In file included from /usr/include/spice-server/spice.h:26:0, <br>
                         from src/spice/compositor-spice.c:27: <br>
        /usr/include/spice-server/spice-qxl.h:44:12: note: declared here
        <br>
             void (*wakeup)(QXLWorker *worker) SPICE_GNUC_DEPRECATED; <br>
                    ^ <br>
        src/spice/compositor-spice.c:121:48: warning: passing argument 2
        of 'weston_output_finish_frame' makes pointer from integer
        without a cast [-Wint-conversion] <br>
             weston_output_finish_frame (&output->base, msec); <br>
                                                        ^ <br>
        In file included from src/spice/compositor-spice.c:31:0: <br>
        src/spice/../compositor.h:1227:1: note: expected 'const struct
        timespec *' but argument is of type 'uint32_t {aka unsigned
        int}' <br>
         weston_output_finish_frame(struct weston_output *output, <br>
         ^ <br>
        src/spice/compositor-spice.c:121:5: error: too few arguments to
        function 'weston_output_finish_frame' <br>
             weston_output_finish_frame (&output->base, msec); <br>
             ^ <br>
        In file included from src/spice/compositor-spice.c:31:0: <br>
        src/spice/../compositor.h:1227:1: note: declared here <br>
         weston_output_finish_frame(struct weston_output *output, <br>
         ^ <br>
        src/spice/compositor-spice.c: In function 'spice_create_output':
        <br>
        src/spice/compositor-spice.c:172:37: warning: assignment from
        incompatible pointer type [-Wincompatible-pointer-types] <br>
             output->base.repaint            = spice_output_repaint;
        <br>
                                             ^ <br>
        src/spice/compositor-spice.c: In function 'spice_destroy': <br>
        src/spice/compositor-spice.c:262:5: warning: 'stop' is
        deprecated [-Wdeprecated-declarations] <br>
             c->worker->stop (c->worker); <br>
             ^ <br>
        In file included from /usr/include/spice-server/spice.h:26:0, <br>
                         from src/spice/compositor-spice.c:27: <br>
        /usr/include/spice-server/spice-qxl.h:47:12: note: declared here
        <br>
             void (*stop)(QXLWorker *worker) SPICE_GNUC_DEPRECATED; <br>
                    ^ <br>
        src/spice/compositor-spice.c: In function
        'spice_compositor_create': <br>
        src/spice/compositor-spice.c:296:9: warning: implicit
        declaration of function 'weston_compositor_init'
        [-Wimplicit-function-declaration] <br>
             if (weston_compositor_init (&c->base, display, argc,
        argv, config) < 0) <br>
                 ^ <br>
        src/spice/compositor-spice.c:312:12: error: 'struct
        weston_compositor' has no member named 'destroy' <br>
             c->base.destroy = spice_destroy; <br>
                    ^ <br>
        src/spice/compositor-spice.c:313:12: error: 'struct
        weston_compositor' has no member named 'restore' <br>
             c->base.restore = spice_restore; <br>
                    ^ <br>
        src/spice/compositor-spice.c: At top level: <br>
        src/spice/compositor-spice.c:340:1: error: conflicting types for
        'backend_init' <br>
         backend_init( struct wl_display *display, int *argc, char
        *argv[], <br>
         ^ <br>
        In file included from src/spice/compositor-spice.c:31:0: <br>
        src/spice/../compositor.h:1665:1: note: previous declaration of
        'backend_init' was here <br>
         backend_init(struct weston_compositor *c, <br>
         ^ <br>
        src/spice/compositor-spice.c: In function 'backend_init': <br>
        src/spice/compositor-spice.c:357:35: warning: implicit
        declaration of function 'ARRAY_LENGTH'
        [-Wimplicit-function-declaration] <br>
             parse_options (spice_options, ARRAY_LENGTH (spice_options),
        argc, argv); <br>
                                           ^ <br>
        Makefile:4811: recipe for target
        'src/spice/spice_backend_la-compositor-spice.lo' failed <br>
      </blockquote>
      About spice deprecated functions I did a fast search and I found
      spice-gtk api docs: <br>
      <a class="moz-txt-link-freetext"
        href="http://www.spice-space.org/spice-gtk.html">http://www.spice-space.org/spice-gtk.html</a>
      <br>
      but not the spice-server one. <br>
      @Spice developers: can someone tell me where I can found needed
      spice-server api documentation to make update faster and easier as
      possible please? <br>
      <br>
      @Weston developers: can someone tell me where I can found needed
      weston api documentation to make update faster and easier as
      possible please? <br>
      <br>
      <br>
      <br>
      Thanks for any reply and sorry for my bad english. <br>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- Kind Regards, Yury Shvedov </div>
  </body>
</html>