Changeset a73f7b02 for general/prog


Ignore:
Timestamp:
07/14/2013 06:06:15 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:
f3ff443
Parents:
58cd150
Message:

Python modules updates.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-modules.xml

    r58cd150 ra73f7b02  
    2020  <!ENTITY py2cairo-buildsize     "3.6 MB">
    2121  <!ENTITY py2cairo-time          "less than 0.1 SBU">
     22
     23  <!ENTITY pycairo-download-http
     24           "http://cairographics.org/releases/pycairo-&pycairo-version;.tar.bz2">
     25  <!ENTITY pycairo-download-ftp  " ">
     26  <!ENTITY pycairo-md5sum        "e6fd3f2f1e6a72e0db0868c4985669c5">
     27  <!ENTITY pycairo-size          "244 KB">
     28  <!ENTITY pycairo-buildsize     "3.0 MB">
     29  <!ENTITY pycairo-time          "less than 0.1 SBU">
    2230
    2331  <!ENTITY pygobject2-download-http
     
    3139
    3240  <!ENTITY pygobject3-download-http
    33            "&gnome-download-http;/pygobject/3.4/pygobject-&pygobject3-version;.tar.xz">
     41           "&gnome-download-http;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">
    3442  <!ENTITY pygobject3-download-ftp
    35            "&gnome-download-ftp;/pygobject/3.4/pygobject-&pygobject3-version;.tar.xz">
    36   <!ENTITY pygobject3-md5sum        "a17b3897507f179d643e02f5abf111ac">
    37   <!ENTITY pygobject3-size          "604 KB">
    38   <!ENTITY pygobject3-buildsize     "16 MB">
    39   <!ENTITY pygobject3-time          "0.1 SBU">
     43           "&gnome-download-ftp;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">
     44  <!ENTITY pygobject3-md5sum        "607976fa21cee004cae12795a88d2675">
     45  <!ENTITY pygobject3-size          "640 KB">
     46  <!ENTITY pygobject3-buildsize     "30 MB">
     47  <!ENTITY pygobject3-time          "0.3 SBU">
    4048
    4149  <!ENTITY pygtk-download-http
     
    4957
    5058  <!ENTITY pyatspi2-download-http
    51            "&gnome-download-http;/pyatspi/2.6/pyatspi-&pyatspi2-version;.tar.xz">
     59           "&gnome-download-http;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">
    5260  <!ENTITY pyatspi2-download-ftp
    53            "&gnome-download-ftp;/pyatspi/2.6/pyatspi-&pyatspi2-version;.tar.xz">
    54   <!ENTITY pyatspi2-md5sum        "95c48cae83d1f6d6cd13615df14124e5">
     61           "&gnome-download-ftp;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">
     62  <!ENTITY pyatspi2-md5sum        "930f51c62cca60ebdf90f735d26385b2">
    5563  <!ENTITY pyatspi2-size          "284 KB">
    56   <!ENTITY pyatspi2-buildsize     "3.5 MB">
     64  <!ENTITY pyatspi2-buildsize     "5.0 MB">
    5765  <!ENTITY pyatspi2-time          "less than 0.1 SBU">
    5866
     
    100108        <para>
    101109          <xref linkend="py2cairo"/>
     110        </para>
     111      </listitem>
     112      <listitem>
     113        <para>
     114          <xref linkend="pycairo"/>
    102115        </para>
    103116      </listitem>
     
    378391  <!-- End Py2cairo -->
    379392
     393  <!-- Begin PyCairo -->
     394  <sect2 id="pycairo" xreflabel="PyCairo-&pycairo-version;">
     395
     396    <title>PyCairo-&pycairo-version;</title>
     397
     398    <indexterm zone="pycairo">
     399      <primary sortas="a-PyCairo">PyCairo</primary>
     400    </indexterm>
     401
     402    <sect3 role="package">
     403      <title>Introduction to PyCairo Module</title>
     404
     405      <para>
     406        Pycairo provides <application>Python 3</application> bindings to
     407        <application>Cairo</application>.
     408      </para>
     409
     410      &lfs73_checked;
     411
     412      <bridgehead renderas="sect4">Package Information</bridgehead>
     413      <itemizedlist spacing="compact">
     414        <listitem>
     415          <para>
     416            Download (HTTP): <ulink url="&pycairo-download-http;"/>
     417          </para>
     418        </listitem>
     419        <listitem>
     420          <para>
     421            Download (FTP): <ulink url="&pycairo-download-ftp;"/>
     422          </para>
     423        </listitem>
     424        <listitem>
     425          <para>
     426            Download MD5 sum: &pycairo-md5sum;
     427          </para>
     428        </listitem>
     429        <listitem>
     430          <para>
     431            Download size: &pycairo-size;
     432          </para>
     433        </listitem>
     434        <listitem>
     435          <para>
     436            Estimated disk space required: &pycairo-buildsize;
     437          </para>
     438        </listitem>
     439        <listitem>
     440          <para>
     441            Estimated build time: &pycairo-time;
     442          </para>
     443        </listitem>
     444      </itemizedlist>
     445
     446      <bridgehead renderas="sect4">PyCairo Dependencies</bridgehead>
     447
     448      <bridgehead renderas="sect5">Required</bridgehead>
     449      <para role="required">
     450        <xref linkend="cairo"/> and
     451        <xref linkend="python3"/>
     452      </para>
     453
     454      <para condition="html" role="usernotes">
     455        User Notes: <ulink url="&blfs-wiki;/pycairo"/>
     456      </para>
     457    </sect3>
     458
     459    <sect3 role="installation">
     460      <title>Installation of PyCairo</title>
     461
     462      <para>
     463        Install <application>PyCairo</application> by running the following
     464        commands:
     465      </para>
     466
     467<screen><userinput>PYTHON=/usr/bin/python3 ./waf configure --prefix=/usr &amp;&amp;
     468./waf build</userinput></screen>
     469
     470      <para>
     471        This package does not come with a test suite.
     472      </para>
     473
     474      <para>
     475        Now, as the <systemitem class="username">root</systemitem> user:
     476      </para>
     477
     478<screen role="root"><userinput>./waf install</userinput></screen>
     479
     480    </sect3>
     481
     482    <sect3 role="content">
     483      <title>Contents</title>
     484
     485      <segmentedlist>
     486        <segtitle>Installed Programs</segtitle>
     487        <segtitle>Installed Library</segtitle>
     488        <segtitle>Installed Directory</segtitle>
     489
     490        <seglistitem>
     491          <seg>
     492            None
     493          </seg>
     494          <seg>
     495            None
     496          </seg>
     497          <seg>
     498            /usr/include/pycairo and
     499            /usr/lib/python&python3-majorver;/site-packages/cairo
     500          </seg>
     501        </seglistitem>
     502      </segmentedlist>
     503    </sect3>
     504  </sect2>
     505  <!-- End PyCairo -->
     506
    380507  <!-- Begin PyGObject2 -->
    381508  <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
     
    541668
    542669    <indexterm zone="pygobject3">
    543       <primary sortas="a-PyGObject">PyGObject</primary>
     670      <primary sortas="a-PyGObject3">PyGObject3</primary>
    544671    </indexterm>
    545672
    546673    <sect3 role="package">
    547       <title>Introduction to PyGObject Module</title>
    548 
    549       <para>
    550         PyGObject-&pygobject3-version; provides
    551         <application>Python 2</application> bindings to the GObject
     674      <title>Introduction to PyGObject3 Module</title>
     675
     676      <para>
     677        <application>PyGObject3</application> provides
     678        <application>Python</application> bindings to the GObject
    552679        class from <application>GLib</application>.
    553680      </para>
    554681
    555       &lfs72_checked;
     682      &lfs73_checked;
    556683
    557684      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    589716      </itemizedlist>
    590717
    591       <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
     718      <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
    592719
    593720      <bridgehead renderas="sect5">Required</bridgehead>
     
    595722        <xref linkend="gobject-introspection"/> and
    596723        <xref linkend="py2cairo"/>
    597       </para>
    598 
    599       <bridgehead renderas="sect5">Optional</bridgehead>
    600       <para role="optional">
    601         <xref linkend="libxslt"/> (to Build Documentation)
     724        (for <application>Python 2</application> bindings) and/or
     725        <xref linkend="pycairo"/>
     726        (for <application>Python 3</application> bindings)
    602727      </para>
    603728
     
    608733
    609734    <sect3 role="installation">
    610       <title>Installation of PyGObject</title>
    611 
    612       <para>
    613         Install <application>PyGObject</application> by running the following
    614         commands:
    615       </para>
    616 
    617 <screen><userinput>./configure --prefix=/usr &amp;&amp;
    618 make</userinput></screen>
    619 
    620       <para>
    621         To test the results, issue: <command>make check</command>.
    622       </para>
    623 
    624       <para>
    625         Now, as the <systemitem class="username">root</systemitem> user:
    626       </para>
    627 
    628 <screen role="root"><userinput>make install</userinput></screen>
    629 
    630     </sect3>
    631 
    632     <sect3 role="commands">
    633       <title>Command Explanations</title>
    634 
    635       <para>
    636         <parameter>--disable-docs</parameter>: This option disables the
    637         rebuilding of the html documentation if <xref linkend="libxslt"/> is
    638         installed.
    639       </para>
     735      <title>Installation of PyGObject3</title>
     736
     737      <note>
     738        <para>
     739          Both <application>Python 2</application> and
     740          <application>Python 3</application> modules can
     741          be built and installed without any conflicts.
     742        </para>
     743      </note>
     744
     745      <para>
     746        To build <application>PyGObject3</application> as the
     747        <application>Python 2</application> module, run the
     748        following command:
     749      </para>
     750
     751<screen><userinput>mkdir python2 &amp;&amp;
     752pushd python2 &amp;&amp;
     753../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
     754make &amp;&amp;
     755popd</userinput></screen>
     756
     757      <para>
     758        To test the results, issue: <command>make -C python2 check</command>.
     759      </para>
     760
     761      <para>
     762        To build <application>PyGObject3</application> as the
     763        <application>Python 3</application> module, run the
     764        following command:
     765      </para>
     766
     767<screen><userinput>mkdir python3 &amp;&amp;
     768pushd python3 &amp;&amp;
     769../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
     770make &amp;&amp;
     771popd</userinput></screen>
     772
     773      <para>
     774        To test the results, issue: <command>make -C python3 check</command>.
     775      </para>
     776
     777      <para>
     778        To install the <application>Python 2</application> module,
     779        run the following command as the
     780        <systemitem class="username">root</systemitem> user:
     781      </para>
     782
     783<screen role="root"><userinput>make -C python2 install</userinput></screen>
     784
     785      <para>
     786        To install the <application>Python 3</application> module,
     787        run the following command as the
     788        <systemitem class="username">root</systemitem> user:
     789      </para>
     790
     791<screen role="root"><userinput>make -C python3 install</userinput></screen>
    640792
    641793    </sect3>
     
    654806           </seg>
    655807          <seg>
    656             libpyglib-gi-2.0-python.so
     808            libpyglib-gi-2.0-python.so and/or
     809            libpyglib-gi-2.0-python3.so
    657810           </seg>
    658811          <seg>
    659812            /usr/include/pygobject-3.0 and
    660             /usr/lib/python&python2-majorver;/site-packages/gi
     813            /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
     814            /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
    661815          </seg>
    662816        </seglistitem>
     
    8671021
    8681022  <!-- Begin pyatspi2 -->
    869   <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
    870 
    871     <title>pyatspi2-&pyatspi2-version;</title>
     1023  <sect2 id="pyatspi2" xreflabel="PyAtSpi2-&pyatspi2-version;">
     1024
     1025    <title>PyAtSpi2-&pyatspi2-version;</title>
    8721026
    8731027    <indexterm zone="pyatspi2">
    874       <primary sortas="a-pyatspi2">pyatspi2</primary>
     1028      <primary sortas="a-PyAtSpi2">PyAtSpi2</primary>
    8751029    </indexterm>
    8761030
    8771031    <sect3 role="package">
    878       <title>Introduction to pyatspi2</title>
    879 
    880       <para>
    881         The <application>pyatspi2</application> package contains Python2
     1032      <title>Introduction to PyAtSpi2</title>
     1033
     1034      <para>
     1035        The <application>PyAtSpi2</application> package contains Python2
    8821036        bindings for the core components of GNOME Accessibility.
    8831037      </para>
     
    9191073      </itemizedlist>
    9201074
    921       <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
     1075      <bridgehead renderas="sect4">PyAtSpi2 Dependencies</bridgehead>
    9221076
    9231077      <bridgehead renderas="sect5">Required</bridgehead>
     
    9381092
    9391093    <sect3 role="installation">
    940       <title>Installation of pyatspi2</title>
    941 
    942       <para>
    943         Install <application>pyatspi2</application> by running the following
    944         commands:
    945       </para>
    946 
    947 <screen><userinput>./configure --prefix=/usr &amp;&amp;
    948 make</userinput></screen>
    949 
    950     <para>
    951       This package does not come with a testsuite.
    952     </para>
    953 
    954     <para>
    955       Now, as the <systemitem class="username">root</systemitem> user:
    956     </para>
    957 
    958 <screen role="root"><userinput>make install</userinput></screen>
     1094      <title>Installation of PyAtSpi2</title>
     1095
     1096      <note>
     1097        <para>
     1098          Both <application>Python 2</application> and
     1099          <application>Python 3</application> modules can
     1100          be built and installed without any conflicts.
     1101        </para>
     1102      </note>
     1103
     1104      <para>
     1105        To build <application>PyAtSpi2</application> as the
     1106        <application>Python 2</application> module, run the
     1107        following command:
     1108      </para>
     1109
     1110<screen><userinput>mkdir python2 &amp;&amp;
     1111pushd python2 &amp;&amp;
     1112../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
     1113make &amp;&amp;
     1114popd</userinput></screen>
     1115
     1116      <para>
     1117        To build <application>PyAtSpi2</application> as the
     1118        <application>Python 3</application> module, run the
     1119        following command:
     1120      </para>
     1121
     1122<screen><userinput>mkdir python3 &amp;&amp;
     1123pushd python3 &amp;&amp;
     1124../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
     1125make &amp;&amp;
     1126popd</userinput></screen>
     1127
     1128      <para>
     1129        This package does not come with a testsuite.
     1130      </para>
     1131
     1132      <para>
     1133        To install the <application>Python 2</application> module,
     1134        run the following command as the
     1135        <systemitem class="username">root</systemitem> user:
     1136      </para>
     1137
     1138<screen role="root"><userinput>make -C python2 install</userinput></screen>
     1139
     1140      <para>
     1141        To install the <application>Python 3</application> module,
     1142        run the following command as the
     1143        <systemitem class="username">root</systemitem> user:
     1144      </para>
     1145
     1146<screen role="root"><userinput>make -C python3 install</userinput></screen>
    9591147
    9601148    </sect3>
     
    9761164          </seg>
    9771165          <seg>
    978             /usr/lib/python&python2-majorver;/site-packages/pyatspi
     1166            /usr/lib/python&python2-majorver;/site-packages/pyatspi and/or
     1167            /usr/lib/python&python3-majorver;/site-packages/pyatspi
    9791168          </seg>
    9801169        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.