|
@@ -41,15 +41,9 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Ncurses</title>
|
|
|
|
|
|
- <!-- FIXME: Uncomment if using a dated ncurses release instead of a numbered
|
|
|
- one.
|
|
|
+ <para>Don't install a static library that is not handled by configure:</para>
|
|
|
|
|
|
- <para>Since the release of Ncurses-&ncurses-version;, some bugs have been fixed
|
|
|
- and features added. The most important news are .......
|
|
|
- To get these fixes and features, apply the rollup patch:</para>
|
|
|
-
|
|
|
-<screen><userinput>bzcat ../&ncurses-rollup-patch; | patch -Np1</userinput></screen>
|
|
|
- -->
|
|
|
+<screen><userinput remap="pre">sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in</userinput></screen>
|
|
|
|
|
|
<para>Prepare Ncurses for compilation:</para>
|
|
|
|
|
@@ -57,6 +51,7 @@
|
|
|
--mandir=/usr/share/man \
|
|
|
--with-shared \
|
|
|
--without-debug \
|
|
|
+ --without-normal \
|
|
|
--enable-pc-files \
|
|
|
--enable-widec</userinput></screen>
|
|
|
|
|
@@ -85,6 +80,14 @@
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter>--without-normal</parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>This switch disables building and installing most static libraries.
|
|
|
+ </para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
</variablelist>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
@@ -119,11 +122,8 @@
|
|
|
<screen><userinput remap="install">for lib in ncurses form panel menu ; do
|
|
|
rm -vf /usr/lib/lib${lib}.so
|
|
|
echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
|
|
|
- ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
|
|
|
ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc
|
|
|
-done
|
|
|
-
|
|
|
-ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
|
|
|
+done</userinput></screen>
|
|
|
|
|
|
<para>Finally, make sure that old applications that look for
|
|
|
<filename class="libraryfile">-lcurses</filename> at build time are still
|
|
@@ -131,9 +131,7 @@ ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
|
|
|
|
|
|
<screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so
|
|
|
echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so
|
|
|
-ln -sfv libncurses.so /usr/lib/libcurses.so
|
|
|
-ln -sfv libncursesw.a /usr/lib/libcursesw.a
|
|
|
-ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen>
|
|
|
+ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen>
|
|
|
|
|
|
<para>If desired, install the Ncurses documentation:</para>
|
|
|
|
|
@@ -168,14 +166,31 @@ cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
|
|
|
<segtitle>Installed directories</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
- <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
|
|
|
- ncursesw5-config, reset (link to tset), tabs, tic, toe, tput, and tset</seg>
|
|
|
- <seg>libcursesw.{a,so} (symlink and linker script to libncursesw.{a,so}),
|
|
|
- libformw.{a,so}, libmenuw.{a,so}, libncurses++w.a, libncursesw.{a,so},
|
|
|
- libpanelw.{a,so}, and their non-wide-character counterparts without "w"
|
|
|
- in the library names.</seg>
|
|
|
- <seg>/usr/share/tabset, /usr/share/terminfo, and
|
|
|
- /usr/share/doc/ncurses-&ncurses-version;</seg>
|
|
|
+ <seg>
|
|
|
+ captoinfo (link to tic),
|
|
|
+ clear,
|
|
|
+ infocmp,
|
|
|
+ infotocap (link to tic),
|
|
|
+ ncursesw5-config,
|
|
|
+ reset (link to tset),
|
|
|
+ tabs,
|
|
|
+ tic,
|
|
|
+ toe,
|
|
|
+ tput, and
|
|
|
+ tset
|
|
|
+ </seg>
|
|
|
+ <seg>
|
|
|
+ libcursesw.so (symlink and linker script to libncursesw.so),
|
|
|
+ libformw.so,
|
|
|
+ libmenuw.so,
|
|
|
+ libncursesw.so,
|
|
|
+ libpanelw.so, and their non-wide-character counterparts without "w"
|
|
|
+ in the library names.</seg>
|
|
|
+ <seg>
|
|
|
+ /usr/share/tabset,
|
|
|
+ /usr/share/terminfo, and
|
|
|
+ /usr/share/doc/ncurses-&ncurses-version;
|
|
|
+ </seg>
|
|
|
</seglistitem>
|
|
|
</segmentedlist>
|
|
|
|