glfs/general/graphlib/newt.xml
Fernando de Oliveira f34293095b • mupdf-1.8: minor reformat.
• removing spaces from EOL, from Denis Mugnier.
• BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate
  the book. One chunck had been removed. Bruce, please check if it is
  OK, now.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16645 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-11-13 14:24:57 +00:00

188 lines
5.1 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 "http://fedorahosted.org/releases/n/e/newt/newt-&newt-version;.tar.gz">
<!ENTITY newt-download-ftp " ">
<!ENTITY newt-md5sum "685721bee1a318570704b19dcf31d268">
<!ENTITY newt-size "180 KB">
<!ENTITY newt-buildsize "4.8 MB">
<!ENTITY newt-time "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>
&lfs78_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="gpm"/> (runtime)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="python2"/> and
<xref linkend="python3"/>
</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>
<command>sed -e ... -i Makefile.in</command>: Disables installation of an
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>