Your message dated Sun, 15 May 2016 13:33:57 +0000
with message-id <e1b1wbb-0006hv...@franck.debian.org>
and subject line Bug#822572: fixed in citadel 902-1
has caused the Debian Bug report #822572,
regarding citadel: FTBFS against new libical 2.0.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
822572: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822572
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: citadel
Version: 9.01-1
Severity: normal
Tags: patch

Dear Maintainer,

Initial plans has been started for transitioning to libical 2.0.0
(currently stuck in NEW).

Your package fails to build from source with the new version.
Please see attached patches which are on top of the citadel
git packaging repo. (Please replace the bug report number in the
first commit message with whatever number this bug report gets
and replace the forth/last patch with a fresh "gbp dch --auto"
run.)

(See also #797074 if you're interested in current transition planning.)

Regards,
Andreas Henriksson
>From 695d48e311e0e1463afc98537cd05f9e3684cc4a Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andr...@fatal.se>
Date: Mon, 25 Apr 2016 15:32:33 +0200
Subject: [PATCH 1/4] Add debian/patches/icalerror_errors_are_fatal.patch

- fixes building against libical 2.0.0

Git-Dch: Full
Closes: #-1
---
 debian/patches/icalerror_errors_are_fatal.patch | 22 ++++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 debian/patches/icalerror_errors_are_fatal.patch
 create mode 100644 debian/patches/series

diff --git a/debian/patches/icalerror_errors_are_fatal.patch b/debian/patches/icalerror_errors_are_fatal.patch
new file mode 100644
index 0000000..a31ff6f
--- /dev/null
+++ b/debian/patches/icalerror_errors_are_fatal.patch
@@ -0,0 +1,22 @@
+From: Andreas Henriksson <andr...@fatal.se>
+Subject: Fix building with libical 2.0.0
+
+Use new helper function since the global variable was removed.
+
+See https://github.com/libical/libical/commit/6e5534a979b3ab4d28e5a32f5
+
+Note that this unconditionally uses the new function as the macro
+ICAL_CHECK_VERSION was not added in 2.0.0 yet. Maybe it can be
+utilized in the future....
+
+--- a/modules/calendar/serv_calendar.c
++++ b/modules/calendar/serv_calendar.c
+@@ -2586,7 +2586,7 @@
+ 	{
+ 
+ 		/* Tell libical to return errors instead of aborting if it gets bad data */
+-		icalerror_errors_are_fatal = 0;
++		icalerror_set_errors_are_fatal(0);
+ 
+ 		/* Use our own application prefix in tzid's generated from system tzdata */
+ 		icaltimezone_set_tzid_prefix("/citadel.org/");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..baceaf6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+icalerror_errors_are_fatal.patch
-- 
2.8.0.rc3

>From f73ea4c74c73a2d8ee67613a5c7393ab14fa2f57 Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andr...@fatal.se>
Date: Mon, 25 Apr 2016 15:33:37 +0200
Subject: [PATCH 2/4] Bump libical-dev build-dependency to >= 2.0.0

- see previously added patch header

Git-Dch: Full
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 6ca9737..4030dd4 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: extra
 Maintainer: Debian Citadel Team <pkg-citadel-de...@lists.alioth.debian.org>
 Uploaders: Wilfried Goesgens <w.goesg...@outgesourced.org>, Michael Meskes <mes...@debian.org>, Alexander Wirt <formo...@debian.org>
 Build-Depends: debhelper (>= 7.0.50~), po-debconf, bison, autotools-dev, 
- libdb-dev, libexpat1-dev, libical-dev (>=0.43), libldap2-dev, libncurses5-dev,
+ libdb-dev, libexpat1-dev, libical-dev (>= 2.0.0), libldap2-dev, libncurses5-dev,
  libpam0g-dev, libsieve2-dev, libssl-dev, libcitadel-dev (>= 9.01),
  libcurl4-openssl-dev (>> 7.25), zlib1g-dev, libev-dev (>= 4.0), libc-ares-dev (>= 1.7.2)
 Standards-Version: 3.9.6
-- 
2.8.0.rc3

>From c3d0ece3d0919e06956885c1d963d088c4074641 Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andr...@fatal.se>
Date: Mon, 25 Apr 2016 15:34:55 +0200
Subject: [PATCH 3/4] Add build-dependency and use quilt sequencer to apply
 debian/patches

---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 4030dd4..30bbb00 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: mail
 Priority: extra
 Maintainer: Debian Citadel Team <pkg-citadel-de...@lists.alioth.debian.org>
 Uploaders: Wilfried Goesgens <w.goesg...@outgesourced.org>, Michael Meskes <mes...@debian.org>, Alexander Wirt <formo...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), po-debconf, bison, autotools-dev, 
+Build-Depends: debhelper (>= 7.0.50~), po-debconf, quilt, bison, autotools-dev, 
  libdb-dev, libexpat1-dev, libical-dev (>= 2.0.0), libldap2-dev, libncurses5-dev,
  libpam0g-dev, libsieve2-dev, libssl-dev, libcitadel-dev (>= 9.01),
  libcurl4-openssl-dev (>> 7.25), zlib1g-dev, libev-dev (>= 4.0), libc-ares-dev (>= 1.7.2)
diff --git a/debian/rules b/debian/rules
index d510c35..6e80075 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,5 +101,5 @@ override_dh_strip:
 	dh_strip --dbg-package=citadel-dbg
 
 %:
-	dh $@ --with autotools-dev
+	dh $@ --with autotools-dev,quilt
 
-- 
2.8.0.rc3

>From 9548a8c1756cc647e7dac27cb4cef9141fba3868 Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andr...@fatal.se>
Date: Mon, 25 Apr 2016 15:35:35 +0200
Subject: [PATCH 4/4] Update debian/changelog

---
 debian/changelog | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 16b3549..df535c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+citadel (9.01-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/icalerror_errors_are_fatal.patch
+    - fixes building against libical 2.0.0
+    Closes: #-1
+  * Bump libical-dev build-dependency to >= 2.0.0
+    - see previously added patch header
+  * Add build-dependency and use quilt sequencer to apply debian/patches
+
+ -- Andreas Henriksson <andr...@fatal.se>  Mon, 25 Apr 2016 15:35:15 +0200
+
 citadel (9.01-1) unstable; urgency=medium
 
   * Imported Upstream version 9.01
-- 
2.8.0.rc3


--- End Message ---
--- Begin Message ---
Source: citadel
Source-Version: 902-1

We believe that the bug you reported is fixed in the latest version of
citadel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 822...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <mes...@debian.org> (supplier of updated citadel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 13 May 2016 10:37:49 +0200
Source: citadel
Binary: citadel-server citadel-mta citadel-doc citadel-dbg
Architecture: source amd64 all
Version: 902-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Citadel Team <pkg-citadel-de...@lists.alioth.debian.org>
Changed-By: Michael Meskes <mes...@debian.org>
Description:
 citadel-dbg - complete and feature-rich groupware server - debugging symbols
 citadel-doc - complete and feature-rich groupware server (documentation)
 citadel-mta - complete and feature-rich groupware server (mail transport agent)
 citadel-server - complete and feature-rich groupware server
Closes: 806901 822572
Changes:
 citadel (902-1) unstable; urgency=medium
 .
   * Imported Upstream version 902
   * Update package to use libical2.
     Thanks to Andreas Henriksson <andr...@fatal.se> (Closes: #822572)
   * Set citadel uid in postinst.
     Thanks to John Goerzen <jgoer...@complete.org> (Closes: #806901)
   * Bumped debhelper and standards version, no changes needed.
Checksums-Sha1:
 b91b5dab5b07666c270fb1adf4d04c00dc182f5d 2364 citadel_902-1.dsc
 81933600ff53eb6f7fd723f80126a827e432e20c 721860 citadel_902.orig.tar.gz
 e6082ad9dcae59aa639401f323f0ee066dda9e40 50409 citadel_902-1.diff.gz
 6c134fd7a1342a3991dbe797f85d88548a46848c 1757662 citadel-dbg_902-1_amd64.deb
 8a9179882033be7fe77822bed9b5439841ad2824 46300 citadel-doc_902-1_all.deb
 049966dc593662c974a7b28b0efdc16455853a72 11880 citadel-mta_902-1_amd64.deb
 5aac4e668a1316b4dc86a7222a241591ee927362 377516 citadel-server_902-1_amd64.deb
Checksums-Sha256:
 34174626a2898c4c07d2abafa707fe631cb7d4f483fe00e6919860230a421a86 2364 
citadel_902-1.dsc
 e28a32636784bb30b7aad0671f1637a35502cf10144fddb7498ebd137f4ae2b5 721860 
citadel_902.orig.tar.gz
 07d3d42735b687eb0d71b247bc401258d3647eae9e0ee77f857a7098c83f0d0f 50409 
citadel_902-1.diff.gz
 9f2cec959f5a08de3f2bfc907c38764254326bc5567987a96322d7095364e9fb 1757662 
citadel-dbg_902-1_amd64.deb
 54f484e1a3ecbab5da8a93543f1fc5a80e86607f5345fee509c00ef5a694592c 46300 
citadel-doc_902-1_all.deb
 33d21e9179303bdebf8a5cb07dd4c2cd21211278b391fd30bdde273de076c983 11880 
citadel-mta_902-1_amd64.deb
 aa4adc3266371af7b458012b91bcae138298cc2dcf16734c2d0e6a856331a32d 377516 
citadel-server_902-1_amd64.deb
Files:
 afa59a38b5211ff2d1ad3e60e6076c0c 2364 mail extra citadel_902-1.dsc
 9ffa14573a568fe06e8f28ef2e81e113 721860 mail extra citadel_902.orig.tar.gz
 396fa5e6068b808e71dc1bef0e1f8a14 50409 mail extra citadel_902-1.diff.gz
 d9c38829aa607c655e9da5c313e4a805 1757662 debug extra 
citadel-dbg_902-1_amd64.deb
 7b48830acbc9b2eb89144137fcb9ad2f 46300 doc extra citadel-doc_902-1_all.deb
 86066ea86503dbf6662b6a713989dd63 11880 mail extra citadel-mta_902-1_amd64.deb
 d0c2e568bb62f9bd2e070daf293c6d40 377516 mail extra 
citadel-server_902-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVzhqqDXYV8C7yzslAQgyAxAA0c1nR/UFGDHYoGIv46ug0hiaDPP+mb1N
IPVbAK+7as1Wcg+V5uRUI2F3IawOESNt4qQVrjmeB5dO0XW2dlRdoh/W51zvlgU/
73nfAIZ+qKxDylOnXDt0MYC2BbIWMxl+umiTsQcdO2ceOc3L+pAksqo/zNRrzSm6
qBKA1v2/6owYCO+B4gPH05j7tC7oZ1G4Hd03S/Gi9/DYrUEGai/i2/AfWkmfouT6
8pkf9uQKoxJzZ0A488m/S1PyZprcLcH5rxdUR9IrDhQKlfRgGye355D9xte19KZj
UN/dGf/FZC7dW89zku0oR2Uiq9GZwFPW3hK3udx1qa2EGd16cAG6ywvlVs+cm91O
16Fk7BcxP6ODztcImu2MMbvbLsLaGHL57MLcSVG/txkJMz434NQl7aRUwFE2YzTg
BD8Ds4N+LmGkbkCBXTJXxN0CM+kgzsqf0VfD95pKcNs1q6U/DsH5YBIpE+Je8fjE
WI/2sWRqyG9itAB+sBr1jJpiuxtjrlFCNYCfzYwhJXOrndW/g2MDKHuTpuwR74/b
4MgmuV5FghqIWkR8LpGyBXIXKJ62a1tddY2h7KfYz7ia4WQs32L+bVBjvshma4HQ
vEomLib6L73BrS3Tt7pXKoiHgfBNlf8o2sXaJ7m1KxGcN8L+zLN3tEWWOYTKiUyZ
+ffRxLWCIXI=
=be+N
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to