From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Process to build standalone Emacs + deps in Windows Date: Sun, 22 Mar 2020 19:25:48 +0200 Message-ID: <83a748cndv.fsf@gnu.org> References: <86fte0pmnc.fsf@csic.es> <83sgi0cwxj.fsf@gnu.org> <86a748xxnx.fsf@csic.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67786"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 22 18:26:30 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jG4Mo-000HVI-Ml for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Mar 2020 18:26:30 +0100 Original-Received: from localhost ([::1]:48462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG4Mn-0001p4-OU for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Mar 2020 13:26:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51575) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG4ME-0001QX-42 for emacs-devel@gnu.org; Sun, 22 Mar 2020 13:25:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jG4ME-0006KI-0e; Sun, 22 Mar 2020 13:25:54 -0400 Original-Received: from [176.228.60.248] (port=3197 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jG4MB-0001ae-NK; Sun, 22 Mar 2020 13:25:53 -0400 In-Reply-To: <86a748xxnx.fsf@csic.es> (juanjose.garciaripoll@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245683 Archived-At: > From: Juan José García-Ripoll > > Date: Sun, 22 Mar 2020 15:38:10 +0100 > > Now, to motivate my intentions a bit better, I have built Emacs from > savannah's git repository following a different set of instructions > (https://gist.github.com/nauhygon/f3b44f51b34e89bc54f8). These > instructions are hacky (cp /mingw64/bin/*.dll $target/bin). However, > this seems to work, which shows that, out of the dependencies that Emacs > tracks down during its build process, many can be dropped. The resulting > directory is also leaner What do you mean by "dependencies that Emacs tracks down during its build process"? I'm not sure how what happens during the build is relevant to what happens at run time. > On a side note, what kind of solution would be acceptable? > - Do we need to keep all the utilities supplied by the libraries Emacs > links to? No, only those that are needed. But figuring out which ones are those is not simple. The basic problem here is exacerbated by the fact that MSYS2 produces notoriously fat binary distros, where every possible optional dependency has been included, whether it does or doesn't make sense on Windows (or at all), and every possible product is included (which of course enlarges the list of dependencies and, recursively, their dependencies). Figuring out what's needed requires a lot of tedious reading of documentation and some research. > - Is a manual filter of second-level dependencies ok? It depends on who does the job. Some don't mind manually removing stuff, others don't have time for that. Since this is work done by volunteers, and Emacs as a project doesn't provide "official" MS-Windows binaries, it isn't for me to make the decision here. > - Is there a catalogue of utilities that Emacs expect laying around in > the OS? I see the dependencies file contains bzip2.exe, xz.exe and other > tools which are not coming from first-level dependencies. That's a separate issue. Various Emacs features use external programs, and where do you stop is up to you. For example, DocView will not work 100% without Ghostscript, AFAIK -- do we need to provide it as part of Emacs? Or what about TeX/LaTeX, used by some features? Or Groff (required for formatting man pages, something "M-x man" would like to do). Etc. etc. These are very large packages, and some might say you will end up with a very large Emacs installation if you include all of them. > Finally, I am cleared by the FSF to contribute patches to AucTeX. Would > I require a validation also to contribute fixes to Emacs? Your assignment is for Emacs, so you are good there. Thanks.