Changeset ef88672 in clfs-sysroot


Ignore:
Timestamp:
Jan 31, 2009, 8:39:30 AM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
c407f99
Parents:
af447da
Message:

Port the ncurses widec build from trunk.

Files:
1 added
1 deleted
9 edited

Legend:

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

    raf447da ref88672  
    2424    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2525    href="../../final-system/common/ncurses.xml"
    26     xpointer="xpointer(//*[@os='p1'])"/>
     26    xpointer="xpointer(//*[@os='p3'])"/>
    2727
    2828    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2929    href="../../final-system/common/ncurses.xml"
    30     xpointer="xpointer(//*[@os='p2'])"/>
     30    xpointer="xpointer(//*[@os='p4'])"/>
    3131
    3232    <para os="a">Prepare Ncurses for compilation:</para>
  • BOOK/final-system/alpha-chapter.xml

    raf447da ref88672  
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses-widec.xml"/>
    3130  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
    3231  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
  • BOOK/final-system/arm-chapter.xml

    raf447da ref88672  
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses-widec.xml"/>
    3130  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
    3231  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
  • BOOK/final-system/common/ncurses.xml

    raf447da ref88672  
    2626    <title>Installation of Ncurses</title>
    2727
    28     <para os="p1">This patch fixes an issue with some Bash versions:</para>
    29 
    30 <screen os="p2"><userinput>patch -Np1 -i ../&ncurses-bashfix-patch;</userinput></screen>
     28    <para os="p1">The following patch contains updates from the &ncurses-version; branch
     29    by the Ncurses developers:</para>
     30
     31<screen os="p2"><userinput>patch -Np1 -i ../&ncurses-branch_update-patch;</userinput></screen>
     32
     33    <para os="p3">This patch fixes an issue with some Bash versions:</para>
     34
     35<screen os="p4"><userinput>patch -Np1 -i ../&ncurses-bashfix-patch;</userinput></screen>
    3136
    3237    <para os="a">Prepare Ncurses for compilation:</para>
    3338
    3439<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    35    --prefix=/usr --libdir=/lib --with-shared \
    36    --without-debug --without-ada --with-build-cc=gcc</userinput></screen>
     40    --prefix=/usr --libdir=/lib --with-shared \
     41    --enable-widec --without-debug --without-ada \
     42    --with-build-cc=gcc</userinput></screen>
    3743
    3844    <para os="c">Compile the package:</para>
     
    4652    <para os="g">Move the Ncurses static libraries to the proper location:</para>
    4753
    48 <screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a \
     54<screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a \
    4955    ${CLFS}/usr/lib</userinput></screen>
    5056
    5157    <para os="i">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    5258
    53 <screen os="j"><userinput>rm -v ${CLFS}/lib/lib{ncurses,menu,panel,form,curses}.so
    54 ln -sfv ../../lib/libncurses.so.&ncurses-version2; ${CLFS}/usr/lib/libcurses.so
    55 ln -sfv ../../lib/libncurses.so.&ncurses-version2; ${CLFS}/usr/lib/libncurses.so
    56 ln -sfv ../../lib/libmenu.so.&ncurses-version2; ${CLFS}/usr/lib/libmenu.so
    57 ln -sfv ../../lib/libpanel.so.&ncurses-version2; ${CLFS}/usr/lib/libpanel.so
    58 ln -sfv ../../lib/libform.so.&ncurses-version2; ${CLFS}/usr/lib/libform.so</userinput></screen>
    59 
    60     <para os="k">Give the Ncurses libraries execute permissions:</para>
    61 
    62 <screen os="l"><userinput>chmod -v 755 ${CLFS}/lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
     59<screen os="j"><userinput>rm -v ${CLFS}/lib/lib{ncursesw,menuw,panelw,formw}.so
     60ln -sfv ../../lib/libncursesw.so.&ncurses-version2; ${CLFS}/usr/lib/libncursesw.so
     61ln -sfv ../../lib/libmenuw.so.&ncurses-version2; ${CLFS}/usr/lib/libmenuw.so
     62ln -sfv ../../lib/libpanelw.so.&ncurses-version2; ${CLFS}/usr/lib/libpanelw.so
     63ln -sfv ../../lib/libformw.so.&ncurses-version2; ${CLFS}/usr/lib/libformw.so</userinput></screen>
     64
     65   <para os="k">Now we will make our Ncurses compatible for older and non-widec compatible programs
     66    can build properly:</para>
     67
     68<screen os="l"><userinput>for lib in curses ncurses form panel menu ; do
     69        echo "INPUT(-l${lib}w)" > ${CLFS}/usr/lib/lib${lib}.so
     70        ln -sfv lib${lib}w.a ${CLFS}/usr/lib/lib${lib}.a
     71done
     72ln -sfv libncursesw.so ${CLFS}/usr/lib/libcursesw.so
     73ln -sfv libncursesw.a ${CLFS}/usr/lib/libcursesw.a
     74ln -sfv libncurses++w.a ${CLFS}/usr/lib/libncurses++.a
     75ln -sfv ncursesw5-config ${CLFS}/usr/bin/ncurses5-config</userinput></screen>
     76
     77    <para os="m">Now we will create a symlink for /usr/share/terminfo in
     78    <filename class="directory">/usr/lib</filename> for compatibility:</para>
     79
     80<screen os="n"><userinput>ln -sfv ../../usr/share/terminfo ${CLFS}/usr/lib/terminfo</userinput></screen>
    6381
    6482  </sect2>
     
    7290
    7391      <seglistitem>
    74         <seg>ncurses5-config</seg>
    75         <seg>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
    76         libmenu.[a,so], libncurses++.a, libncurses.[a,so], and
    77         libpanel.[a,so]</seg>
     92        <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
     93        ncursesw5-config, reset (link to tset), tabs, tic, toe, tput, and tset</seg>
     94        <seg>libcursesw.so (link to libncursesw.so), libformw.[a,so],
     95        libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so], and
     96        libpanelw.[a,so]</seg>
    7897      </seglistitem>
    7998    </segmentedlist>
     
    84103      <?dbhtml list-presentation="table"?>
    85104
    86       <varlistentry id="ncurses5-config">
    87         <term><command>ncurses5-config</command></term>
     105      <varlistentry id="captoinfo">
     106        <term><command>captoinfo</command></term>
     107        <listitem>
     108          <para>Converts a termcap description into a terminfo description</para>
     109          <indexterm zone="ch-system-ncurses captoinfo">
     110            <primary sortas="b-captoinfo">captoinfo</primary>
     111          </indexterm>
     112        </listitem>
     113      </varlistentry>
     114
     115      <varlistentry id="clear">
     116        <term><command>clear</command></term>
     117        <listitem>
     118          <para>Clears the screen, if possible</para>
     119          <indexterm zone="ch-system-ncurses clear">
     120            <primary sortas="b-clear">clear</primary>
     121          </indexterm>
     122        </listitem>
     123      </varlistentry>
     124
     125      <varlistentry id="infocmp">
     126        <term><command>infocmp</command></term>
     127        <listitem>
     128          <para>Compares or prints out terminfo descriptions</para>
     129          <indexterm zone="ch-system-ncurses infocmp">
     130            <primary sortas="b-infocmp">infocmp</primary>
     131          </indexterm>
     132        </listitem>
     133      </varlistentry>
     134
     135      <varlistentry id="infotocap">
     136        <term><command>infotocap</command></term>
     137        <listitem>
     138          <para>Converts a terminfo description into a termcap description</para>
     139          <indexterm zone="ch-system-ncurses infotocap">
     140            <primary sortas="b-infotocap">infotocap</primary>
     141          </indexterm>
     142        </listitem>
     143      </varlistentry>
     144
     145      <varlistentry id="ncursesw5-config">
     146        <term><command>ncursesw5-config</command></term>
    88147        <listitem>
    89148          <para>Provides configuration information for ncurses</para>
    90           <indexterm zone="ch-system-ncurses ncurses5-config">
    91             <primary sortas="b-ncurses5-config">ncurses5-config</primary>
    92           </indexterm>
    93         </listitem>
    94       </varlistentry>
    95 
    96       <varlistentry id="libcurses">
    97         <term><filename class="libraryfile">libcurses</filename></term>
    98         <listitem>
    99           <para>A link to <filename>libncurses</filename></para>
    100           <indexterm zone="ch-system-ncurses libcurses">
    101             <primary sortas="c-libcurses">libcurses</primary>
    102           </indexterm>
    103         </listitem>
    104       </varlistentry>
    105 
    106       <varlistentry id="libncurses">
    107         <term><filename class="libraryfile">libncurses</filename></term>
     149          <indexterm zone="ch-system-ncurses ncursesw5-config">
     150            <primary sortas="b-ncursesw5-config">ncursesw5-config</primary>
     151          </indexterm>
     152        </listitem>
     153      </varlistentry>
     154
     155      <varlistentry id="reset">
     156        <term><command>reset</command></term>
     157        <listitem>
     158          <para>Reinitializes a terminal to its default values</para>
     159          <indexterm zone="ch-system-ncurses reset">
     160            <primary sortas="b-reset">reset</primary>
     161          </indexterm>
     162        </listitem>
     163      </varlistentry>
     164
     165      <varlistentry id="tabs">
     166        <term><command>tabs</command></term>
     167        <listitem>
     168          <para>Sets and clears tab stops on a terminal</para>
     169          <indexterm zone="ch-system-ncurses tabs">
     170            <primary sortas="b-tabs">tabs</primary>
     171          </indexterm>
     172        </listitem>
     173      </varlistentry>
     174
     175      <varlistentry id="tic">
     176        <term><command>tic</command></term>
     177        <listitem>
     178          <para>The terminfo entry-description compiler that translates a
     179          terminfo file from source format into the binary format needed for the
     180          ncurses library routines. A terminfo file contains information on the
     181          capabilities of a certain terminal</para>
     182          <indexterm zone="ch-system-ncurses tic">
     183            <primary sortas="b-tic">tic</primary>
     184          </indexterm>
     185        </listitem>
     186      </varlistentry>
     187
     188      <varlistentry id="toe">
     189        <term><command>toe</command></term>
     190        <listitem>
     191          <para>Lists all available terminal types, giving the primary name and
     192          description for each</para>
     193          <indexterm zone="ch-system-ncurses toe">
     194            <primary sortas="b-toe">toe</primary>
     195          </indexterm>
     196        </listitem>
     197      </varlistentry>
     198
     199      <varlistentry id="tput">
     200        <term><command>tput</command></term>
     201        <listitem>
     202          <para>Makes the values of terminal-dependent capabilities available to
     203          the shell; it can also be used to reset or initialize a terminal or
     204          report its long name</para>
     205          <indexterm zone="ch-system-ncurses tput">
     206            <primary sortas="b-tput">tput</primary>
     207          </indexterm>
     208        </listitem>
     209      </varlistentry>
     210
     211      <varlistentry id="tset">
     212        <term><command>tset</command></term>
     213        <listitem>
     214          <para>Can be used to initialize terminals</para>
     215          <indexterm zone="ch-system-ncurses tset">
     216            <primary sortas="b-tset">tset</primary>
     217          </indexterm>
     218        </listitem>
     219      </varlistentry>
     220
     221      <varlistentry id="libcursesw">
     222        <term><filename class="libraryfile">libcursesw</filename></term>
     223        <listitem>
     224          <para>A link to <filename>libncursesw</filename></para>
     225          <indexterm zone="ch-system-ncurses libcursesw">
     226            <primary sortas="c-libcursesw">libcursesw</primary>
     227          </indexterm>
     228        </listitem>
     229      </varlistentry>
     230
     231      <varlistentry id="libncursesw">
     232        <term><filename class="libraryfile">libncursesw</filename></term>
    108233        <listitem>
    109234          <para>Contains functions to display text in many complex ways on a
     
    111236          menu displayed during the kernel's
    112237          <command>make menuconfig</command></para>
    113           <indexterm zone="ch-system-ncurses libncurses">
    114             <primary sortas="c-libncurses">libncurses</primary>
    115           </indexterm>
    116         </listitem>
    117       </varlistentry>
    118 
    119       <varlistentry id="libform">
    120         <term><filename class="libraryfile">libform</filename></term>
     238          <indexterm zone="ch-system-ncurses libncursesw">
     239            <primary sortas="c-libncursesw">libncursesw</primary>
     240          </indexterm>
     241        </listitem>
     242      </varlistentry>
     243
     244      <varlistentry id="libformw">
     245        <term><filename class="libraryfile">libformw</filename></term>
    121246        <listitem>
    122247          <para>Contains functions to implement forms</para>
    123           <indexterm zone="ch-system-ncurses libform">
    124             <primary sortas="c-libform">libform</primary>
    125           </indexterm>
    126         </listitem>
    127       </varlistentry>
    128 
    129       <varlistentry id="libmenu">
    130         <term><filename class="libraryfile">libmenu</filename></term>
     248          <indexterm zone="ch-system-ncurses libformw">
     249            <primary sortas="c-libform">libformw</primary>
     250          </indexterm>
     251        </listitem>
     252      </varlistentry>
     253
     254      <varlistentry id="libmenuw">
     255        <term><filename class="libraryfile">libmenuw</filename></term>
    131256        <listitem>
    132257          <para>Contains functions to implement menus</para>
    133           <indexterm zone="ch-system-ncurses libmenu">
    134             <primary sortas="c-libmenu">libmenu</primary>
    135           </indexterm>
    136         </listitem>
    137       </varlistentry>
    138 
    139       <varlistentry id="libpanel">
    140         <term><filename class="libraryfile">libpanel</filename></term>
     258          <indexterm zone="ch-system-ncurses libmenuw">
     259            <primary sortas="c-libmenuw">libmenuw</primary>
     260          </indexterm>
     261        </listitem>
     262      </varlistentry>
     263
     264      <varlistentry id="libpanelw">
     265        <term><filename class="libraryfile">libpanelw</filename></term>
    141266        <listitem>
    142267          <para>Contains functions to implement panels</para>
    143           <indexterm zone="ch-system-ncurses libpanel">
    144             <primary sortas="c-libpanel">libpanel</primary>
     268          <indexterm zone="ch-system-ncurses libpanelw">
     269            <primary sortas="c-libpanelw">libpanelw</primary>
    145270          </indexterm>
    146271        </listitem>
  • BOOK/final-system/hppa-chapter.xml

    raf447da ref88672  
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses-widec.xml"/>
    3130  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
    3231  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
  • BOOK/final-system/x86-chapter.xml

    raf447da ref88672  
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses-widec.xml"/>
    3130  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
    3231  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
  • BOOK/introduction/common/changelog.xml

    raf447da ref88672  
    4040      <para>Janurary 31, 2009</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Ported the NCurses widec builds from trunk and
     44          added the branch update patch.</para>
     45        </listitem>
    4246        <listitem>
    4347          <para>[jciccone] - Added command to make Perl use system-installed
  • BOOK/materials/common/patches.xml

    raf447da ref88672  
    137137
    138138    <varlistentry>
     139      <term>Ncurses Branch Update Patch - <token>&ncurses-branch_update-patch-size;</token>:</term>
     140      <listitem>
     141        <para>Download: <ulink
     142        url="&patches-root;&ncurses-branch_update-patch;"/></para>
     143        <para>MD5 sum: <literal>&ncurses-branch_update-patch-md5;</literal></para>
     144      </listitem>
     145    </varlistentry>
     146
     147    <varlistentry>
    139148      <term>Perl Cross Compile Patch - <token>&perl-cross_compile-patch-size;</token>:</term>
    140149      <listitem>
  • BOOK/patches.ent

    raf447da ref88672  
    5757<!ENTITY ncurses-bashfix-patch-size "4 KB">
    5858
     59<!ENTITY ncurses-branch_update-patch "ncurses-&ncurses-version;-branch_update-6.patch">
     60<!ENTITY ncurses-branch_update-patch-md5 "39811fc1a46d4d6cd7b546e57ea4f3b6">
     61<!ENTITY ncurses-branch_update-patch-size "584 KB">
     62
    5963<!ENTITY perl-cross_compile-patch "perl-&perl-version;-cross_compile-5.patch">
    6064<!ENTITY perl-cross_compile-patch-md5 "7bbb78618e2dd95987ad04c6c54a81c6">
Note: See TracChangeset for help on using the changeset viewer.