tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fixes for evolution mail so it builds again



The build of the evolution mail/calendar application seems to have been broken 
by the switch to using evolution-data-server which has a updated api for 
e_webdav_discover_content_get_selected. It hasn't built since before 
pkgsrc-2022Q1.

The enclosed three patches fix the problem - they need adding, the distinfo 
checksums updated and the 'do not build marker' removing from the Makefile.

The package has been tested again two mail accounts and a caldav calender 
server with expected results under NetBSD-9.3

Can someone please pull these up to pkgsrc-2022Q4 and pkgsrc-current

Thanks,
Dave

$NetBSD: src-modules-book-config-carddav-evolution-book-config-carddav.c,v 1.0 2022/11/06 22:00:00 dtyson Exp $

e_webdav_discover_content_get_selected now takes an extra argument for order

--- src/modules/book-config-carddav/evolution-book-config-carddav.c.orig	2019-10-07 08:22:43.000000000 +0100
+++ src/modules/book-config-carddav/evolution-book-config-carddav.c	2022-11-06 22:08:40.619734168 +0000
@@ -115,12 +115,12 @@
 
 	if (gtk_dialog_run (dialog) == GTK_RESPONSE_ACCEPT) {
 		gchar *href = NULL, *display_name = NULL, *color = NULL, *email;
-		guint supports = 0;
+		guint supports = 0, order = 0;
 		GtkWidget *content;
 
 		content = e_webdav_discover_dialog_get_content (dialog);
 
-		if (e_webdav_discover_content_get_selected (content, 0, &href, &supports, &display_name, &color)) {
+		if (e_webdav_discover_content_get_selected (content, 0, &href, &supports, &display_name, &color, &order)) {
 			soup_uri_free (uri);
 			uri = soup_uri_new (href);
 
$NetBSD: src-modules-cal-config-caldav-evolution-cal-config-caldav-c,v 1.0 2022/11/06 22:00:00 dtyson Exp $

e_webdav_discover_content_get_selected now takes an extra argument for order

--- src/modules/cal-config-caldav/evolution-cal-config-caldav.c.orig	2019-10-07 08:22:43.000000000 +0100
+++ src/modules/cal-config-caldav/evolution-cal-config-caldav.c	2022-11-06 22:11:48.813568184 +0000
@@ -146,12 +146,12 @@
 
 	if (gtk_dialog_run (dialog) == GTK_RESPONSE_ACCEPT) {
 		gchar *href = NULL, *display_name = NULL, *color = NULL, *email;
-		guint supports = 0;
+		guint supports = 0, order = 0;
 		GtkWidget *content;
 
 		content = e_webdav_discover_dialog_get_content (dialog);
 
-		if (e_webdav_discover_content_get_selected (content, 0, &href, &supports, &display_name, &color)) {
+		if (e_webdav_discover_content_get_selected (content, 0, &href, &supports, &display_name, &color, &order)) {
 			soup_uri_free (uri);
 			uri = soup_uri_new (href);
 
$NetBSD: src-modules-cal-config-google-e-google-chooser-button-c,v 1.0 2022/11/06 22:00:00 dtyson Exp $

e_webdav_discover_content_get_selected now takes an extra argument for order

--- src/modules/cal-config-google/e-google-chooser-button.c.orig	2019-10-07 08:22:43.000000000 +0100
+++ src/modules/cal-config-google/e-google-chooser-button.c	2022-11-06 22:14:10.184192760 +0000
@@ -257,12 +257,12 @@
 
 	if (gtk_dialog_run (dialog) == GTK_RESPONSE_ACCEPT) {
 		gchar *href = NULL, *display_name = NULL, *color = NULL, *email;
-		guint supports = 0;
+		guint supports = 0, order = 0;
 		GtkWidget *content;
 
 		content = e_webdav_discover_dialog_get_content (dialog);
 
-		if (e_webdav_discover_content_get_selected (content, 0, &href, &supports, &display_name, &color)) {
+		if (e_webdav_discover_content_get_selected (content, 0, &href, &supports, &display_name, &color, &order)) {
 			soup_uri_free (uri);
 			uri = soup_uri_new (href);
 
$NetBSD: distinfo,v 1.89 2021/10/26 10:53:59 nia Exp $

BLAKE2s (evolution-3.34.1.tar.xz) = 5bce69bc6de9df34996eb577efc99fa60e201d150c00e21de4c0fbd331b0267a
SHA512 (evolution-3.34.1.tar.xz) = d72329b2dde41724cc8818f843b5530c5465e4fd7fceca3208a26180f9d6e286165d03d33ba4066e959a6e69bd1e5d33759d4287a57bb765bf7143410be6102c
Size (evolution-3.34.1.tar.xz) = 11919428 bytes
SHA1 (patch-cmake_modules_PrintableOptions.cmake) = 4f6eca93f9e859730b7abe0b7daceb0b4219b345
SHA1 (patch-src-modules-book-config-carddav-evolution-book-config-carddav-c) = 5c669c2db616f6a7d63565105627d448071b7708
SHA1 (patch-src-modules-cal-config-caldav-evolution-cal-config-caldav-c) = 06d5c5e009f7c3fd641cd73deba49c0ace72f413
SHA1 (patch-src-modules-cal-config-google-e-google-chooser-button-c) = 26615d37c56c2619e847d191be1c885835aa8539


Home | Main Index | Thread Index | Old Index