Ignore:
Timestamp:
02/03/2019 06:37:53 PM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
elogind
Children:
4d176c4f
Parents:
8f6f10e
Message:

Merge to HEAD 21080.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/pygobject3.xml

    r8f6f10e rd60cd837  
    99  <!ENTITY pygobject3-download-ftp
    1010           "&gnome-download-ftp;/pygobject/&gnome-minor-30;/pygobject-&pygobject3-version;.tar.xz">
    11   <!ENTITY pygobject3-md5sum        "77ba5f41a00d5c0cc22962a475f8de67">
    12   <!ENTITY pygobject3-size          "540 KB">
    13   <!ENTITY pygobject3-buildsize     "26 MB (both modules, with tests)">
    14   <!ENTITY pygobject3-time          "0.3 SBU (both modules, with tests)">
     11  <!ENTITY pygobject3-md5sum        "d42f8ec30faa76a25f7d0afc88b4d822">
     12  <!ENTITY pygobject3-size          "533 KB">
     13  <!ENTITY pygobject3-buildsize     "14 MB">
     14  <!ENTITY pygobject3-time          "0.1 SBU">
    1515]>
    1616
     
    7575        <xref linkend="gobject-introspection"/> and
    7676        <xref linkend="pycairo"/>
    77           (for <application>Python 2</application> and/or
    78           <application>Python 3</application> bindings)
     77          (<application>Python 3</application> module)
    7978      </para>
    8079
    8180      <bridgehead renderas="sect5">Optional (for the tests)</bridgehead>
    8281      <para role="optional">
     82        <xref linkend="python2"/>,
    8383        <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>,
    8484        <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and
     
    9595      <title>Installation of PyGObject3</title>
    9696
    97       <note>
    98         <para>
    99           Both <application>Python 2</application> and
    100           <application>Python 3</application> modules can
    101           be built and installed without any conflicts.
    102         </para>
    103       </note>
    104 
    10597      <para>
    106         To build <application>PyGObject3</application> as the
    107         <application>Python 2</application> module, run the
     98        To build <application>PyGObject3</application> as a
     99        <application>Python 3</application> module, run the
    108100        following commands:
    109101      </para>
    110102
    111 <screen><userinput>mkdir python2 &amp;&amp;
    112 pushd python2 &amp;&amp;
    113 meson --prefix=/usr -Dpython=python2 .. &amp;&amp;
    114 ninja &amp;&amp;
    115 popd</userinput></screen>
     103<screen><userinput>mkdir build                          &amp;&amp;
     104cd build                             &amp;&amp;
     105meson --prefix=/usr -Dpython=python3 &amp;&amp;
     106ninja</userinput></screen>
    116107
    117108      <para>
    118         To test the results, issue: <command>ninja -C python2 test</command>.
     109        To test the results, issue: <command>ninja test</command>.
    119110        An already active graphical session with bus address is necessary to
    120111        run the tests.
     
    122113
    123114      <para>
    124         To build <application>PyGObject3</application> as the
    125         <application>Python 3</application> module, run the
    126         following commands:
    127       </para>
    128 
    129 <screen><userinput>mkdir python3 &amp;&amp;
    130 pushd python3 &amp;&amp;
    131 meson --prefix=/usr -Dpython=python3 &amp;&amp;
    132 ninja &amp;&amp;
    133 popd</userinput></screen>
    134 
    135       <para>
    136         To test the results, issue: <command>ninja -C python3 test</command>.
    137         An already active graphical session with bus address is necessary to
    138         run the tests.
    139       </para>
    140 
    141       <para>
    142         To install the <application>Python 2</application> module,
    143         run the following command as the
     115        To install the module, run the following command as the
    144116        <systemitem class="username">root</systemitem> user:
    145117      </para>
    146118
    147 <screen role="root"><userinput>ninja -C python2 install</userinput></screen>
    148 
    149       <para>
    150         To install the <application>Python 3</application> module,
    151         run the following command as the
    152         <systemitem class="username">root</systemitem> user:
    153       </para>
    154 
    155 <screen role="root"><userinput>ninja -C python3 install</userinput></screen>
     119<screen role="root"><userinput>ninja install</userinput></screen>
    156120
    157121    </sect3>
     
    170134           </seg>
    171135          <seg>
    172             /usr/lib/python&python2-majorver;/site-packages/gi/_gi{,_cairo}.so
    173  and/or
    174             /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-35m-&lt;arch&gt;-linux-gnu.so
     136            /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-37m-&lt;arch&gt;-linux-gnu.so
    175137           </seg>
    176138          <seg>
    177139            /usr/include/pygobject-3.0, and
    178             /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
    179140            /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
    180141          </seg>
Note: See TracChangeset for help on using the changeset viewer.