Changeset ae96c4b for general/prog


Ignore:
Timestamp:
07/14/2013 10:46:33 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
93b8ab7a
Parents:
17273d0
Message:

Bye bye dbus bindings. GStreamer updates.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-modules.xml

    r17273d0 rae96c4b  
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
     6
     7  <!ENTITY dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
     8  <!ENTITY dbus-python-download-ftp  " ">
     9  <!ENTITY dbus-python-md5sum        "b09cd2d1a057cc432ce944de3fc06bf7">
     10  <!ENTITY dbus-python-size          "592 KB">
     11  <!ENTITY dbus-python-buildsize     "11 MB">
     12  <!ENTITY dbus-python-time          "0.3 SBU">
    613
    714  <!ENTITY notify-python-download-http
     
    100107
    101108    <itemizedlist spacing="compact">
     109      <listitem>
     110        <para>
     111          <xref linkend="dbus-python"/>
     112        </para>
     113      </listitem>
    102114      <listitem>
    103115        <para>
     
    143155  </sect2>
    144156
     157  <!-- Begin D-Bus Python -->
     158  <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
     159    <title>D-Bus Python</title>
     160
     161    <indexterm zone="dbus-python">
     162      <primary sortas="a-dbus-python">dbus-python</primary>
     163    </indexterm>
     164
     165    <sect3 role="package">
     166      <title>Introduction to D-Bus Python Module</title>
     167
     168      <para>
     169        <application>D-Bus Python</application> provides
     170        <application>Python</application> bindings to the
     171        <application>D-Bus</application>.
     172      </para>
     173
     174      &lfs73_checked;
     175
     176      <bridgehead renderas="sect4">Package Information</bridgehead>
     177      <itemizedlist spacing="compact">
     178        <listitem>
     179          <para>
     180            Download (HTTP): <ulink url="&dbus-python-download-http;"/>
     181          </para>
     182        </listitem>
     183        <listitem>
     184          <para>
     185            Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
     186          </para>
     187        </listitem>
     188        <listitem>
     189          <para>
     190            Download MD5 sum: &dbus-python-md5sum;
     191          </para>
     192        </listitem>
     193        <listitem>
     194          <para>
     195            Download size: &dbus-python-size;
     196          </para>
     197        </listitem>
     198        <listitem>
     199          <para>
     200            Estimated disk space required: &dbus-python-buildsize;
     201          </para>
     202        </listitem>
     203        <listitem>
     204          <para>
     205            Estimated build time: &dbus-python-time;
     206          </para>
     207        </listitem>
     208      </itemizedlist>
     209
     210      <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
     211
     212      <bridgehead renderas="sect5">Required</bridgehead>
     213      <para role="required">
     214        <xref linkend="dbus-glib"/> and
     215        <xref linkend="python2"/> and/or
     216        <xref linkend="python3"/>
     217      </para>
     218
     219      <bridgehead renderas="sect5">
     220       Optional (Required to build the API and HTML Documentation)
     221      </bridgehead>
     222      <para role="optional">
     223        <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
     224        <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
     225      </para>
     226
     227      <para condition="html" role="usernotes">User Notes:
     228        <ulink url="&blfs-wiki;/dbus-python"/>
     229      </para>
     230    </sect3>
     231
     232    <sect3 role="installation">
     233      <title>Installation of D-Bus Python</title>
     234
     235      <note>
     236        <para>
     237          Both <application>Python 2</application> and
     238          <application>Python 3</application> modules can
     239          be built and installed without any conflicts.
     240        </para>
     241      </note>
     242
     243      <para>
     244        To build <application>D-Bus Python</application> as the
     245        <application>Python 2</application> module, run the
     246        following commands:
     247      </para>
     248
     249<screen><userinput>mkdir python2 &amp;&amp;
     250pushd python2 &amp;&amp;
     251PYTHON=/usr/bin/python     \
     252../configure --prefix=/usr \
     253             --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
     254make &amp;&amp;
     255popd</userinput></screen>
     256
     257      <para>
     258        To test the results, issue: <command>make -C python2 check</command>.
     259      </para>
     260
     261      <para>
     262        To build <application>D-Bus Python</application> as the
     263        <application>Python 3</application> module, run the
     264        following commands:
     265      </para>
     266
     267<screen><userinput>mkdir python3 &amp;&amp;
     268pushd python3 &amp;&amp;
     269PYTHON=/usr/bin/python3    \
     270../configure --prefix=/usr \
     271             --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
     272make &amp;&amp;
     273popd</userinput></screen>
     274
     275      <para>
     276        To test the results, issue: <command>make -C python3 check</command>.
     277      </para>
     278
     279      <para>
     280        To install the <application>Python 2</application> module,
     281        run the following command as the
     282        <systemitem class="username">root</systemitem> user:
     283      </para>
     284
     285<screen role="root"><userinput>make -C python2 install</userinput></screen>
     286
     287      <para>
     288        To install the <application>Python 3</application> module,
     289        run the following command as the
     290        <systemitem class="username">root</systemitem> user:
     291      </para>
     292
     293<screen role="root"><userinput>make -C python3 install</userinput></screen>
     294
     295    </sect3>
     296
     297    <sect3 role="content">
     298      <title>Contents</title>
     299
     300      <segmentedlist>
     301        <segtitle>Installed Programs</segtitle>
     302        <segtitle>Installed Libraries</segtitle>
     303        <segtitle>Installed Directories</segtitle>
     304
     305        <seglistitem>
     306          <seg>
     307            None
     308          </seg>
     309          <seg>
     310            None
     311          </seg>
     312          <seg>
     313            /usr/share/doc/dbus-python-&dbus-python-version; and
     314            /usr/lib/python&python2-majorver;/site-packages/dbus and/or
     315            /usr/lib/python&python3-majorver;/site-packages/dbus
     316          </seg>
     317        </seglistitem>
     318      </segmentedlist>
     319
     320    </sect3>
     321
     322  </sect2>
     323  <!-- End D-Bus Python -->
     324
    145325  <!-- Begin Notify Python -->
    146326  <sect2 id="notify-python" xreflabel="Notify Python-&notify-python-version;">
Note: See TracChangeset for help on using the changeset viewer.