meson: generate unicode compose table

This replaces the pre-generated table used up until now.
This commit is contained in:
Daniel Eklöf 2020-05-02 18:29:39 +02:00
parent a24a3520c7
commit 265a88c1ce
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 8 additions and 1037 deletions

View file

@ -94,6 +94,13 @@ foreach prot : [
command: [wscanner_prog, 'private-code', '@INPUT@', '@OUTPUT@'])
endforeach
generate_unicode_precompose_sh = files('scripts/generate-unicode-precompose.sh')
unicode_data = custom_target(
'unicode-data',
input: 'UnicodeData.txt',
output: 'unicode-compose-table.h',
command: [generate_unicode_precompose_sh, '@INPUT@', '@OUTPUT@'])
generate_version_sh = files('generate-version.sh')
version = custom_target(
'generate_version',
@ -129,7 +136,7 @@ executable(
'tokenize.c', 'tokenize.h',
'vt.c', 'vt.h',
'wayland.c', 'wayland.h',
wl_proto_src + wl_proto_headers, version,
wl_proto_src + wl_proto_headers, version, unicode_data,
dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb, tllist, fcft],
install: true)

File diff suppressed because it is too large Load diff