From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Could we include diff and grep (etc.) executables on Windows? Date: Tue, 19 Nov 2019 14:56:45 +0000 Message-ID: <87blt7oqxe.fsf@russet.org.uk> References: <83d0dq5t09.fsf@gnu.org> <877e3yz939.fsf@telefonica.net> <86r225dpqk.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="86463"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 19 15:57:29 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iX4wa-000ML0-Dn for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 15:57:28 +0100 Original-Received: from localhost ([::1]:46332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX4wZ-0000ZW-51 for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 09:57:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47776) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX4vx-0000ZP-NY for emacs-devel@gnu.org; Tue, 19 Nov 2019 09:56:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX4vw-0000yX-HJ for emacs-devel@gnu.org; Tue, 19 Nov 2019 09:56:49 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:55436) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX4vw-0000yC-2u for emacs-devel@gnu.org; Tue, 19 Nov 2019 09:56:48 -0500 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:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=neokGw9UibSNdO6B04jIc0WcpWxBXx7Wg+X7GUuLpFk=; b=rAug5bMDxECKd9B/uDcOPOq+A PpKHDmfF+CQPUVMoG0K1tu71GdAckNNicxQqATl5LEXrr0a54hXtdtqJNBRUptE7cpGW+62sOARvf YkhoPl2wFX8OThn2v9IKLSS+MbbI2kzAtkbImep8L4UWrrDGrcJTbQhaFjnA0yB4T7R+8S6DFRxiN JcBpHI6pSf2LKk54zsgn63NeF+Lje04hyk4QZRlcYtLXcAiN1ObLCaTtqNt3nma7DQU23M90VGk9p C6LUxT8afQJc91cWDo0+TzlthbcomUekz3pizCnYIJvjPF9ihBA+2DuqWmA9pvtEt7J2p2OC4PvFA rxc83I26g==; Original-Received: from janus-nat-128-240-225-62.ncl.ac.uk ([128.240.225.62]:45286 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iX4vu-00FrIz-0C; Tue, 19 Nov 2019 14:56:46 +0000 In-Reply-To: <86r225dpqk.fsf@stephe-leake.org> (Stephen Leake's message of "Mon, 18 Nov 2019 10:05:39 -0800") 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 2.2.x-3.x [generic] [fuzzy] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:242431 Archived-At: Stephen Leake writes: > Stefan Monnier writes: > >> God question. IIUC one of the main problems with bundling tools is >> having to compile them, keep the versions up-to-date, distributing the >> sources, etc.... >> >> So what I meant mostly was: don't actually bundle them, but just provide >> some straightforward way to install Emacs+tools where the tools are >> actually fetched from some other place that handles the job of >> compiling, keeping them up-to-date, distributing the sources, ... >> >> I assumed MSYS could be that "other place" but apparently that's not >> the case. Maybe that doesn't invalidate the underlying idea, tho. > > There is an emacs package currently in MSYS2, with both mingw-w64 and > msys2 versions (for emacs 26.2). I have not tried them (mainly because > they didn't used to be there), so I don't know what other packages/tools > they install. > > There are also emacs packages in Cygwin, for text and X11 (for emacs > 26.3); I have not tried those in a long time. > > So "die-hard" mingw or cygwin users are already covered. That leaves the > Gnu distribution of Emacs for Windows to cover the remaining users, > which are probably a very diverse lot. > > I compile emacs from source (usually master, sometimes the release > branch), and use MSYS2/mingw64 for all tools not provided by emacs (as > do many others). For tools not yet in MSYS2 (primarily LaTeX), I use > Cygwin. This process does have some downsides, but I find it the best > way. Be good to know what you mean by "all the tools". That would form the basis of a list that we might install. I have created a branch called feature/windows-with-utils. I am happy for people to add new packages like so: diff --git a/admin/nt/dist-build/build-dep-zips.py b/admin/nt/dist-build/build-dep-zips.py index 5698f51..5df7694 100755 --- a/admin/nt/dist-build/build-dep-zips.py +++ b/admin/nt/dist-build/build-dep-zips.py @@ -40,6 +40,11 @@ mingw-w64-x86_64-libxml2 mingw-w64-x86_64-xpm-nox'''.split() +## This list is some extra things that we want to add because they are useful +PKG_REQ=PKG_REQ+''' +mingw-w64-x86_64-diffutils'''.split() + + That would give me an idea of how much bigger the download would get. If it's just a bit, then good. If it's a lot, I think, we need two yet more optional downloads which would be a little unfortunate. Phil