Control: tag patch

I think the problem here is not about making sflphone unbuildable, but
unfortunate licensing of libgnutls28.

It has moved from LGPL2.1 to LGPL3, and thus became incompatible with
any other GPLv2 code. Since ucomomn has so many reverse-dependencies,
this essentially forces many packages out of the archive. I haven't
done full analysis of all reverse-dependencies in the archive, but
even if there are none it would be nice to keep libraries with a more
compatible licenses, instead of more restricting ones.

The patch to fix FTBFS against GnuTLS 2.6 is trivial, and is attached
with this email.

Please consider reverting and making libucommon build and link against
GnuTLS 2.6.

Regards,

Dmitrijs.
diff -Nru ucommon-6.0.7/debian/control ucommon-6.0.7/debian/control
--- ucommon-6.0.7/debian/control	2013-08-02 09:27:21.000000000 +0000
+++ ucommon-6.0.7/debian/control	2013-10-30 12:34:56.000000000 +0000
@@ -10,7 +11,7 @@
  debhelper (>= 9~),
  dh-buildinfo,
  pkg-config,
- libgnutls28-dev,
+ libgnutls-dev,
  d-shlibs (>= 0.45~),
  graphviz
 Build-Depends-Indep: doxygen-latex
diff -Nru ucommon-6.0.7/debian/patches/fix-gnutls2.6.patch ucommon-6.0.7/debian/patches/fix-gnutls2.6.patch
--- ucommon-6.0.7/debian/patches/fix-gnutls2.6.patch	1970-01-01 00:00:00.000000000 +0000
+++ ucommon-6.0.7/debian/patches/fix-gnutls2.6.patch	2013-10-30 12:35:21.000000000 +0000
@@ -0,0 +1,14 @@
+Description: Fix building ucommon against gnutls2.6.
+Author: Dmitrijs Ledkovs <x...@ubuntu.com>
+
+--- ucommon-6.0.7.orig/gnutls/local.h
++++ ucommon-6.0.7/gnutls/local.h
+@@ -37,7 +37,7 @@ class __LOCAL context : public secure
+ public:
+     ~context();
+ 
+-    unsigned int connect;
++    gnutls_connection_end_t connect;
+     gnutls_credentials_type_t xtype;
+     gnutls_certificate_credentials_t xcred;
+     gnutls_dh_params_t dh;
diff -Nru ucommon-6.0.7/debian/patches/series ucommon-6.0.7/debian/patches/series
--- ucommon-6.0.7/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ ucommon-6.0.7/debian/patches/series	2013-10-30 12:35:10.000000000 +0000
@@ -0,0 +1 @@
+fix-gnutls2.6.patch

Reply via email to