From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Updated GnuTLS from MSYS2 and Emacs's `dynamic-library-alist' Date: Thu, 30 Apr 2015 14:43:48 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430401472 11831 80.91.229.3 (30 Apr 2015 13:44:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 13:44:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 30 15:44:26 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YnolJ-0002rE-Eb for ged-emacs-devel@m.gmane.org; Thu, 30 Apr 2015 15:44:21 +0200 Original-Received: from localhost ([::1]:43899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnolJ-0005Kt-1k for ged-emacs-devel@m.gmane.org; Thu, 30 Apr 2015 09:44:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynol6-0005Ko-NO for emacs-devel@gnu.org; Thu, 30 Apr 2015 09:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynol0-0000mo-5m for emacs-devel@gnu.org; Thu, 30 Apr 2015 09:44:08 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynokz-0000kZ-Qg for emacs-devel@gnu.org; Thu, 30 Apr 2015 09:44:02 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ynoks-0002W6-Jv for emacs-devel@gnu.org; Thu, 30 Apr 2015 15:43:54 +0200 Original-Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 15:43:54 +0200 Original-Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 15:43:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:vhmlTCKyo8sB6MKzI7rd04PO6ag= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186060 Archived-At: On Thu 30 Apr 2015, Alexander Shukaev wrote: > Hello Devs, > > Recently, the GnuTLS from MSYS2 has been updated to the 3.4 version. As a > result, the name of corresponding DLL has changed. Currently to > "libgnutls-30.dll", but maybe it's a mistake and we will change it to > "libgnutls-34.dll". In any case, currently Emacs has the following GnuTLS > setting in the `dynamic-library-alist': > > (gnutls "libgnutls-28.dll" "libgnutls-26.dll") The number in the DLL name is the ABI version of the library interface, which does change with every release. gnutls-30.dll is already supported in emacs master - see term/w32-win.el where it sets dynamic-library-alist. The interface for gnutls-30.dll has come incompatible changes from previous versions, so which DLLs are supported depend on which gnutls version was used to build emacs. > What would be your recommendation to properly add new versions of GnuTLS? > Upstream or should I create a custom MSYS2 patch? Note that aside from Git > version, we also support release versions such as 24.5, and it seems like a > patch is inevitable in this case right? For emacs 25 (git master) this already works. For emacs 24, the gnutls changes (commit dc79845a "Support GnuTLS v3.4 and later on MS-Windows") need to be backported to the emacs24 branch, so somebody needs to do that work. AndyM