Rename app IDs to org.zoitechat.ZoiteChat

This commit is contained in:
2026-05-22 00:08:54 -06:00
parent 479f1649ef
commit 6535810ca3
11 changed files with 29 additions and 29 deletions

View File

@@ -261,8 +261,8 @@ jobs:
./linuxdeploy-x86_64.AppImage \
--appdir AppDir \
--desktop-file AppDir/usr/share/applications/net.zoite.Zoitechat.desktop \
--icon-file AppDir/usr/share/icons/hicolor/48x48/apps/net.zoite.Zoitechat.png \
--desktop-file AppDir/usr/share/applications/org.zoitechat.ZoiteChat.desktop \
--icon-file AppDir/usr/share/icons/hicolor/48x48/apps/org.zoitechat.ZoiteChat.png \
--custom-apprun ./AppRun \
--plugin gtk \
--output appimage

View File

@@ -33,7 +33,7 @@ jobs:
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: zoitechat.flatpak
manifest-path: flatpak/net.zoite.Zoitechat.json
manifest-path: flatpak/org.zoitechat.ZoiteChat.json
cache: false
restore-cache: false

View File

@@ -1,11 +1,11 @@
icondir = join_paths(get_option('datadir'), 'icons/hicolor')
install_data(
'zoitechat.png',
rename: 'net.zoite.Zoitechat.png',
rename: 'org.zoitechat.ZoiteChat.png',
install_dir: join_paths(icondir, '48x48/apps')
)
install_data(
'zoitechat.svg',
rename: 'net.zoite.Zoitechat.svg',
rename: 'org.zoitechat.ZoiteChat.svg',
install_dir: join_paths(icondir, 'scalable/apps')
)

View File

