source: general/prog/pygobject3.xml@ d8a4f985

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 d8a4f985 was 9d31900, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to glib-2.68.0
Update to vala-0.52.0
Update to gobject-introspection-1.68.0
Update to pygobject-3.40.1
Update to glib-networking-2.68.0
Update to at-spi2-core-2.40.0
Update to gdk-pixbuf-2.42.4
Update to gtk+-3.24.28
Update to libdazzle-3.40.0
Update to sysprof-3.40.1
Update to tepl-6.00.0
Added gtk-4.2.0
Added gtksourceview-5.0.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24430 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.7 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/3.40/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp
10 "&gnome-download-ftp;/pygobject/3.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 &lfs101_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 .. &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="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Programs</segtitle>
133 <segtitle>Installed Library</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>
138 None
139 </seg>
140 <seg>
141 <!--/usr/lib/python&python2-majorver;/site-packages/gi/_gi{,_cairo}.so and/or-->
142 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.&python3-lib-suffix;.so
143 </seg>
144 <seg>
145 /usr/include/pygobject-3.0 and
146 <!--/usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or-->
147 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
148 </seg>
149 </seglistitem>
150 </segmentedlist>
151
152 </sect3>
153
154 </sect2>
Note: See TracBrowser for help on using the repository browser.