From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: Emacs 26.1 on Windows is HUGE Date: Sat, 27 Apr 2019 12:17:40 +0100 Message-ID: <87ef5nae97.fsf@russet.org.uk> References: <87d0loujuf.fsf@telefonica.net> <87y34bxzoo.fsf@russet.org.uk> <87h8axwsv6.fsf@russet.org.uk> <87mukmmmyg.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <87ftq8iwon.fsf@russet.org.uk> <87d0l9n9mh.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <87k1fg7n3e.fsf@russet.org.uk> <83sgu4wszs.fsf@gnu.org> <874l6kh49v.fsf@russet.org.uk> <874l6k1mm5.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="207794"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 27 13:18:19 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKLLW-000rvX-Ub for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Apr 2019 13:18:19 +0200 Original-Received: from localhost ([127.0.0.1]:58854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKLLV-0003gI-U6 for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Apr 2019 07:18:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKLLI-0003g7-IH for help-gnu-emacs@gnu.org; Sat, 27 Apr 2019 07:18:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKLLD-0007h6-SX for help-gnu-emacs@gnu.org; Sat, 27 Apr 2019 07:18:03 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:35890) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKLKx-0007WL-Fz; Sat, 27 Apr 2019 07:17:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender :Reply-To: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=PJ5Y3lzAZZY0bNoeqRHdGpuBBUbOrcDYzfrxhGB2vuY=; b=pLOkLC3csjUQSe71apLo38sse7 dWIPSYIuiaRiauxx0lVQtjWu7cDdyzhIEL3TrJ3p1nhLJ5CBSD+LooaAGfSGzckaAf2Qgx6w3pd8i 8cFXnBVRTU50teiUDq0qnoGCi2bYOkOEeb0LL6lIoBpkfJtLQKoa/8Isy2NqILxgxOSClGtGTbDYC PLrmN1+52Srkj9QY0s53eHuSuTzQjgPYLm+O607BYriRgbds4y3t2pLU8IWr1lmpqURgCIDadbjfm Q4cjVmIIHHs2Q31tTBLoSqPfnpXR8X6hbQ6p8EdQltvndhgL8Pn6iw78+p1dLnGJNCvYdcnwTcwhy O6DeaTiQ==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:46758 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hKLKv-000669-DN; Sat, 27 Apr 2019 12:17:41 +0100 In-Reply-To: <874l6k1mm5.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Fri, 26 Apr 2019 23:29:38 +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 2.2.x-3.x [generic] X-Received-From: 78.129.138.110 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120071 Archived-At: =C3=93scar Fuentes writes: > phillip.lord@russet.org.uk (Phillip Lord) writes: > >>> Maybe report that to the MSYS2 packagers. It's IMO wrong to consider >>> every package that comes with a few Python script not essential to its >>> functionality to be dependent on Python. >> >> Hmmm. Actually, it's indirect, via libglib2. >> >> The dependency was added deliberately in this commit. >> >> d394f202ab275d931f9408c68a4dc1fa95ad723c >> >> viewable here: >> >> https://github.com/msys2/MINGW-packages/commit/d394f202ab275d931f9408c68= a4dc1fa95ad723c#diff-4edc48d8f1e38f841d1aa74999389b6e >> >> A priori, I am a bit surprised this is a runtime rather than build time >> dependency, or possibly the dependency on python should be in >> gobject-introspection only. Adding a python dependency to glib seems >> quite a blunt solution. But my knowledge in this is limited to say the >> least. What do think, Eli? Worth reporting? > > On that URL an user asked about the dependency on python, no response. > > MSYS2 is strongly influenced by Archlinux. Although MSYS2 is quite > sloppy about dependencies (among other things) Archlinux is a differente > beast, and on its PKGBUILD (1) for glib2 python is listed on > `makedepends' and `optdepends', not on `depends'. For me, that warrants > a report. Better, create a PR moving python to `makedepends' and > `optdepends' and CC the author of the commit you referred to on the PR > message. Well, we shall see -- I have put in a comment. > But... don't expect that MSYS2 makes changes to adapt to your specific > needs. Creating an stand-alone distribution of Emacs is not the same as > managing packages in MSYS2. For instance: as you know, lib* packages in > MSYS2 comes with binaries + development files (.a & *.h ...) while > distributing those with Emacs is dubious. You already remove them from > your zipfiles, why don't do the same with python? No, I don't. I put in all the files that are declared as part of the dependency package. I could detect and remove specific dependencies, or with a bit more work, remove a part of the dependency tree. But I rather not go down the path of maintaining a metadata list for msys2 independtly. > BTW, since MSYS2 is sloppy with dependencies, you can't rely on them > for making sure that everything is included. So far, I have had no bug reports about this, just the opposite -- that too much is included. And some requests to add other things. I'm just not convinced that effectively producing a seperate minimal MSYS2 distribution is where I want to go. For people who want a lot more or less, installing msys2 independently and then droppping the no-deps package on top seems the way to go. > And on different topic, did you test that C-h i works as it should? Does > it show the Emacs info files? There is a long-standing problem with > Emacs on MSYS2 about this, although IIRC only happens when you install > Emacs as an MSYS2 package. But since testing it only takes a few > seconds... (I can't test myself, computer attracted lightning) Hmmm. Sort of. If you click runemacs.exe from the windows explorer it works. If you launch it from a mingw64 shell, no, it doesn't. Or rather it works, but you get the msys info which doesn't link to Emacs. I am rather dependent here on people filling bugs; I don't actually use Emacs on windows, just build it. Phil