Since I'm quite annoyed by this bug, I digged a bit into pidgin and
managed to workaround (or fix??) it:

     1. Add libgnutls-dev as build dependency
     2. Compile with --enable-nss=no --enable-gnutls=yes

I noticed there was once #422988 stating GNUTLS is not recommended by
upstream, but years have passed and it seems to me that things have
changed.

You'll find attached the patch that fixes the bug for me.

Cheers - Fuddl
diff --git a/debian/control b/debian/control
index ead6f22..3a76176 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,8 @@ Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7), intltool,
  xsltproc, doxygen, libsilc-dev (>= 1.1.1), libgstfarsight0.10-dev (>= 0.0.9),
  libgstreamer-plugins-base0.10-dev,
  network-manager-dev (>= 0.5.0) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
- libsqlite3-dev (>= 3.3), libidn11-dev, ca-certificates
+ libsqlite3-dev (>= 3.3), libidn11-dev, ca-certificates,
+ libgnutls-dev
 Standards-Version: 3.8.3
 XS-Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/pidgin/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/pidgin/
diff --git a/debian/rules b/debian/rules
index a6a638d..629db7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,8 @@ DEB_BUILDDIR = $(DEB_SRCDIR)/build
 LDFLAGS = -Wl,--as-needed
 DEB_CONFIGURE_EXTRA_FLAGS = --disable-gevolution \
 	    --enable-cap --with-system-ssl-certs=/etc/ssl/certs \
-	    --enable-perl --with-zephyr=/usr --enable-dbus --enable-gnutls=no \
-	    --enable-nss=yes --enable-cyrus-sasl --enable-vv --enable-farsight \
+	    --enable-perl --with-zephyr=/usr --enable-dbus --enable-gnutls=yes \
+	    --enable-nss=no --enable-cyrus-sasl --enable-vv --enable-farsight \
 	    --enable-tcl --enable-tk
 ifeq ($(DEB_BUILD_ARCH_OS),linux)
   DEB_CONFIGURE_EXTRA_FLAGS += --enable-nm

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to