Changes in general/prog/pygobject3.xml [da54a62:8736e8a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/pygobject3.xml
rda54a62 r8736e8a 6 6 7 7 <!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"> 9 9 <!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"> 12 12 <!ENTITY pygobject3-size "544 KB"> 13 13 <!ENTITY pygobject3-buildsize "15 MB"> 14 <!ENTITY pygobject3-time "0. 2SBU (Using parallelism=4)">14 <!ENTITY pygobject3-time "0.1 SBU (Using parallelism=4)"> 15 15 ]> 16 16 … … 33 33 </para> 34 34 35 &lfs1 10a_checked;35 &lfs10_checked; 36 36 37 37 <bridgehead renderas="sect4">Package Information</bridgehead> … … 94 94 <title>Installation of PyGObject3</title> 95 95 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 && 112 pushd python2 && 113 meson - -prefix=/usr -Dpython=python2 .. && 114 ninja && 115 popd</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 && 131 pushd python3 && 132 meson - -prefix=/usr -Dpython=python3 .. && 133 ninja && 134 popd</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 --> 102 159 <para> 103 160 Install <application>pygobject3</application> by running the following … … 108 165 cd build && 109 166 110 meson --prefix=/usr --buildtype=release.. &&167 meson --prefix=/usr .. && 111 168 ninja</userinput></screen> 112 169 … … 124 181 <screen role="root"><userinput>ninja install</userinput></screen> 125 182 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"/>133 183 </sect3> 134 184 … … 160 210 161 211 </sect2> 212 <!-- End PyGObject -->
Note:
See TracChangeset
for help on using the changeset viewer.