unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Generating charset map files during bootstrap
@ 2015-05-22  7:10 Glenn Morris
  2015-05-22  8:55 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2015-05-22  7:10 UTC (permalink / raw)
  To: emacs-devel


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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-23 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22  7:10 Generating charset map files during bootstrap Glenn Morris
2015-05-22  8:55 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).