[acb3e9f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY newt-download-http "http://fedorahosted.org/releases/n/e/newt/newt-&newt-version;.tar.gz">
|
---|
| 8 | <!ENTITY newt-download-ftp " ">
|
---|
[cc38147] | 9 | <!ENTITY newt-md5sum "685721bee1a318570704b19dcf31d268">
|
---|
| 10 | <!ENTITY newt-size "180 KB">
|
---|
| 11 | <!ENTITY newt-buildsize "4.8 MB">
|
---|
| 12 | <!ENTITY newt-time "0.1 SBU">
|
---|
[acb3e9f] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="newt" xreflabel="newt-&newt-version;">
|
---|
| 16 | <?dbhtml filename="newt.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[bc5778f] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[acb3e9f] | 21 | </sect1info>
|
---|
| 22 |
|
---|
[d69b726] | 23 | <title>newt-&newt-version;</title>
|
---|
[acb3e9f] | 24 |
|
---|
| 25 | <indexterm zone="newt">
|
---|
| 26 | <primary sortas="a-newt">newt</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[d69b726] | 30 | <title>Introduction to newt</title>
|
---|
[acb3e9f] | 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Newt</application> is a programming library for color text
|
---|
| 34 | mode, widget based user interfaces. It can be used to add stacked
|
---|
| 35 | windows, entry widgets, checkboxes, radio buttons, labels, plain text
|
---|
| 36 | fields, scrollbars, etc., to text mode user interfaces.
|
---|
| 37 | <application>Newt</application> is based on the S-Lang library.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[059a1a5c] | 40 | &lfs77_checked;
|
---|
[acb3e9f] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&newt-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&newt-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &newt-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &newt-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &newt-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &newt-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">Newt Dependencies</bridgehead>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
| 80 | <xref linkend="popt"/> and
|
---|
| 81 | <xref linkend="slang"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
| 86 | <xref linkend="gpm"/> (runtime)
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="python2"/> and
|
---|
| 92 | <xref linkend="python3"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/newt"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[d69b726] | 101 | <title>Installation of newt</title>
|
---|
[acb3e9f] | 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>newt</application> by running the following
|
---|
| 105 | command:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput>sed -e 's/^LIBNEWT =/#&/' \
|
---|
| 109 | -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
|
---|
| 110 | -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
|
---|
| 111 | -i Makefile.in &&
|
---|
[059a1a5c] | 112 |
|
---|
[acb3e9f] | 113 | ./configure --prefix=/usr --with-gpm-support &&
|
---|
| 114 | make</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | This package does not come with a test suite.
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | <command>sed -e ... -i Makefile.in</command>: Disables installation of an
|
---|
| 133 | static library.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
| 142 | <segtitle>Installed Programs</segtitle>
|
---|
| 143 | <segtitle>Installed Library</segtitle>
|
---|
| 144 | <segtitle>Installed Directories</segtitle>
|
---|
| 145 |
|
---|
| 146 | <seglistitem>
|
---|
| 147 | <seg> whiptail </seg>
|
---|
| 148 | <seg> libnewt.so, whiptcl.so, and
|
---|
| 149 | /usr/lib/python{&python2-majorver;,&python3-majorver;}/site-packages/_snack.so </seg>
|
---|
| 150 | <seg> None </seg>
|
---|
| 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="whiptail-prog">
|
---|
| 160 | <term><command>whiptail</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>
|
---|
| 163 | displays dialog boxes from shell scripts.
|
---|
| 164 | </para>
|
---|
| 165 | <indexterm zone="newt whiptail-prog">
|
---|
| 166 | <primary sortas="b-whiptail-prog">newt</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="libnewt-lib">
|
---|
| 172 | <term><filename class="libraryfile">libnewt.so</filename></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>
|
---|
| 175 | is the library for color text mode, widget based user interfaces.
|
---|
| 176 | </para>
|
---|
| 177 | <indexterm zone="newt libnewt-lib">
|
---|
| 178 | <primary sortas="b-libnewt-lib">libnewt</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | </variablelist>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | </sect1>
|
---|