source: general/prog/tk.xml@ 6a2bce2

10.0 10.1 11.0 6.0 6.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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 6a2bce2 was 6a2bce2, checked in by Randy McMurchy <randy@…>, 17 years ago

Cleaned up indexing tags (should all be correct now)

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

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tk&tk-version;-src.tar.gz">
9<!ENTITY tk-size "3.2 MB">
10<!ENTITY tk-buildsize "26 MB">
11<!ENTITY tk-time "0.40 SBU">
12]>
13
14<sect1 id="tk" xreflabel="Tk-&tk-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="tk.html"?>
20<title>Tk-&tk-version;</title>
21<indexterm zone="tk">
22<primary sortas="a-Tk">Tk</primary></indexterm>
23
24<sect2>
25<title>Introduction to <application>Tk</application></title>
26
27<para>The <application>Tk</application> package contains a
28<acronym>TCL</acronym> <acronym>GUI</acronym> Toolkit.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink
33url="&tk-download-http;"/></para></listitem>
34<listitem><para>Download (FTP): <ulink
35url="&tk-download-ftp;"/></para></listitem>
36<listitem><para>Download size: &tk-size;</para></listitem>
37<listitem><para>Estimated disk space required:
38&tk-buildsize;</para></listitem>
39<listitem><para>Estimated build time:
40&tk-time;</para></listitem></itemizedlist>
41</sect3>
42
43<sect3><title><application>Tk</application> dependencies</title>
44<sect4><title>Required</title>
45<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and
46<xref linkend="tcl"/></para></sect4>
47</sect3>
48
49</sect2>
50
51<sect2>
52<title>Installation of <application>Tk</application></title>
53
54<para>Install <application>Tk</application> by running the following
55commands:</para>
56
57<screen><userinput><command>VERSION=&tk-version; &amp;&amp;
58V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
59DIR=$PWD &amp;&amp;
60cd unix &amp;&amp;
61./configure --prefix=/usr --enable-threads &amp;&amp;
62make &amp;&amp;
63sed -i "s:${DIR}/unix:/usr/lib:" tkConfig.sh &amp;&amp;
64sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh &amp;&amp;
65make install &amp;&amp;
66install -d /usr/include/tk${V}/unix &amp;&amp;
67install -m644 *.h /usr/include/tk${V}/unix/ &amp;&amp;
68install -d /usr/include/tk${V}/generic &amp;&amp;
69install -m644 ../generic/*.h /usr/include/tk${V}/generic/ &amp;&amp;
70rm -f /usr/include/tk${V}/generic/{tk,tkDecls,tkPlatDecls}.h &amp;&amp;
71ln -nsf ../../include/tk${V} /usr/lib/tk${V}/include &amp;&amp;
72ln -sf libtk${V}.so /usr/lib/libtk.so &amp;&amp;
73ln -sf wish${V} /usr/bin/wish</command></userinput></screen>
74
75<caution><para>If you build the package as an ordinary user and then switch to
76root to install the package, ensure you set the environment variables
77<envar>V</envar> and <envar>VERSION</envar> before running the installation
78commands.</para></caution>
79
80</sect2>
81
82<sect2>
83<title>Command explanations</title>
84
85<para><parameter>--enable-threads</parameter>: This switch forces the package
86to build with thread support.</para>
87
88<para><command>sed -i ...</command>: The <application>Tk</application> package
89assumes that the source that is used to build <application>Tk</application> is
90always kept around for compiling packages that depend on
91<application>Tk</application>. These <command>sed</command>'s remove the
92reference to the build directory and replace them by saner system wide
93locations.</para>
94
95<para><command>install ...</command>: These commands install the internal
96headers into a system-wide location.</para>
97
98<para><command>ln -sf ...</command>: These commands create compatibility
99symbolic links.</para>
100
101</sect2>
102
103<sect2>
104<title>Contents</title>
105
106<segmentedlist>
107<segtitle>Installed Program</segtitle>
108<segtitle>Installed Library</segtitle>
109<segtitle>Installed Directories</segtitle>
110<seglistitem>
111<seg>wish</seg>
112<seg>libtk</seg>
113<seg>/usr/lib/tk8.4 and /usr/include/tk8.4</seg></seglistitem>
114</segmentedlist>
115
116<variablelist>
117<bridgehead renderas="sect3">Short Descriptions</bridgehead>
118<?dbfo list-presentation="list"?>
119
120<varlistentry id="wish">
121<term><command>wish</command></term>
122<listitem><para> is a simple shell containing the
123<application>Tk</application> toolkit that creates a main window and
124then processes <application>Tcl</application> commands.</para>
125<indexterm zone="tk wish">
126<primary sortas="b-wish">wish</primary></indexterm>
127</listitem>
128</varlistentry>
129
130<varlistentry id="libtk">
131<term><filename role="library">libtk.so</filename></term>
132<listitem><para>contains the <acronym>API</acronym> functions required
133by <application>Tk</application>.</para>
134<indexterm zone="tk libtk">
135<primary sortas="c-libtk">libtk.so</primary></indexterm>
136</listitem>
137</varlistentry>
138
139</variablelist>
140
141</sect2>
142
143</sect1>
Note: See TracBrowser for help on using the repository browser.