Changeset 36f2c9e for general/prog/tk.xml
- Timestamp:
- 04/29/2006 02:17:21 PM (18 years ago)
- Branches:
- 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
- Children:
- 38e71da
- Parents:
- 83655c7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/tk.xml
r83655c7e r36f2c9e 5 5 %general-entities; 6 6 7 <!-- Inserted as a reminder to do this. The mention of a test suite8 is usually right before the root user installation commands. Please9 delete these 12 (including one blank) lines after you are done.-->10 11 <!-- Use one of the two mentions below about a test suite,12 delete the line that is not applicable. Of course, if the13 test suite uses syntax other than "make check", revise the14 line to reflect the actual syntax to run the test suite -->15 16 <!-- <para>This package does not come with a test suite.</para> -->17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->18 19 7 <!ENTITY tk-download-http "http://prdownloads.sourceforge.net/tcl/tk&tk-version;-src.tar.gz"> 20 8 <!ENTITY tk-download-ftp " "> 21 9 <!-- <!ENTITY tk-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tk&tk-version;-src.tar.gz"> --> 22 <!ENTITY tk-md5sum " 316491cb82d898b434842353aed1f0d6">10 <!ENTITY tk-md5sum "0a16d4d9398e43cbb85784c85fb807a4"> 23 11 <!ENTITY tk-size "3.2 MB"> 24 <!ENTITY tk-buildsize "23. 5MB">12 <!ENTITY tk-buildsize "23.3 MB"> 25 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 --> 26 17 ]> 27 18 … … 89 80 commands:</para> 90 81 91 <screen><userinput>export VERSION=&tk-version; && 92 export V=`echo $VERSION | cut -d "." -f 1,2` && 93 export DIR=$PWD && 94 cd unix && 95 sed -i "s/relid'/relid/" configure && 82 <screen><userinput>cd unix && 96 83 ./configure --prefix=/usr --enable-threads && 97 84 make && 98 sed -i -e "s:${DIR}/unix:/usr/lib:" \ 99 -e "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</userinput></screen> 85 sed -i -e "s:${PWD}:/usr/lib:" \ 86 -e "s:$(dirname ${PWD}):/usr/include/tk&tk-ver;:" \ 87 tkConfig.sh</userinput></screen> 100 88 101 <para> The test is not recommended. Some tests may crash your X Server. To102 test the results, issue: <command>make test</command>. Ensure you run it103 from an X Window display device with the GLX extensions loaded, else the104 tests will hang.</para>89 <para>Running the tests is not recommended. Some tests may crash your X 90 Server. To test the results anyway, issue: <command>make test</command>. 91 Ensure you run it from an X Window display device with the GLX extensions 92 loaded, else the tests will hang.</para> 105 93 106 94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 107 95 108 <caution>109 <para>If you become the <systemitem class="username">root</systemitem>110 user in a manner that doesn't preserve the unprivileged user's111 environment, ensure you correctly set the environment variable112 <envar>V</envar> again before running the installation commands.</para>113 </caution>114 115 96 <screen role="root"><userinput>make install && 116 install -v -d /usr/include/tk${V}/unix && 117 install -v -m644 *.h /usr/include/tk${V}/unix/ && 118 install -v -d /usr/include/tk${V}/generic && 119 install -v -m644 ../generic/*.h /usr/include/tk${V}/generic/ && 120 rm -v -f /usr/include/tk${V}/generic/{tk,tkDecls,tkPlatDecls}.h && 121 ln -v -nsf ../../include/tk${V} /usr/lib/tk${V}/include && 122 ln -v -sf libtk${V}.so /usr/lib/libtk.so && 123 ln -v -sf wish${V} /usr/bin/wish</userinput></screen> 124 125 <para>Clean up the unprivileged user's environment using the following 126 commands:</para> 127 128 <screen><userinput>unset VERSION && 129 unset V && 130 unset DIR</userinput></screen> 97 install -v -m755 -d /usr/include/tk&tk-ver;/{unix,generic} && 98 install -v -m644 *.h /usr/include/tk&tk-ver;/unix/ && 99 install -v -m644 ../generic/*.h /usr/include/tk&tk-ver;/generic/ && 100 rm -v -f /usr/include/tk&tk-ver;/generic/tk{,{,Plat}Decls}.h && 101 ln -v -nsf ../../include/tk&tk-ver; /usr/lib/tk&tk-ver;/include && 102 ln -v -sf libtk&tk-ver;.so /usr/lib/libtk.so && 103 ln -v -sf wish&tk-ver; /usr/bin/wish</userinput></screen> 131 104 132 105 </sect2> … … 135 108 <title>Command Explanations</title> 136 109 137 <para><parameter>--enable-threads</parameter>: This switch forces the package 138 to build with thread support.</para> 139 140 <para><command>sed -i "s/relid'/relid/" configure</command>: This command 141 fixes a syntax error in the <command>configure</command> script.</para> 110 <para><parameter>--enable-threads</parameter>: This switch forces the 111 package to build with thread support.</para> 142 112 143 113 <para><command>sed -i -e ... tkConfig.sh</command>: The 144 <application>Tk</application> package assumes that the source used to build 145 <application>Tk</application> is always kept around for compiling packages 146 that depend on <application>Tk</application>. This <command>sed</command> 147 removes the references to the build directory and replaces them with saner 148 system-wide locations.</para> 114 <application>Tk</application> package expects that its source tree is 115 preserved so that packages depending on it for their compilation 116 can utilize it. This <command>sed</command> removes the references to the 117 build directory and replaces them with saner system-wide locations.</para> 149 118 150 119 <para><command>install ...</command>: These commands install the internal … … 165 134 166 135 <seglistitem> 167 <seg>wish and wish 8.4</seg>168 <seg>libtk.so and libtkstub 8.4.a</seg>169 <seg>/usr/include/tk 8.4 and /usr/lib/tk8.4</seg>136 <seg>wish and wish&tk-ver;</seg> 137 <seg>libtk.so and libtkstub&tk-ver;.a</seg> 138 <seg>/usr/include/tk&tk-ver; and /usr/lib/tk&tk-ver;</seg> 170 139 </seglistitem> 171 140 </segmentedlist> … … 179 148 <term><command>wish</command></term> 180 149 <listitem> 181 <para> is a symlink to the <command>wish8.4</command> program.</para> 150 <para> is a symlink to the <command>wish&tk-ver;</command> 151 program.</para> 182 152 <indexterm zone="tk wish"> 183 153 <primary sortas="g-wish">wish</primary> … … 186 156 </varlistentry> 187 157 188 <varlistentry id="wish 8.4">189 <term><command>wish 8.4</command></term>158 <varlistentry id="wish-eight"> 159 <term><command>wish&tk-ver;</command></term> 190 160 <listitem> 191 161 <para> is a simple shell containing the 192 162 <application>Tk</application> toolkit that creates a main window and 193 163 then processes <application>Tcl</application> commands.</para> 194 <indexterm zone="tk wish 8.4">195 <primary sortas="b-wish 8.4">wish8.4</primary>164 <indexterm zone="tk wish-eight"> 165 <primary sortas="b-wish&tk-ver;">wish&tk-ver;</primary> 196 166 </indexterm> 197 167 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.