source: general/graphlib/newt.xml@ 8558044

11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8558044 was 8558044, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

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