Commit a81c3df5 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui Committed by Alberto Fanjul

Unify app-id

parent f708999e
Pipeline #47026 passed with stages
in 7 minutes and 13 seconds
......@@ -10,13 +10,13 @@ icon_sizes = [
foreach icon_size: icon_sizes
install_data(
'_'.join(['hicolor', 'apps', icon_size, 'gitg.png']),
rename: 'gitg.png',
rename: 'org.gnome.gitg.png',
install_dir: join_paths(gitg_datadir, 'icons', 'hicolor', icon_size, 'apps'),
)
endforeach
install_data(
'_'.join(['hicolor', 'apps', 'scalable', 'gitg-symbolic.svg']),
rename: 'gitg-symbolic.svg',
rename: 'org.gnome.gitg-symbolic.svg',
install_dir: join_paths(gitg_datadir, 'icons', 'hicolor', 'scalable', 'apps'),
)
subdir('icons')
desktop = 'gitg.desktop'
desktop = 'org.gnome.gitg.desktop'
i18n.merge_file(
desktop,
......@@ -25,7 +25,7 @@ configure_file(
install_dir: join_paths(gitg_datadir, 'glib-2.0', 'schemas'),
)
appdata = 'gitg.appdata.xml'
appdata = 'org.gnome.gitg.appdata.xml'
i18n.merge_file(
appdata,
......
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>gitg.desktop</id>
<id>org.gnome.gitg</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<project_group>GNOME</project_group>
......@@ -42,11 +42,15 @@
<caption>Overview of recently used repositories</caption>
</screenshot>
</screenshots>
<url type="homepage">https://wiki.gnome.org/Apps/Gitg</url>
<provides>
<binary>gitg</binary>
</provides>
<launchable type="desktop-id">org.gnome.gitg.desktop</launchable>
<update_contact>albfan@gnome.org</update_contact>
<translation type="gettext">gitg</translation>
<content_rating type="oars-1.1" />
<developer_name>The GNOME Project</developer_name>
<url type="homepage">https://wiki.gnome.org/Apps/Gitg</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/gitg/issues</url>
<url type="donation">https://www.gnome.org/friends/</url>
<url type="translate">https://wiki.gnome.org/TranslationProject</url>
......
......@@ -6,7 +6,7 @@ TryExec=gitg
Terminal=false
Type=Application
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=gitg
Icon=org.gnome.gitg
Categories=GNOME;GTK;Development;
MimeType=x-scheme-handler/gitg;
#X-GNOME-DocPath=gitg/gitg.xml
......@@ -235,7 +235,7 @@ public class Application : Gtk.Application
"version", Config.VERSION,
"website", Config.PACKAGE_URL,
"website-label", _("gitg homepage"),
"logo-icon-name", Config.PACKAGE_NAME,
"logo-icon-name", "org.gnome.gitg",
"license-type", Gtk.License.GPL_2_0);
}
......
......@@ -5,10 +5,6 @@
"branch" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "gitg",
"rename-desktop-file" : "gitg.desktop",
"rename-appdata-file" : "gitg.appdata.xml",
"rename-icon" : "gitg",
"copy-icon" : true,
"tags" : [
"nightly"
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment