d77e1d8dc8
A major change in approach largely thanks to discussions with Alexey Cheusov but also well aligned with my own findings: autoconf doesn't let the variables to form an inheritance. And data flow described at http://www.altlinux.org/WhiteLabel (which in its turn was born thanks to Gavin Henrick of Diva Telecom and to Alexander Bokovoy of SaM-Solutions) is really dependent on the existence of such an inheritance. Also: - distro.mk += try() - "hide" special targets - fixed wrt distro/.{base,init,metaconf}, thx gns@ - README updates + added metaconf.mk + clarifications - updated pci.ids location for hdt
30 lines
559 B
Bash
Executable File
30 lines
559 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# remove unused fonts
|
|
cd /usr/share/fonts/bitmap/misc/ &&
|
|
rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl* \
|
|
*ISO* *JIS* *KOI*
|
|
# TODO: sort out the rest of *x*
|
|
|
|
# drop unneeded translation
|
|
cd /usr/share/qt4/translations/ &&
|
|
rm -f *_zh* *_ja*
|
|
|
|
# ...l10n...
|
|
cd /usr/share/X11/locale &&
|
|
rm -rf *[^C8]/ ja* ko* th* vi* zh* iso*
|
|
|
|
# xkb
|
|
cd /usr/share/X11/xkb/symbols &&
|
|
rm -rf *_vndr jp kr th vn cn
|
|
|
|
# gconv
|
|
cd /usr/lib*/gconv &&
|
|
rm -f CP* ISO* KOI* *JIS* T* HP* MAC*
|
|
|
|
# locales
|
|
cd /usr/lib*/locale &&
|
|
rm -rf ja_* ko_* th_* zh_*
|
|
|
|
:
|