Source: evolution
Version: 3.8.5-2
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

evolution 3.8.5 cannot be built on hurd-i386, as bogofilter is not
available on hurd-i386 yet (and it is not easy to make it work at the
moment).

Thus, the proposed change is to disable the bogofilter build dependency
on hurd archs, and switching the bogofilter support off in configure
(which would otherwise error out).

On a more general note: both the bogofilter and spamassassin plugin
have the paths to their tools hardcoded at build time, while it should
be better IMHO have the plugins use the proper glib functions to find
the executables in $PATH. This could avoid requiring bogofilter and
spamassassin at build time.

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -71,7 +71,7 @@ Build-Depends: debhelper (>= 9),
                libclutter-1.0-dev (>= 1.0.0),
                spamassassin,
                spamc,
-               bogofilter,
+               bogofilter [!hurd-any],
                highlight
 
 Package: evolution
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,10 @@ else
 	DEB_CONFIGURE_EXTRA_FLAGS+=--enable-nm
 endif
 
+ifeq ($(DEB_HOST_ARCH_OS), hurd)
+	DEB_CONFIGURE_EXTRA_FLAGS+=--disable-bogofilter
+endif
+
 clean::
 	debconf-updatepo
 	find -name '*.schemas' | xargs rm -f

Reply via email to