r41908 - in /attic/gnome-vfs/debian: changelog control control.in patches/gnutls3.patch patches/series

ah at users.alioth.debian.org ah at users.alioth.debian.org
Sat Jul 5 10:08:43 UTC 2014


Author: ah
Date: Sat Jul  5 10:08:43 2014
New Revision: 41908

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=41908
Log:
* Team upload.
* Switch to gnutls28 (Closes: #747455).
* Drop gcrypt library dependency, gnutls can do thread locking.

Added:
    attic/gnome-vfs/debian/patches/gnutls3.patch
Modified:
    attic/gnome-vfs/debian/changelog
    attic/gnome-vfs/debian/control
    attic/gnome-vfs/debian/control.in
    attic/gnome-vfs/debian/patches/series

Modified: attic/gnome-vfs/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/attic/gnome-vfs/debian/changelog?rev=41908&op=diff
==============================================================================
--- attic/gnome-vfs/debian/changelog	[utf-8] (original)
+++ attic/gnome-vfs/debian/changelog	[utf-8] Sat Jul  5 10:08:43 2014
@@ -1,3 +1,13 @@
+gnome-vfs (1:2.24.4-5) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Dimitri John Ledkov ]
+  * Switch to gnutls28 (Closes: #747455).
+  * Drop gcrypt library dependency, gnutls can do thread locking.
+
+ -- Andreas Henriksson <andreas at fatal.se>  Sat, 05 Jul 2014 12:05:48 +0200
+
 gnome-vfs (1:2.24.4-4) unstable; urgency=low
 
   * Switch to multiarch.

Modified: attic/gnome-vfs/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/attic/gnome-vfs/debian/control?rev=41908&op=diff
==============================================================================
--- attic/gnome-vfs/debian/control	[utf-8] (original)
+++ attic/gnome-vfs/debian/control	[utf-8] Sat Jul  5 10:08:43 2014
@@ -2,12 +2,11 @@
 # 
 # Modifications should be made to debian/control.in instead.
 # This file is regenerated automatically in the clean target.
-
 Source: gnome-vfs
 Section: oldlibs
 Priority: optional
 Maintainer: Josselin Mouette <joss at debian.org>
-Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Michael Biebl <biebl at debian.org>, Otavio Salvador <otavio at debian.org>, Sebastian Dröge <slomo at debian.org>
+Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Michael Biebl <biebl at debian.org>, Sebastian Dröge <slomo at debian.org>
 Build-Depends: cdbs,
                dh-autoreconf,
                gtk-doc-tools (>= 1.0),
@@ -20,8 +19,7 @@
                zlib1g-dev,
                intltool (>= 0.35.0),
                gnome-mime-data,
-               libgnutls-dev (>= 1.0.4-3),
-               libgcrypt11-dev,
+               libgnutls28-dev (>= 1.0.4-3),
                gnome-pkg-tools (>= 0.11.3),
                dpkg-dev (>= 1.13.19),
                libdbus-glib-1-dev (>= 0.70),

Modified: attic/gnome-vfs/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/attic/gnome-vfs/debian/control.in?rev=41908&op=diff
==============================================================================
--- attic/gnome-vfs/debian/control.in	[utf-8] (original)
+++ attic/gnome-vfs/debian/control.in	[utf-8] Sat Jul  5 10:08:43 2014
@@ -15,8 +15,7 @@
                zlib1g-dev,
                intltool (>= 0.35.0),
                gnome-mime-data,
-               libgnutls-dev (>= 1.0.4-3),
-               libgcrypt11-dev,
+               libgnutls28-dev (>= 1.0.4-3),
                gnome-pkg-tools (>= 0.11.3),
                dpkg-dev (>= 1.13.19),
                libdbus-glib-1-dev (>= 0.70),

Added: attic/gnome-vfs/debian/patches/gnutls3.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/attic/gnome-vfs/debian/patches/gnutls3.patch?rev=41908&op=file
==============================================================================
--- attic/gnome-vfs/debian/patches/gnutls3.patch	(added)
+++ attic/gnome-vfs/debian/patches/gnutls3.patch	[utf-8] Sat Jul  5 10:08:43 2014
@@ -0,0 +1,60 @@
+Description: Switch to gnutls28.
+Author: Dimitri John Ledkov <xnox at ubuntu.com>
+
+--- a/configure.in
++++ b/configure.in
+@@ -671,10 +671,6 @@
+   if test "x${OPENSSL_LIBS}" != "x"; then
+     AC_MSG_ERROR([*** Can't use both openssl and gnutls at the same time. Please pick one only. ***])
+   else
+-    AM_PATH_LIBGCRYPT
+-    if test "x${LIBGCRYPT_LIBS}" = "x"; then
+-      AC_MSG_ERROR([Unable to find LIBGRYPT])
+-    fi
+     PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 1.0.0, [AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if GnuTLS is available])
+     				 	   	  have_ssl=true])
+     if test "x${LIBGNUTLS_LIBS}" = "x"; then
+@@ -1048,8 +1044,8 @@
+ dnl ==============================================================================
+ 
+ PKG_CHECK_MODULES(LIBGNOMEVFS, glib-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0 $dbus_requirement)
+-LIBGNOMEVFS_CFLAGS="$LIBGNOMEVFS_CFLAGS $OPENSSL_CFLAGS $LIBGNUTLS_CFLAGS $LIBGCRYPT_CFLAGS $HOWL_CFLAGS $AVAHI_CFLAGS"
+-LIBGNOMEVFS_LIBS="$LIBGNOMEVFS_LIBS $OPENSSL_LIBS $LIBGNUTLS_LIBS $LIBGCRYPT_LIBS $HOWL_LIBS $AVAHI_LIBS $RESOLVER_LIBS"
++LIBGNOMEVFS_CFLAGS="$LIBGNOMEVFS_CFLAGS $OPENSSL_CFLAGS $LIBGNUTLS_CFLAGS $HOWL_CFLAGS $AVAHI_CFLAGS"
++LIBGNOMEVFS_LIBS="$LIBGNOMEVFS_LIBS $OPENSSL_LIBS $LIBGNUTLS_LIBS $HOWL_LIBS $AVAHI_LIBS $RESOLVER_LIBS"
+ AC_SUBST(LIBGNOMEVFS_CFLAGS)
+ AC_SUBST(LIBGNOMEVFS_LIBS)
+ 
+--- a/libgnomevfs/gnome-vfs-ssl.c
++++ b/libgnomevfs/gnome-vfs-ssl.c
+@@ -42,8 +42,10 @@
+ #include <openssl/x509.h>
+ #include <openssl/err.h>
+ #elif defined HAVE_GNUTLS
+-#include <gcrypt.h>
+ #include <gnutls/gnutls.h>
++#if GNUTLS_VERSION_NUMBER <= 0x020b00
++#include <gcrypt.h>
++#endif
+ #endif
+ #if defined(HAVE_OPENSSL) || defined(HAVE_GNUTLS)
+ #include <sys/time.h>
+@@ -82,7 +84,7 @@
+ 	GnomeVFSSSLPrivate *private;
+ };
+ 
+-#ifdef HAVE_GNUTLS
++#if defined(HAVE_GNUTLS) && GNUTLS_VERSION_NUMBER <= 0x020b00
+ static int gcry_gthread_mutex_init (void **priv)			      
+ {									      
+ 	GMutex* lock = g_mutex_new();
+@@ -127,7 +129,9 @@
+ #ifdef HAVE_OPENSSL
+ 	SSL_library_init ();
+ #elif defined HAVE_GNUTLS
++#if GNUTLS_VERSION_NUMBER <= 0x020b00
+ 	gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_gthread);
++#endif
+ 	gnutls_global_init();
+ #endif
+ 	return NULL;

Modified: attic/gnome-vfs/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/attic/gnome-vfs/debian/patches/series?rev=41908&op=diff
==============================================================================
--- attic/gnome-vfs/debian/patches/series	[utf-8] (original)
+++ attic/gnome-vfs/debian/patches/series	[utf-8] Sat Jul  5 10:08:43 2014
@@ -23,3 +23,4 @@
 31_link_tests_and_programs_against_required_libs.patch
 40_disable_deprecated.patch
 41_test_srcdir.patch
+gnutls3.patch




More information about the pkg-gnome-commits mailing list