clock: Backport Evolution calendar integration from gnome-panel#1489
Conversation
caa6883 to
dafe6cc
Compare
|
I actually have no way of testing this because at least as of a couple years ago Evolution won't let you get past the
configuration screen without an email address that supports dedicated email programs Lots of free version webmail
accounts do not.
|
|
@vkareh this is really awesome ! That was one of my favorite features of the old gnome 2. I really wanted to have it mate, but I don't have the skills to do it. Of course, I have also installed the latest version of libmateweather from git too. Also, I had to pass However, after building and installing it, the clock applet no longer works (I tested with mate-panel-test-applets). |
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.
We remove a bunch of functions, since they are already handled by libecal, and add correction to times based on the difference between the event's own timezone and our current local timezone.
2704077 to
b76af19
Compare
|
In playing with this I found a few NULL pointer issues - I just pushed some potential fixes. I still can't get the mate-panel-test-applets thing to work though (the actual applet still works fine) |
Provide a fallback preferences path in case the applet doesn't provide one. This happens when running outside the actual panel, like in the case of mate-panel-test-applets.
|
@oz123 - okay, found the issue and pushed a commit. Let me know whenever you have the chance of testing this. |
|
@vkareh thank you! After some back and forth with gentoo, I have it running. The trick was to compile libmateweather with: And then , compile mate-panel with: And verify that it's only linked against libsoup-3 and not against libsoup-2.4. and finally, make evolution start so I can test this feature. Evolution crashed with: Changing /run/user/0/at-api/ permissions fixed the issue: And I can start evolution (connecting to my gmail) and it shows event from my google calendar in the calendar app!
Really nice! I missed this feature a lot. |
There was a problem hiding this comment.
I cannot run evolution (and its a lot of packages to install) as I do not have any compatable email accounts to run it with,
That said, the non-Evolution build finishes and runs just fine, giving this text in the config results with my normal build options:
Applets to build in-process: wncklet clock fish notification-area
Wayland support: yes
X11 support: yes
XRandr support: yes
Evolution Data Server support: no
Build introspection support: yes
Build gtk-doc documentation: no

Add Evolution Data Server (EDS) calendar integration to the MATE panel clock applet, most of it
portedcopy/pasted 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.
Note: This requires the changes in mate-desktop/libmateweather#133 (libedataserver requires libsoup-3 to work and it otherwise conflicts with the weather display using libsoup2)
Fixes #480