- Timestamp:
- 05/05/2005 08:46:59 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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
- Children:
- 7323e67
- Parents:
- 5cc1126a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/tk.xml
r5cc1126a r516af114 5 5 %general-entities; 6 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-md5sum "1b64258abaf258e9a86f331d8de17a71">10 <!ENTITY tk-size "3.2 MB">11 <!ENTITY tk-buildsize "23.3 MB">12 <!ENTITY tk-time "0.35 SBU">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-md5sum "1b64258abaf258e9a86f331d8de17a71"> 10 <!ENTITY tk-size "3.2 MB"> 11 <!ENTITY tk-buildsize "23.3 MB"> 12 <!ENTITY tk-time "0.35 SBU"> 13 13 ]> 14 14 15 15 <sect1 id="tk" xreflabel="Tk-&tk-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="tk.html"?> 21 <title>Tk-&tk-version;</title> 22 <indexterm zone="tk"> 23 <primary sortas="a-Tk">Tk</primary></indexterm> 16 <?dbhtml filename="tk.html"?> 24 17 25 <sect2> 26 <title>Introduction to <application>Tk</application></title> 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 27 22 28 <para>The <application>Tk</application> package contains a 29 <acronym>TCL</acronym> <acronym>GUI</acronym> Toolkit.</para> 23 <title>Tk-&tk-version;</title> 30 24 31 <sect3><title>Package information</title> 32 <itemizedlist spacing='compact'> 33 <listitem><para>Download (HTTP): <ulink 34 url="&tk-download-http;"/></para></listitem> 35 <listitem><para>Download (FTP): <ulink 36 url="&tk-download-ftp;"/></para></listitem> 37 <listitem><para>Download MD5 sum: &tk-md5sum;</para></listitem> 38 <listitem><para>Download size: &tk-size;</para></listitem> 39 <listitem><para>Estimated disk space required: 40 &tk-buildsize;</para></listitem> 41 <listitem><para>Estimated build time: 42 &tk-time;</para></listitem></itemizedlist> 43 </sect3> 25 <indexterm zone="tk"> 26 <primary sortas="a-Tk">Tk</primary> 27 </indexterm> 44 28 45 <sect3><title><application>Tk</application> dependencies</title> 46 <sect4><title>Required</title> 47 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and 48 <xref linkend="tcl"/></para></sect4> 49 </sect3> 29 <sect2 role="package"> 30 <title>Introduction to Tk</title> 50 31 51 </sect2> 32 <para>The <application>Tk</application> package contains a 33 TCL GUI Toolkit.</para> 52 34 53 <sect2> 54 <title>Installation of <application>Tk</application></title> 35 <bridgehead renderas="sect3">Package Information</bridgehead> 36 <itemizedlist spacing="compact"> 37 <listitem> 38 <para>Download (HTTP): <ulink url="&tk-download-http;"/></para> 39 </listitem> 40 <listitem> 41 <para>Download (FTP): <ulink url="&tk-download-ftp;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download MD5 sum: &tk-md5sum;</para> 45 </listitem> 46 <listitem> 47 <para>Download size: &tk-size;</para> 48 </listitem> 49 <listitem> 50 <para>Estimated disk space required: &tk-buildsize;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated build time: &tk-time;</para> 54 </listitem> 55 </itemizedlist> 56 57 <bridgehead renderas="sect3">Tk Dependencies</bridgehead> 58 59 <bridgehead renderas="sect4">Required</bridgehead> 60 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and 61 <xref linkend="tcl"/></para> 62 63 </sect2> 64 65 <sect2 role="installation"> 66 <title>Installation of Tk</title> 55 67 56 68 <para>Install <application>Tk</application> by running the following 57 69 commands:</para> 58 70 59 <screen><userinput> <command>export VERSION=&tk-version; &&71 <screen><userinput>export VERSION=&tk-version; && 60 72 export V=`echo $VERSION | cut -d "." -f 1,2` && 61 73 export DIR=$PWD && … … 64 76 make && 65 77 sed -i "s:${DIR}/unix:/usr/lib:" tkConfig.sh && 66 sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</ command></userinput></screen>78 sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</userinput></screen> 67 79 68 <para>To test the results, issue: <command>make test</command>. Ensure 69 you do it from an X Window display device with the 70 <acronym>GLX</acronym> extensions loaded, else the tests will 71 hang.</para> 80 <para>To test the results, issue: <command>make test</command>. 81 Ensure you do it from an X Window display device with the 82 GLX extensions loaded, else the tests will hang.</para> 72 83 73 <para>Now, as the rootuser:</para>84 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 74 85 75 <screen ><userinput role='root'><command>make install &&76 install - d /usr/include/tk${V}/unix &&77 install - m644 *.h /usr/include/tk${V}/unix/ &&78 install - d /usr/include/tk${V}/generic &&79 install - m644 ../generic/*.h /usr/include/tk${V}/generic/ &&80 rm - f /usr/include/tk${V}/generic/{tk,tkDecls,tkPlatDecls}.h &&81 ln - nsf ../../include/tk${V} /usr/lib/tk${V}/include &&82 ln - sf libtk${V}.so /usr/lib/libtk.so &&83 ln - sf wish${V} /usr/bin/wish</command></userinput></screen>86 <screen role="root"><userinput>make install && 87 install -v -d /usr/include/tk${V}/unix && 88 install -v -m644 *.h /usr/include/tk${V}/unix/ && 89 install -v -d /usr/include/tk${V}/generic && 90 install -v -m644 ../generic/*.h /usr/include/tk${V}/generic/ && 91 rm -v -f /usr/include/tk${V}/generic/{tk,tkDecls,tkPlatDecls}.h && 92 ln -v -nsf ../../include/tk${V} /usr/lib/tk${V}/include && 93 ln -v -sf libtk${V}.so /usr/lib/libtk.so && 94 ln -v -sf wish${V} /usr/bin/wish</userinput></screen> 84 95 85 <para>Clean up the unprivileged user's environment using the following86 commands:</para>96 <para>Clean up the unprivileged user's environment using the following 97 commands:</para> 87 98 88 <screen><userinput> <command>unset VERSION &&99 <screen><userinput>unset VERSION && 89 100 unset V && 90 unset DIR</ command></userinput></screen>101 unset DIR</userinput></screen> 91 102 92 103 <!-- 93 <caution><para>If you build the package as an ordinary user and then switch to 94 root to install the package, ensure you set the environment variables 95 <envar>V</envar> and <envar>VERSION</envar> before running the installation 96 commands.</para></caution> 104 <caution> 105 <para>If you build the package as an ordinary user and then switch to 106 root to install the package, ensure you set the environment variables 107 <envar>V</envar> and <envar>VERSION</envar> before running the installation 108 commands.</para> 109 </caution> 97 110 --> 98 111 99 </sect2>112 </sect2> 100 113 101 <sect2>102 <title>Command explanations</title>114 <sect2 role="commands"> 115 <title>Command Explanations</title> 103 116 104 <para><parameter>--enable-threads</parameter>: This switch forces the package105 to build with thread support.</para>117 <para><parameter>--enable-threads</parameter>: This switch forces the package 118 to build with thread support.</para> 106 119 107 <para><command>sed -i ...</command>: The <application>Tk</application> package108 assumes that the source that is used to build <application>Tk</application> is109 always kept around for compiling packages that depend on110 <application>Tk</application>. These <command>sed</command>'s remove the111 reference to the build directory and replace them by saner system wide112 locations.</para>120 <para><command>sed -i ...</command>: The <application>Tk</application> package 121 assumes that the source that is used to build <application>Tk</application> is 122 always kept around for compiling packages that depend on 123 <application>Tk</application>. These <command>sed</command>'s remove the 124 reference to the build directory and replace them by saner system wide 125 locations.</para> 113 126 114 <para><command>install ...</command>: These commands install the internal115 headers into a system-wide location.</para>127 <para><command>install ...</command>: These commands install the internal 128 headers into a system-wide location.</para> 116 129 117 <para><command>ln-sf ...</command>: These commands create compatibility118 symbolic links.</para>130 <para><command>ln -v -sf ...</command>: These commands create compatibility 131 symbolic links.</para> 119 132 120 </sect2>133 </sect2> 121 134 122 <sect2>123 <title>Contents</title>135 <sect2 role="content"> 136 <title>Contents</title> 124 137 125 <segmentedlist>126 <segtitle>Installed Programs</segtitle>127 <segtitle>Installed Libraries</segtitle>128 <segtitle>Installed Directories</segtitle>138 <segmentedlist> 139 <segtitle>Installed Programs</segtitle> 140 <segtitle>Installed Libraries</segtitle> 141 <segtitle>Installed Directories</segtitle> 129 142 130 <seglistitem>131 <seg>wish and wish8.4</seg>132 <seg>libtk.so and libtkstub8.4.a</seg>133 <seg>/usr/include/tk8.4 and /usr/lib/tk8.4</seg>134 </seglistitem>135 </segmentedlist>143 <seglistitem> 144 <seg>wish and wish8.4</seg> 145 <seg>libtk.so and libtkstub8.4.a</seg> 146 <seg>/usr/include/tk8.4 and /usr/lib/tk8.4</seg> 147 </seglistitem> 148 </segmentedlist> 136 149 137 <variablelist> 138 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 139 <?dbfo list-presentation="list"?> 150 <variablelist> 151 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 152 <?dbfo list-presentation="list"?> 153 <?dbhtml list-presentation="table"?> 140 154 141 <varlistentry id="wish"> 142 <term><command>wish</command></term> 143 <listitem><para> is a symlink to the <command>wish8.4</command> program.</para> 144 <indexterm zone="tk wish"> 145 <primary sortas="b-wish">wish</primary></indexterm> 146 </listitem> 147 </varlistentry> 155 <varlistentry id="wish"> 156 <term><command>wish</command></term> 157 <listitem> 158 <para> is a symlink to the <command>wish8.4</command> program.</para> 159 <indexterm zone="tk wish"> 160 <primary sortas="b-wish">wish</primary> 161 </indexterm> 162 </listitem> 163 </varlistentry> 148 164 149 <varlistentry id="wish8.4"> 150 <term><command>wish8.4</command></term> 151 <listitem><para> is a simple shell containing the 152 <application>Tk</application> toolkit that creates a main window and 153 then processes <application>Tcl</application> commands.</para> 154 <indexterm zone="tk wish8.4"> 155 <primary sortas="b-wish8.4">wish8.4</primary></indexterm> 156 </listitem> 157 </varlistentry> 165 <varlistentry id="wish8.4"> 166 <term><command>wish8.4</command></term> 167 <listitem> 168 <para> is a simple shell containing the 169 <application>Tk</application> toolkit that creates a main window and 170 then processes <application>Tcl</application> commands.</para> 171 <indexterm zone="tk wish8.4"> 172 <primary sortas="b-wish8.4">wish8.4</primary> 173 </indexterm> 174 </listitem> 175 </varlistentry> 158 176 159 <varlistentry id="libtk"> 160 <term><filename role="library">libtk.so</filename></term> 161 <listitem><para>contains the <acronym>API</acronym> functions required 162 by <application>Tk</application>.</para> 163 <indexterm zone="tk libtk"> 164 <primary sortas="c-libtk">libtk.so</primary></indexterm> 165 </listitem> 166 </varlistentry> 167 </variablelist> 177 <varlistentry id="libtk"> 178 <term><filename role="library">libtk.so</filename></term> 179 <listitem> 180 <para>contains the API functions required 181 by <application>Tk</application>.</para> 182 <indexterm zone="tk libtk"> 183 <primary sortas="c-libtk">libtk.so</primary> 184 </indexterm> 185 </listitem> 186 </varlistentry> 168 187 169 </sect2> 188 </variablelist> 189 190 </sect2> 170 191 171 192 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.