toolchain: add option to copy the gconv libraries
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 27 Jul 2014 19:28:32 +0000 (21:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 27 Jul 2014 21:15:48 +0000 (23:15 +0200)
commit11c1076db9a5a1ac3feac06ec701662bc3c655a1
tree3fd21baba4458e8e512b11cfb8dd1aba73a9e4f3
parent24a9da81dfa9563be87abd5667389f42c3c950e4
toolchain: add option to copy the gconv libraries

The gconv libraries are used to translate between different character sets
('charsets', even 'csets' sometimes). Some packages need them to present
text to the user (eg. XBMC Gotham).

In (e)glibc they are implemented by the internal implemenation of iconv,
called gconv, and are provided as dlopen-able libraries.

Note that some gconv modules need extra libraries (shared by more than
one gconv module), so we must, when adding a subset of modules, scan the
installed modules in search of the missing libraries.

[Thomas: add general explanation in expunge-gconv-modules and fix
coding style.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Eric Limpens <limpens@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile
support/scripts/expunge-gconv-modules [new file with mode: 0755]
toolchain/toolchain-common.in
toolchain/toolchain.mk [new file with mode: 0644]