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

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Before

Width:  |  Height:  |  Size: 433 B

After

Width:  |  Height:  |  Size: 433 B

+9 -6
View File
@@ -3,11 +3,11 @@ subdir('icons')
enum_headers = files(src_dir / 'gcal-enums.h')
enums_xml = gnome.mkenums(
'org.gnome.calendar.enums.xml',
'@0@.enums.xml'.format(settings_schema_id),
sources: enum_headers,
comments: '<!-- @comment@ -->',
fhead: '<schemalist>',
vhead: ' <@type@ id="org.gnome.calendar.@EnumName@">',
vhead: ' <@type@ id="@0@.@EnumName@">'.format(settings_schema_id),
vprod: ' <value nick="@valuenick@" value="@valuenum@"/>',
vtail: ' </@type@>',
ftail: '</schemalist>',
@@ -19,6 +19,7 @@ enums_xml = gnome.mkenums(
# Note: This name is registered in gcal-weather-service.c.
desktop_conf = configuration_data()
desktop_conf.set('icon', application_id)
desktop_conf.set('binary', meson.project_name())
desktop = i18n.merge_file(
type: 'desktop',
input: configure_file(
@@ -36,6 +37,7 @@ desktop = i18n.merge_file(
search_provider_conf = configuration_data()
search_provider_conf.set('appid', application_id)
search_provider_conf.set('profile', profile)
search_provider_conf.set('objectpath', '/' + application_id.replace('.', '/'))
configure_file(
configuration: search_provider_conf,
input: files('org.gnome.Calendar.search-provider.ini.in'),
@@ -46,12 +48,12 @@ configure_file(
# GSettings schema
schema_conf = configuration_data()
schema_conf.set('GETTEXT_PACKAGE', meson.project_name())
schema = 'org.gnome.calendar.gschema.xml'
schema_conf.set('SCHEMA_ID', settings_schema_id)
schema_conf.set('SCHEMA_PATH', settings_schema_path)
schema_xml = configure_file(
input: schema + '.in',
output: schema,
input: 'org.gnome.calendar.gschema.xml.in',
output: '@0@.gschema.xml'.format(settings_schema_id),
install: true,
install_dir: calendar_schemadir,
configuration: schema_conf
@@ -72,6 +74,7 @@ compiled_schemas = custom_target(
service_conf = configuration_data()
service_conf.set('appid', application_id)
service_conf.set('bindir', calendar_bindir)
service_conf.set('binary', meson.project_name())
service = 'org.gnome.Calendar.service'
configure_file(
+2 -2
View File
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Calendar
Name=Federated Calendar
Comment=Access and manage your calendars
Exec=gnome-calendar %U
Exec=@binary@ %U
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=@icon@
Terminal=false
@@ -1,6 +1,6 @@
[Shell Search Provider]
Icon=gnome-calendar
Icon=@appid@
DesktopId=@appid@.desktop
BusName=@appid@
ObjectPath=/org/gnome/Calendar@profile@/SearchProvider
ObjectPath=@objectpath@@profile@/SearchProvider
Version=2
+1 -1
View File
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=@appid@
Exec=@bindir@/gnome-calendar --gapplication-service
Exec=@bindir@/@binary@ --gapplication-service
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="org.gnome.calendar" path="/org/gnome/calendar/">
<schema id="@SCHEMA_ID@" path="@SCHEMA_PATH@">
<key name="window-maximized" type="b">
<default>true</default>
<summary>Window maximized</summary>
@@ -11,7 +11,7 @@
<summary>Window size</summary>
<description>Window size (width and height).</description>
</key>
<key name="active-view" enum="org.gnome.calendar.GcalWindowView">
<key name="active-view" enum="@SCHEMA_ID@.GcalWindowView">
<default>'month'</default>
<summary>Type of the active view</summary>
<description>Type of the active window view, default value is: monthly view</description>