Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (43ed5f8b46d6f8a47e5643c4bcf4b417ac61d160)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (43ed5f8b46d6f8a47e5643c4bcf4b417ac61d160)
  • Date: Tue, 6 Oct 2026 09:58:12 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

mail/claws-mail/DETAILS |
5
mail/claws-mail/HISTORY |
7
mail/claws-mail/PRE_BUILD |
3
mail/claws-mail/patches/0001-Port-vcalendar-plugin-to-libical-4.x.patch |
159 ++++++++++
4 files changed, 170 insertions(+), 4 deletions(-)

New commits:
commit 43ed5f8b46d6f8a47e5643c4bcf4b417ac61d160
Author: Ismael Luceno <ismael AT iodev.co.uk>
Commit: Ismael Luceno <ismael AT sourcemage.org>

claws-mail: Port vcalendar plugin to libical 4.x

commit 32c34f4ca4f8bff2c1e1374048ef16ea231cfc6e
Author: Ismael Luceno <ismael AT iodev.co.uk>
Commit: Ismael Luceno <ismael AT sourcemage.org>

claws-mail: updated spell to 4.4.0

diff --git a/mail/claws-mail/DETAILS b/mail/claws-mail/DETAILS
index 3e59f1f..2afc060 100755
--- a/mail/claws-mail/DETAILS
+++ b/mail/claws-mail/DETAILS
@@ -1,9 +1,8 @@
SPELL=claws-mail
- VERSION=4.3.1
- SECURITY_PATCH=2
+ VERSION=4.4.0
SOURCE=$SPELL-${VERSION}.tar.xz

SOURCE_URL="http://www.claws-mail.org/download.php?file=releases/${SOURCE}";
-
SOURCE_HASH=sha512:1ecd34c9d4b529dbad42febdd873a1cb06c965fbfd9c0677b20b13ccfed7dae23602bdcf63285ff267a55c4b07a5565d9e8c60622b849e1ece1b9e3046995fa9
+
SOURCE_HASH=sha512:533eafed1041402555efc0361e1e2b31b5b73c70cb031fc8a4e369afecb4653890bc7e10fc99ae2cf0c7107691230560fd47ca04f5ce11411db2d25a2f815978
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://www.claws-mail.org/
ENTERED=20061209
diff --git a/mail/claws-mail/HISTORY b/mail/claws-mail/HISTORY
index 787d0c4..b410830 100644
--- a/mail/claws-mail/HISTORY
+++ b/mail/claws-mail/HISTORY
@@ -1,3 +1,10 @@
+2026-10-06 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, patches/0001-Port-vcalendar-plugin-to-libical-4.x.patch:
+ fixed the build against libical 4.x
+
+2026-10-27 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 4.4.0
+
2025-03-02 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 4.3.1

diff --git a/mail/claws-mail/PRE_BUILD b/mail/claws-mail/PRE_BUILD
index 9ddd862..63bae0c 100755
--- a/mail/claws-mail/PRE_BUILD
+++ b/mail/claws-mail/PRE_BUILD
@@ -1,5 +1,6 @@
default_pre_build &&
-cd ${SOURCE_DIRECTORY} &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&

