Changeset d282f88
- Timestamp:
- 01/21/2024 04:27:45 PM (5 months ago)
- Branches:
- 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
- Children:
- 943f225
- Parents:
- 619e4d9
- git-author:
- Xi Ruoyao <xry111@…> (01/19/2024 04:47:33 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (01/21/2024 04:27:45 PM)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r619e4d9 rd282f88 42 42 43 43 <listitem> 44 <para>2024-01-18</para> 45 <itemizedlist> 46 <listitem> 47 <para>[xry111] - Edit a ncurses header to always use the 48 wide-character ABI compatible with libncursesw.so because we 49 are faking the 8-bit libncurses.so with it. Fixes 50 <ulink url="&lfs-ticket-root;5415">#5415</ulink>.</para> 51 </listitem> 52 </itemizedlist> 53 </listitem> 54 55 <listitem> 44 56 <para>2024-01-09</para> 45 57 <itemizedlist> -
chapter06/ncurses.xml
r619e4d9 rd282f88 157 157 158 158 <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install 159 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> 159 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so 160 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 161 -i $LFS/usr/include/curses.h</userinput></screen> 160 162 <!-- 161 163 <para>Remove an unneeded static library not handled by … … 186 188 </varlistentry> 187 189 190 <varlistentry> 191 <term><command>sed -e 's/^#if.*XOPEN.*$/#if 1/' ...</command></term> 192 <listitem> 193 <para>The header file <filename>curses.h</filename> contains 194 the definition of various Ncurses data structures. With different 195 preprocessor macro definitions two different sets of the data 196 structure definition may be used: the 8-bit definition is 197 compatible with <filename>libncurses.so</filename> and the 198 wide-character definition is compatible with 199 <filename>libncursesw.so</filename>. Since we are using 200 <filename>libncursesw.so</filename> as a replacement of 201 <filename>libncurses.so</filename>, edit the header file so it 202 will always use the wide-character data structure definition 203 compatible with <filename>libncursesw.so</filename>.</para> 204 </listitem> 205 </varlistentry> 206 188 207 </variablelist> 189 208 -
chapter08/ncurses.xml
r619e4d9 rd282f88 132 132 from the library file. Install the package with 133 133 <literal>DESTDIR</literal>, and replace the library file correctly using 134 <command>install</command> command:</para> 134 <command>install</command> command (the header 135 <filename>curses.h</filename> is also edited to ensure the 136 wide-character ABI to be used as what we've done in 137 <xref linkend='ch-tools-ncurses'/>):</para> 135 138 136 139 <screen><userinput remap="install">make DESTDIR=$PWD/dest install 137 140 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib 138 141 rm -v dest/usr/lib/libncursesw.so.&ncurses-version; 142 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 143 -i dest/usr/include/curses.h 139 144 cp -av dest/* /</userinput></screen> 140 145
Note:
See TracChangeset
for help on using the changeset viewer.