From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: [feature/internal-msys] thoughts of a more function windows package Date: Wed, 20 Jan 2021 19:29:58 +0000 Message-ID: <87sg6v76fd.fsf_-_@russet.org.uk> References: <87pn2dq3xv.fsf@russet.org.uk> <83ft39hnk1.fsf@gnu.org> <87h7nppzjy.fsf@russet.org.uk> <838s90hhb6.fsf@gnu.org> <87zh1gircl.fsf@russet.org.uk> <83turofw8r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11666"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 20 20:33:03 2021 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 1l2JDz-0002w9-AT for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Jan 2021 20:33:03 +0100 Original-Received: from localhost ([::1]:35302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2JDy-0002JM-96 for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Jan 2021 14:33:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2JBu-0001ZE-8W for emacs-devel@gnu.org; Wed, 20 Jan 2021 14:30:55 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:36654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2JBq-0003k5-Cx for emacs-devel@gnu.org; Wed, 20 Jan 2021 14:30:53 -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:References:Message-ID :Date:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc: 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=QSZmjqkVuZLg3kd5ApmPQDkrVipBE+tWpyaphcnVAGc=; b=Fj7PN2BxTXsyOUjBJtWLlsGZQ eWiha2o8QOz5HCcD7Lfmd4kGbO3eopUrVv8aBVvSHW/pJqWpWvTAe1kebECwOlNdCfhJ0quqNthaq 4J6/mnjyR+oD2owV2N6FyA0xoG/KIOjDxqhMw8Gg4iujNTrEX07Sggp8w9/HxGHXeNEoVvD5Zkm0C JRCzv2cAAQGAdB2Hx12YYSc9GONMsYTa+CACFguJSQnFPahPQpVs6j0Z5n0RhUKkbdBAgTZ5W5feq 3vOIhG04azsZkat1St669BMoRDLJ0uM/Y8MPja4t5tj6/kziwd8JTwkePyUcbVVXLughhHRezaASa rrNT6pnXQ==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:49986 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l2JB8-0000Ml-0f for emacs-devel@gnu.org; Wed, 20 Jan 2021 19:30:06 +0000 In-Reply-To: (Stefan Monnier's message of "Sun, 10 Jan 2021 15:52:07 -0500") 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 Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:263217 Archived-At: Stefan Monnier writes: >> The gzip thing is again your call (having gzip in the package is no >> big deal, IMO). > > BTW, we don't really need a `gzip` executable as long as we have the > `zlib-decompress-region` function, right? Following on from this discussion, I have had a thought about a better way of producing a more function windows download and have come up with this idea, which is just to install msys inside the Emacs install directory. The plan would be during the installation run the newly installed Emacs. This would download, unpack and configure msys2, as well as install a variety of related packages (git, find, gzip, hunspell, aspell, what ever). For those using the zip package of Emacs, they would achieve the same thing by running a command. I have given this a quick bash. It could be achieved without bloating the Emacs download; I'd have to had xz to the Emacs installer to allow me to unpack msys, but otherwise it would have no implications. I would not need to host either msys2 nor its source on the Gnu FTP because, this would all come from msys2. The installation process would be Emacs driven, which would be easier for me to write. Emacs would remain using the DLLs we ship with it and so stable, while the underlying msys2 would be independently updateable. And, to all intents and purposes, it would look like a normal windows app; packaged, bundled and installed in directory. What I have so far: 1) w32-msys-install which updates msys and installs git as well as adds a loader to site-start.el 2) w32-msys-site-start.el which updates the path and so To be fully functional 1) would need to download msys and unpack it and I'd need to hook it into the installer. It would solve the question of what should I package -- I'd add some basic utilities, and thereafter, the user could add what ever they wanted. Thoughts? Does this seem worth following up? Phil