Rename to Federated Calendar

Ship as Federated Calendar, with the application ID
computer.federated.FederatedCalendar and the executable
federated-calendar, so it can be installed and run alongside GNOME
Calendar.

The settings schema follows the application ID too, so the two don't
share settings or install the same schema. The project name sets the
executable, gettext domain and data directory; the desktop file, D-Bus
service, search provider, metainfo and icons follow the application ID.

Internal resource paths and the template file names are unchanged, to
keep merging from GNOME Calendar simple.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 09:01:27 -06:00
co-authored by Claude Opus 5.5
parent dd1c1cd014
commit 93d2369724
18 changed files with 39 additions and 27 deletions
+1
View File
@@ -1,5 +1,6 @@
appdata_conf = configuration_data()
appdata_conf.set('appid', application_id)
appdata_conf.set('binary', meson.project_name())
appdata = i18n.merge_file(
input: configure_file(
input: files('org.gnome.Calendar.metainfo.xml.in.in'),
@@ -10,7 +10,7 @@
<name>The GNOME Project</name>
</developer>
<name>Calendar</name>
<name>Federated Calendar</name>
<summary>Manage your schedule</summary>
<description>
@@ -104,10 +104,10 @@
<control>touch</control>
</supports>
<translation type="gettext">gnome-calendar</translation>
<translation type="gettext">@binary@</translation>
<launchable type="desktop-id">@appid@.desktop</launchable>
<provides>
<binary>gnome-calendar</binary>
<binary>@binary@</binary>
</provides>
<content_rating type="oars-1.1" />
+3 -1
View File
@@ -20,6 +20,8 @@
#define G_LOG_DOMAIN "GcalContext"
#include "config.h"
#include "gcal-context.h"
#include "gcal-time-zone-monitor.h"
@@ -412,7 +414,7 @@ gcal_context_init (GcalContext *self)
g_autoptr (GError) error = NULL;
self->clock = gcal_clock_new ();
self->settings = g_settings_new ("org.gnome.calendar");
self->settings = g_settings_new (SETTINGS_SCHEMA_ID);
self->weather_service = gcal_weather_service_new ();
self->time_format = GCAL_TIME_FORMAT_24H;
+1 -1
View File
@@ -519,7 +519,7 @@ gcal_application_handle_local_options (GApplication *app,
{
if (show_version)
{
g_print ("gnome-calendar: Version %s\n", PACKAGE_VERSION);
g_print ("%s: Version %s\n", PACKAGE_NAME, PACKAGE_VERSION);
return 0;
}
+1 -1
View File
@@ -2,7 +2,7 @@ using Gtk 4.0;
using Adw 1;
template $GcalWindow: Adw.ApplicationWindow {
title: _("Calendar");
title: _("Federated Calendar");
default-width: 800;
default-height: 600;
width-request: 360;
+1 -1
View File
@@ -418,7 +418,7 @@ content_title (GcalWindow *self,
return g_strdup (_("Agenda"));
default:
return g_strdup (_("Calendar"));
return g_strdup (_("Federated Calendar"));
}
}
+1 -1
View File
@@ -33,7 +33,7 @@ main (gint argc,
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
g_set_application_name (_("Calendar"));
g_set_application_name (_("Federated Calendar"));
gcal_log_init ();