Changeset 32edd3a in clfs-sysroot for BOOK


Ignore:
Timestamp:
Nov 23, 2006, 8:56:08 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
4127a0b
Parents:
a186108
Message:

Replace the glibc crosscompile timezone fix patch with the glibc cross hacks patch. The new patch has support for zoneinfo, locales, and librpcsvc.

Location:
BOOK
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/glibc.xml

    ra186108 r32edd3a  
    5252<screen os="p4"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen>
    5353
    54     <para os="p5">The following patch changes the way glibc generates it's
    55     timezone information so that it can be generated when
    56     cross-compiling:</para>
    57 
    58 <screen os="p6"><userinput>patch -Np1 -i ../&glibc-crosscompile_timezone_fix-patch;</userinput></screen>
     54    <para os="p5">The following patch builds <filename>zic-native</filename>,
     55    <filename>localedef-native</filename>, and
     56    <filename>rpcgen-native</filename>. <filename>zic-native</filename> is used
     57    to generate the zoneinfo, <filename>localedef-native</filename> is used to
     58    generate the locale archive, and <filename>rpcgen-native</filename> is used
     59    to generate part of <filename>librpcsvc.a</filename>. All of which would
     60    normally not be available when cross-compiling:</para>
     61
     62<screen os="p6"><userinput>patch -Np1 -i ../&glibc-cross_hacks-patch;</userinput></screen>
    5963
    6064    <para os="p7">The following corrects the Minor version, changing the value
     
    197201
    198202  <sect2 id="i18n-glibc" role="configuration">
    199     <title>Internationalization (Current method is no good, REWRITE ME)</title>
     203    <title>Internationalization</title>
    200204
    201205    <para>The locales that can make the system respond in a different
     
    203207    with:</para>
    204208
    205 <screen role="nodump"><userinput>make localedata/install-locales</userinput></screen>
     209<screen><userinput>make localedata/install-locales</userinput></screen>
    206210
    207211    <para>To save time, an alternative to running the previous command (which
     
    219223
    220224<screen role="nodump"><userinput>mkdir -pv ${CLFS}/usr/lib/locale
    221 localedef -i de_DE -f ISO-8859-1 de_DE
    222 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
    223 localedef -i en_HK -f ISO-8859-1 en_HK
    224 localedef -i en_PH -f ISO-8859-1 en_PH
    225 localedef -i en_US -f ISO-8859-1 en_US
    226 localedef -i es_MX -f ISO-8859-1 es_MX
    227 localedef -i fa_IR -f UTF-8 fa_IR
    228 localedef -i fr_FR -f ISO-8859-1 fr_FR
    229 localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
    230 localedef -i it_IT -f ISO-8859-1 it_IT
    231 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
     225export I18NPATH=${PWD}/localedata
     226export GCONV_PATH=${PWD}/iconvdata
     227export LOCALEDEF="${PWD}/locale/localedef-native --alias-file=../intl/locale.alias"
     228cd ../glibc-&glibc-version;/localedata
     229${LOCALEDEF} -i locales/de_DE -f charmaps/ISO-8859-1 --prefix=${CLFS} de_DE
     230${LOCALEDEF} -i locales/de_DE@euro -f charmaps/ISO-8859-15 --prefix=${CLFS} de_DE@euro
     231${LOCALEDEF} -i locales/en_HK -f charmaps/ISO-8859-1 --prefix=${CLFS} en_HK
     232${LOCALEDEF} -i locales/en_PH -f charmaps/ISO-8859-1 --prefix=${CLFS} en_PH
     233${LOCALEDEF} -i locales/en_US -f charmaps/ISO-8859-1 --prefix=${CLFS} en_US
     234${LOCALEDEF} -i locales/es_MX -f charmaps/ISO-8859-1 --prefix=${CLFS} es_MX
     235${LOCALEDEF} -i locales/fa_IR -f charmaps/UTF-8 --prefix=${CLFS} fa_IR
     236${LOCALEDEF} -i locales/fr_FR -f charmaps/ISO-8859-1 --prefix=${CLFS} fr_FR
     237${LOCALEDEF} -i locales/fr_FR@euro -f charmaps/ISO-8859-15 --prefix=${CLFS} fr_FR@euro
     238${LOCALEDEF} -i locales/it_IT -f charmaps/ISO-8859-1 --prefix=${CLFS} it_IT
     239${LOCALEDEF} -i locales/ja_JP -f charmaps/EUC-JP --prefix=${CLFS} ja_JP</userinput></screen>
    232240
    233241    <para>Some locales installed by the <command>make
  • BOOK/introduction/common/changelog.xml

    ra186108 r32edd3a  
    4040      <para>November 23, 2006</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Replace the glibc crosscompile timezone fix patch
     44          with the glibc cross hacks patch. The new patch has support for
     45          zoneinfo, locales, and librpcsvc.</para>
     46        </listitem>
    4247        <listitem>
    4348          <para>[jciccone] - Update the Glibc libgcc_eh patch to -2. The new
  • BOOK/materials/common/patches.xml

    ra186108 r32edd3a  
    119119
    120120    <varlistentry>
    121       <term>Glibc Timezone Patch- <token>&glibc-crosscompile_timezone_fix-patch-size;</token>:</term>
    122       <listitem>
    123         <para>Download: <ulink
    124         url="&patches-root;&glibc-crosscompile_timezone_fix-patch;"/></para>
    125         <para>MD5 sum: <literal>&glibc-crosscompile_timezone_fix-patch-md5;</literal></para>
     121      <term>Glibc Cross-Compiling Hacks Patch- <token>&glibc-cross_hacks-patch-size;</token>:</term>
     122      <listitem>
     123        <para>Download: <ulink
     124        url="&patches-root;&glibc-cross_hacks-patch;"/></para>
     125        <para>MD5 sum: <literal>&glibc-cross_hacks-patch-md5;</literal></para>
    126126      </listitem>
    127127    </varlistentry>
  • BOOK/patches.ent

    ra186108 r32edd3a  
    4949<!ENTITY gcc-posix-patch-size "9 KB">
    5050
    51 <!ENTITY glibc-crosscompile_timezone_fix-patch "glibc-&glibc-version;-crosscompile_timezone_fix-1.patch">
    52 <!ENTITY glibc-crosscompile_timezone_fix-patch-md5 "d46ffc949ebc894974d719c8235be6f6">
    53 <!ENTITY glibc-crosscompile_timezone_fix-patch-size "4 KB">
     51<!ENTITY glibc-cross_hacks-patch "glibc-&glibc-version;-cross_hacks-1.patch">
     52<!ENTITY glibc-cross_hacks-patch-md5 "c3ea44100f9f731b7ca52beab8f28f12">
     53<!ENTITY glibc-cross_hacks-patch-size "20 KB">
    5454
    5555<!ENTITY glibc-minor-patch "glibc-&glibc-version;-MINOR-1.patch">
Note: See TracChangeset for help on using the changeset viewer.