project: Use org.gnome prefix in app id and adapt to changes

In preparation to moving to GNOME all the IDs, DBus object paths, etc should
change.

Closes #303
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-07-10 04:34:23 +02:00
committed by Evangelos Ribeiro Tzaras
parent 69b919d7ab
commit 7224998a1c
10 changed files with 20 additions and 20 deletions

View File

@@ -3,8 +3,8 @@ sysconfdir = get_option('sysconfdir')
# Desktop file
desktop_file = i18n.merge_file(
input : 'sm.puri.Calls.desktop.in',
output : 'sm.puri.Calls.desktop',
input : 'org.gnome.Calls.desktop.in',
output : 'org.gnome.Calls.desktop',
type : 'desktop',
po_dir : '../po',
install : true,
@@ -12,8 +12,8 @@ desktop_file = i18n.merge_file(
)
desktop_file = i18n.merge_file(
input : 'sm.puri.Calls-daemon.desktop.in',
output : 'sm.puri.Calls-daemon.desktop',
input : 'org.gnome.Calls-daemon.desktop.in',
output : 'org.gnome.Calls-daemon.desktop',
type : 'desktop',
po_dir : '../po',
install : true,
@@ -24,16 +24,16 @@ desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: [join_paths(meson.current_build_dir(),
'sm.puri.Calls.desktop')
'org.gnome.Calls.desktop')
])
test('Validate daemon desktop file', desktop_utils,
args: [join_paths(meson.current_build_dir(),
'sm.puri.Calls-daemon.desktop')
'org.gnome.Calls-daemon.desktop')
])
endif
# Metainfo file
install_data('sm.puri.Calls.metainfo.xml',
install_data('org.gnome.Calls.metainfo.xml',
install_dir: join_paths(datadir, 'metainfo'),
)
@@ -42,13 +42,13 @@ if appstream_util.found()
test('Validate appstream file', appstream_util,
args: ['validate-relax',
join_paths(meson.current_source_dir(),
'sm.puri.Calls.metainfo.xml')
'org.gnome.Calls.metainfo.xml')
])
endif
# Icons
install_data(
'sm.puri.Calls.svg',
'org.gnome.Calls.svg',
install_dir: join_paths(
datadir,
'icons',
@@ -58,7 +58,7 @@ install_data(
)
)
install_data(
'sm.puri.Calls-symbolic.svg',
'org.gnome.Calls-symbolic.svg',
install_dir: join_paths(
datadir,
'icons',

View File

@@ -5,7 +5,7 @@ Comment=A phone dialer and call handler (daemon mode)
# Translators: These are desktop search terms. Do not translate semicolons, end line with a semicolon.
Keywords=Telephone;Call;Phone;Dial;Dialer;PSTN;
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=sm.puri.Calls
Icon=org.gnome.Calls
TryExec=gnome-calls
Exec=gnome-calls --daemon
Type=Application

View File

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 330 B

View File

@@ -5,7 +5,7 @@ Comment=A phone dialer and call handler
# Translators: These are desktop search terms. Do not translate semicolons, end line with a semicolon.
Keywords=Telephone;Call;Phone;Dial;Dialer;PSTN;
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=sm.puri.Calls
Icon=org.gnome.Calls
TryExec=gnome-calls
Exec=gnome-calls %u
Type=Application

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>sm.puri.Calls</id>
<id>org.gnome.Calls</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Calls</name>

View File

@@ -18,7 +18,7 @@
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="sm.puri.Calls.svg"
sodipodi:docname="org.gnome.Calls.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0"
style="display:inline;enable-background:new"

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB