all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: emacs-devel@gnu.org
Subject: Generating charset map files during bootstrap
Date: Fri, 22 May 2015 03:10:29 -0400	[thread overview]
Message-ID: <gmpp5tgk9m.fsf@fencepost.gnu.org> (raw)


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).



             reply	other threads:[~2015-05-22  7:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22  7:10 Glenn Morris [this message]
2015-05-22  8:55 ` Generating charset map files during bootstrap Eli Zaretskii
2015-05-22 22:49   ` Glenn Morris
2015-05-23  7:37     ` Eli Zaretskii
2015-05-23 18:34       ` Glenn Morris
2015-05-23 19:25         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gmpp5tgk9m.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.