From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Emacs binaries for Windows Date: Fri, 19 Aug 2016 16:03:04 +0100 Message-ID: <877fbc3ion.fsf@russet.org.uk> References: <86mvk9jj6i.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471619061 9498 195.159.176.226 (19 Aug 2016 15:04:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2016 15:04:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) 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 17:04:13 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 1balLA-00025o-IV for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 17:04:12 +0200 Original-Received: from localhost ([::1]:57669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1balL7-00032w-R7 for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 11:04:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1balKB-0002ig-0g for emacs-devel@gnu.org; Fri, 19 Aug 2016 11:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1balK6-0008Qn-Ox for emacs-devel@gnu.org; Fri, 19 Aug 2016 11:03:10 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:54651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1balK6-0008Qh-Fd for emacs-devel@gnu.org; Fri, 19 Aug 2016 11:03:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=eqf0qFV4BwklOAilaLOCgDg+J85f+taXyzFZpKe1QjE=; b=YTyp9qEMjhPWSnv06eXQlJzTFX Hch1/Jb2xM/27Nzp7l7lMBqZAgmxsYkaJ0nCU+6HSZhQhy4IhxUhpXyjV+0GS+4SGrBFxNuUTMWP9 tbVbiqHAgnY0UcefJRECjJW1h99crbSOk+km8mBqCi6ok+Eh7s7hBuCdcRXqr8C/9HAoYMVE605jv xl6DinI7hO1qmVpnJPtIMFX/ehtJpdLeQ4YW5z9hw2oEY9Jy5Jhcq4BlYl2zZOVblNu9GgSnvqigw IEdmIKNtV0yCsifvcHUKcCESaMwaRLY3KYZJ3Idx5HCMqrzxBMKZxgUrDZ+D3gfvAaZNdlsxh/xs5 DJW+x6YQ==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:32389 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1balK5-003ySR-5T; Fri, 19 Aug 2016 16:03:05 +0100 In-Reply-To: <86mvk9jj6i.fsf@gmail.com> (Arash Esbati's message of "Fri, 19 Aug 2016 09:45:41 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 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:206676 Archived-At: Arash Esbati writes: > I know this topic has been discussed in past and my apologies in advance > if I'm beating the dead horse again and a longish message. It's not a dead horse at all. It's an issue which, to my mind, needs solving. > I'm raising this question after seeing some queries again about > availability of Emacs on Windows (possibly incl. all necessary > libraries (DLLs)). > > While building Emacs on Windows with Msys2/MinGW-w64 is quite straight > forward, the main issue is providing the sources of the libraries when > DLLs should be provided as well. I wrote a simple script to determine > the dependencies of the required packages mentioned here: > > http://git.savannah.gnu.org/cgit/emacs.git/tree/nt/INSTALL.W64#n60 I'd be interested to see this script. > It downloads the original sources mentioned in every PKGBUILD file and > includes patches from here: > > https://github.com/Alexpux/MINGW-packages > > Is this a way to go for Emacs? > Personally, I recommend another approach where only Msys2 package > directories (which Emacs was built against) are provided and downloading > and packaging can be done when a developer/user wants to have it, e.g.: > > cd mingw-w64-bzip2 > makepkg-mingw --allsource -sLf > > This is actually what my script does. Collecting all directories for > the packages above gives: > > -> du -h emacs-25.1-rc1-libs.tar.xz > 464K emacs-25.1-rc1-libs.tar.xz > > Does this approach comply with GPL? I don't know enough about msys2 to understand the difference in your approaches, but AFAICT, -libs.tar.xv contains all the source, so that you could build the libraries, then it does, yes. At the moment, Emacs ships with a single binary (libnox4) otherwise it looks terrible. But, I think that the basic windows download cannot do an HTTP call and display the results is unfortunate. Current builds are for 32 bit as well as 64 bit. Can that be replicated also? Phil