Bug 89966

Summary: protocol: XML files need to be installed and discoverable
Product: Wayland Reporter: Gary van der Merwe <garyvdm>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: gajownik
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://lists.freedesktop.org/archives/wayland-devel/2015-August/023793.html
Whiteboard:
i915 platform: i915 features:

Description Gary van der Merwe 2015-04-09 12:40:34 UTC
This is the same as bug #55183, but for weston as opposed to libwayland.

Projects that wish to work with weston specific protocols need to copy have copies of the protocol xml files. e.g. maynard has keeps a copy of desktop-shell.xml. (https://github.com/raspberrypi/maynard/blob/master/protocol/desktop-shell.xml)

It would be great if the appropriate protocol xml files from weston were installed and discoverable like they are with libwayland.
Comment 1 Bryce Harrington 2016-03-18 03:05:45 UTC
I'm going to claim that the establishment of wayland-protocols resolves this bug, although I'll admit it didn't fix desktop-shell.xml specifically.

When that package was made, all protocols that were felt to be of general utility were moved there.  A few protocols, including the desktop-shell.xml protocol requested in this bug report, were left in weston, either because they were considered too weston-specific, or because they were not felt to be something the Wayland developers wished to see adopted externally.

The desktop-shell.xml protocol was renamed weston-desktop-shell.xml to indicate its specificity to weston.  While there is some functionality included in it that isn't (yet) in xdg-shell.xml, I believe the feeling is that we'd rather see necessary protocol functionality added to xdg-shell.xml or separate protocols in wayland-protocols than to have weston-desktop-shell.xml be more broadly shared.

So, I would suggest if there are bits of desktop-shell.xml that projects like Maynard want, please file proposals to expose those specific functions.
Comment 2 Pekka Paalanen 2016-03-18 08:51:33 UTC
Just a minor correction: weston-desktop-shell.xml has nothing to do with xdg-shell.xml. Weston-desktop-shell.xml is the private protocol used between the DE components specific to Weston, while xdg-shell.xml is a public protocol for all apps.

Proposals to generalize or publish things related to weston-desktop-shell.xml should be new protocol extensions of their own. That stuff does not belong in xdg-shell.xml.

Of course, nothing prevents promoting weston-desktop-shell.xml into wayland-protocols, *if* it is deemed necessary. But while libweston is still seeking form, I'd advice to wait.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.