From: Phillip Lord <phillip.lord@russet.org.uk>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Could we include diff and grep (etc.) executables on Windows?
Date: Tue, 19 Nov 2019 14:56:45 +0000 [thread overview]
Message-ID: <87blt7oqxe.fsf@russet.org.uk> (raw)
In-Reply-To: <86r225dpqk.fsf@stephe-leake.org> (Stephen Leake's message of "Mon, 18 Nov 2019 10:05:39 -0800")
Stephen Leake <stephen_leake@stephe-leake.org> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> 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
next prev parent reply other threads:[~2019-11-19 14:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-17 11:50 Could we include diff and grep (etc.) executables on Windows? Mathias Dahl
2019-11-17 16:07 ` Eli Zaretskii
2019-11-17 16:53 ` Stefan Monnier
2019-11-17 17:09 ` Eli Zaretskii
2019-11-17 17:49 ` Óscar Fuentes
2019-11-17 19:39 ` Stefan Monnier
2019-11-18 15:53 ` Phillip Lord
2019-11-18 18:05 ` Stephen Leake
2019-11-19 14:56 ` Phillip Lord [this message]
2019-11-19 15:43 ` Eli Zaretskii
2019-11-19 20:32 ` Óscar Fuentes
2019-11-20 16:11 ` Eli Zaretskii
2019-11-18 15:49 ` Phillip Lord
2019-11-18 16:08 ` Eli Zaretskii
2019-11-18 15:48 ` Phillip Lord
2019-11-18 16:09 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87blt7oqxe.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--cc=emacs-devel@gnu.org \
--cc=stephen_leake@stephe-leake.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.