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:

committed by
Evangelos Ribeiro Tzaras

parent
69b919d7ab
commit
7224998a1c
@@ -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',
|
||||
|
Reference in New Issue
Block a user