diff options
author | Victor Kareh <[email protected]> | 2025-07-25 07:22:50 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2025-07-25 16:52:45 -0400 |
commit | dafe6ccfd17ede3af0c8a92cc06a545c4d1723ef (patch) | |
tree | 7777098fb6a2b225aa0878012f475a9ce13befd2 /applets/clock/Makefile.am | |
parent | d62e45c2b0aaf4b15eecc2e8f1529f42fb4c8e6d (diff) | |
download | mate-panel-dafe6ccfd17ede3af0c8a92cc06a545c4d1723ef.tar.bz2 mate-panel-dafe6ccfd17ede3af0c8a92cc06a545c4d1723ef.tar.xz |
clock: Backport Evolution calendar integration from gnome-panel
Add Evolution Data Server (EDS) calendar integration to the MATE panel
clock applet, most of it ported from gnome-panel's clock applet. This
allows users to view calendar events and tasks directly from the clock
popup calendar.
The calendar integration is disabled by default and can be enabled
with --enable-eds during configuration. When disabled, the clock
applet functions normally without any EDS dependencies.
Diffstat (limited to 'applets/clock/Makefile.am')
-rw-r--r-- | applets/clock/Makefile.am | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am index e145dd5f..5a932422 100644 --- a/applets/clock/Makefile.am +++ b/applets/clock/Makefile.am @@ -35,6 +35,15 @@ CLOCK_SOURCES = \ set-timezone.h \ $(BUILT_SOURCES) +if HAVE_EDS +CLOCK_SOURCES += \ + calendar-client.c \ + calendar-client.h \ + calendar-sources.c \ + calendar-sources.h \ + calendar-debug.h +endif + CLOCK_CPPFLAGS = \ $(AM_CPPFLAGS) \ $(LIBMATE_PANEL_APPLET_CFLAGS) \ @@ -44,6 +53,10 @@ CLOCK_CPPFLAGS = \ -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE +if HAVE_EDS +CLOCK_CPPFLAGS += $(EDS_CFLAGS) +endif + CLOCK_LDADD = \ ../../libmate-panel-applet/libmate-panel-applet-4.la \ $(CLOCK_LIBS) \ @@ -51,6 +64,10 @@ CLOCK_LDADD = \ libsystem-timezone.la \ -lm +if HAVE_EDS +CLOCK_LDADD += $(EDS_LIBS) +endif + test_system_timezone_SOURCES = \ test-system-timezone.c test_system_timezone_LDADD = libsystem-timezone.la |