Skip to content

Commit 70b2598

Browse files
committed
Updates to SDL 3.4.0
1 parent f85824b commit 70b2598

14 files changed

+1939
-233
lines changed

build.zig.zon

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
.minimum_zig_version = "0.15.0",
66
.dependencies = .{
77
.sdl = .{
8-
.url = "https://github.com/libsdl-org/SDL/archive/refs/tags/release-3.2.22.tar.gz",
9-
.hash = "N-V-__8AAKFOjAPblBRKaUrjSSH-09iZsd0hSjTHMs3Wj2BE",
10-
.version = "3.2.22",
8+
.url = "https://github.com/libsdl-org/SDL/archive/refs/tags/release-3.4.0.tar.gz",
9+
.hash = "N-V-__8AABtk8gIAP7ZQ4yacjIPcrx3btsH0bGNpJG4MPpm6",
10+
.version = "3.4.0",
1111
},
1212
.dbus = .{
1313
.version = "1.16.0",
@@ -23,13 +23,14 @@
2323
.hash = "N-V-__8AAMlebQAc6dRDTEIyEn_i5KeO8qNg3YdK_Sg1KgDT",
2424
},
2525
.wayland = .{
26-
.version = "1.23.91",
27-
.url = "https://gitlab.freedesktop.org/wayland/wayland/-/archive/1.23.91/wayland-1.23.91.tar.gz",
28-
.hash = "N-V-__8AAKwRGQDuKfsGZKYj0NR5UBS8cR6-VKgoYzbRcqbY",
26+
.version = "1.24.0",
27+
.url = "git+https://gitlab.freedesktop.org/wayland/wayland#736d12ac67c20c60dc406dc49bb06be878501f86",
28+
.hash = "N-V-__8AAGoeGQBEn6KguTJUXrCE0tIRrrXfQX7hYHoKCJwZ",
2929
},
3030
.xkbcommon = .{
31-
.url = "https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.10.0.tar.gz",
32-
.hash = "N-V-__8AAEq0XgBjGDGxFauY884ZX6kSkgXmismD6G5l5Su9",
31+
.version = "1.9.2",
32+
.url = "https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.9.2.tar.gz",
33+
.hash = "N-V-__8AAEg7XADqmm_Axa-ISq9_0pDsCLjf9Xd8NIOndVMH",
3334
},
3435
.xorgproto = .{
3536
.url = "https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/archive/xorgproto-2024.1/xorgproto-xorgproto-2024.1.tar.gz",
@@ -125,6 +126,17 @@
125126
.url = "https://sndio.org/sndio-1.10.0.tar.gz",
126127
.hash = "N-V-__8AAKA0CgB5SuKmufbOKBnZsjDFZuUTNO70MHQEf1p8",
127128
},
129+
.fribidi = .{
130+
.version = "1.0.16",
131+
.interface_version = 4,
132+
.unicode_version = "16.0.0",
133+
.url = "https://github.com/fribidi/fribidi/archive/refs/tags/v1.0.16.tar.gz",
134+
.hash = "N-V-__8AABbxDAFJr4_dchs33gEqLRpBMP2oUBTuIueW9u_h",
135+
},
136+
.thai = .{
137+
.url = "https://github.com/tlwg/libthai/archive/refs/tags/v0.1.30.tar.gz",
138+
.hash = "N-V-__8AAAqMIgArahV5mT0LGKWmDhZC9QtlMIZlaT9yp_lP",
139+
},
128140
},
129141
.paths = .{
130142
"build.zig",

deps/wayland/protocols/color-management-v1-client-protocol.h

Lines changed: 300 additions & 103 deletions
Large diffs are not rendered by default.

deps/wayland/protocols/color-management-v1-client.c

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ extern const struct wl_interface wp_color_management_surface_v1_interface;
5151
extern const struct wl_interface wp_image_description_creator_icc_v1_interface;
5252
extern const struct wl_interface wp_image_description_creator_params_v1_interface;
5353
extern const struct wl_interface wp_image_description_info_v1_interface;
54+
extern const struct wl_interface wp_image_description_reference_v1_interface;
5455
extern const struct wl_interface wp_image_description_v1_interface;
5556

5657
static const struct wl_interface *color_management_v1_types[] = {
@@ -72,6 +73,8 @@ static const struct wl_interface *color_management_v1_types[] = {
7273
&wp_image_description_creator_params_v1_interface,
7374
&wp_image_description_v1_interface,
7475
&wp_image_description_v1_interface,
76+
&wp_image_description_reference_v1_interface,
77+
&wp_image_description_v1_interface,
7578
&wp_image_description_v1_interface,
7679
NULL,
7780
&wp_image_description_v1_interface,
@@ -89,6 +92,7 @@ static const struct wl_message wp_color_manager_v1_requests[] = {
8992
{ "create_icc_creator", "n", color_management_v1_types + 14 },
9093
{ "create_parametric_creator", "n", color_management_v1_types + 15 },
9194
{ "create_windows_scrgb", "n", color_management_v1_types + 16 },
95+
{ "get_image_description", "2no", color_management_v1_types + 17 },
9296
};
9397

9498
static const struct wl_message wp_color_manager_v1_events[] = {
@@ -100,67 +104,68 @@ static const struct wl_message wp_color_manager_v1_events[] = {
100104
};
101105

102106
WL_PRIVATE const struct wl_interface wp_color_manager_v1_interface = {
103-
"wp_color_manager_v1", 1,
104-
7, wp_color_manager_v1_requests,
107+
"wp_color_manager_v1", 2,
108+
8, wp_color_manager_v1_requests,
105109
5, wp_color_manager_v1_events,
106110
};
107111

108112
static const struct wl_message wp_color_management_output_v1_requests[] = {
109113
{ "destroy", "", color_management_v1_types + 0 },
110-
{ "get_image_description", "n", color_management_v1_types + 17 },
114+
{ "get_image_description", "n", color_management_v1_types + 19 },
111115
};
112116

113117
static const struct wl_message wp_color_management_output_v1_events[] = {
114118
{ "image_description_changed", "", color_management_v1_types + 0 },
115119
};
116120

117121
WL_PRIVATE const struct wl_interface wp_color_management_output_v1_interface = {
118-
"wp_color_management_output_v1", 1,
122+
"wp_color_management_output_v1", 2,
119123
2, wp_color_management_output_v1_requests,
120124
1, wp_color_management_output_v1_events,
121125
};
122126

123127
static const struct wl_message wp_color_management_surface_v1_requests[] = {
124128
{ "destroy", "", color_management_v1_types + 0 },
125-
{ "set_image_description", "ou", color_management_v1_types + 18 },
129+
{ "set_image_description", "ou", color_management_v1_types + 20 },
126130
{ "unset_image_description", "", color_management_v1_types + 0 },
127131
};
128132

129133
WL_PRIVATE const struct wl_interface wp_color_management_surface_v1_interface = {
130-
"wp_color_management_surface_v1", 1,
134+
"wp_color_management_surface_v1", 2,
131135
3, wp_color_management_surface_v1_requests,
132136
0, NULL,
133137
};
134138

135139
static const struct wl_message wp_color_management_surface_feedback_v1_requests[] = {
136140
{ "destroy", "", color_management_v1_types + 0 },
137-
{ "get_preferred", "n", color_management_v1_types + 20 },
138-
{ "get_preferred_parametric", "n", color_management_v1_types + 21 },
141+
{ "get_preferred", "n", color_management_v1_types + 22 },
142+
{ "get_preferred_parametric", "n", color_management_v1_types + 23 },
139143
};
140144

141145
static const struct wl_message wp_color_management_surface_feedback_v1_events[] = {
142146
{ "preferred_changed", "u", color_management_v1_types + 0 },
147+
{ "preferred_changed2", "2uu", color_management_v1_types + 0 },
143148
};
144149

145150
WL_PRIVATE const struct wl_interface wp_color_management_surface_feedback_v1_interface = {
146-
"wp_color_management_surface_feedback_v1", 1,
151+
"wp_color_management_surface_feedback_v1", 2,
147152
3, wp_color_management_surface_feedback_v1_requests,
148-
1, wp_color_management_surface_feedback_v1_events,
153+
2, wp_color_management_surface_feedback_v1_events,
149154
};
150155

151156
static const struct wl_message wp_image_description_creator_icc_v1_requests[] = {
152-
{ "create", "n", color_management_v1_types + 22 },
157+
{ "create", "n", color_management_v1_types + 24 },
153158
{ "set_icc_file", "huu", color_management_v1_types + 0 },
154159
};
155160

156161
WL_PRIVATE const struct wl_interface wp_image_description_creator_icc_v1_interface = {
157-
"wp_image_description_creator_icc_v1", 1,
162+
"wp_image_description_creator_icc_v1", 2,
158163
2, wp_image_description_creator_icc_v1_requests,
159164
0, NULL,
160165
};
161166

162167
static const struct wl_message wp_image_description_creator_params_v1_requests[] = {
163-
{ "create", "n", color_management_v1_types + 23 },
168+
{ "create", "n", color_management_v1_types + 25 },
164169
{ "set_tf_named", "u", color_management_v1_types + 0 },
165170
{ "set_tf_power", "u", color_management_v1_types + 0 },
166171
{ "set_primaries_named", "u", color_management_v1_types + 0 },
@@ -173,25 +178,26 @@ static const struct wl_message wp_image_description_creator_params_v1_requests[]
173178
};
174179

175180
WL_PRIVATE const struct wl_interface wp_image_description_creator_params_v1_interface = {
176-
"wp_image_description_creator_params_v1", 1,
181+
"wp_image_description_creator_params_v1", 2,
177182
10, wp_image_description_creator_params_v1_requests,
178183
0, NULL,
179184
};
180185

181186
static const struct wl_message wp_image_description_v1_requests[] = {
182187
{ "destroy", "", color_management_v1_types + 0 },
183-
{ "get_information", "n", color_management_v1_types + 24 },
188+
{ "get_information", "n", color_management_v1_types + 26 },
184189
};
185190

186191
static const struct wl_message wp_image_description_v1_events[] = {
187192
{ "failed", "us", color_management_v1_types + 0 },
188193
{ "ready", "u", color_management_v1_types + 0 },
194+
{ "ready2", "2uu", color_management_v1_types + 0 },
189195
};
190196

191197
WL_PRIVATE const struct wl_interface wp_image_description_v1_interface = {
192-
"wp_image_description_v1", 1,
198+
"wp_image_description_v1", 2,
193199
2, wp_image_description_v1_requests,
194-
2, wp_image_description_v1_events,
200+
3, wp_image_description_v1_events,
195201
};
196202

197203
static const struct wl_message wp_image_description_info_v1_events[] = {
@@ -209,8 +215,18 @@ static const struct wl_message wp_image_description_info_v1_events[] = {
209215
};
210216

211217
WL_PRIVATE const struct wl_interface wp_image_description_info_v1_interface = {
212-
"wp_image_description_info_v1", 1,
218+
"wp_image_description_info_v1", 2,
213219
0, NULL,
214220
11, wp_image_description_info_v1_events,
215221
};
216222

223+
static const struct wl_message wp_image_description_reference_v1_requests[] = {
224+
{ "destroy", "", color_management_v1_types + 0 },
225+
};
226+
227+
WL_PRIVATE const struct wl_interface wp_image_description_reference_v1_interface = {
228+
"wp_image_description_reference_v1", 1,
229+
1, wp_image_description_reference_v1_requests,
230+
0, NULL,
231+
};
232+

0 commit comments

Comments
 (0)