Ignore:
Timestamp:
05/11/2012 08:27:05 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
e9fab3f
Parents:
92513fe
Message:

PyGObject 3.2.1, LZO 2.06, Tcl 8.5.11, Tk 8.5.11. My work is done here.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/tk.xml

    r92513fe re8f7606  
    77  <!ENTITY tk-download-http "&sourceforge-repo;/tcl/tk&tk-version;-src.tar.gz">
    88  <!ENTITY tk-download-ftp  "&gentoo-ftp-repo;/tk&tk-version;-src.tar.gz">
    9   <!ENTITY tk-md5sum        "7cdeb9feb61593f58a0ae61f2497580e">
    10   <!ENTITY tk-size          "3.8 MB">
    11   <!ENTITY tk-buildsize     "32 MB">
     9  <!ENTITY tk-md5sum        "b61b72f0aad230091b100746f078b8f1">
     10  <!ENTITY tk-size          "3.7 MB">
     11  <!ENTITY tk-buildsize     "28 MB">
    1212  <!ENTITY tk-time          "0.5 SBU">
    1313
     
    3333    <title>Introduction to Tk</title>
    3434
    35     <para>The <application>Tk</application> package contains a
    36     TCL GUI Toolkit.</para>
     35    <para>
     36      The <application>Tk</application> package contains a
     37      TCL GUI Toolkit.
     38    </para>
    3739
    3840    &lfs71_checked;
     
    4143    <itemizedlist spacing="compact">
    4244      <listitem>
    43         <para>Download (HTTP): <ulink url="&tk-download-http;"/></para>
    44       </listitem>
    45       <listitem>
    46         <para>Download (FTP): <ulink url="&tk-download-ftp;"/></para>
    47       </listitem>
    48       <listitem>
    49         <para>Download MD5 sum: &tk-md5sum;</para>
    50       </listitem>
    51       <listitem>
    52         <para>Download size: &tk-size;</para>
    53       </listitem>
    54       <listitem>
    55         <para>Estimated disk space required: &tk-buildsize;</para>
    56       </listitem>
    57       <listitem>
    58         <para>Estimated build time: &tk-time;</para>
     45        <para>
     46          Download (HTTP): <ulink url="&tk-download-http;"/>
     47        </para>
     48      </listitem>
     49      <listitem>
     50        <para>
     51          Download (FTP): <ulink url="&tk-download-ftp;"/>
     52        </para>
     53      </listitem>
     54      <listitem>
     55        <para>
     56          Download MD5 sum: &tk-md5sum;
     57        </para>
     58      </listitem>
     59      <listitem>
     60        <para>
     61          Download size: &tk-size;
     62        </para>
     63      </listitem>
     64      <listitem>
     65        <para>
     66          Estimated disk space required: &tk-buildsize;
     67        </para>
     68      </listitem>
     69      <listitem>
     70        <para>
     71          Estimated build time: &tk-time;
     72        </para>
    5973      </listitem>
    6074    </itemizedlist>
     
    6377
    6478    <bridgehead renderas="sect4">Required</bridgehead>
    65     <para role="required"><xref linkend="x-window-system"/> and
    66     <xref linkend="tcl"/></para>
     79    <para role="required">
     80      <xref linkend="tcl"/> and
     81      <xref linkend="xorg7-lib"/>
     82    </para>
    6783
    6884    <para condition="html" role="usernotes">User Notes:
     
    7490    <title>Installation of Tk</title>
    7591
    76 <para>Install <application>Tk</application> by running the following
    77 commands:</para>
     92    <para>
     93      Install <application>Tk</application> by running the following
     94      commands:
     95    </para>
    7896
    7997<screen><userinput>cd unix &amp;&amp;
     
    82100            --mandir=/usr/share/man &amp;&amp;
    83101make &amp;&amp;
    84 sed -i \
    85     -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
     102sed -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
    86103    -e "/TK_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
    87     tkConfig.sh</userinput></screen>
    88 
    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, otherwise the tests will hang.</para>
    93 
    94     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     104    -i tkConfig.sh</userinput></screen>
     105
     106    <para>
     107      Running the tests is not recommended. Some tests may crash your X
     108      Server. To test the results anyway, issue: <command>make test</command>.
     109      Ensure you run it from an X Window display device with the GLX extensions
     110      loaded, otherwise the tests will hang.
     111    </para>
     112
     113    <para>
     114      Now, as the <systemitem class="username">root</systemitem> user:
     115    </para>
    95116
    96117<screen role="root"><userinput>make install &amp;&amp;
    97118make install-private-headers &amp;&amp;
    98119ln -v -sf wish&tk-ver; /usr/bin/wish &amp;&amp;
    99 chmod -v 755 /usr/lib/libtk8.5.so</userinput></screen>
     120chmod -v 755 /usr/lib/libtk&tk-ver;.so</userinput></screen>
    100121
    101122  </sect2>
     
    104125    <title>Command Explanations</title>
    105126
    106     <para><parameter>--enable-threads</parameter>: This switch forces the
    107     package to build with thread support.</para>
    108 
    109     <para><command>make install-private-headers</command>: This command is
    110     used to install the <application>Tk</application> library interface
    111     headers used by other packages if they link to the
    112     <application>Tk</application> library.</para>
    113 
    114     <para><command>ln -v -sf wish&tk-ver; /usr/bin/wish</command>: This
    115     command is used to create a compatibility symbolic link to the
    116     <command>wish&tk-ver;</command> file as many packages expect a file
    117     named <command>wish</command>.</para>
    118 
    119     <para><command>sed -i -e ... tkConfig.sh</command>: The
    120     <application>Tk</application> package expects that its source tree is
    121     preserved so that packages depending on it for their compilation
    122     can utilize it. This <command>sed</command> removes the references to the
    123     build directory and replaces them with saner system-wide locations.</para>
     127    <para>
     128      <option>--enable-threads</option>: This switch forces the
     129      package to build with thread support.
     130    </para>
     131
     132    <para>
     133      <command>make install-private-headers</command>: This command is
     134      used to install the <application>Tk</application> library interface
     135      headers used by other packages if they link to the
     136      <application>Tk</application> library.
     137    </para>
     138
     139    <para>
     140      <command>ln -v -sf wish&tk-ver; /usr/bin/wish</command>: This
     141      command is used to create a compatibility symbolic link to the
     142      <command>wish&tk-ver;</command> file as many packages expect a file
     143      named <command>wish</command>.
     144    </para>
     145
     146    <para>
     147      <command>sed -e ... tkConfig.sh</command>: The
     148      <application>Tk</application> package expects that its source tree is
     149      preserved so that packages depending on it for their compilation
     150      can utilize it. This <command>sed</command> removes the references to the
     151      build directory and replaces them with saner system-wide locations.
     152    </para>
    124153
    125154  </sect2>
     
    131160      <segtitle>Installed Programs</segtitle>
    132161      <segtitle>Installed Libraries</segtitle>
    133       <segtitle>Installed Directories</segtitle>
     162      <segtitle>Installed Directory</segtitle>
    134163
    135164      <seglistitem>
    136         <seg>wish and wish&tk-ver;</seg>
    137         <seg>libtk.so and libtkstub&tk-ver;.a</seg>
    138         <seg>/usr/lib/tk&tk-ver;</seg>
     165        <seg>
     166          wish and wish&tk-ver;
     167        </seg>
     168        <seg>
     169          libtk&tk-ver;.so and libtkstub&tk-ver;.a
     170        </seg>
     171        <seg>
     172          /usr/lib/tk&tk-ver;
     173        </seg>
    139174      </seglistitem>
    140175    </segmentedlist>
     
    148183        <term><command>wish</command></term>
    149184        <listitem>
    150           <para> is a symlink to the <command>wish&tk-ver;</command>
    151           program.</para>
     185          <para>
     186            is a symlink to the <command>wish&tk-ver;</command> program.
     187          </para>
    152188          <indexterm zone="tk wish">
    153189            <primary sortas="g-wish">wish</primary>
     
    159195        <term><command>wish&tk-ver;</command></term>
    160196        <listitem>
    161           <para> is a simple shell containing the
    162           <application>Tk</application> toolkit that creates a main window and
    163           then processes <application>Tcl</application> commands.</para>
     197          <para>
     198            is a simple shell containing the
     199            <application>Tk</application> toolkit that creates a main window and
     200            then processes <application>Tcl</application> commands.
     201          </para>
    164202          <indexterm zone="tk wish-eight">
    165203            <primary sortas="b-wish&tk-ver;">wish&tk-ver;</primary>
     
    169207
    170208      <varlistentry id="libtk">
    171         <term><filename role="library">libtk.so</filename></term>
     209        <term><filename role="library">libtk&tk-ver;.so</filename></term>
    172210        <listitem>
    173           <para>contains the API functions required
    174           by <application>Tk</application>.</para>
     211          <para>
     212            contains the API functions required
     213            by <application>Tk</application>.
     214          </para>
    175215          <indexterm zone="tk libtk">
    176             <primary sortas="c-libtk">libtk.so</primary>
     216            <primary sortas="c-libtk">libtk&tk-ver;.so</primary>
    177217          </indexterm>
    178218        </listitem>
Note: See TracChangeset for help on using the changeset viewer.