Author: pierre Date: Mon Jul 6 13:47:01 2020 New Revision: 11994 Log: Match ncurses chapter 6 to what is done in chapter 8, and add explanations
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter06/ncurses.xml trunk/BOOK/general.ent Modified: trunk/BOOK/chapter01/changelog.xml ============================================================================== --- trunk/BOOK/chapter01/changelog.xml Sun Jul 5 01:58:46 2020 (r11993) +++ trunk/BOOK/chapter01/changelog.xml Mon Jul 6 13:47:01 2020 (r11994) @@ -43,6 +43,16 @@ appropriate for the entry or if needed the entire day's listitem. --> <listitem> + <para>2020-07-06</para> + <itemizedlist> + <listitem> + <para>[pierre] - Change chapter 6 ncurses so that it matches + what is done in chapter 8, and add explanations.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2020-07-04</para> <itemizedlist> <listitem> Modified: trunk/BOOK/chapter06/ncurses.xml ============================================================================== --- trunk/BOOK/chapter06/ncurses.xml Sun Jul 5 01:58:46 2020 (r11993) +++ trunk/BOOK/chapter06/ncurses.xml Mon Jul 6 13:47:01 2020 (r11994) @@ -120,9 +120,33 @@ <screen><userinput remap="make">make</userinput></screen> <para>Install the package:</para> -<!-- TODO: check and document --> + <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install -ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput></screen> +echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> + + <variablelist> + <title>The meaning of the install options:</title> + + <varlistentry> + <term><parameter>TIC_PATH=$(pwd)/build/progs/tic</parameter></term> + <listitem> + <para>We need to pass the path of the just built + <command>tic</command> able to run on the building machine, so that + the terminal database can be created without errors.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><command>echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</command></term> + <listitem> + <para>The <filename>libncurses.so</filename> library is needed by + a few packages we will build soon. We create this small linker + script, as this is what is done in <xref + linkend="chapter-building-system"/>.</para> + </listitem> + </varlistentry> + + </variablelist> <para>Move the shared libraries to the <filename class="directory">/lib</filename> directory, where they are Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Sun Jul 5 01:58:46 2020 (r11993) +++ trunk/BOOK/general.ent Mon Jul 6 13:47:01 2020 (r11994) @@ -1,13 +1,13 @@ -<!ENTITY version "SVN-20200704"> +<!ENTITY version "SVN-20200706"> <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; Change to x.y for release but not -rc releases --> <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> -<!ENTITY versiond "20200704-systemd"> +<!ENTITY versiond "20200706-systemd"> <!ENTITY short-versiond "systemd"> <!ENTITY generic-versiond "systemd"> -<!ENTITY releasedate "July 4th, 2020"> +<!ENTITY releasedate "July 6th, 2020"> <!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – --> -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page