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

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 3c89223b was fc561d1, checked in by Bruce Dubbs <bdubbs@…>, 9 months ago

Tag the rest of general/graphlib packages

  • Property mode set to 100644
File size: 5.4 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 "70aefeff0f3e9444a69dbdae9a931442">
10 <!ENTITY newt-size "173 KB">
11 <!ENTITY newt-buildsize "5.5 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 &lfs120_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 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of newt</title>
95
96 <para>
97 Install <application>newt</application> by running the following
98 command:
99 </para>
100
101<screen><userinput>sed -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
102 -e '/$(LIBNEWT):/,/rv/ s/^/#/' \
103 -e 's/$(LIBNEWT)/$(LIBNEWTSH)/g' \
104 -i Makefile.in &amp;&amp;
105
106./configure --prefix=/usr \
107 --with-gpm-support \
108 --with-python=python&python3-majorver; &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <command>sed -e ... -i Makefile.in</command>: Disables installation of a
128 static library.
129 </para>
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 <parameter>--with-python=python&python3-majorver;</parameter>: By giving
138 explicitly the name of the directory where python modules reside, this
139 switch prevents building the python2 module.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Library</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg> whiptail </seg>
154 <seg> libnewt.so, whiptcl.so, and
155 /usr/lib/python&python3-majorver;/site-packages/_snack.so </seg>
156 <seg> None </seg>
157 </seglistitem>
158 </segmentedlist>
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="whiptail-prog">
166 <term><command>whiptail</command></term>
167 <listitem>
168 <para>
169 displays dialog boxes from shell scripts
170 </para>
171 <indexterm zone="newt whiptail-prog">
172 <primary sortas="b-whiptail">whiptail</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libnewt-lib">
178 <term><filename class="libraryfile">libnewt.so</filename></term>
179 <listitem>
180 <para>
181 is the library for color text mode, widget based user interfaces
182 </para>
183 <indexterm zone="newt libnewt-lib">
184 <primary sortas="b-libnewt-lib">libnewt</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.