Skip to content

Commit

Permalink
Move submodules to protocols folder
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Sep 13, 2024
1 parent d969f6b commit 80991a6
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 61 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[submodule "wayland-protocols"]
path = wayland-protocols
path = protocols/wayland-protocols
url = https://gitlab.freedesktop.org/wayland/wayland-protocols.git
[submodule "wayland"]
path = wayland
path = protocols/wayland
url = https://gitlab.freedesktop.org/wayland/wayland.git
[submodule "wlr-protocols"]
path = wlr-protocols
path = protocols/wlr-protocols
url = https://gitlab.freedesktop.org/wlroots/wlr-protocols.git
[submodule "plasma-wayland-protocols"]
path = plasma-wayland-protocols
path = protocols/plasma-wayland-protocols
url = https://github.com/KDE/plasma-wayland-protocols.git
114 changes: 57 additions & 57 deletions gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,71 +14,71 @@ use server::generate_server_code;

const PROTOCOLS: &[&str] = &[
// Core protocol
"wayland/protocol/wayland.xml",
"protocols/wayland/protocol/wayland.xml",

// Stable protocols
"wayland-protocols/stable/linux-dmabuf/linux-dmabuf-v1.xml",
"wayland-protocols/stable/presentation-time/presentation-time.xml",
"wayland-protocols/stable/tablet/tablet-v2.xml",
"wayland-protocols/stable/viewporter/viewporter.xml",
"wayland-protocols/stable/xdg-shell/xdg-shell.xml",
"protocols/wayland-protocols/stable/linux-dmabuf/linux-dmabuf-v1.xml",
"protocols/wayland-protocols/stable/presentation-time/presentation-time.xml",
"protocols/wayland-protocols/stable/tablet/tablet-v2.xml",
"protocols/wayland-protocols/stable/viewporter/viewporter.xml",
"protocols/wayland-protocols/stable/xdg-shell/xdg-shell.xml",

// Staging protocols
"wayland-protocols/staging/alpha-modifier/alpha-modifier-v1.xml",
"wayland-protocols/staging/content-type/content-type-v1.xml",
"wayland-protocols/staging/cursor-shape/cursor-shape-v1.xml",
"wayland-protocols/staging/drm-lease/drm-lease-v1.xml",
"wayland-protocols/staging/ext-foreign-toplevel-list/ext-foreign-toplevel-list-v1.xml",
"wayland-protocols/staging/ext-idle-notify/ext-idle-notify-v1.xml",
"wayland-protocols/staging/ext-image-capture-source/ext-image-capture-source-v1.xml",
"wayland-protocols/staging/ext-image-copy-capture/ext-image-copy-capture-v1.xml",
"wayland-protocols/staging/ext-session-lock/ext-session-lock-v1.xml",
"wayland-protocols/staging/ext-transient-seat/ext-transient-seat-v1.xml",
"wayland-protocols/staging/fractional-scale/fractional-scale-v1.xml",
"wayland-protocols/staging/linux-drm-syncobj/linux-drm-syncobj-v1.xml",
"wayland-protocols/staging/security-context/security-context-v1.xml",
"wayland-protocols/staging/single-pixel-buffer/single-pixel-buffer-v1.xml",
"wayland-protocols/staging/tearing-control/tearing-control-v1.xml",
"wayland-protocols/staging/xdg-activation/xdg-activation-v1.xml",
"wayland-protocols/staging/xdg-dialog/xdg-dialog-v1.xml",
"wayland-protocols/staging/xdg-toplevel-drag/xdg-toplevel-drag-v1.xml",
"wayland-protocols/staging/xdg-toplevel-icon/xdg-toplevel-icon-v1.xml",
"protocols/wayland-protocols/staging/alpha-modifier/alpha-modifier-v1.xml",
"protocols/wayland-protocols/staging/content-type/content-type-v1.xml",
"protocols/wayland-protocols/staging/cursor-shape/cursor-shape-v1.xml",
"protocols/wayland-protocols/staging/drm-lease/drm-lease-v1.xml",
"protocols/wayland-protocols/staging/ext-foreign-toplevel-list/ext-foreign-toplevel-list-v1.xml",
"protocols/wayland-protocols/staging/ext-idle-notify/ext-idle-notify-v1.xml",
"protocols/wayland-protocols/staging/ext-image-capture-source/ext-image-capture-source-v1.xml",
"protocols/wayland-protocols/staging/ext-image-copy-capture/ext-image-copy-capture-v1.xml",
"protocols/wayland-protocols/staging/ext-session-lock/ext-session-lock-v1.xml",
"protocols/wayland-protocols/staging/ext-transient-seat/ext-transient-seat-v1.xml",
"protocols/wayland-protocols/staging/fractional-scale/fractional-scale-v1.xml",
"protocols/wayland-protocols/staging/linux-drm-syncobj/linux-drm-syncobj-v1.xml",
"protocols/wayland-protocols/staging/security-context/security-context-v1.xml",
"protocols/wayland-protocols/staging/single-pixel-buffer/single-pixel-buffer-v1.xml",
"protocols/wayland-protocols/staging/tearing-control/tearing-control-v1.xml",
"protocols/wayland-protocols/staging/xdg-activation/xdg-activation-v1.xml",
"protocols/wayland-protocols/staging/xdg-dialog/xdg-dialog-v1.xml",
"protocols/wayland-protocols/staging/xdg-toplevel-drag/xdg-toplevel-drag-v1.xml",
"protocols/wayland-protocols/staging/xdg-toplevel-icon/xdg-toplevel-icon-v1.xml",

// Unstable protocols
"wayland-protocols/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml",
"wayland-protocols/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml",
"wayland-protocols/unstable/input-method/input-method-unstable-v1.xml",
"wayland-protocols/unstable/input-timestamps/input-timestamps-unstable-v1.xml",
"wayland-protocols/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml",
"wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml",
"wayland-protocols/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml",
"wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml",
"wayland-protocols/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml",
"wayland-protocols/unstable/primary-selection/primary-selection-unstable-v1.xml",
"wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml",
"wayland-protocols/unstable/tablet/tablet-unstable-v1.xml",
"wayland-protocols/unstable/tablet/tablet-unstable-v2.xml",
"wayland-protocols/unstable/text-input/text-input-unstable-v1.xml",
"wayland-protocols/unstable/text-input/text-input-unstable-v3.xml",
"wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml",
"wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml",
"wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml",
"wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml",
"wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v5.xml",
"wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v6.xml",
"wayland-protocols/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml",
"protocols/wayland-protocols/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml",
"protocols/wayland-protocols/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml",
"protocols/wayland-protocols/unstable/input-method/input-method-unstable-v1.xml",
"protocols/wayland-protocols/unstable/input-timestamps/input-timestamps-unstable-v1.xml",
"protocols/wayland-protocols/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml",
"protocols/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml",
"protocols/wayland-protocols/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml",
"protocols/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml",
"protocols/wayland-protocols/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml",
"protocols/wayland-protocols/unstable/primary-selection/primary-selection-unstable-v1.xml",
"protocols/wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml",
"protocols/wayland-protocols/unstable/tablet/tablet-unstable-v1.xml",
"protocols/wayland-protocols/unstable/tablet/tablet-unstable-v2.xml",
"protocols/wayland-protocols/unstable/text-input/text-input-unstable-v1.xml",
"protocols/wayland-protocols/unstable/text-input/text-input-unstable-v3.xml",
"protocols/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml",
"protocols/wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml",
"protocols/wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml",
"protocols/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml",
"protocols/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v5.xml",
"protocols/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v6.xml",
"protocols/wayland-protocols/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml",

// Wlroots protocols
"wlr-protocols/unstable/wlr-data-control-unstable-v1.xml",
"wlr-protocols/unstable/wlr-export-dmabuf-unstable-v1.xml",
"wlr-protocols/unstable/wlr-foreign-toplevel-management-unstable-v1.xml",
"wlr-protocols/unstable/wlr-gamma-control-unstable-v1.xml",
"wlr-protocols/unstable/wlr-input-inhibitor-unstable-v1.xml",
"wlr-protocols/unstable/wlr-layer-shell-unstable-v1.xml",
"wlr-protocols/unstable/wlr-output-management-unstable-v1.xml",
"wlr-protocols/unstable/wlr-output-power-management-unstable-v1.xml",
"wlr-protocols/unstable/wlr-screencopy-unstable-v1.xml",
"wlr-protocols/unstable/wlr-virtual-pointer-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-data-control-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-export-dmabuf-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-foreign-toplevel-management-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-gamma-control-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-input-inhibitor-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-layer-shell-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-output-management-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-output-power-management-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-screencopy-unstable-v1.xml",
"protocols/wlr-protocols/unstable/wlr-virtual-pointer-unstable-v1.xml",
];

#[derive(Parser, Debug)]
Expand Down
Submodule wayland updated from 000000 to a9fec8
Submodule wayland-protocols updated from 000000 to 4878e0
Submodule wlr-protocols updated from 000000 to 2b8d43

0 comments on commit 80991a6

Please sign in to comment.