Mon, 30 Jun 2025 14:22:13 -0500
Update the flatpak to gnome 48 and to the matching birb version
The birb version was missed here when it was updated.
Testing Done:
Built the flatpak with the instructions in the readme.
Reviewed at https://reviews.imfreedom.org/r/4038/
|
42479
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
1 | BROADWAY_TESTS = [ |
|
42456
73bb1fae628c
Create pidgin_text_buffer API for working with GtkTextBuffers
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | ] |
|
73bb1fae628c
Create pidgin_text_buffer API for working with GtkTextBuffers
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | |
|
73bb1fae628c
Create pidgin_text_buffer API for working with GtkTextBuffers
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | TEST_WRAPPER = find_program('./test-wrapper.py', required: true) |
|
42479
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
5 | BROADWAYD = find_program('gtk4-broadwayd', required: false) |
|
42456
73bb1fae628c
Create pidgin_text_buffer API for working with GtkTextBuffers
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | |
|
73bb1fae628c
Create pidgin_text_buffer API for working with GtkTextBuffers
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | testenv.set('XDG_CONFIG_HOME', meson.current_build_dir() / 'config') |
|
73bb1fae628c
Create pidgin_text_buffer API for working with GtkTextBuffers
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | |
|
42479
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
9 | if BROADWAYD.found() |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
10 | foreach program : BROADWAY_TESTS |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
11 | e = executable(f'test_@program@', f'test_@program@.c', |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
12 | c_args : ['-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()), |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
13 | '-DTEST_CACHE_DIR="@0@/cache"'.format(meson.current_build_dir())], |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
14 | dependencies : [libpurple_dep, libpidgin_dep, glib, gtk]) |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
15 | test(program, TEST_WRAPPER, |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
16 | args : [BROADWAYD.full_path(), e], |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
17 | is_parallel : false, |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
18 | env: testenv) |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
19 | endforeach |
|
d0faa9b1ac85
Make broadwayd optional for unit testing
Gary Kramlich <grim@reaperworld.com>
parents:
42456
diff
changeset
|
20 | endif |