if is_depends_enabled ${SPELL} "gnutls" && [[ $(installed_version "gnutls")
== 3.0.* ]]
then
diff --git
a/mail/claws-mail/patches/0001-Port-vcalendar-plugin-to-libical-4.x.patch
b/mail/claws-mail/patches/0001-Port-vcalendar-plugin-to-libical-4.x.patch
new file mode 100644
index 0000000..5db53b6
--- /dev/null
+++ b/mail/claws-mail/patches/0001-Port-vcalendar-plugin-to-libical-4.x.patch
@@ -0,0 +1,159 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <iluceno AT suse.de>
+Date: Tue, 6 Oct 2026 09:48:44 +0200
+Subject: [PATCH] Port vcalendar plugin to libical 4.x
+
+Upstream-Status: Pending
+Origin: SUSE
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ src/plugins/vcalendar/vcal_folder.c | 25 ++++++++++++------------
+ src/plugins/vcalendar/vcal_manager.c | 7 +++++--
+ src/plugins/vcalendar/vcal_meeting_gtk.c | 2 +-
+ 3 files changed, 19 insertions(+), 15 deletions(-)
+
+--- a/src/plugins/vcalendar/vcal_folder.c 2026-02-16 10:55:19.000000000
+0100
++++ b/src/plugins/vcalendar/vcal_folder.c 2026-10-06 09:34:46.592186717
+0200
+@@ -536,7 +536,7 @@
+ while (evt) {
+ icalproperty *prop;
+ icalproperty *rprop = icalcomponent_get_first_property(evt,
ICAL_RRULE_PROPERTY);
+- struct icalrecurrencetype recur;
++ struct icalrecurrencetype *recur;
+ struct icaltimetype next;
+ icalrecur_iterator* ritr = NULL;
+ EventTime days;
+@@ -559,7 +559,7 @@
+ gchar *orig_uid = NULL;
+ gchar *uid = g_strdup(icalproperty_get_uid(prop));
+ IcalFeedData *data = icalfeeddata_new(
+- icalcomponent_new_clone(evt),
NULL);
++ icalcomponent_clone(evt),
NULL);
+ int i = 0;
+ orig_uid = g_strdup(uid);
+
+@@ -610,7 +610,7 @@
+ struct icaldurationtype ical_dur;
+ struct icaltimetype dtstart =
icaltime_null_time();
+ struct icaltimetype dtend =
icaltime_null_time();
+- evt = icalcomponent_new_clone(evt);
++ evt = icalcomponent_clone(evt);
+ prop = icalcomponent_get_first_property(evt,
ICAL_RRULE_PROPERTY);
+ if (prop) {
+ icalcomponent_remove_property(evt,
prop);
+@@ -626,7 +626,7 @@
+ dtend = icalproperty_get_dtend(prop);
+ else
+ debug_print("event has no DTEND!\n");
+- ical_dur = icaltime_subtract(dtend, dtstart);
++ ical_dur = icalduration_from_times(dtend,
dtstart);
+ next = icalrecur_iterator_next(ritr);
+ if (!icaltime_is_null_time(next) &&
+ !icaltime_is_null_time(dtstart) && i <
100) {
+@@ -635,7 +635,7 @@
+
+ prop =
icalcomponent_get_first_property(evt, ICAL_DTEND_PROPERTY);
+ if (prop)
+- icalproperty_set_dtend(prop,
icaltime_add(next, ical_dur));
++ icalproperty_set_dtend(prop,
icalduration_extend(next, ical_dur));
+
+ prop =
icalcomponent_get_first_property(evt, ICAL_UID_PROPERTY);
+ uid = g_strdup_printf("%s-%d",
orig_uid, i);
+@@ -770,7 +770,7 @@
+ if ((status == ICAL_PARTSTAT_ACCEPTED
+ || status == ICAL_PARTSTAT_TENTATIVE)
+ && event->recur && *(event->recur)) {
+- struct icalrecurrencetype recur;
++ struct icalrecurrencetype *recur;
+ struct icaltimetype dtstart;
+ struct icaltimetype next;
+ icalrecur_iterator* ritr;
+@@ -779,13 +779,13 @@
+ int i = 0;
+
+ debug_print("dumping recurring events from
main event %s\n", d);
+- recur =
icalrecurrencetype_from_string(event->recur);
++ recur =
icalrecurrencetype_new_from_string(event->recur);
+ dtstart =
icaltime_from_string(event->dtstart);
+
+ duration =
icaltime_as_timet(icaltime_from_string(event->dtend))
+ -
icaltime_as_timet(icaltime_from_string(event->dtstart));
+
+- ical_dur =
icaldurationtype_from_int(duration);
++ ical_dur =
icaldurationtype_from_seconds(duration);
+
+ ritr = icalrecur_iterator_new(recur, dtstart);
+
+@@ -799,7 +799,7 @@
+ gchar *uid = g_strdup_printf("%s-%d",
event->uid, i);
+ new_start =
icaltime_as_ical_string(next);
+ new_end = icaltime_as_ical_string(
+- icaltime_add(next,
ical_dur));
++
icalduration_extend(next, ical_dur));
+ debug_print("adding with start/end
%s:%s\n", new_start, new_end);
+ nevent = vcal_manager_new_event(uid,
event->organizer, event->orgname,
+
event->location, event->summary, event->description,
+@@ -825,6 +825,7 @@
+ i++;
+ }
+ icalrecur_iterator_free(ritr);
++ icalrecurrencetype_unref(recur);
+ }
+ } else {
+ vcal_manager_free_event(event);
+@@ -2379,7 +2380,7 @@
+ if (prop) {
+ itt = icalproperty_get_dtstart(prop);
+ icalproperty_free(prop);
+- dtend =
g_strdup(icaltime_as_ical_string(icaltime_add(itt,duration)));
++ dtend =
g_strdup(icaltime_as_ical_string(icalduration_extend(itt,duration)));
+ TO_UTF8(dtend);
+ }
+ }
+@@ -2434,8 +2435,8 @@
+ }
+ GET_PROP(comp, prop, ICAL_RRULE_PROPERTY);
+ if (prop) {
+- struct icalrecurrencetype rrule =
icalproperty_get_rrule(prop);
+- recur = g_strdup(icalrecurrencetype_as_string(&rrule));
++ struct icalrecurrencetype *rrule =
icalproperty_get_rrule(prop);
++ recur = g_strdup(icalrecurrencetype_as_string(rrule));
+ TO_UTF8(recur);
+ icalproperty_free(prop);
+ }
+--- a/src/plugins/vcalendar/vcal_manager.c 2024-08-28 17:44:56.000000000
+0200
++++ b/src/plugins/vcalendar/vcal_manager.c 2026-10-06 09:32:36.244418366
+0200
+@@ -401,8 +401,11 @@
+ icalcomponent_add_property(ievent,
+
icalproperty_vanew_dtend((icaltime_from_string(event->dtend)), (void*)0));
+ if (event->recur && *(event->recur)) {
++ struct icalrecurrencetype *recur =
++ icalrecurrencetype_new_from_string(event->recur);
+ icalcomponent_add_property(ievent,
+-
icalproperty_vanew_rrule((icalrecurrencetype_from_string(event->recur)),
(void*)0));
++ icalproperty_vanew_rrule(recur, (void*)0));
++ icalrecurrencetype_unref(recur);
+ }
+ icalcomponent_add_property(ievent,
+ icalproperty_new_description(event->description));
+@@ -690,7 +693,7 @@
+ icalcomponent *ievent = NULL;
+ int i = 0;
+
+- ievent = icalcomponent_new_clone(event);
++ ievent = icalcomponent_clone(event);
+
+ prop = icalcomponent_get_first_property(ievent, ICAL_UID_PROPERTY);
+ if (prop) {
+--- a/src/plugins/vcalendar/vcal_meeting_gtk.c 2026-03-08 14:44:56.000000000
+0100
++++ b/src/plugins/vcalendar/vcal_meeting_gtk.c 2026-10-06 09:32:36.175417430
+0200
+@@ -2110,7 +2110,7 @@
+
+ ipt.start = icaltime_from_string(event->dtstart);
+ ipt.end = icaltime_from_string(event->dtend);
+- ipt.duration = icaltime_subtract(ipt.end, ipt.start);
++ ipt.duration = icalduration_from_times(ipt.end, ipt.start);
+ if (icaltime_as_timet(ipt.start) <=
icaltime_as_timet(itt_end)
+ && icaltime_as_timet(ipt.end) >=
icaltime_as_timet(itt_start)) {
+ prop = icalproperty_new_freebusy(ipt);
+--


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (43ed5f8b46d6f8a47e5643c4bcf4b417ac61d160), Ismael Luceno, 10/06/2026

Archive powered by MHonArc 2.6.24.

Top of Page