From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs binaries for Windows Date: Fri, 19 Aug 2016 20:51:13 +0300 Message-ID: <83vaywd4vi.fsf@gnu.org> References: <86mvk9jj6i.fsf@gmail.com> <83wpjcdd8w.fsf@gnu.org> <86k2fc7m7x.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1471629084 8277 195.159.176.226 (19 Aug 2016 17:51:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2016 17:51:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 19:51:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1banwu-0001rN-BL for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 19:51:20 +0200 Original-Received: from localhost ([::1]:58443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1banwr-0003zI-FV for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 13:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1banwl-0003yy-Qh for emacs-devel@gnu.org; Fri, 19 Aug 2016 13:51:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1banwh-0002d0-Ms for emacs-devel@gnu.org; Fri, 19 Aug 2016 13:51:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1banwh-0002cw-JS; Fri, 19 Aug 2016 13:51:07 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4593 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1banwg-0005xl-Pq; Fri, 19 Aug 2016 13:51:07 -0400 In-reply-to: <86k2fc7m7x.fsf@gmail.com> (message from Arash Esbati on Fri, 19 Aug 2016 18:33:06 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:206681 Archived-At: > From: Arash Esbati > Cc: emacs-devel@gnu.org > Date: Fri, 19 Aug 2016 18:33:06 +0200 > > Thanks for your response. I try to give an example: Currently, Msys2 > delivers a package named > > mingw-w64-x86_64-expat-2.1.1-1-any.pkg.tar.xz > > containing `libexpat-1.dll'. If you clon the repository from > > https://github.com/Alexpux/MINGW-packages.git > > and cd to `./MINGW-packages/mingw-w64-expat', the command > > makepkg-mingw --allsource -sLf > > downloads the original sources from > > https://downloads.sourceforge.net/expat/expat-2.1.1.tar.bz2 > > and makes an archive > > mingw-w64-expat-2.1.1-1.src.tar.gz > > containing the archive from sourceforge and a Msys2 specific patch > called `001-fix-extension.patch' (plus PKGBUILD & .SRCINFO files). > > My first question is: With the provision made above, can the file > `libexpat-1.dll' be distributed along with an Emacs binary, which is > also built against this DLL file? (I will come back with a second > question later). IIUC, no. The sources are really on another server, so they could remove them, and your script will simply fail. The GPL requires that the binaries and the sources be either both available or both absent. Once again, the only practical way of complying with GPL is to provide the source archive from the same server as the binaries. (The GPL doesn't request that literally, but I know of no other scheme that really works.)