source: general/prog/tk.xml@ 9f12e36

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

  • Property mode set to 100644
File size: 6.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY tk-download-http "http://prdownloads.sourceforge.net/tcl/tk&tk-version;-src.tar.gz">
8 <!ENTITY tk-download-ftp " ">
9<!-- <!ENTITY tk-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tk&tk-version;-src.tar.gz"> -->
10 <!ENTITY tk-md5sum "0a16d4d9398e43cbb85784c85fb807a4">
11 <!ENTITY tk-size "3.2 MB">
12 <!ENTITY tk-buildsize "23.3 MB">
13 <!ENTITY tk-time "0.4 SBU">
14 <!-- Ensure this is updated when Tk moves to the 8.5.x branch -->
15 <!ENTITY tk-ver "8.4">
16 <!-- Ensure the above is updated when Tk moves to the 8.5.x branch -->
17]>
18
19<sect1 id="tk" xreflabel="Tk-&tk-version;">
20 <?dbhtml filename="tk.html"?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
25 </sect1info>
26
27 <title>Tk-&tk-version;</title>
28
29 <indexterm zone="tk">
30 <primary sortas="a-Tk">Tk</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Tk</title>
35
36 <para>The <application>Tk</application> package contains a
37 TCL GUI Toolkit.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&tk-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&tk-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &tk-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &tk-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &tk-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &tk-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Tk Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required"><xref linkend="x-window-system"/> and
65 <xref linkend="tcl"/></para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/tk"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of Tk</title>
74
75<para>Install <application>Tk</application> by running the following
76commands:</para>
77
78<!-- This is removed per discussion and fairly vigorous testing
79sed -i -e "s:${PWD}:/usr/lib:" \
80 -e "s:$(dirname ${PWD}):/usr/include/tk&tk-ver;:" \
81 tkConfig.sh</userinput></screen>
82-->
83
84<screen><userinput>cd unix &amp;&amp;
85./configure --prefix=/usr --enable-threads &amp;&amp;
86make</userinput></screen>
87
88 <para>Running the tests is not recommended. Some tests may crash your X
89 Server. To test the results anyway, issue: <command>make test</command>.
90 Ensure you run it from an X Window display device with the GLX extensions
91 loaded, else the tests will hang.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>make install &amp;&amp;
96make install-private-headers &amp;&amp;
97ln -v -sf wish&tk-ver; /usr/bin/wish</userinput></screen>
98
99<!-- This is removed per discussion and fairly vigorous testing
100install -v -m755 -d /usr/include/tk&tk-ver;/{unix,generic} &amp;&amp;
101install -v -m644 *.h /usr/include/tk&tk-ver;/unix/ &amp;&amp;
102install -v -m644 ../generic/*.h /usr/include/tk&tk-ver;/generic/ &amp;&amp;
103rm -v -f /usr/include/tk&tk-ver;/generic/tk{,{,Plat}Decls}.h &amp;&amp;
104ln -v -nsf ../../include/tk&tk-ver; /usr/lib/tk&tk-ver;/include &amp;&amp;
105ln -v -sf libtk&tk-ver;.so /usr/lib/libtk.so &amp;&amp;
106ln -v -sf wish&tk-ver; /usr/bin/wish</userinput></screen>
107-->
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para><parameter>--enable-threads</parameter>: This switch forces the
115 package to build with thread support.</para>
116
117 <para><command>make install-private-headers</command>: This command is
118 used to install the <application>Tk</application> library interface
119 headers used by other packages if they link to the
120 <application>Tk</application> library.</para>
121
122 <para><command>ln -v -sf wish&tk-ver; /usr/bin/wish</command>: This
123 command is used to create a compatibility symbolic link to the
124 <command>wish&tk-ver;</command> file as many packages expect a file
125 named <command>wish</command>.</para>
126
127 <!-- This is removed per discussion and fairly vigorous testing
128 <para><command>sed -i -e ... tkConfig.sh</command>: The
129 <application>Tk</application> package expects that its source tree is
130 preserved so that packages depending on it for their compilation
131 can utilize it. This <command>sed</command> removes the references to the
132 build directory and replaces them with saner system-wide locations.</para>
133
134 <para><command>install ...</command>: These commands install the internal
135 headers into a system-wide location.</para>
136
137 <para><command>ln -v -sf ...</command>: These commands create compatibility
138 symbolic links.</para>
139 -->
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Programs</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>wish and wish&tk-ver;</seg>
153 <seg>libtk.so and libtkstub&tk-ver;.a</seg>
154 <seg>/usr/lib/tk&tk-ver;</seg>
155 </seglistitem>
156 </segmentedlist>
157
158 <variablelist>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
162
163 <varlistentry id="wish">
164 <term><command>wish</command></term>
165 <listitem>
166 <para> is a symlink to the <command>wish&tk-ver;</command>
167 program.</para>
168 <indexterm zone="tk wish">
169 <primary sortas="g-wish">wish</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="wish-eight">
175 <term><command>wish&tk-ver;</command></term>
176 <listitem>
177 <para> is a simple shell containing the
178 <application>Tk</application> toolkit that creates a main window and
179 then processes <application>Tcl</application> commands.</para>
180 <indexterm zone="tk wish-eight">
181 <primary sortas="b-wish&tk-ver;">wish&tk-ver;</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="libtk">
187 <term><filename role="library">libtk.so</filename></term>
188 <listitem>
189 <para>contains the API functions required
190 by <application>Tk</application>.</para>
191 <indexterm zone="tk libtk">
192 <primary sortas="c-libtk">libtk.so</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.