required files from unicode.org for jed-extra
Rafael Laboissiere
rafael at debian.org
Fri Jul 25 11:42:38 UTC 2008
* G. Milde <milde at users.sourceforge.net> [2008-07-25 11:17]:
> Alternative:
>
> Maybe we can use the method from the command line utility (and Debian
> package) "unicode"::
>
> Package: unicode
> ...
> Suggests: perl-modules | console-data (<< 2:1.0-1) | unicode-data
>
> I.e. jed-extra could
>
> * Suggest perl-modules | unicode-data
> (I am not so sure about the suitability of console-data (<< 2:1.0-1))
No, console-data does not contain Blocks.txt and NamesList.txt. I think it
is irrelevant here.
> * Search for the directories
>
> % /usr/share/unidata/ % (where does this come from?)
> /usr/share/unicode/
> /usr/share/perl/*/unicore/UnicodeData.txt % with globbing
> ~/.unicode/ % local install, maybe as fallback
>
> which (normally) should contain the needed files.
>
> IMO, this is "the right way". Advantages:
>
> * No duplicate files on the system.
> * Works also for users of the upstream ch_table mode.
> * We do not need to care about download, storage, copyright, and updating.
>
> * this would also work (with a modified Suggests:) if eventually
> unicode-data is split into a core and extension package.
The only drawback is that the packages are huge:
$ apt-cache show perl-modules unicode-data | grep '^\(Package\|Installed-Size\):'
Package: perl-modules
Installed-Size: 16544
Package: unicode-data
Installed-Size: 12448
The NamesList.txt file is not that small neither (870186 bytes), but
anyway...
--
Rafael
More information about the Pkg-jed-devel
mailing list