From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Process to build standalone Emacs + deps in Windows Date: Thu, 26 Mar 2020 22:16:35 +0000 Message-ID: <87y2rm224c.fsf@russet.org.uk> References: <86fte0pmnc.fsf@csic.es> <83sgi0cwxj.fsf@gnu.org> <86a748xxnx.fsf@csic.es> <87eetk1apz.fsf@russet.org.uk> <86d090ha3q.fsf@csic.es> <86r1xgcx6b.fsf@csic.es> <86mu84cwoi.fsf@csic.es> <878sjoqd1x.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="104524"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) Cc: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 26 23:18:00 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 1jHap6-000R5M-F3 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Mar 2020 23:18:00 +0100 Original-Received: from localhost ([::1]:33452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHap5-0001EB-Gm for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Mar 2020 18:17:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35452) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHaoW-0000pc-Qm for emacs-devel@gnu.org; Thu, 26 Mar 2020 18:17:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHaoV-0002z3-Q6 for emacs-devel@gnu.org; Thu, 26 Mar 2020 18:17:24 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:55942) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHaoV-0002Ce-BX for emacs-devel@gnu.org; Thu, 26 Mar 2020 18:17:23 -0400 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:Date: References:In-Reply-To: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=lZb0zEIWYvPvPPFDO+9vzfFOjG8EzzLsvPkbtlmVugM=; b=fnqMf9e/DjfSPUUJOilJLyW49 hkJIJ9b/ipI3jMXURkEWtQVBk/LHtYmc6YHClouH5GvuF0MQuhU/I8ERVX4aXW/+gm2kR/iETrR/I sfBoVPdPnXY07WycujKBr0L6Vt+HY2XpYxRgxmKu2HrEjNLe1DdC1cfJ6eEQmG1mjcyWvH8R+5nf7 BqPg8klxus0/LfdeaNWpAxqLsIy220MdGlt1FDnF/QaM8/2jSG9eSC1hxIE+huh6/PGosNXqkJtUd k6qL6fOUIuFT8UcPz4JoeXvMyUML5ckPMbpw1G9ACLvT7S8GWgR/LIokkMByz8MtNbM/Eip5Nn7LN /l1fVOmMA==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:58550 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 1jHann-0008RW-Lz; Thu, 26 Mar 2020 22:16:39 +0000 In-Reply-To: (Stefan Monnier's message of "Wed, 25 Mar 2020 23:49:01 -0400") 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245823 Archived-At: Stefan Monnier writes: >> + excludes=['lib/*.a', # No files to link against > [...] >> This list would need to go near the front, so we have a clean >> configuration section. It also displays the key problem -- it's really >> long and non obvious so a maintenance burden > > I had a clean and simple solution, but I wrote it in a small margin > and now I can't read it any more, sorry. Move to vim perhaps? >> +# The dependency extraction relies on an English version of pacman >> +# We need to configure the locale to match the expectations >> +if 'LANG' in os.environ: >> + os_lang = os.environ['LANG'] >> + if (len(os_lang) > 2) and (os_lang[0:2] != 'en'): >> + os.environ['LANG']='en_US' > > I think the `C` locale is the obvious choice for these kinds of situations. > >> Of course, we do not need the *.el files at all. > > I really hope we keep them there. Even if many users won't look at > them, the fact that they're so easy to get to is almost a defining > feature of Emacs. Yeah. I had a vague memory that the default out-of-source build didn't put the .el files there, and that I'd done that deliberately for the windows build. But there's nothing in build-zips.sh to suggest that this is true, so I guess my memory is wrong. Phil