glfs/general/graphlib/newt.xml
Bruce Dubbs 48bcac91a6 Tag dependencies for kf5
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21997 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-08-19 01:01:59 +00:00

193 lines
5.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY newt-download-http "https://releases.pagure.org/newt/newt-&newt-version;.tar.gz">
<!ENTITY newt-download-ftp " ">
<!ENTITY newt-md5sum "a0a5fd6b53bb167a65e15996b249ebb5">
<!ENTITY newt-size "172 KB">
<!ENTITY newt-buildsize "6.4 MB">
<!ENTITY newt-time "less than 0.1 SBU">
]>
<sect1 id="newt" xreflabel="newt-&newt-version;">
<?dbhtml filename="newt.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>newt-&newt-version;</title>
<indexterm zone="newt">
<primary sortas="a-newt">newt</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to newt</title>
<para>
<application>Newt</application> is a programming library for color text
mode, widget based user interfaces. It can be used to add stacked
windows, entry widgets, checkboxes, radio buttons, labels, plain text
fields, scrollbars, etc., to text mode user interfaces.
<application>Newt</application> is based on the S-Lang library.
</para>
&lfs90_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&newt-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&newt-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &newt-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &newt-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &newt-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &newt-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Newt Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="popt"/> and
<xref linkend="slang"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="tcl"/> and
<xref role="runtime" linkend="gpm"/> (runtime)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="python2"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/newt"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of newt</title>
<para>
Install <application>newt</application> by running the following
command:
</para>
<screen><userinput>sed -e 's/^LIBNEWT =/#&amp;/' \
-e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
-e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
-i Makefile.in &amp;&amp;
./configure --prefix=/usr --with-gpm-support &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>--with-gpm-support</parameter>: This switch enables mouse support for newt
applications through GPM.
</para>
<para>
<command>sed -e ... -i Makefile.in</command>: Disables installation of a
static library.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg> whiptail </seg>
<seg> libnewt.so, whiptcl.so, and
/usr/lib/python{&python2-majorver;,&python3-majorver;}/site-packages/_snack.so </seg>
<seg> None </seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="whiptail-prog">
<term><command>whiptail</command></term>
<listitem>
<para>
displays dialog boxes from shell scripts.
</para>
<indexterm zone="newt whiptail-prog">
<primary sortas="b-whiptail-prog">newt</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libnewt-lib">
<term><filename class="libraryfile">libnewt.so</filename></term>
<listitem>
<para>
is the library for color text mode, widget based user interfaces.
</para>
<indexterm zone="newt libnewt-lib">
<primary sortas="b-libnewt-lib">libnewt</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>