source: general/prog/python-modules/pygobject3.xml@ e8b3f50

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since e8b3f50 was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 4 months ago

Tags

  • Property mode set to 100644
File size: 4.7 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[d2b1e2e]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[5fe69261]4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
[d2b1e2e]5 %general-entities;
[d01c61f]6
[d2b1e2e]7 <!ENTITY pygobject3-download-http
[1856819]8 "&gnome-download-http;/pygobject/&gnome-minor-46;/pygobject-&pygobject3-version;.tar.xz">
[f4ac7141]9 <!ENTITY pygobject3-download-ftp " ">
[1856819]10 <!ENTITY pygobject3-md5sum "56c36bfe6f24fa28182a7adcd3815b2c">
11 <!ENTITY pygobject3-size "552 KB">
12 <!ENTITY pygobject3-buildsize "13 MB (add 2.5 MB for tests)">
13 <!ENTITY pygobject3-time "0.3 SBU (with tests)">
[d2b1e2e]14]>
15
16 <!-- Begin PyGObject3 -->
17 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
18
19 <title>PyGObject-&pygobject3-version;</title>
20
21 <indexterm zone="pygobject3">
22 <primary sortas="a-PyGObject3">PyGObject3</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to PyGObject3 Module</title>
27
28 <para>
29 <application>PyGObject3</application> provides
30 <application>Python</application> bindings to the GObject
31 class from <application>GLib</application>.
32 </para>
33
[e8b3f50]34 &lfs121_checked;
[d2b1e2e]35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &pygobject3-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &pygobject3-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &pygobject3-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &pygobject3-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="gobject-introspection"/> and
75 <xref linkend="pycairo"/>
[fbb3a43]76 (<application>Python 3</application> module)
[d2b1e2e]77 </para>
78
[6d5ce50b]79 <bridgehead renderas="sect5">Optional (for the tests)</bridgehead>
80 <para role="optional">
[f9b7052]81 <xref linkend="gtk4"/>,
[72bc906]82 <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>,
83 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and
[8b819c5]84 <xref linkend="pytest"/>
[6d5ce50b]85 </para>
86
[d2b1e2e]87 </sect3>
88
89 <sect3 role="installation">
90 <title>Installation of PyGObject3</title>
91
[9d31900]92 <para>
[1856819]93 First, remove two faulty tests:
[9d31900]94 </para>
[2da3d572]95
[1856819]96<screen><userinput remap="pre">mv -v tests/test_gdbus.py{,.nouse} &amp;&amp;
97mv -v tests/test_overrides_gtk.py{,.nouse}</userinput></screen>
[d2b1e2e]98
[8736e8a]99 <para>
100 Install <application>pygobject3</application> by running the following
101 commands:
102 </para>
103
104<screen><userinput>mkdir build &amp;&amp;
105cd build &amp;&amp;
106
[91318eb]107meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
[8736e8a]108ninja</userinput></screen>
109
110 <para>
111 To test the results, issue: <command>ninja test</command>.
112 An already active graphical session with a bus address is necessary
[99ae2600]113 to run the tests. <!--One test, <filename>tests/test_gdbus.py</filename>,
114 is known to fail.--> Another round of tests may report ERROR if
[f9b7052]115 <xref linkend="gtk4" role="nodep"/> is not installed.
[8736e8a]116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>ninja install</userinput></screen>
[d2b1e2e]123
124 </sect3>
125
[20f070d8]126 <sect3 role="commands">
127 <title>Command Explanations</title>
128
129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]130 href="../../../xincludes/meson-buildtype-release.xml"/>
[20f070d8]131 </sect3>
132
[d2b1e2e]133 <sect3 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Library</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>
143 None
144 </seg>
145 <seg>
[d94bd7f4]146 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.&python3-lib-suffix;.so
[d2b1e2e]147 </seg>
148 <seg>
[8736e8a]149 /usr/include/pygobject-3.0 and
[d2b1e2e]150 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
151 </seg>
152 </seglistitem>
153 </segmentedlist>
154
155 </sect3>
156
157 </sect2>
Note: See TracBrowser for help on using the repository browser.