Updated to gobject-introspection-1.29.17

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9117 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2011-12-16 19:54:18 +00:00
parent 19cb9ad728
commit b6a2a0ed32
5 changed files with 92 additions and 76 deletions

View File

@ -3,13 +3,13 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "13"> <!-- Always 2 digits -->
<!ENTITY day "16"> <!-- Always 2 digits -->
<!ENTITY month "12"> <!-- Always 2 digits -->
<!ENTITY year "2011">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "December 13th, &year;">
<!ENTITY releasedate "December 16th, &year;">
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
@ -198,7 +198,8 @@ $Date$
<!ENTITY liboil-version "0.3.17">
<!ENTITY nspr-version "4.8.9">
<!ENTITY libffi-version "3.0.10">
<!ENTITY gobject-introspection-version "0.6.14">
<!-- gobject-introspection-version-1.30.0+ is incompatible with PyGObject-->
<!ENTITY gobject-introspection-version "1.29.17">
<!ENTITY gir-repository-version "0.6.5">
<!ENTITY libical-version "0.43">
<!ENTITY libelf-version "0.8.13">
@ -294,7 +295,7 @@ $Date$
<!ENTITY mc-version "4.6.1">
<!ENTITY sysstat-version "10.0.2">
<!ENTITY apache-ant-version "1.8.1">
<!ENTITY dbus-version "1.4.0">
<!ENTITY dbus-version "1.4.16">
<!ENTITY hal-version "0.5.14">
<!ENTITY udev-version "Installed LFS Version">
<!ENTITY upower-version "0.9.1">

View File

@ -4,12 +4,14 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gobject-introspection-download-http "&gnome-download-http;/gobject-introspection/0.6/gobject-introspection-&gobject-introspection-version;.tar.bz2">
<!ENTITY gobject-introspection-download-ftp "&gnome-download-ftp;/gobject-introspection/0.6/gobject-introspection-&gobject-introspection-version;.tar.bz2">
<!ENTITY gobject-introspection-md5sum "7ea9be9a347b5c408fd3c3907803de9b">
<!ENTITY gobject-introspection-size "745 KB">
<!ENTITY gobject-introspection-buildsize "20 MB">
<!ENTITY gobject-introspection-time "0.4 SBU">
<!-- Note gobject-introspection-1.30+ is incompatible with other BLFS packages-->
<!ENTITY gobject-introspection-download-http "&gnome-download-http;/gobject-introspection/1.29/gobject-introspection-&gobject-introspection-version;.tar.xz">
<!ENTITY gobject-introspection-download-ftp "&gnome-download-ftp;/gobject-introspection/1.29/gobject-introspection-&gobject-introspection-version;.tar.xz">
<!ENTITY gobject-introspection-md5sum "c4b040aca6fcb29a65cd17830cc2ba82">
<!ENTITY gobject-introspection-size "1 MB">
<!ENTITY gobject-introspection-buildsize "33 MB">
<!ENTITY gobject-introspection-time "0.6 SBU">
]>
<sect1 id="gobject-introspection" xreflabel="gobject-introspection-&gobject-introspection-version;">
@ -33,7 +35,7 @@
to describe the APIs and collect them in a uniform, machine readable
format.</para>
&lfs65_checked;
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -58,14 +60,18 @@
</itemizedlist>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="glib2"/>,
<xref linkend="libffi"/> or <xref linkend="gcc"/> (build Java so that
<filename class='libraryfile'>libffi</filename> is built), and
<xref linkend="python"/></para>
<para role="required">
<xref linkend="glib2"/>,
<xref linkend="libffi"/> or <xref linkend="gcc"/> (build Java so that
<filename class='libraryfile'>libffi</filename> is built), and
<xref linkend="python"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="cairo"/> (Required for the tests) and
<xref linkend="gtk-doc"/></para>
<para role="optional">
<xref linkend="cairo"/> (Required for the tests) and
<xref linkend="gtk-doc"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gobject-introspection"/></para>
@ -75,18 +81,10 @@
<sect2 role="installation">
<title>Installation of gobject-introspection</title>
<note>
<para>If you have Python-2.7 installed, issue the following command to
prevent a build failure:</para>
<screen><userinput>sed -i 's/Importer:/Importer(None, None):/' \
giscanner/{sourcescanner,xmlwriter}.py</userinput></screen>
</note>
<para>Install <application>gobject-introspection</application> by running
the following commands:</para>
<screen><userinput>./configure --prefix=/usr \
--disable-tests &amp;&amp;
<screen><userinput>./configure --prefix=/usr --disable-tests &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
@ -118,11 +116,16 @@ make</userinput></screen>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>g-ir-compiler and g-ir-generate</seg>
<seg>g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool, g-ir-generate,
and g-ir-scanner</seg>
<seg>_giscanner.{so,a} and libgirepository-1.0.{so,a}</seg>
<seg>/usr/{include/gobject-introspection-1.0,lib/{girepository-1.0,
gobject-introspection/giscanner},share/{gir-1.0,
gobject-introspection-1.0}}</seg>
<seg>/usr/include/gobject-introspection-1.0,
/usr/lib/{girepository-1.0,gobject-introspection},
/usr/lib/share/{gir-1.0,gobject-introspection-1.0}
</seg>
</seglistitem>
</segmentedlist>

View File

