<div dir="ltr">Hi,<div> Weston doesn't compile with this patchset - some source files in clients directory still use old or removed headers.</div><div>I had to replace xdg-shell-server-protocol.h in desktop-shell/shell.c with xdg-shell-unstable-v5-server-protocol.h and disable clients compilation in order to be able to compile weston.</div><div>If that's not an issue:</div><div><br></div><div>Reviewed-by: Mariusz Ceier <<a href="mailto:mceier%2Bwayland@gmail.com">mceier+wayland@gmail.com</a>></div><div><br></div><div>Mariusz Ceier</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 November 2015 at 09:49, Jonas Ådahl <span dir="ltr"><<a href="mailto:jadahl@gmail.com" target="_blank">jadahl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
This series changes weston to depend on wayland-protocols for the<br>
majority of the protocols previously in the protocols/ directory. The<br>
protocols moved are also renamed to comply with the unstable naming<br>
conventions of wayland-protocols, with the exception of xdg_shell which<br>
will use the current name until the next version.<br>
<br>
I'd appreciate if maintainers of given protocols could at least Ack the<br>
patch changing their protocol implementation, as a semi formal stamp of<br>
approval of the name change.<br>
<br>
Other than that, the workspaces protocol is removed, mostly because it<br>
wasn't a significant enough proof of concept needed for any particular<br>
feature. text-cursor-position.xml however I have left intact, because<br>
without it the zoom accessibility feature proof of concept becomes<br>
a bit too useless. I'd prefer to prefix it with something like toy_ or<br>
weston_, but would like to hear input on this one. Given that it is<br>
completely undocumented it is quite far from a real attempt, but it<br>
seems like something that will be needed sooner or later for<br>
accessibility reasons, so not sure what to do with it right now.<br>
<br>
Things that seemed more weston specific was weston_ prefixed. The<br>
screenshooter protocol and the desktop shell protocol fell into this<br>
category.<br>
<br>
Another protocol left to migrate is scalar.xml. I didn't do this yet<br>
because Pekka had plans on renaming it, and I'll simply wait until he<br>
has a name for it before migrating anything.<br>
<br>
Other than that, the wayland-protocols have shaped up some, with the<br>
pointer gestures protocol as well as the protocols of this series<br>
migrated there. I wouldn't mind if people went and had a look to see if<br>
there are any opinions of how things should work before we make an<br>
initial release. The procedures and some details are explained in the<br>
README file in the toplevel directory.<br>
<br>
One current inconvenience that would be nice with some opinions is what<br>
to do with unstable protocol files after a protocol has been declared<br>
stable. Currently specified to work by having one directory containing<br>
the stable XML file together with a README in the stable/ toplevel<br>
directory, and yet another directory containing the unstable protocol<br>
files together with a README in the unstable/ directory. This seems a bit<br>
backward to me. Deprecating a protocol by moving it into deprecated/<br>
would still require us to have the protocol in the stable/ and probably<br>
even in the unstable/ directory. This all is a bit awkward to me. One<br>
idea is restructure the tree a bit and put protocols in the directory of<br>
the current state (stable/unstable/obsolete) and then keep the old XML<br>
files in subdirectories in there, having the Makefile deal with<br>
installing XML files appropriately in the corresponding<br>
stable/unstable/obsolete directories. Or we could have all protocols in<br>
the toplevel directory and always have the corresponding XML files in<br>
stable/unstable/obsolete subdirectories and just installing that. Any<br>
opinions about this?<br>
<br>
<br>
Jonas<br>
<br>
<br>
Jonas Ådahl (10):<br>
Use fullscreen-shell.xml from wayland-protocols<br>
Use linux-dmabuf protocol from wayland-protocols<br>
Use presentation timing protocol from wayland-protocols<br>
Use text input protocol from wayland-protocols<br>
Use input method protocol from wayland-protocols<br>
Makefile.am: Make the external xml scanning rule version generic<br>
Use xdg_shell protocol from wayland-protocols<br>
desktop-shell: Rename protocol weston_desktop_shell<br>
Rename screenshooter protocol to weston_screenshooter<br>
Remove workspaces protocol<br>
<br>
Makefile.am | 194 ++++++------<br>
clients/desktop-shell.c | 79 ++---<br>
clients/editor.c | 119 +++----<br>
clients/fullscreen.c | 60 ++--<br>
clients/keyboard.c | 186 +++++------<br>
clients/presentation-shm.c | 65 ++--<br>
clients/screenshot.c | 21 +-<br>
clients/simple-damage.c | 18 +-<br>
clients/simple-dmabuf.c | 74 ++---<br>
clients/simple-shm.c | 18 +-<br>
clients/weston-info.c | 19 +-<br>
clients/weston-simple-im.c | 122 +++----<br>
clients/window.c | 57 +---<br>
<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 7 +<br>
desktop-shell/input-panel.c | 14 +-<br>
desktop-shell/shell.c | 183 +++--------<br>
desktop-shell/shell.h | 4 +-<br>
fullscreen-shell/fullscreen-shell.c | 54 ++--<br>
ivi-shell/input-panel-ivi.c | 12 +-<br>
protocol/desktop-shell.xml | 138 --------<br>
protocol/fullscreen-shell.xml | 206 ------------<br>
protocol/input-method.xml | 291 -----------------<br>
protocol/linux-dmabuf.xml | 274 ----------------<br>
protocol/presentation_timing.xml | 274 ----------------<br>
protocol/screenshooter.xml | 12 -<br>
protocol/text.xml | 374 ----------------------<br>
protocol/weston-desktop-shell.xml | 134 ++++++++<br>
protocol/weston-screenshooter.xml | 12 +<br>
protocol/workspaces.xml | 27 --<br>
protocol/xdg-shell.xml | 616 ------------------------------------<br>
src/compositor-drm.c | 14 +-<br>
src/compositor-fbdev.c | 2 +-<br>
src/compositor-headless.c | 2 +-<br>
src/compositor-rpi.c | 6 +-<br>
src/compositor-wayland.c | 50 +--<br>
src/compositor-x11.c | 2 +-<br>
src/compositor.c | 29 +-<br>
src/gl-renderer.c | 6 +-<br>
src/linux-dmabuf.c | 40 +--<br>
src/screen-share.c | 34 +-<br>
src/screenshooter.c | 12 +-<br>
src/text-backend.c | 82 ++---<br>
tests/presentation-test.c | 34 +-<br>
tests/text-test.c | 52 +--<br>
44 files changed, 921 insertions(+), 3108 deletions(-)<br>
delete mode 100644 protocol/desktop-shell.xml<br>
delete mode 100644 protocol/fullscreen-shell.xml<br>
delete mode 100644 protocol/input-method.xml<br>
delete mode 100644 protocol/linux-dmabuf.xml<br>
delete mode 100644 protocol/presentation_timing.xml<br>
delete mode 100644 protocol/screenshooter.xml<br>
delete mode 100644 protocol/text.xml<br>
create mode 100644 protocol/weston-desktop-shell.xml<br>
create mode 100644 protocol/weston-screenshooter.xml<br>
delete mode 100644 protocol/workspaces.xml<br>
delete mode 100644 protocol/xdg-shell.xml<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.4.3<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div>