Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/pygobject3.xml

    rda54a62 r8736e8a  
    66
    77  <!ENTITY pygobject3-download-http
    8            "&gnome-download-http;/pygobject/&gnome-minor-40;/pygobject-&pygobject3-version;.tar.xz">
     8           "&gnome-download-http;/pygobject/&gnome-minor-38;/pygobject-&pygobject3-version;.tar.xz">
    99  <!ENTITY pygobject3-download-ftp
    10            "&gnome-download-ftp;/pygobject/&gnome-minor-40;/pygobject-&pygobject3-version;.tar.xz">
    11   <!ENTITY pygobject3-md5sum        "f27e0a2d1526df57c89624cdebbd69e0">
     10           "&gnome-download-ftp;/pygobject/&gnome-minor-38;/pygobject-&pygobject3-version;.tar.xz">
     11  <!ENTITY pygobject3-md5sum        "2ad8d8f10d1f12a8c66d8179659d5eb9">
    1212  <!ENTITY pygobject3-size          "544 KB">
    1313  <!ENTITY pygobject3-buildsize     "15 MB">
    14   <!ENTITY pygobject3-time          "0.2 SBU (Using parallelism=4)">
     14  <!ENTITY pygobject3-time          "0.1 SBU (Using parallelism=4)">
    1515]>
    1616
     
    3333      </para>
    3434
    35       &lfs110a_checked;
     35      &lfs10_checked;
    3636
    3737      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    9494      <title>Installation of PyGObject3</title>
    9595
    96     <para>
    97       First, remove a faulty test:
    98     </para>
    99 
    100 <screen><userinput remap="pre">mv -v tests/test_gdbus.py{,.nouse}</userinput></screen>
    101 
     96 <!--
     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
     105      <para>
     106        To build <application>PyGObject3</application> as a
     107        <application>Python 2</application> module, run the
     108        following commands:
     109      </para>
     110
     111<screen><userinput>mkdir python2                             &amp;&amp;
     112pushd python2                             &amp;&amp;
     113  meson - -prefix=/usr -Dpython=python2 .. &amp;&amp;
     114  ninja                                   &amp;&amp;
     115popd</userinput></screen>
     116
     117      <para>
     118        To test the results, issue: <command>ninja -C python2 test</command>.
     119        An already active graphical session with bus address is necessary to
     120        run the tests. Two tests fail due to a search for GTK+-4, which has not
     121        been released yet.
     122      </para>
     123
     124      <para>
     125        To build <application>PyGObject3</application> as a
     126        <application>Python 3</application> module, run the
     127        following commands:
     128      </para>
     129
     130<screen><userinput>mkdir python3                             &amp;&amp;
     131pushd python3                             &amp;&amp;
     132  meson - -prefix=/usr -Dpython=python3 .. &amp;&amp;
     133  ninja                                   &amp;&amp;
     134popd</userinput></screen>
     135
     136      <para>
     137        To test the results, issue: <command>ninja -C python3 test</command>.
     138        An already active graphical session with bus address is necessary to
     139        run the tests. Two tests fail due to a search for GTK+-4, which has not
     140        been released yet.
     141      </para>
     142
     143      <para>
     144        To install the <application>Python 2</application> module,
     145        run the following command as the
     146        <systemitem class="username">root</systemitem> user:
     147      </para>
     148
     149<screen role="root"><userinput>ninja -C python2 install</userinput></screen>
     150
     151      <para>
     152        To install the <application>Python 3</application> module,
     153        run the following command as the
     154        <systemitem class="username">root</systemitem> user:
     155      </para>
     156
     157<screen role="root"><userinput>ninja -C python3 install</userinput></screen>
     158-->
    102159    <para>
    103160      Install <application>pygobject3</application> by running the following
     
    108165cd    build &amp;&amp;
    109166
    110 meson --prefix=/usr --buildtype=release .. &amp;&amp;
     167meson --prefix=/usr .. &amp;&amp;
    111168ninja</userinput></screen>
    112169
     
    124181<screen role="root"><userinput>ninja install</userinput></screen>
    125182
    126     </sect3>
    127 
    128     <sect3 role="commands">
    129       <title>Command Explanations</title>
    130 
    131       <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    132         href="../../xincludes/meson-buildtype-release.xml"/>
    133183    </sect3>
    134184
     
    160210
    161211  </sect2>
     212  <!-- End PyGObject -->
Note: See TracChangeset for help on using the changeset viewer.