about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/evolution/evolution-ews
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-09-16 09:17:08 +0000
committerJan Tojnar <jtojnar@gmail.com>2023-11-21 08:42:10 +0100
commitbdb5a10b14a386c32e1f9af7c49d1ce868b90bde (patch)
tree463b1874de75cc2e1f9254acc17c23c5eb49cd0a /pkgs/applications/networking/mailreaders/evolution/evolution-ews
parentf8c9c832ce840e1bd3fe89c56f7925c201bffa5d (diff)
evolution-ews: 3.49.2 → 3.50.0
https://gitlab.gnome.org/GNOME/evolution-ews/-/compare/3.49.2...3.50.0

It should be possible to split package as mentioned in
https://github.com/GNOME/evolution-ews/commit/d28287dfc94cb0fa089ea27b657c013fb78cd37f

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Diffstat (limited to 'pkgs/applications/networking/mailreaders/evolution/evolution-ews')
-rw-r--r--pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix4
-rw-r--r--pkgs/applications/networking/mailreaders/evolution/evolution-ews/hardcode-gsettings.patch25
2 files changed, 27 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
index c219d758544b2..a5b8e988c1bf9 100644
--- a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
+++ b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
@@ -22,11 +22,11 @@
 
 stdenv.mkDerivation rec {
   pname = "evolution-ews";
-  version = "3.49.2";
+  version = "3.50.0";
 
   src = fetchurl {
     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
-    sha256 = "1CFv5/+N1QkyOAG/2h2hd3AvyO6YYlSYaoHkdLTqhPE=";
+    sha256 = "16oN6KeP7I5I7S1h6jcDqDwcy1rACv/7qyXsBRnCvqQ=";
   };
 
   patches = [
diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/hardcode-gsettings.patch b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/hardcode-gsettings.patch
index f1182394b550a..aa1b1bcb89db9 100644
--- a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/hardcode-gsettings.patch
+++ b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/hardcode-gsettings.patch
@@ -1,3 +1,28 @@
+diff --git a/src/EWS/calendar/e-cal-backend-ews-utils.c b/src/EWS/calendar/e-cal-backend-ews-utils.c
+index 653a8fb..ad80283 100644
+--- a/src/EWS/calendar/e-cal-backend-ews-utils.c
++++ b/src/EWS/calendar/e-cal-backend-ews-utils.c
+@@ -2406,7 +2406,19 @@ e_cal_backend_ews_get_configured_evolution_icaltimezone (void)
+ 		if (schema) {
+ 			GSettings *settings;
+ 
+-			settings = g_settings_new ("org.gnome.evolution.calendar");
++			{
++				g_autoptr(GSettingsSchemaSource) schema_source;
++				g_autoptr(GSettingsSchema) schema;
++				schema_source = g_settings_schema_source_new_from_directory("@evo@",
++											    g_settings_schema_source_get_default(),
++											    TRUE,
++											    NULL);
++				schema = g_settings_schema_source_lookup(schema_source,
++									 "org.gnome.evolution.calendar",
++									 FALSE);
++				settings = g_settings_new_full(schema, NULL,
++							       NULL);
++			}
+ 
+ 			if (g_settings_get_boolean (settings, "use-system-timezone"))
+ 				location = e_cal_util_get_system_timezone_location ();
 diff --git a/src/EWS/camel/camel-ews-utils.c b/src/EWS/camel/camel-ews-utils.c
 index dbd9adb..a2372a4 100644
 --- a/src/EWS/camel/camel-ews-utils.c