mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: move application id to org.gnome.Sysprof
We use org.gnome.Sysprof3 for the sysprofd daemon, but we need not complicate the application with such an application id.
This commit is contained in:
@ -8,16 +8,16 @@ if get_option('gtk') and get_option('libsysprof')
|
||||
)
|
||||
|
||||
i18n.merge_file(
|
||||
input: 'org.gnome.Sysprof3.appdata.xml.in',
|
||||
output: 'org.gnome.Sysprof3.appdata.xml',
|
||||
input: 'org.gnome.Sysprof.appdata.xml.in',
|
||||
output: 'org.gnome.Sysprof.appdata.xml',
|
||||
po_dir: podir,
|
||||
install: true,
|
||||
install_dir: join_paths(datadir, 'metainfo')
|
||||
)
|
||||
|
||||
i18n.merge_file(
|
||||
input: 'org.gnome.Sysprof3.desktop.in',
|
||||
output: 'org.gnome.Sysprof3.desktop',
|
||||
input: 'org.gnome.Sysprof.desktop.in',
|
||||
output: 'org.gnome.Sysprof.desktop',
|
||||
type: 'desktop',
|
||||
po_dir: podir,
|
||||
install: true,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>org.gnome.Sysprof3.desktop</id>
|
||||
<id>org.gnome.Sysprof.desktop</id>
|
||||
<translation type="gettext">sysprof</translation>
|
||||
<name>Sysprof</name>
|
||||
<summary>Profile an application or entire system</summary>
|
||||
@ -31,16 +31,14 @@
|
||||
|
||||
<provides>
|
||||
<binary>sysprof</binary>
|
||||
<binary>sysprof-agent</binary>
|
||||
<binary>sysprof-cli</binary>
|
||||
<dbus type="system">org.gnome.Sysprof2</dbus>
|
||||
<dbus type="system">org.gnome.Sysprof3</dbus>
|
||||
</provides>
|
||||
|
||||
<releases>
|
||||
<release version="3.44.0" date="2022-03-18"/>
|
||||
<release version="3.43.90" date="2022-03-07"/>
|
||||
<release version="3.42.1" date="2021-11-04"/>
|
||||
<release version="3.42.0" date="2021-09-21"/>
|
||||
<release version="3.45.0" date="2022-07-11"/>
|
||||
</releases>
|
||||
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
@ -279,6 +279,6 @@ sysprof_counters_aid_class_init (SysprofCountersAidClass *klass)
|
||||
static void
|
||||
sysprof_counters_aid_init (SysprofCountersAid *self)
|
||||
{
|
||||
sysprof_aid_set_display_name (SYSPROF_AID (self), _("Battery"));
|
||||
sysprof_aid_set_icon_name (SYSPROF_AID (self), "org.gnome.Sysprof3-symbolic");
|
||||
sysprof_aid_set_display_name (SYSPROF_AID (self), _("Counters"));
|
||||
sysprof_aid_set_icon_name (SYSPROF_AID (self), "org.gnome.Sysprof-symbolic");
|
||||
}
|
||||
|
||||
@ -329,7 +329,7 @@ SysprofApplication *
|
||||
sysprof_application_new (void)
|
||||
{
|
||||
return g_object_new (SYSPROF_TYPE_APPLICATION,
|
||||
"application-id", "org.gnome.Sysprof3",
|
||||
"application-id", "org.gnome.Sysprof",
|
||||
"resource-base-path", "/org/gnome/sysprof",
|
||||
"flags", G_APPLICATION_HANDLES_OPEN,
|
||||
NULL);
|
||||
|
||||
Reference in New Issue
Block a user