source: general/graphlib/newt.xml@ 3f2db3a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 5.5 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 "808ce286f607243de6560bd72e095f53">
10 <!ENTITY newt-size "176 KB">
11 <!ENTITY newt-buildsize "3.6 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
19 <title>newt-&newt-version;</title>
20
21 <indexterm zone="newt">
22 <primary sortas="a-newt">newt</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to newt</title>
27
28 <para>
29 <application>Newt</application> is a programming library for color text
30 mode, widget based user interfaces. It can be used to add stacked
31 windows, entry widgets, checkboxes, radio buttons, labels, plain text
32 fields, scrollbars, etc., to text mode user interfaces.
33 <application>Newt</application> is based on the S-Lang library.
34 </para>
35
36 &lfs112_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&newt-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&newt-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &newt-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &newt-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &newt-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &newt-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Newt Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="popt"/> and
77 <xref linkend="slang"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <!-- <xref linkend="tcl"/> and -->
83 <xref role="runtime" linkend="gpm"/> (runtime)
84 </para>
85<!-- Python 3 can be used, do not tell about python2
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="python2"/>
89 </para>
90-->
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/newt"/>
93 </para>
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of newt</title>
98
99 <para>
100 Install <application>newt</application> by running the following
101 command:
102 </para>
103
104<screen><userinput>sed -e 's/^LIBNEWT =/#&amp;/' \
105 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
106 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
107 -i Makefile.in &amp;&amp;
108
109./configure --prefix=/usr \
110 --with-gpm-support \
111 --with-python=python&python3-majorver; &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 This package does not come with a test suite.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <command>sed -e ... -i Makefile.in</command>: Disables installation of a
131 static library.
132 </para>
133
134 <para>
135 <parameter>--with-gpm-support</parameter>: This switch enables mouse support for newt
136 applications through GPM.
137 </para>
138
139 <para>
140 <parameter>--with-python=python&python3-majorver;</parameter>: By giving
141 explicitly the name of the directory where python modules reside, this
142 switch prevents building the python2 module.
143 </para>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Library</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg> whiptail </seg>
157 <seg> libnewt.so, whiptcl.so, and
158 /usr/lib/python&python3-majorver;/site-packages/_snack.so </seg>
159 <seg> None </seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="whiptail-prog">
169 <term><command>whiptail</command></term>
170 <listitem>
171 <para>
172 displays dialog boxes from shell scripts
173 </para>
174 <indexterm zone="newt whiptail-prog">
175 <primary sortas="b-whiptail-prog">newt</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="libnewt-lib">
181 <term><filename class="libraryfile">libnewt.so</filename></term>
182 <listitem>
183 <para>
184 is the library for color text mode, widget based user interfaces
185 </para>
186 <indexterm zone="newt libnewt-lib">
187 <primary sortas="b-libnewt-lib">libnewt</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 </variablelist>
193
194 </sect2>
195
196</sect1>
Note: See TracBrowser for help on using the repository browser.