Changeset 82fac2c for general/prog


Ignore:
Timestamp:
01/18/2013 03:06:25 PM (11 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:
1700976
Parents:
bc9797f
Message:

Package updates and some modifications. See changelog.xml for details.

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

Location:
general/prog
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python2.xml

    rbc9797f r82fac2c  
    66
    77  <!ENTITY python2-download-http
    8   "http://www.python.org/ftp/python/&python2-version;/Python-&python2-version;.tar.xz">
     8          "http://www.python.org/ftp/python/&python2-version;/Python-&python2-version;.tar.xz">
    99  <!ENTITY python2-download-ftp  " ">
    10   <!-- <!ENTITY python2-download-ftp  "&gentoo-ftp-repo;/Python-&python2-version;.tar.xz"> -->
    1110  <!ENTITY python2-md5sum        "62c4c1699170078c469f79ddfed21bc0">
    1211  <!ENTITY python2-size          "9.6 MB">
    1312  <!ENTITY python2-buildsize     "235 MB (not including the test suite)">
    1413  <!ENTITY python2-time          "1.1 SBU (not including the test suite)">
     14
    1515  <!ENTITY python2htmldoc-download-http
    16   "http://docs.python.org/ftp/python/doc/&python2-version;/python-&python2-version;-docs-html.tar.bz2">
     16           "http://docs.python.org/ftp/python/doc/&python2-version;/python-&python2-version;-docs-html.tar.bz2">
    1717  <!ENTITY python2htmldoc-md5sum        "101c13d39f76fd6706aac3a9196b2f01">
    1818  <!ENTITY python2htmldoc-size          "4.2 MB">
     
    3030
    3131  <indexterm zone="python2">
    32     <primary sortas="a-Python2">Python</primary>
     32    <primary sortas="a-Python2">Python2</primary>
    3333  </indexterm>
    3434
     
    3838    <para>
    3939      The <application>Python 2</application> package contains the
    40       <application>Python</application> development environment. This is useful
     40      <application>Python</application> development environment. It is useful
    4141      for object-oriented programming, writing scripts, prototyping large
    4242      programs or developing entire applications. This version is for backward
     
    101101    </itemizedlist>
    102102
     103    <bridgehead renderas="sect3">Additional Patches</bridgehead>
     104    <itemizedlist spacing="compact">
     105      <listitem>
     106        <para>
     107          Required patch:
     108          <ulink url="&patch-root;/Python-&python2-version;-bsddb_fix-1.patch"/>
     109        </para>
     110      </listitem>
     111    </itemizedlist>
     112
    103113    <bridgehead renderas="sect3">Python Dependencies</bridgehead>
     114
     115    <bridgehead renderas="sect4">Recommended</bridgehead>
     116    <para role="recommended">
     117      <xref linkend="expat"/>,
     118      <xref linkend="libffi"/> and
     119      <xref linkend="pkgconfig"/>
     120    </para>
    104121
    105122    <bridgehead renderas="sect4">Optional</bridgehead>
    106123    <para role="optional">
    107       <!-- <xref linkend="pth"/> can only be used if you've overwritten glibc's
    108       libpthread. -->
    109       <xref linkend="libffi"/> and <xref linkend="pkgconfig"/>
    110       (<command>configure</command> uses <command>pkgconfig</command> to find
    111       <application>libffi</application>. There is a circular dependency here:
    112       <application>Pkgconfig</application> requires
    113       <application>Glib</application> which requires
    114       <application>Python 2</application>),
    115       <!-- gcc's libffi does not install a pkgconfig file -->
    116       <ulink url="http://sphinx.pocoo.org/">Sphinx</ulink> (to create the docs),
    117       <xref linkend="bluez"/>,
     124      <xref linkend="bluez"/> and
     125      <ulink url="http://sphinx.pocoo.org/">Sphinx</ulink>
     126    </para>
     127
     128    <bridgehead renderas="sect4">Optional (For Additional Modules)</bridgehead>
     129    <para role="optional">
     130      <xref linkend="db"/>,
    118131      <xref linkend="openssl"/>,
    119       <xref linkend="tk"/> (there is a circular dependency with the
    120       <application>Tk</application> package as it requires Xorg to be installed
    121       but parts of Xorg depend on <application>Python</application>),
    122       <!--<xref linkend="db"/> and-->
    123       <ulink
    124       url="http://www.oracle.com/technetwork/products/berkeleydb/downloads/">BerkeleyDB</ulink>
    125       (only versions up to 4.8), and
    126       <xref linkend="sqlite"/>.
     132      <xref linkend="sqlite"/> and
     133      <xref linkend="tk"/>
    127134    </para>
    128135
     
    141148
    142149<screen><userinput>sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py &amp;&amp;
    143 ./configure --prefix=/usr --enable-shared &amp;&amp;
     150patch -Np1 -i ../Python-&python2-version;-bsddb_fix-1.patch &amp;&amp;
     151./configure --prefix=/usr       \
     152            --enable-shared     \
     153            --with-system-expat \
     154            --with-system-ffi   \
     155            --enable-unicode=ucs4 &amp;&amp;
    144156make</userinput></screen>
    145157
     
    194206
    195207    <para>
    196       <option>--with-system-ffi</option>: If you have installed
    197       <application>Libffi</application> and
    198       <application>Pkgconfig</application>, add this option to compile
    199       <application>Python</application>'s _ctypes module using the system
    200       installed <application>Libffi</application>. Otherwise
    201       <application>Python</application> will compile its own copy of
    202       <application>Libffi</application>.
    203     </para>
    204 
    205     <para>
    206208      <command>sed -i "s/ndbm_libs = ..." setup.py</command>: This command is
    207209      used to fix a build problem with the <application>GDBM</application>
     
    210212
    211213    <para>
     214      <option>--with-system-expat</option>: This switch enables linking against
     215      system version of <application>Expat</application>. Remove if you have
     216      not installed recommended dependency <xref linkend="expat"/>.
     217    </para>
     218
     219    <para>
     220      <option>--with-system-ffi</option>: This switch enables linking against
     221      system version of <application>libffi</application>. Remove if you have
     222      not installed recommended dependency <xref linkend="libffi"/>.
     223    </para>
     224
     225    <para>
     226      <parameter>--enable-unicode=ucs4</parameter>: This switch enables
     227      32bit Unicode support in <application>Python</application>.
     228    </para>
     229
     230    <para>
     231      <parameter>--with-dbmliborder=bdb:gdbm:ndbm</parameter>: Use this switch
     232      if you want to build <application>Python</application> DBM Module
     233      against <application>Berkeley DB</application> instead of
     234      <application>GDBM</application>.
     235    </para>
     236
     237    <para>
    212238      <command>chmod ...</command>: Fix permissions for libraries to be
    213239      consistent with other libraries.
    214240    </para>
     241
    215242  </sect2>
    216243
     
    225252
    226253<screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/Python-&python2-version;</userinput></screen>
     254
    227255  </sect2>
    228256
     
    334362        </listitem>
    335363      </varlistentry>
     364
    336365    </variablelist>
    337   </sect2>
     366
     367  </sect2>
     368
    338369</sect1>
  • general/prog/python3.xml

    rbc9797f r82fac2c  
    1212  <!ENTITY python3-buildsize     "141 MB (additional 32 MB for the test suite)">
    1313  <!ENTITY python3-time          "1.2 SBU (additional 2.2 SBU to run the test suite)">
     14
    1415  <!ENTITY python3htmldoc-download-http
    1516           "http://docs.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2">
     
    102103    <bridgehead renderas="sect4">Recommended</bridgehead>
    103104    <para role="recommended">
    104       <xref linkend="expat"/> and
    105       <xref linkend="libffi"/>
     105      <xref linkend="expat"/>,
     106      <xref linkend="libffi"/> and
     107      <xref linkend="pkgconfig"/>
    106108    </para>
    107109
     
    113115    <bridgehead renderas="sect4">Optional (For Additional Modules)</bridgehead>
    114116    <para role="optional">
    115       <xref linkend="db"/>
     117      <xref linkend="db"/>,
    116118      <xref linkend="openssl"/>,
    117119      <xref linkend="sqlite"/> and
     
    150152    </para>
    151153
    152 <screen role="root"><userinput>make install                                              &amp;&amp;
     154<screen role="root"><userinput>make install &amp;&amp;
    153155chmod -v 755 /usr/lib/libpython&python3-majorver;m.so &amp;&amp;
    154156chmod -v 755 /usr/lib/libpython3.so</userinput></screen>
     
    189191
    190192    <para>
    191       <option>--with-sytem-expat</option>: This switch enables linking against
     193      <option>--with-system-expat</option>: This switch enables linking against
    192194      system version of <application>Expat</application>. Remove if you have
    193195      not installed recommended dependency <xref linkend="expat"/>.
     
    198200      system version of <application>libffi</application>. Remove if you have
    199201      not installed recommended dependency <xref linkend="libffi"/>.
     202    </para>
     203
     204    <para>
     205      <parameter>--with-dbmliborder=bdb:gdbm:ndbm</parameter>: Use this switch
     206      if you want to build <application>Python</application> DBM Module
     207      against <application>Berkeley DB</application> instead of
     208      <application>GDBM</application>.
    200209    </para>
    201210
  • general/prog/ruby.xml

    rbc9797f r82fac2c  
    77  <!ENTITY ruby-download-http " ">
    88  <!ENTITY ruby-download-ftp  "ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-&ruby-version;.tar.bz2">
    9   <!ENTITY ruby-md5sum        "13c26ea368d88a560f07cc8c5eb4fa05">
     9  <!ENTITY ruby-md5sum        "944e73eba9ee9e1f2647ff32ec0b14b2">
    1010  <!ENTITY ruby-size          "9.6 MB">
    1111  <!ENTITY ruby-buildsize     "350 MB">
     
    7676    <bridgehead renderas="sect4">Optional</bridgehead>
    7777    <para role="optional">
     78      <xref linkend="db"/>,
    7879      <xref linkend="doxygen"/>,
    7980      <xref linkend="graphviz"/>,
    80       <ulink url="http://pyyaml.org/wiki/LibYAML">libyaml</ulink>,
    8181      <xref linkend="openssl"/> and
    8282      <xref linkend="tk"/>
     
    9696    </para>
    9797
    98 <screen><userinput>./configure --prefix=/usr    \
    99             --enable-shared  \
    100             --enable-pthread &amp;&amp;
     98<screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;
    10199make</userinput></screen>
    102100
     
    119117      <option>--enable-shared</option>: This switch enables building of
    120118      the <filename class="libraryfile">libruby</filename> shared library.
    121     </para>
    122 
    123     <para>
    124       <option>--enable-pthread</option>: This switch enables linking of the
    125       threading library into the <application>Ruby</application> build.
    126119    </para>
    127120
  • general/prog/tcl.xml

    rbc9797f r82fac2c  
    77  <!ENTITY tcl-download-http "&sourceforge-repo;/tcl/tcl&tcl-version;-src.tar.gz">
    88  <!ENTITY tcl-download-ftp  " ">
    9   <!-- this might appear in the future
    10   <!ENTITY tcl-download-ftp  "&gentoo-ftp-repo;/tcl&tcl-version;-src.tar.gz">-->
    11   <!ENTITY tcl-md5sum        "174b2b4c619ba8f96875d8a051917703">
    12   <!ENTITY tcl-size          "4.3 MB">
    13   <!ENTITY tcl-buildsize     "48 MB (includes documentation installation)">
    14   <!ENTITY tcl-time          "0.4 SBU">
     9  <!ENTITY tcl-md5sum        "573aa5fe678e9185ef2b3c56b24658d3">
     10  <!ENTITY tcl-size          "8.3 MB">
     11  <!ENTITY tcl-buildsize     "80 MB (includes documentation installation)">
     12  <!ENTITY tcl-time          "0.5 SBU">
    1513
    1614  <!ENTITY tcl-doc-download  "&sourceforge-repo;/tcl/tcl&tcl-version;-html.tar.gz">
    17   <!ENTITY tcl-doc-md5sum    "849785419423b00d0d3d771239a01299">
     15  <!ENTITY tcl-doc-md5sum    "e53baf609df8b55f091c258886b6f994">
    1816  <!ENTITY tcl-doc-size      "913 KB">
    1917
    20   <!-- Ensure this is updated when Tcl moves from the 8.5.x branch -->
    21   <!ENTITY tcl-ver           "8.5">
     18  <!-- Ensure this is updated when Tcl moves from the 8.6.x branch -->
     19  <!ENTITY tcl-ver           "8.6">
    2220]>
    2321
     
    10199
    102100    <para condition="html" role="usernotes">User Notes:
    103     <ulink url="&blfs-wiki;/tcl"/></para>
    104 
     101      <ulink url="&blfs-wiki;/tcl"/>
     102    </para>
    105103  </sect2>
    106104
     
    128126<screen><userinput>cd unix &amp;&amp;
    129127./configure --prefix=/usr \
    130             --enable-threads \
    131             --mandir=/usr/share/man &amp;&amp;
     128            --mandir=/usr/share/man \
     129            $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
    132130make &amp;&amp;
    133131
     
    164162
    165163    <para>
    166       <option>--enable-threads</option>: This switch forces the package
    167       to build with threads support.
     164      <option>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
     165      --enable-64bit)</option>: This switch is used to enable 64 bit
     166      support in <application>Tcl</application> on 64 bit operating
     167      systems.
    168168    </para>
    169169
     
    209209        <seg>
    210210          /usr/lib/tcl8,
     211          /usr/lib/thread2.7.0,
     212          /usr/lib/tdbcodbc1.0.0,
     213          /usr/lib/tdbc1.0.0,
     214          /usr/lib/sqlite3.7.15.1,
     215          /usr/lib/tdbcpostgres1.0.0,
    211216          /usr/lib/tcl&tcl-ver;,
    212           /usr/share/man/mann and optionally
     217          /usr/lib/tdbcmysql1.0.0,
     218          /usr/lib/itcl4.0.0,
     219          /usr/share/man/mann and optionaly
    213220          /usr/share/doc/&tcl-version;
    214221        </seg>
     
    247254
    248255      <varlistentry id="libtcl">
    249         <term><filename role="library">libtcl&tcl-ver;.so</filename></term>
     256        <term><filename class="libraryfile">libtcl&tcl-ver;.so</filename></term>
    250257        <listitem>
    251258          <para>
  • general/prog/tk.xml

    rbc9797f r82fac2c  
    77  <!ENTITY tk-download-http "&sourceforge-repo;/tcl/tk&tk-version;-src.tar.gz">
    88  <!ENTITY tk-download-ftp  " ">
    9   <!-- might be useful again in the future
    10   <!ENTITY tk-download-ftp  "&gentoo-ftp-repo;/tk&tk-version;-src.tar.gz">-->
    11   <!ENTITY tk-md5sum        "a01640176845c1f654a412cfc9bab13b">
    12   <!ENTITY tk-size          "3.7 MB">
    13   <!ENTITY tk-buildsize     "28 MB">
     9  <!ENTITY tk-md5sum        "b883a1a3c489c17413fb602a94bf54e8">
     10  <!ENTITY tk-size          "4.1 MB">
     11  <!ENTITY tk-buildsize     "30 MB">
    1412  <!ENTITY tk-time          "0.3 SBU">
    1513
    16   <!-- Ensure this is updated when Tk moves from the 8.5.x branch -->
    17   <!ENTITY tk-ver           "8.5">
     14  <!-- Ensure this is updated when Tk moves from the 8.6.x branch -->
     15  <!ENTITY tk-ver           "8.6">
    1816]>
    1917
     
    8583
    8684    <para condition="html" role="usernotes">User Notes:
    87     <ulink url="&blfs-wiki;/tk"/></para>
    88 
     85      <ulink url="&blfs-wiki;/tk"/>
     86    </para>
    8987  </sect2>
    9088
     
    9997<screen><userinput>cd unix &amp;&amp;
    10098./configure --prefix=/usr \
    101             --enable-threads \
    102             --mandir=/usr/share/man &amp;&amp;
     99            --mandir=/usr/share/man \
     100            $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
     101
    103102make &amp;&amp;
     103
    104104sed -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
    105105    -e "/TK_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
     
    128128
    129129    <para>
    130       <option>--enable-threads</option>: This switch forces the
    131       package to build with thread support.
     130      <option>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
     131      --enable-64bit)</option>: This switch is used to enable 64 bit
     132      support in <application>Tk</application> on 64 bit operating
     133      systems.
    132134    </para>
    133135
     
    209211
    210212      <varlistentry id="libtk">
    211         <term><filename role="library">libtk&tk-ver;.so</filename></term>
     213        <term><filename class="libraryfile">libtk&tk-ver;.so</filename></term>
    212214        <listitem>
    213215          <para>
Note: See TracChangeset for help on using the changeset viewer.