mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
4a8fc81f59
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12902 af4574ff-66df-0310-9fd7-8a98e5e911e0
173 lines
4.8 KiB
XML
173 lines
4.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY pyatspi2-download-http
|
|
"&gnome-download-http;/pyatspi/2.10/pyatspi-&pyatspi2-version;.tar.xz">
|
|
<!ENTITY pyatspi2-download-ftp
|
|
"&gnome-download-ftp;/pyatspi/2.10/pyatspi-&pyatspi2-version;.tar.xz">
|
|
<!ENTITY pyatspi2-md5sum "188ac6479e824ae2c36dd224a08e036b">
|
|
<!ENTITY pyatspi2-size "288 KB">
|
|
<!ENTITY pyatspi2-buildsize "4.2 MB">
|
|
<!ENTITY pyatspi2-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<!-- Begin PyAtSpi2 -->
|
|
<sect2 id="pyatspi2" xreflabel="PyAtSpi2-&pyatspi2-version;">
|
|
|
|
<title>PyAtSpi2-&pyatspi2-version;</title>
|
|
|
|
<indexterm zone="pyatspi2">
|
|
<primary sortas="a-PyAtSpi2">PyAtSpi2</primary>
|
|
</indexterm>
|
|
|
|
<sect3 role="package">
|
|
<title>Introduction to PyAtSpi2</title>
|
|
|
|
<para>
|
|
The <application>PyAtSpi2</application> package contains
|
|
<application>Python</application> bindings for the core
|
|
components of the <application>GNOME</application>
|
|
Accessibility.
|
|
</para>
|
|
|
|
&lfs75_checked;
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &pyatspi2-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &pyatspi2-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &pyatspi2-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &pyatspi2-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">PyAtSpi2 Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="pygobject3"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect5">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="at-spi2-core"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
<sect3 role="installation">
|
|
<title>Installation of PyAtSpi2</title>
|
|
|
|
<note>
|
|
<para>
|
|
Both <application>Python 2</application> and
|
|
<application>Python 3</application> modules can
|
|
be built and installed without any conflicts.
|
|
</para>
|
|
</note>
|
|
|
|
<para>
|
|
To build <application>PyAtSpi2</application> as the
|
|
<application>Python 2</application> module, run the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir python2 &&
|
|
pushd python2 &&
|
|
../configure --prefix=/usr --with-python=/usr/bin/python &&
|
|
make &&
|
|
popd</userinput></screen>
|
|
|
|
<para>
|
|
To build <application>PyAtSpi2</application> as the
|
|
<application>Python 3</application> module, run the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir python3 &&
|
|
pushd python3 &&
|
|
../configure --prefix=/usr --with-python=/usr/bin/python3 &&
|
|
make &&
|
|
popd</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a testsuite.
|
|
</para>
|
|
|
|
<para>
|
|
To install the <application>Python 2</application> module,
|
|
run the following command as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make -C python2 install</userinput></screen>
|
|
|
|
<para>
|
|
To install the <application>Python 3</application> module,
|
|
run the following command as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make -C python3 install</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
<sect3 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
/usr/lib/python&python2-majorver;/site-packages/pyatspi and/or
|
|
/usr/lib/python&python3-majorver;/site-packages/pyatspi
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
<!-- End PyAtSpi2 -->
|