mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 20:42:34 +08:00
a88acf45a2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11688 af4574ff-66df-0310-9fd7-8a98e5e911e0
157 lines
5.0 KiB
XML
157 lines
5.0 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 libdbusmenu-qt-download-http "http://launchpad.net/libdbusmenu-qt/trunk/&libdbusmenu-qt-version;/+download/libdbusmenu-qt-&libdbusmenu-qt-version;.tar.bz2">
|
|
<!ENTITY libdbusmenu-qt-download-ftp " ">
|
|
<!ENTITY libdbusmenu-qt-md5sum "9a49484927669cd2ec91b3bf9ba8b79e">
|
|
<!ENTITY libdbusmenu-qt-size "37 KB">
|
|
<!ENTITY libdbusmenu-qt-buildsize "3.8 MB">
|
|
<!ENTITY libdbusmenu-qt-time "0.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="libdbusmenu-qt" xreflabel="libdbusmenu-qt-&libdbusmenu-qt-version;">
|
|
<?dbhtml filename="libdbusmenu-qt.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libdbusmenu-qt-&libdbusmenu-qt-version;</title>
|
|
|
|
<indexterm zone="libdbusmenu-qt">
|
|
<primary sortas="a-libdbusmenu-qt">libdbusmenu-qt</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libdbusmenu-qt</title>
|
|
|
|
<para>This library provides a <application>Qt</application> implementation
|
|
of the DBusMenu specs, which goal is to expose menus on DBus.</para>
|
|
|
|
&lfs74_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&libdbusmenu-qt-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&libdbusmenu-qt-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &libdbusmenu-qt-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &libdbusmenu-qt-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &libdbusmenu-qt-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &libdbusmenu-qt-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/libdbusmenu-qt-&libdbusmenu-qt-version;-fixes-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
<bridgehead renderas="sect3">libdbusmenu-qt Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="qt4"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="qjson"/> (for building the test suite) and
|
|
<xref linkend="doxygen"/> (for building the API documentation)
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/libdbusmenu-qt"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libdbusmenu-qt</title>
|
|
|
|
<para>Install <application>libdbusmenu-qt</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DWITH_DOC=OFF .. &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results
|
|
(<ulink url="http://qjson.sourceforge.net/">QJson</ulink> must be installed),
|
|
issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
|
build without debugging symbols and apply a higher level of compiler
|
|
optimizations.</para>
|
|
|
|
<para><option>-DWITH_DOC=OFF</option>: This option is set to avoid building
|
|
the API documentation. Omit it if you have <application>doxygen</application>
|
|
installed and want the documentation.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>libdbusmenu-qt.so</seg>
|
|
<seg>&qt4-dir;/include/dbusmenu-qt</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
<!--
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="a-automoc4">
|
|
<term><command>automoc4</command></term>
|
|
<listitem>
|
|
<para>is a testing utility for libdbusmenu-qt-generated build trees.</para>
|
|
<indexterm zone="a-automoc4 automoc4">
|
|
<primary sortas="b-automoc4">automoc4</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
-->
|
|
</sect2>
|
|
|
|
</sect1>
|