source: general/prog/pygobject3.xml@ 7ae59ab

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7ae59ab was 7ae59ab, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags
Tag most of X libraries and the rest of th ePython modules.

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pygobject3-download-http
8 "&gnome-download-http;/pygobject/&gnome-minor-40;/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp
10 "&gnome-download-ftp;/pygobject/&gnome-minor-40;/pygobject-&pygobject3-version;.tar.xz">
11 <!ENTITY pygobject3-md5sum "f27e0a2d1526df57c89624cdebbd69e0">
12 <!ENTITY pygobject3-size "544 KB">
13 <!ENTITY pygobject3-buildsize "15 MB">
14 <!ENTITY pygobject3-time "0.2 SBU (Using parallelism=4)">
15]>
16
17 <!-- Begin PyGObject3 -->
18 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
19
20 <title>PyGObject-&pygobject3-version;</title>
21
22 <indexterm zone="pygobject3">
23 <primary sortas="a-PyGObject3">PyGObject3</primary>
24 </indexterm>
25
26 <sect3 role="package">
27 <title>Introduction to PyGObject3 Module</title>
28
29 <para>
30 <application>PyGObject3</application> provides
31 <application>Python</application> bindings to the GObject
32 class from <application>GLib</application>.
33 </para>
34
35 &lfs110_checked;
36
37 <bridgehead renderas="sect4">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &pygobject3-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &pygobject3-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &pygobject3-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &pygobject3-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
72
73 <bridgehead renderas="sect5">Required</bridgehead>
74 <para role="required">
75 <xref linkend="gobject-introspection"/> and
76 <xref linkend="pycairo"/>
77 (<application>Python 3</application> module)
78 </para>
79
80 <bridgehead renderas="sect5">Optional (for the tests)</bridgehead>
81 <para role="optional">
82 <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>,
83 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and
84 <ulink url="https://pypi.python.org/pypi/pytest">pytest</ulink>
85 <!-- pytest brings in a lot of dependencies - upwards of 10 -->
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
90 </para>
91 </sect3>
92
93 <sect3 role="installation">
94 <title>Installation of PyGObject3</title>
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
102 <para>
103 Install <application>pygobject3</application> by running the following
104 commands:
105 </para>
106
107<screen><userinput>mkdir build &amp;&amp;
108cd build &amp;&amp;
109
110meson --prefix=/usr --buildtype=release .. &amp;&amp;
111ninja</userinput></screen>
112
113 <para>
114 To test the results, issue: <command>ninja test</command>.
115 An already active graphical session with a bus address is necessary
116 to run the tests. One test, <filename>tests/test_gdbus.py</filename>,
117 is known to fail.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>ninja install</userinput></screen>
125
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 </sect3>
134
135 <sect3 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
139 <segtitle>Installed Programs</segtitle>
140 <segtitle>Installed Library</segtitle>
141 <segtitle>Installed Directories</segtitle>
142
143 <seglistitem>
144 <seg>
145 None
146 </seg>
147 <seg>
148 <!--/usr/lib/python&python2-majorver;/site-packages/gi/_gi{,_cairo}.so and/or-->
149 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.&python3-lib-suffix;.so
150 </seg>
151 <seg>
152 /usr/include/pygobject-3.0 and
153 <!--/usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or-->
154 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
155 </seg>
156 </seglistitem>
157 </segmentedlist>
158
159 </sect3>
160
161 </sect2>
Note: See TracBrowser for help on using the repository browser.