From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Generating charset map files during bootstrap Date: Fri, 22 May 2015 03:10:29 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1432278642 5237 80.91.229.3 (22 May 2015 07:10:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 May 2015 07:10:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 22 09:10:42 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yvh6O-00073k-NT for ged-emacs-devel@m.gmane.org; Fri, 22 May 2015 09:10:40 +0200 Original-Received: from localhost ([::1]:60599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvh6O-0002UH-2u for ged-emacs-devel@m.gmane.org; Fri, 22 May 2015 03:10:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvh6I-0002Tc-Cp for emacs-devel@gnu.org; Fri, 22 May 2015 03:10:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yvh6H-00035d-DO for emacs-devel@gnu.org; Fri, 22 May 2015 03:10:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvh6H-00035M-B2 for emacs-devel@gnu.org; Fri, 22 May 2015 03:10:33 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yvh6E-0003VS-7O; Fri, 22 May 2015 03:10:31 -0400 X-Spook: Ft. Meade Yukon AMW Mena assassinate Bellcore David John X-Ran: !_os@xoS&LOee[7GpS6{!@{S;:\[9hGh7xc%kU9k*=')2o#psga=17{{)k4Nf}v$ZCWiR2 X-Hue: blue X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186731 Archived-At: I'm interested in removing (at least some of) the etc/charset/*.map files from the repository, and generating them during bootstrap (the first time only, as is done eg for the unidata files). To that end: 1) Please could Someone(s) check that this works on MS Windows: cd admin/charsets make extraclean make local Ie, regenerates files in etc/charsets. If it doesn't, please figure out what needs fixing, TIA very much. ;) Note that the following charsets are regenerated with slight differences: CNS-6.map, GB180302.map, GB180304.map This is true in emacs-24 as well. I have no idea what the differences mean, expect that presumably these files are out-of-sync with their sources? 2) We don't keep all the sources for the charset mapfiles in Emacs. (Isn't this the kind of thing we have gotten in trouble for before?) Some are in admin/charsets/mapfiles, but the rest are taken from /usr/share/i18n/charmaps. Adding the relevant files to the Emacs repo would add 103 (compressed) files to admin/charsets, totalling 2.2MB in size (which is 10% less than the existing mapfiles/ directory). 2/103 account for 1MB of the size. Shouldn't those sources be added? Then all etc/charsets/*.map files could be removed (131 files, 3.1MB). So a net win for a git snapshot (a loss for tarballs, which would have both versions).