source: general/graphlib/newt.xml@ 427b46a

11.0 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 427b46a was 5aca57c0, checked in by Pierre Labastie <pieere@…>, 3 years ago

Remove reference to python2 in newt, and prevent building python2 modules

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

  • 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 <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 &lfs101_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<!-- Python 3 can be used, do not tell about python2
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 \
114 --with-gpm-support \
115 --with-python=python&python3-majorver; &amp;&amp;
116make</userinput></screen>
117
118 <para>
119 This package does not come with a test suite.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <command>sed -e ... -i Makefile.in</command>: Disables installation of a
135 static library.
136 </para>
137
138 <para>
139 <parameter>--with-gpm-support</parameter>: This switch enables mouse support for newt
140 applications through GPM.
141 </para>
142
143 <para>
144 <parameter>--with-python=python&python3-majorver;</parameter>: By giving
145 explicitly the name of the directory where python modules reside, this
146 switch prevents building the python2 module.
147 </para>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Library</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg> whiptail </seg>
161 <seg> libnewt.so, whiptcl.so, and
162 /usr/lib/python&python3-majorver;/site-packages/_snack.so </seg>
163 <seg> None </seg>
164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="whiptail-prog">
173 <term><command>whiptail</command></term>
174 <listitem>
175 <para>
176 displays dialog boxes from shell scripts
177 </para>
178 <indexterm zone="newt whiptail-prog">
179 <primary sortas="b-whiptail-prog">newt</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="libnewt-lib">
185 <term><filename class="libraryfile">libnewt.so</filename></term>
186 <listitem>
187 <para>
188 is the library for color text mode, widget based user interfaces
189 </para>
190 <indexterm zone="newt libnewt-lib">
191 <primary sortas="b-libnewt-lib">libnewt</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.