Re: how to reduce the size of /usr/share/i18n data?

From: Tijl Coosemans <tijl_at_coosemans.org>
Date: Thu, 3 Nov 2016 12:56:18 +0100
On Thu, 3 Nov 2016 15:48:09 +0800 Julian Elischer <julian_at_freebsd.org> wrote:
> On 1/11/2016 7:11 PM, Julian Elischer wrote:
>> 01.11.2016 17:53, Julian Elischer пишет:  
>>> there are a number of packages that want to link with or use that 
>>> data, and you can't always disable it, but it's very very big 
>>> (38MB?), especially in the context of an appliance that doesn't 
>>> really need it at all.
>>>
>>>
>>> If anyone has a procedure to follow to put that onto a diet, maybe 
>>> just as a stub then I'm all ears.  
>
> So I am to take it that no-one has any idea how this stuff works and 
> how to stub it out?

/usr/share/i18n is only used by iconv(3).  If you don't need that
function just add WITHOUT_ICONV to src.conf.  If you do need it then you
can remove all the subdirectories of character sets you never convert
to/from.  The easiest is probably to modify the SUBDIR variable in
src/share/i18n/csmapper/Makefile and src/share/i18n/esdb/Makefile.
Received on Thu Nov 03 2016 - 10:57:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC