Author: pierre Date: Fri Jan 11 13:09:06 2019 New Revision: 20951 Log: Update to pygobject3-3.30.4 and build only the Python 3 module
Modified: trunk/BOOK/general/prog/pygobject3.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/packages.ent Modified: trunk/BOOK/general/prog/pygobject3.xml ============================================================================== --- trunk/BOOK/general/prog/pygobject3.xml Fri Jan 11 12:54:44 2019 (r20950) +++ trunk/BOOK/general/prog/pygobject3.xml Fri Jan 11 13:09:06 2019 (r20951) @@ -8,10 +8,10 @@ "&gnome-download-http;/pygobject/&gnome-minor-30;/pygobject-&pygobject3-version;.tar.xz"> <!ENTITY pygobject3-download-ftp "&gnome-download-ftp;/pygobject/&gnome-minor-30;/pygobject-&pygobject3-version;.tar.xz"> - <!ENTITY pygobject3-md5sum "77ba5f41a00d5c0cc22962a475f8de67"> - <!ENTITY pygobject3-size "540 KB"> - <!ENTITY pygobject3-buildsize "26 MB (both modules, with tests)"> - <!ENTITY pygobject3-time "0.3 SBU (both modules, with tests)"> + <!ENTITY pygobject3-md5sum "d42f8ec30faa76a25f7d0afc88b4d822"> + <!ENTITY pygobject3-size "533 KB"> + <!ENTITY pygobject3-buildsize "14 MB"> + <!ENTITY pygobject3-time "0.1 SBU"> ]> <!-- Begin PyGObject3 --> @@ -74,12 +74,12 @@ <para role="required"> <xref linkend="gobject-introspection"/> and <xref linkend="pycairo"/> - (for <application>Python 2</application> and/or - <application>Python 3</application> bindings) + (<application>Python 3</application> module) </para> <bridgehead renderas="sect5">Optional (for the tests)</bridgehead> <para role="optional"> + <xref linkend="python2"/>, <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>, <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and <ulink url="https://pypi.python.org/pypi/pytest">pytest</ulink> @@ -94,65 +94,29 @@ <sect3 role="installation"> <title>Installation of PyGObject3</title> - <note> - <para> - Both <application>Python 2</application> and - <application>Python 3</application> modules can - be built and installed without any conflicts. - </para> - </note> - - <para> - To build <application>PyGObject3</application> as the - <application>Python 2</application> module, run the - following commands: - </para> - -<screen><userinput>mkdir python2 && -pushd python2 && -meson --prefix=/usr -Dpython=python2 .. && -ninja && -popd</userinput></screen> - - <para> - To test the results, issue: <command>ninja -C python2 test</command>. - An already active graphical session with bus address is necessary to - run the tests. - </para> - <para> - To build <application>PyGObject3</application> as the + To build <application>PyGObject3</application> as a <application>Python 3</application> module, run the following commands: </para> -<screen><userinput>mkdir python3 && -pushd python3 && +<screen><userinput>mkdir build && +cd build && meson --prefix=/usr -Dpython=python3 && -ninja && -popd</userinput></screen> +ninja</userinput></screen> <para> - To test the results, issue: <command>ninja -C python3 test</command>. + To test the results, issue: <command>ninja test</command>. An already active graphical session with bus address is necessary to run the tests. </para> <para> - To install the <application>Python 2</application> module, - run the following command as the - <systemitem class="username">root</systemitem> user: - </para> - -<screen role="root"><userinput>ninja -C python2 install</userinput></screen> - - <para> - To install the <application>Python 3</application> module, - run the following command as the + To install the module, run the following command as the <systemitem class="username">root</systemitem> user: </para> -<screen role="root"><userinput>ninja -C python3 install</userinput></screen> +<screen role="root"><userinput>ninja install</userinput></screen> </sect3> @@ -169,13 +133,10 @@ None </seg> <seg> - /usr/lib/python&python2-majorver;/site-packages/gi/_gi{,_cairo}.so - and/or - /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-35m-<arch>-linux-gnu.so + /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-37m-<arch>-linux-gnu.so </seg> <seg> /usr/include/pygobject-3.0, and - /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat} </seg> </seglistitem> Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Fri Jan 11 12:54:44 2019 (r20950) +++ trunk/BOOK/introduction/welcome/changelog.xml Fri Jan 11 13:09:06 2019 (r20951) @@ -46,6 +46,11 @@ <para>January 11th, 2019</para> <itemizedlist> <listitem> + <para>[pierre] - Update to pygobject3-3.30.4, and build only + the Python 3 module. Fixes + <ulink url="&blfs-ticket-root;11342">#11342</ulink>.</para> + </listitem> + <listitem> <para>[pierre] - Allow libpsl to build with Python 3.</para> </listitem> <listitem> Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Fri Jan 11 12:54:44 2019 (r20950) +++ trunk/BOOK/packages.ent Fri Jan 11 13:09:06 2019 (r20951) @@ -530,7 +530,7 @@ <!ENTITY pycairo-version "1.17.1"> <!ENTITY pycrypto-version "2.6.1"> <!ENTITY pygobject2-version "2.28.7"> -<!ENTITY pygobject3-version "3.30.1"> +<!ENTITY pygobject3-version "3.30.4"> <!ENTITY pygtk-version "2.24.0"> <!ENTITY pyxdg-version "0.25"> <!ENTITY PyYAML-version "3.13"> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page