@@ -6,8 +6,8 @@ desktop_utils = find_program('desktop-file-validate', required: false)
if get_option('gtk-frontend')
if get_option('install-appdata')
zoitechat_appdata = i18n.merge_file(
input: 'net.zoite.Zoitechat.appdata.xml.in',
output: 'net.zoite.Zoitechat.appdata.xml',
input: 'org.zoitechat.ZoiteChat.metainfo.xml.in',
output: 'org.zoitechat.ZoiteChat.metainfo.xml',
po_dir: '../../po',
install: true,
install_dir: metainfodir
@@ -15,7 +15,7 @@ if get_option('gtk-frontend')
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate net.zoite.Zoitechat.appdata.xml', appstreamcli,
test('Validate org.zoitechat.ZoiteChat.metainfo.xml', appstreamcli,
args: ['validate', zoitechat_appdata]
)
endif
@@ -29,14 +29,14 @@ if get_option('gtk-frontend')
endif
desktop_file = configure_file(
input: 'net.zoite.Zoitechat.desktop.in.in',
output: 'net.zoite.Zoitechat.desktop.in',
input: 'org.zoitechat.ZoiteChat.desktop.in.in',
output: 'org.zoitechat.ZoiteChat.desktop.in',
configuration: desktop_conf
)
zoitechat_desktop = i18n.merge_file(
input: desktop_file,
output: 'net.zoite.Zoitechat.desktop',
output: 'org.zoitechat.ZoiteChat.desktop',
po_dir: '../../po',
type: 'desktop',
install: true,
@@ -44,7 +44,7 @@ if get_option('gtk-frontend')
)
if desktop_utils.found()
test('Validate net.zoite.Zoitechat.desktop', desktop_utils,
test('Validate org.zoitechat.ZoiteChat.desktop', desktop_utils,
args: [zoitechat_desktop]
)
endif
@@ -98,14 +98,14 @@ if get_option('plugin')
conf.set('LICENSE', metainfo[2])
plugin_appdata = configure_file(
input: 'net.zoite.Zoitechat.Plugin.metainfo.xml.in',
output: 'net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name),
input: 'org.zoitechat.ZoiteChat.Plugin.metainfo.xml.in',
output: 'org.zoitechat.ZoiteChat.Plugin.@0@.metainfo.xml'.format(name),
configuration: conf,
install_dir: get_option('install-plugin-metainfo') ? metainfodir : '',
)
if appstreamcli.found()
test('Validate net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name), appstreamcli,
test('Validate org.zoitechat.ZoiteChat.Plugin.@0@.metainfo.xml'.format(name), appstreamcli,
args: ['validate', plugin_appdata]
)
endif

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>net.zoite.Zoitechat.Plugin.@NAME@</id>
<extends>net.zoite.Zoitechat</extends>
<id>org.zoitechat.ZoiteChat.Plugin.@NAME@</id>
<extends>org.zoitechat.ZoiteChat</extends>
<name>@NAME@ Plugin</name>
<summary>@SUMMARY@</summary>
<url type="homepage">https://zoitechat.org/</url>

View File

@@ -4,12 +4,12 @@ GenericName=IRC Client
Comment=Chat with other people online
Keywords=IM;Chat;
Exec=@exec_command@
Icon=net.zoite.Zoitechat
Icon=org.zoitechat.ZoiteChat
Terminal=false
Type=Application
Categories=GTK;Network;IRCClient;
StartupNotify=true
StartupWMClass=net.zoite.Zoitechat
StartupWMClass=org.zoitechat.ZoiteChat
X-GNOME-UsesNotifications=true
MimeType=x-scheme-handler/irc;x-scheme-handler/ircs;
Actions=SafeMode;

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.zoite.Zoitechat</id>
<id>org.zoitechat.ZoiteChat</id>
<name>ZoiteChat</name>
<launchable type="desktop-id">net.zoite.Zoitechat.desktop</launchable>
<launchable type="desktop-id">org.zoitechat.ZoiteChat.desktop</launchable>
<developer id="net.zoite">
<name translate="no">ZoiteChat</name>
@@ -26,7 +26,7 @@
</screenshot>
</screenshots>
<provides>
<id>zoitechat.desktop</id>
<id>org.zoitechat.ZoiteChat.desktop</id>
</provides>
<releases>
<release date="2026-05-21" version="2.18.1">
@@ -339,7 +339,7 @@
<description>
<p>This is largely a bug fix release though it has some large behind the scenes changes:</p>
<ul>
<li>Rename data files to use *net.zoite.Zoitechat* name</li>
<li>Rename data files to use *org.zoitechat.ZoiteChat* name</li>
<li>Add option (irc_reconnect_rejoin) to disable auto-rejoin on reconnect</li>
<li>Add ability to set custom tray icon separate of app icon</li>
<li>Fix Enchant 2.0+ support</li>

View File

@@ -1,5 +1,5 @@
{
"app-id": "net.zoite.Zoitechat",
"app-id": "org.zoitechat.ZoiteChat",
"branch": "master",
"runtime": "org.gnome.Platform",
"runtime-version": "49",
@@ -22,7 +22,7 @@
"--talk-name=org.mpris.MediaPlayer2.*"
],
"add-extensions": {
"net.zoite.Zoitechat.Plugin": {
"org.zoitechat.ZoiteChat.Plugin": {
"version": "49",
"directory": "extensions",
"add-ld-path": "lib",

View File

@@ -320,7 +320,7 @@ fe_args (int argc, char *argv[])
GError *error = NULL;
GOptionContext *context;
char *buffer;
const char *desktop_id = "net.zoite.Zoitechat";
const char *desktop_id = "org.zoitechat.ZoiteChat";
#ifdef WIN32
char *base_path = NULL;
char *locale_path = NULL;

View File

@@ -56,7 +56,7 @@ notification_backend_show (const char *title, const char *text)
g_variant_builder_init (&params, G_VARIANT_TYPE ("(susssasa{sv}i)"));
g_variant_builder_add (&params, "s", "zoitechat"); /* App name */
g_variant_builder_add (&params, "u", 0); /* ID, 0 means don't replace */
g_variant_builder_add (&params, "s", "net.zoite.Zoitechat"); /* App icon */
g_variant_builder_add (&params, "s", "org.zoitechat.ZoiteChat"); /* App icon */
g_variant_builder_add (&params, "s", title);
g_variant_builder_add (&params, "s", text);
g_variant_builder_add (&params, "as", NULL); /* Actions */
@@ -65,7 +65,7 @@ notification_backend_show (const char *title, const char *text)
g_variant_builder_open (&params, G_VARIANT_TYPE ("a{sv}"));
g_variant_builder_open (&params, G_VARIANT_TYPE ("{sv}"));
g_variant_builder_add (&params, "s", "desktop-entry");
g_variant_builder_add (&params, "v", g_variant_new_string ("net.zoite.Zoitechat"));
g_variant_builder_add (&params, "v", g_variant_new_string ("org.zoitechat.ZoiteChat"));
g_variant_builder_close (&params);
g_variant_builder_close (&params);

View File

@@ -80,7 +80,7 @@ typedef GIcon *TrayIcon;
typedef GIcon *TrayCustomIcon;
#define tray_icon_free(i) g_object_unref(i)
#define ICON_NORMAL_NAME "net.zoite.Zoitechat"
#define ICON_NORMAL_NAME "org.zoitechat.ZoiteChat"
#define ICON_MSG_NAME "mail-unread"
#define ICON_HILIGHT_NAME "dialog-warning"
#define ICON_FILE_NAME "folder-download"