Commit 608b5c93 authored by stskeeps's avatar stskeeps

Add glibc-2.13-onlyenus.patch, we're only interested in en_US locales

in build process right now. For integrators, you can use localedef in your %post
sections in kickstart files to generate the locales you need. This
shaves 3 minutes (at least) off cross builds of glibc and reduces
basic Mer footprint (uncompressed) with 34 mb.
Signed-off-by: stskeeps's avatarCarsten Munk <carsten.munk@gmail.com>
parent 0bff1423
diff -ru glibc-2.13/localedata/SUPPORTED glibc-2.13-onlyenus/localedata/SUPPORTED
--- glibc-2.13/localedata/SUPPORTED 2011-11-25 16:58:19.729182658 +0100
+++ glibc-2.13-onlyenus/localedata/SUPPORTED 2011-11-25 16:56:20.001281100 +0100
@@ -1,155 +1,7 @@
# This file names the currently supported and somewhat tested locales.
# If you have any additions please file a glibc bug report.
SUPPORTED-LOCALES=\
-cs_CZ.UTF-8/UTF-8 \
-cs_CZ/ISO-8859-2 \
-da_DK.UTF-8/UTF-8 \
-da_DK/ISO-8859-1 \
-da_DK.ISO-8859-15/ISO-8859-15 \
-de_AT.UTF-8/UTF-8 \
-de_AT/ISO-8859-1 \
-de_AT@euro/ISO-8859-15 \
-de_BE.UTF-8/UTF-8 \
-de_BE/ISO-8859-1 \
-de_BE@euro/ISO-8859-15 \
-de_CH.UTF-8/UTF-8 \
-de_CH/ISO-8859-1 \
-de_DE.UTF-8/UTF-8 \
-de_DE/ISO-8859-1 \
-de_DE@euro/ISO-8859-15 \
-de_LU.UTF-8/UTF-8 \
-de_LU/ISO-8859-1 \
-de_LU@euro/ISO-8859-15 \
-el_GR.UTF-8/UTF-8 \
-el_GR/ISO-8859-7 \
-el_CY.UTF-8/UTF-8 \
-el_CY/ISO-8859-7 \
-en_AG/UTF-8 \
-en_AU.UTF-8/UTF-8 \
-en_AU/ISO-8859-1 \
-en_BW.UTF-8/UTF-8 \
-en_BW/ISO-8859-1 \
-en_CA.UTF-8/UTF-8 \
-en_CA/ISO-8859-1 \
-en_DK.UTF-8/UTF-8 \
-en_DK/ISO-8859-1 \
-en_GB.UTF-8/UTF-8 \
-en_GB/ISO-8859-1 \
-en_GB.ISO-8859-15/ISO-8859-15 \
-en_HK.UTF-8/UTF-8 \
-en_HK/ISO-8859-1 \
-en_IE.UTF-8/UTF-8 \
-en_IE/ISO-8859-1 \
-en_IE@euro/ISO-8859-15 \
-en_IN/UTF-8 \
-en_NG/UTF-8 \
-en_NZ.UTF-8/UTF-8 \
-en_NZ/ISO-8859-1 \
-en_PH.UTF-8/UTF-8 \
-en_PH/ISO-8859-1 \
-en_SG.UTF-8/UTF-8 \
-en_SG/ISO-8859-1 \
en_US.UTF-8/UTF-8 \
en_US/ISO-8859-1 \
en_US.ISO-8859-15/ISO-8859-15 \
-en_ZA.UTF-8/UTF-8 \
-en_ZA/ISO-8859-1 \
-en_ZW.UTF-8/UTF-8 \
-en_ZW/ISO-8859-1 \
-es_AR.UTF-8/UTF-8 \
-es_AR/ISO-8859-1 \
-es_BO.UTF-8/UTF-8 \
-es_BO/ISO-8859-1 \
-es_CL.UTF-8/UTF-8 \
-es_CL/ISO-8859-1 \
-es_CO.UTF-8/UTF-8 \
-es_CO/ISO-8859-1 \
-es_CR.UTF-8/UTF-8 \
-es_CR/ISO-8859-1 \
-es_DO.UTF-8/UTF-8 \
-es_DO/ISO-8859-1 \
-es_EC.UTF-8/UTF-8 \
-es_EC/ISO-8859-1 \
-es_ES.UTF-8/UTF-8 \
-es_ES/ISO-8859-1 \
-es_ES@euro/ISO-8859-15 \
-es_GT.UTF-8/UTF-8 \
-es_GT/ISO-8859-1 \
-es_HN.UTF-8/UTF-8 \
-es_HN/ISO-8859-1 \
-es_MX.UTF-8/UTF-8 \
-es_MX/ISO-8859-1 \
-es_NI.UTF-8/UTF-8 \
-es_NI/ISO-8859-1 \
-es_PA.UTF-8/UTF-8 \
-es_PA/ISO-8859-1 \
-es_PE.UTF-8/UTF-8 \
-es_PE/ISO-8859-1 \
-es_PR.UTF-8/UTF-8 \
-es_PR/ISO-8859-1 \
-es_PY.UTF-8/UTF-8 \
-es_P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sv_SE.ISO-8859-15/ISO-8859-15 \
-tr_CY.UTF-8/UTF-8 \
-tr_CY/ISO-8859-9 \
-tr_TR.UTF-8/UTF-8 \
-tr_TR/ISO-8859-9 \
-zh_CN.GB18030/GB18030 \
-zh_CN.GBK/GBK \
-zh_CN.UTF-8/UTF-8 \
-zh_CN/GB2312 \
-zh_TW.EUC-TW/EUC-TW \
-zh_TW.UTF-8/UTF-8 \
-zh_TW/BIG5 \
+
Only in glibc-2.13-onlyenus/localedata: SUPPORTED~
* Fri Nov 25 2011 Carsten Munk <carsten@merproject.org> - 2.13
- Add glibc-2.13-onlyenus.patch, we're only interested in en_US locales
right now. For integrators, you can use localedef in your %post
sections in kickstart files to generate the locales you need. This
shaves 3 minutes (at least) off cross builds of glibc and reduces
basic Mer footprint (uncompressed) with 34 mb.
* Sat Sep 24 2011 Alistair Buxton <a.j.buxton@gmail.com> - 2.13
- Add i486 conditionals to spec file.
......
......@@ -39,6 +39,7 @@ Patch7: cve-2011-1659.patch
Patch8: glibc-2.13-locale.patch
Patch9: glibc-arm-atomics-disable-qemu.patch
Patch10: glibc-2.13-no-timestamping.patch
Patch11: glibc-2.13-onlyenus.patch
Provides: ldconfig
# The dynamic linker supports DT_GNU_HASH
......@@ -195,6 +196,7 @@ mv glibc-ports-2.13 ports
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
cat > find_provides.sh <<EOF
#!/bin/sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment