summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-10-24 00:06:12 -0700
committerMichael Forney <mforney@mforney.org>2016-10-30 13:44:58 -0700
commit67c84eaf3709d4b2245d7829804ff780f531c55b (patch)
treefae13e8a0b7467e6c8502033f5045225e461039d
parent18fb7fc5d579ff9fde0250e69504ef4818c61605 (diff)
Add wayland-protocols 1.7
-rw-r--r--.gitmodules3
-rw-r--r--desktop/gen.rc1
-rw-r--r--desktop/wayland-protocols/gen.rc10
-rw-r--r--desktop/wayland-protocols/rev1
m---------desktop/wayland-protocols/src0
5 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 7d2c4d31..32dcbf44 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -100,6 +100,9 @@
path = desktop/wayland/src
url = https://anongit.freedesktop.org/git/wayland/wayland.git
ignore = all
+[submodule "desktop/wayland-protocols/src"]
+ path = desktop/wayland-protocols/src
+ url = https://anongit.freedesktop.org/git/wayland/wayland-protocols.git
[submodule "desktop/wld/src"]
path = desktop/wld/src
url = https://github.com/michaelforney/wld
diff --git a/desktop/gen.rc b/desktop/gen.rc
index 3b257f71..d7774421 100644
--- a/desktop/gen.rc
+++ b/desktop/gen.rc
@@ -10,4 +10,5 @@ subgen pixman
subgen plan9fonts
subgen terminus-font
subgen wayland
+subgen wayland-protocols
subgen wld
diff --git a/desktop/wayland-protocols/gen.rc b/desktop/wayland-protocols/gen.rc
new file mode 100644
index 00000000..63e28aa7
--- /dev/null
+++ b/desktop/wayland-protocols/gen.rc
@@ -0,0 +1,10 @@
+cflags\
+ -I '$builddir'/desktop/wayland/include
+
+waylandproto unstable/xdg-shell/xdg-shell-unstable-v5.xml\
+ include/xdg-shell-unstable-v5-^(client server)^-protocol.h\
+ xdg-shell-unstable-v5-protocol.c
+
+phony headers include/xdg-shell-unstable-v5-^(client server)^-protocol.h
+
+fetch git
diff --git a/desktop/wayland-protocols/rev b/desktop/wayland-protocols/rev
new file mode 100644
index 00000000..d00491fd
--- /dev/null
+++ b/desktop/wayland-protocols/rev
@@ -0,0 +1 @@
+1
diff --git a/desktop/wayland-protocols/src b/desktop/wayland-protocols/src
new file mode 160000
+Subproject 2e541a36deff5f2e16e25e27f7f93d26822eecc