Sun, 03 Nov 2024 00:05:44 -0500
remove purple3-url-handler.desktop.in.in
The application that did the launching was removed long ago. Also this should
be implemented by the user interfaces and they might provide separate files to
groups schemas as well.
Testing Done:
Called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/3640/
|
43009
df1a36761198
Port Debug Window to GSettings
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42634
diff
changeset
|
1 | subdir('gschema') |
|
41485
74a04628357f
Remove some no longer necessary meson options
Gary Kramlich <grim@reaperworld.com>
parents:
41066
diff
changeset
|
2 | subdir('icons') |
|
41066
00e6bda3ef95
Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
39034
diff
changeset
|
3 | |
|
00e6bda3ef95
Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
39034
diff
changeset
|
4 | devenv.prepend('XDG_DATA_DIRS', meson.current_source_dir()) |
|
42499
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
5 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
6 | if host_machine.system() == 'windows' |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
7 | subdir_done() |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
8 | endif |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
9 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
10 | i18n = import('i18n') |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
11 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
12 | ############################################################################### |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
13 | # MetaInfo file |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
14 | ############################################################################### |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
15 | metainfo_base = 'im.pidgin.Pidgin3.metainfo.xml' |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
16 | metainfo_file = meson.current_source_dir() / metainfo_base |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
17 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
18 | appstreamcli_exe = find_program('appstreamcli', required: false) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
19 | if appstreamcli_exe.found() |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
20 | test( |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
21 | 'validate pidgin3 metainfo file', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
22 | appstreamcli_exe, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
23 | args: ['validate', '--no-net', '--pedantic', metainfo_file], |
|
42634
220ad1d4e5f1
Fix the developer name and component id in our appdate metafile
Gary Kramlich <grim@reaperworld.com>
parents:
42499
diff
changeset
|
24 | verbose: true, |
|
42499
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
25 | ) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
26 | endif |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
27 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
28 | i18n.merge_file( |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
29 | input: metainfo_file, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
30 | output: metainfo_base, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
31 | type: 'xml', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
32 | po_dir: meson.project_source_root() / 'po', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
33 | install: true, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
34 | install_dir: get_option('datadir') / 'metainfo', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
35 | ) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
36 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
37 | ############################################################################### |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
38 | # Desktop file |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
39 | ############################################################################### |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
40 | PIDGIN_DESKTOP_FILE = 'im.pidgin.Pidgin3.desktop' |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
41 | desktop_file_in = configure_file( |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
42 | input : f'@PIDGIN_DESKTOP_FILE@.in.in', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
43 | output : f'@PIDGIN_DESKTOP_FILE@.in', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
44 | configuration : conf, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
45 | ) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
46 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
47 | i18n.merge_file( |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
48 | input : desktop_file_in, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
49 | output : PIDGIN_DESKTOP_FILE, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
50 | po_dir : meson.project_source_root() / 'po', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
51 | type : 'desktop', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
52 | install : true, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
53 | install_dir : get_option('datadir') / 'applications', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
54 | ) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
55 | |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
56 | desktop_file_validate_exe = find_program('desktop-file-validate', required: false) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
57 | if desktop_file_validate_exe.found() |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
58 | test( |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
59 | 'validate pidgin3 desktop file', |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
60 | desktop_file_validate_exe, |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
61 | args: [meson.current_build_dir() / PIDGIN_DESKTOP_FILE], |
|
42634
220ad1d4e5f1
Fix the developer name and component id in our appdate metafile
Gary Kramlich <grim@reaperworld.com>
parents:
42499
diff
changeset
|
62 | verbose: true, |
|
42499
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
63 | ) |
|
294a948bab87
Replace the old appdata file with an appstream metainfo file
Gary Kramlich <grim@reaperworld.com>
parents:
41485
diff
changeset
|
64 | endif |