Date: Thu, 3 Nov 2016 12:56:18 +0100 From: Tijl Coosemans <tijl@coosemans.org> To: Julian Elischer <julian@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org>, freebsd <freebsd-hackers@freebsd.org> Subject: Re: how to reduce the size of /usr/share/i18n data? Message-ID: <20161103125618.204ee7d3@kalimero.tijl.coosemans.org> In-Reply-To: <eb12cd89-ee00-d696-3dfa-4fd021b7c7fa@freebsd.org> References: <58187573.7020402@grosbein.net> <f5ee8565-7af0-8b91-3d59-ce1bcddff4f5@freebsd.org> <eb12cd89-ee00-d696-3dfa-4fd021b7c7fa@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Nov 2016 15:48:09 +0800 Julian Elischer <julian@freebsd.org> wrot= e: > On 1/11/2016 7:11 PM, Julian Elischer wrote: >> 01.11.2016 17:53, Julian Elischer =D0=BF=D0=B8=D1=88=D0=B5=D1=82: =20 >>> there are a number of packages that want to link with or use that=20 >>> data, and you can't always disable it, but it's very very big=20 >>> (38MB?), especially in the context of an appliance that doesn't=20 >>> really need it at all. >>> >>> >>> If anyone has a procedure to follow to put that onto a diet, maybe=20 >>> just as a stub then I'm all ears. =20 > > So I am to take it that no-one has any idea how this stuff works and=20 > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161103125618.204ee7d3>