mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-08 20:22:30 +01:00
Rename app-id to io.github.Hexchat
RDNS syntax is recommended for applications and this matches the existing flatpak. Note that the dbus service and icons still need renaming though the former is an API breakage. Closes #2104 Closes #2103
This commit is contained in:
parent
0058587958
commit
7d7be83216
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop">
|
<component type="desktop">
|
||||||
<id>hexchat.desktop</id>
|
<id>io.github.Hexchat.desktop</id>
|
||||||
<name>HexChat</name>
|
<name>HexChat</name>
|
||||||
<developer_name>HexChat</developer_name>
|
<developer_name>HexChat</developer_name>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
@ -22,6 +22,10 @@
|
|||||||
<caption>Main Chat Window</caption>
|
<caption>Main Chat Window</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
<provides>
|
||||||
|
<!-- Renamed from this -->
|
||||||
|
<id>hexchat.desktop</id>
|
||||||
|
</provides>
|
||||||
<releases>
|
<releases>
|
||||||
<release date="2016-12-10" version="2.12.4">
|
<release date="2016-12-10" version="2.12.4">
|
||||||
<description>
|
<description>
|
@ -3,8 +3,8 @@ desktop_utils = find_program('desktop-file-validate', required: false)
|
|||||||
|
|
||||||
if get_option('with-gtk')
|
if get_option('with-gtk')
|
||||||
hexchat_appdata = i18n.merge_file(
|
hexchat_appdata = i18n.merge_file(
|
||||||
input: 'hexchat.appdata.xml.in',
|
input: 'io.github.Hexchat.appdata.xml.in',
|
||||||
output: 'hexchat.appdata.xml',
|
output: 'io.github.Hexchat.appdata.xml',
|
||||||
po_dir: '../../po',
|
po_dir: '../../po',
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(get_option('datadir'), 'appdata')
|
install_dir: join_paths(get_option('datadir'), 'appdata')
|
||||||
@ -12,7 +12,7 @@ if get_option('with-gtk')
|
|||||||
|
|
||||||
appstream_util = find_program('appstream-util', required: false)
|
appstream_util = find_program('appstream-util', required: false)
|
||||||
if appstream_util.found()
|
if appstream_util.found()
|
||||||
test('Validate hexchat.appdata.xml', appstream_util,
|
test('Validate io.github.Hexchat.appdata.xml', appstream_util,
|
||||||
args: ['validate', hexchat_appdata]
|
args: ['validate', hexchat_appdata]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
@ -25,14 +25,14 @@ if get_option('with-gtk')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
desktop_file = configure_file(
|
desktop_file = configure_file(
|
||||||
input: 'hexchat.desktop.in.in',
|
input: 'io.github.Hexchat.desktop.in.in',
|
||||||
output: 'hexchat.desktop.in',
|
output: 'io.github.Hexchat.desktop.in',
|
||||||
configuration: desktop_conf
|
configuration: desktop_conf
|
||||||
)
|
)
|
||||||
|
|
||||||
hexchat_desktop = i18n.merge_file(
|
hexchat_desktop = i18n.merge_file(
|
||||||
input: desktop_file,
|
input: desktop_file,
|
||||||
output: 'hexchat.desktop',
|
output: 'io.github.Hexchat.desktop',
|
||||||
po_dir: '../../po',
|
po_dir: '../../po',
|
||||||
type: 'desktop',
|
type: 'desktop',
|
||||||
install: true,
|
install: true,
|
||||||
@ -40,7 +40,7 @@ if get_option('with-gtk')
|
|||||||
)
|
)
|
||||||
|
|
||||||
if desktop_utils.found()
|
if desktop_utils.found()
|
||||||
test('Validate hexchat.desktop', desktop_utils,
|
test('Validate io.github.Hexchat.desktop', desktop_utils,
|
||||||
args: [hexchat_desktop]
|
args: [hexchat_desktop]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
@ -48,8 +48,8 @@ endif
|
|||||||
|
|
||||||
if get_option('with-theme-manager')
|
if get_option('with-theme-manager')
|
||||||
htm_desktop = i18n.merge_file(
|
htm_desktop = i18n.merge_file(
|
||||||
input: 'htm.desktop.in',
|
input: 'io.github.Hexchat.ThemeManager.desktop.in',
|
||||||
output: 'htm.desktop',
|
output: 'io.github.Hexchat.ThemeManager.desktop',
|
||||||
po_dir: '../../po',
|
po_dir: '../../po',
|
||||||
type: 'desktop',
|
type: 'desktop',
|
||||||
install: true,
|
install: true,
|
||||||
@ -57,12 +57,12 @@ if get_option('with-theme-manager')
|
|||||||
)
|
)
|
||||||
|
|
||||||
if desktop_utils.found()
|
if desktop_utils.found()
|
||||||
test('Validate htm.desktop', desktop_utils,
|
test('Validate io.github.Hexchat.ThemeManager.desktop', desktop_utils,
|
||||||
args: [htm_desktop]
|
args: [htm_desktop]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install_data('htm-mime.xml',
|
install_data('io.github.Hexchat.ThemeManager.xml',
|
||||||
install_dir: join_paths(get_option('datadir'), 'mime/packages')
|
install_dir: join_paths(get_option('datadir'), 'mime/packages')
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
data/misc/hexchat.appdata.xml.in
|
data/misc/io.github.Hexchat.appdata.xml.in
|
||||||
data/misc/hexchat.desktop.in.in
|
data/misc/io.github.Hexchat.desktop.in.in
|
||||||
data/misc/htm.desktop.in
|
data/misc/io.github.Hexchat.ThemeManager.desktop.in
|
||||||
src/common/cfgfiles.c
|
src/common/cfgfiles.c
|
||||||
src/common/chanopt.c
|
src/common/chanopt.c
|
||||||
src/common/dcc.c
|
src/common/dcc.c
|
||||||
|
@ -1 +1 @@
|
|||||||
data/misc/hexchat.desktop.in.in
|
data/misc/io.github.Hexchat.desktop.in.in
|
||||||
|
@ -40,9 +40,9 @@ notification_backend_show (const char *title, const char *text)
|
|||||||
notification = notify_notification_new (title, text, "hexchat", NULL);
|
notification = notify_notification_new (title, text, "hexchat", NULL);
|
||||||
#endif
|
#endif
|
||||||
#if NOTIFY_CHECK_VERSION(0,6,0)
|
#if NOTIFY_CHECK_VERSION(0,6,0)
|
||||||
notify_notification_set_hint (notification, "desktop-entry", g_variant_new_string ("hexchat"));
|
notify_notification_set_hint (notification, "desktop-entry", g_variant_new_string ("io.github.Hexchat"));
|
||||||
#else
|
#else
|
||||||
notify_notification_set_hint_string (notification, "desktop-entry", "hexchat");
|
notify_notification_set_hint_string (notification, "desktop-entry", "io.github.Hexchat");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
notify_notification_show (notification, NULL);
|
notify_notification_show (notification, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user