source: general/graphlib/newt.xml@ f4002c5

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since f4002c5 was f4002c5, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Archive expect, dejagnu, and tcl which are now included in LFS.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23319 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 KB
Line 
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 "https://releases.pagure.org/newt/newt-&newt-version;.tar.gz">
8 <!ENTITY newt-download-ftp " ">
9 <!ENTITY newt-md5sum "a0a5fd6b53bb167a65e15996b249ebb5">
10 <!ENTITY newt-size "172 KB">
11 <!ENTITY newt-buildsize "6.4 MB">
12 <!ENTITY newt-time "less than 0.1 SBU">
13]>
14
15<sect1 id="newt" xreflabel="newt-&newt-version;">
16 <?dbhtml filename="newt.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>newt-&newt-version;</title>
24
25 <indexterm zone="newt">
26 <primary sortas="a-newt">newt</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to newt</title>
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
40 &lfs91_checked;
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="tcl"/> and -->
87 <xref role="runtime" linkend="gpm"/> (runtime)
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="python2"/>
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">
101 <title>Installation of newt</title>
102
103 <para>
104 Install <application>newt</application> by running the following
105 command:
106 </para>
107
108<screen><userinput>sed -e 's/^LIBNEWT =/#&amp;/' \
109 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
110 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
111 -i Makefile.in &amp;&amp;
112
113./configure --prefix=/usr --with-gpm-support &amp;&amp;
114make</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 <parameter>--with-gpm-support</parameter>: This switch enables mouse support for newt
133 applications through GPM.
134 </para>
135
136 <para>
137 <command>sed -e ... -i Makefile.in</command>: Disables installation of a
138 static library.
139 </para>
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Programs</segtitle>
148 <segtitle>Installed Library</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg> whiptail </seg>
153 <seg> libnewt.so, whiptcl.so, and
154 /usr/lib/python{&python2-majorver;,&python3-majorver;}/site-packages/_snack.so </seg>
155 <seg> None </seg>
156 </seglistitem>
157 </segmentedlist>
158
159 <variablelist>
160 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
161 <?dbfo list-presentation="list"?>
162 <?dbhtml list-presentation="table"?>
163
164 <varlistentry id="whiptail-prog">
165 <term><command>whiptail</command></term>
166 <listitem>
167 <para>
168 displays dialog boxes from shell scripts.
169 </para>
170 <indexterm zone="newt whiptail-prog">
171 <primary sortas="b-whiptail-prog">newt</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="libnewt-lib">
177 <term><filename class="libraryfile">libnewt.so</filename></term>
178 <listitem>
179 <para>
180 is the library for color text mode, widget based user interfaces.
181 </para>
182 <indexterm zone="newt libnewt-lib">
183 <primary sortas="b-libnewt-lib">libnewt</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.