source: general/prog/pygobject3.xml@ 83349bf

10.0 10.1 11.0 11.1 8.4 9.0 9.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 83349bf was 83349bf, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Tags

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

  • Property mode set to 100644
File size: 4.6 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-30;/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp
10 "&gnome-download-ftp;/pygobject/&gnome-minor-30;/pygobject-&pygobject3-version;.tar.xz">
11 <!ENTITY pygobject3-md5sum "d42f8ec30faa76a25f7d0afc88b4d822">
12 <!ENTITY pygobject3-size "533 KB">
13 <!ENTITY pygobject3-buildsize "14 MB">
14 <!ENTITY pygobject3-time "0.1 SBU">
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 &lfs84_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 <xref linkend="python2"/>,
83 <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>,
84 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and
85 <ulink url="https://pypi.python.org/pypi/pytest">pytest</ulink>
86 <!-- pytest brings in a lot of dependencies - upwards of 10 -->
87 </para>
88
89 <para condition="html" role="usernotes">
90 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
91 </para>
92 </sect3>
93
94 <sect3 role="installation">
95 <title>Installation of PyGObject3</title>
96
97 <para>
98 To build <application>PyGObject3</application> as a
99 <application>Python 3</application> module, run the
100 following commands:
101 </para>
102
103<screen><userinput>mkdir build &amp;&amp;
104cd build &amp;&amp;
105meson --prefix=/usr -Dpython=python3 &amp;&amp;
106ninja</userinput></screen>
107
108 <para>
109 To test the results, issue: <command>ninja test</command>.
110 An already active graphical session with bus address is necessary to
111 run the tests.
112 </para>
113
114 <para>
115 To install the module, run the following command as the
116 <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>ninja install</userinput></screen>
120
121 </sect3>
122
123 <sect3 role="content">
124 <title>Contents</title>
125
126 <segmentedlist>
127 <segtitle>Installed Programs</segtitle>
128 <segtitle>Installed Library</segtitle>
129 <segtitle>Installed Directories</segtitle>
130
131 <seglistitem>
132 <seg>
133 None
134 </seg>
135 <seg>
136 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-37m-&lt;arch&gt;-linux-gnu.so
137 </seg>
138 <seg>
139 /usr/include/pygobject-3.0, and
140 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
141 </seg>
142 </seglistitem>
143 </segmentedlist>
144
145 </sect3>
146
147 </sect2>
148 <!-- End PyGObject -->
Note: See TracBrowser for help on using the repository browser.