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
d28287dfc9

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
Bobby Rong 2023-09-16 09:17:08 +00:00 committed by Jan Tojnar
parent f8c9c832ce
commit bdb5a10b14
2 changed files with 27 additions and 2 deletions

View file

@ -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 = [

View file

@ -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