@ -7,10 +7,10 @@
<!ENTITY dbus-download-http "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz">
<!--<!ENTITY dbus-download-ftp "&gentoo-ftp-repo;/dbus-&dbus-version;.tar.gz">-->
<!ENTITY dbus-download-ftp " ">
<!ENTITY dbus-md5sum "f59618b18d2fb2bd1fce9e1c5a2a3282">
<!ENTITY dbus-size "1.7 MB">
<!ENTITY dbus-buildsize "43 MB">
<!ENTITY dbus-time "0.4 SBU">
<!ENTITY dbus-md5sum "44a2a10678e7e50460879c3eb4453a65">
<!ENTITY dbus-size "1.8 MB">
<!ENTITY dbus-buildsize "83 MB">
<!ENTITY dbus-time "0.5 SBU">
]>
<sect1 id="dbus" xreflabel="D-BUS-&dbus-version;">
@ -40,7 +40,7 @@
applications to communicate directly (without going through the message bus
daemon).</para>
&lfs70_built;
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -67,12 +67,17 @@
<bridgehead renderas="sect3">D-BUS Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="expat"/> (preferred) or <!-- both
<xref linkend="pkgconfig"/> and --> <xref linkend="libxml2"/></para>
<para role="required">
<xref linkend="expat"/> (preferred) or
<xref linkend="libxml2"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="xorg7-lib"/> and
<xref linkend="doxygen"/> (to generate the API documentation)</para>
<para role="optional">
<xref linkend="xorg7-lib"/>,
<xref linkend="dbus-glib"/> (to run tests), and
<xref linkend="doxygen"/> (to generate the API documentation)
</para>
<para>Note that the <command>configure</command> script will look for
<xref linkend="xmlto"/> but it does nothing as the XML/HTML documentation is
@ -104,61 +109,51 @@
<para>As the <systemitem class="username">root</systemitem> user, create a
system user and group to handle the system message bus activity:</para>
<screen role="root"><userinput>groupadd -fg 18 messagebus &amp;&amp;
<screen role="root"><userinput>groupadd -g 18 messagebus &amp;&amp;
useradd -c "D-BUS Message Daemon User" -d /dev/null \
-u 18 -g messagebus -s /bin/false messagebus || [ $? == 9 ]</userinput></screen>
<para>This package's test suite cannot be run without passing additional
parameters to <command>configure</command> and exposing additional
functionality in the binaries. These interfaces are not intended to be
used in a production build of <application>D-BUS</application>, so it
will have to be built twice in this situation. If you would like to run
the unit tests, issue the following commands:</para>
<screen><userinput>./configure --enable-tests --enable-asserts &amp;&amp;
make &amp;&amp;
make check &amp;&amp;
make distclean</userinput></screen>
<para>Note there has been a report that the tests may fail if running
inside a Midnight Commander shell.</para>
-u 18 -g messagebus -s /bin/false messagebus</userinput></screen>
<para>Install <application>D-BUS</application> by running the following
commands (you may wish to review the output from
<command>./configure --help</command> first and add any desired parameters
to the <command>configure</command> command shown below):</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/dbus-1.0 \
--localstatedir=/var &amp;&amp;
make</userinput></screen>
<!-- D-Bus 1.2.24. Doxygen _still_ broken -->
<para>The <option>--enable-doxygen-docs</option> parameter does not work
<!--
<para>The <option>- -enable-doxygen-docs</option> parameter does not work
properly. If you have <application>Doxygen</application> installed and you
wish to build the API documentation, issue
<command>doxygen</command>.</para>
-->
<para>See below for test instructions.</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/dbus-&dbus-version; &amp;&amp;
install -v -m644 doc/{TODO,*.{dtd,html,xml,xsl,txt,c}} \
/usr/share/doc/dbus-&dbus-version;</userinput></screen>
mv -v /usr/share/doc/dbus /usr/share/doc/dbus-&dbus-version;</userinput></screen>
<para>If you built the API documentation, install it by issuing the
following commands as the <systemitem class="username">root</systemitem>
user:</para>
<para>The dbus tests cannot be run until after <xref linkend="dbus-glib"/>
has been installed. The tests require passing additional parameters to
<command>configure</command> and exposing additional functionality in the
binaries. These interfaces are not intended to be used in a production
build of <application>D-BUS</application>. If you would like to run the
unit tests, issue the following commands:</para>
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/dbus-&dbus-version;/api \
/usr/share/man/man3dbus &amp;&amp;
install -v -m644 doc/api/html/* \
/usr/share/doc/dbus-&dbus-version;/api &amp;&amp;
install -v -m644 doc/api/man/man3dbus/* \
/usr/share/man/man3dbus</userinput></screen>
<screen><userinput>make distclean &amp;&amp;
./configure --enable-tests --enable-asserts &amp;&amp;
make &amp;&amp;
make check &amp;&amp;
make distclean</userinput></screen>
<para>Note there has been a report that the tests may fail if running
inside a Midnight Commander shell.</para>
</sect2>

View File

@ -41,6 +41,18 @@
</listitem>
-->
<listitem>
<para>December 16th, 2011</para>
<itemizedlist>
<!--<listitem>
<para>[bdubbs] - Updated to dbus-1.4.16</para>
</listitem>-->
<listitem>
<para>[bdubbs] - Updated to gobject-introspection-1.29.17</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>December 13th, 2011</para>
<itemizedlist>

View File

@ -32,9 +32,10 @@
<para>The <application>Qt</application> package contains a
<application>C++</application> GUI library. This is useful for creating
graphical applications or executing graphical applications that are
dynamically linked to the <application>Qt</application> library. One of
the major users of <application>Qt</application> is
<application>KDE</application>.</para>
dynamically linked to the <application>Qt</application> library. Two of
the major users of <application>Qt</application> are
<application>KDE</application> and its foolow on project,
<application>Trinity</application>.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -58,6 +59,10 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Qt Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>