[47969a6] | 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" [
|
---|
[f175d6f6] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[47969a6] | 5 | %general-entities;
|
---|
| 6 |
|
---|
[209ffd5] | 7 | <!ENTITY libdbusmenu-qt-download-http "http://launchpad.net/ubuntu/+archive/primary/+files/libdbusmenu-qt_&libdbusmenu-qt-version;.orig.tar.gz">
|
---|
[47969a6] | 8 | <!ENTITY libdbusmenu-qt-download-ftp " ">
|
---|
[209ffd5] | 9 | <!ENTITY libdbusmenu-qt-md5sum "8b90312bd8654e026d814d4db986ce5e">
|
---|
| 10 | <!ENTITY libdbusmenu-qt-size "48 KB">
|
---|
| 11 | <!ENTITY libdbusmenu-qt-buildsize "4.6 MB">
|
---|
| 12 | <!ENTITY libdbusmenu-qt-time "0.4 SBU">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libdbusmenu-qt" xreflabel="libdbusmenu-qt-&libdbusmenu-qt-version;">
|
---|
| 16 | <?dbhtml filename="libdbusmenu-qt.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libdbusmenu-qt-&libdbusmenu-qt-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libdbusmenu-qt">
|
---|
[81586492] | 26 | <primary sortas="a-libdbusmenu-qt">libdbusmenu-qt</primary>
|
---|
[47969a6] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libdbusmenu-qt</title>
|
---|
| 31 |
|
---|
[9ca304a] | 32 | <para>This library provides a <application>Qt</application> implementation
|
---|
[eb3dbe3] | 33 | of the DBusMenu specification that exposes menus via DBus.</para>
|
---|
[47969a6] | 34 |
|
---|
[a2c3ec79] | 35 | &lfs79_checked;&gcc6_checked;
|
---|
[47969a6] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&libdbusmenu-qt-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&libdbusmenu-qt-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &libdbusmenu-qt-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &libdbusmenu-qt-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &libdbusmenu-qt-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &libdbusmenu-qt-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">libdbusmenu-qt Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para role="required">
|
---|
[9e04432] | 63 | <!--<xref linkend="qt4"/> or --><xref linkend="qt5"/>
|
---|
[47969a6] | 64 | </para>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 67 | <para role="optional">
|
---|
[f837bd2] | 68 | <xref linkend="qjson"/> (for building the test suite) and
|
---|
[2ca2359a] | 69 | <xref linkend="doxygen"/> (for building the API documentation)
|
---|
[47969a6] | 70 | </para>
|
---|
| 71 |
|
---|
| 72 | <para condition="html" role="usernotes">User Notes:
|
---|
| 73 | <ulink url="&blfs-wiki;/libdbusmenu-qt"/></para>
|
---|
| 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="installation">
|
---|
| 78 | <title>Installation of libdbusmenu-qt</title>
|
---|
[9e04432] | 79 | <!--
|
---|
[f175d6f6] | 80 | <para>Install the qt4 based version of
|
---|
| 81 | <application>libdbusmenu-qt</application> by running the following
|
---|
[47969a6] | 82 | commands:</para>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput>mkdir build &&
|
---|
[b6d3d395] | 85 | cd build &&
|
---|
| 86 |
|
---|
| 87 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 88 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[f175d6f6] | 89 | -DUSE_QT4=TRUE \
|
---|
| 90 | -DWITH_DOC=OFF \
|
---|
| 91 | -Wno-dev .. &&
|
---|
[47969a6] | 92 | make</userinput></screen>
|
---|
| 93 |
|
---|
[9ca304a] | 94 | <para>To test the results
|
---|
[5cbfaba] | 95 | (<xref linkend="qjson"/> must be installed),
|
---|
[f175d6f6] | 96 | issue: <command>make -k check</command>. One test is known to fail.</para>
|
---|
| 97 |
|
---|
| 98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 99 |
|
---|
| 100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9e04432] | 101 | -->
|
---|
| 102 | <para>Install <!--the qt5 based version of-->
|
---|
[f175d6f6] | 103 | <application>libdbusmenu-qt</application> by running the following
|
---|
| 104 | commands:</para>
|
---|
[9e04432] | 105 | <!--
|
---|
[f175d6f6] | 106 | <note><para>If building both versions of this application, be sure
|
---|
| 107 | to remove the previous version of the source and reextract them from
|
---|
| 108 | the original tar file.</para></note>
|
---|
[9e04432] | 109 | -->
|
---|
[f175d6f6] | 110 | <screen><userinput>mkdir build &&
|
---|
| 111 | cd build &&
|
---|
| 112 |
|
---|
| 113 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 114 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 115 | -DWITH_DOC=OFF \
|
---|
| 116 | -Wno-dev .. &&
|
---|
| 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
[209ffd5] | 119 | <para>
|
---|
| 120 | To test the results (<xref linkend="qjson"/> must be installed),
|
---|
| 121 | issue: <command>make -k check</command>. One test is known to fail.
|
---|
[f175d6f6] | 122 | </para>
|
---|
[9ca304a] | 123 |
|
---|
[47969a6] | 124 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 125 |
|
---|
| 126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
[2ca2359a] | 129 |
|
---|
[47969a6] | 130 | <sect2 role="commands">
|
---|
| 131 | <title>Command Explanations</title>
|
---|
| 132 |
|
---|
[a88acf4] | 133 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
---|
[f3429309] | 134 | build without debugging symbols and apply a higher level of compiler
|
---|
[a88acf4] | 135 | optimizations.</para>
|
---|
[9e04432] | 136 | <!--
|
---|
[f175d6f6] | 137 | <para><option>-DUSE_QT4=TRUE</option>: This switch is used to ensure that
|
---|
| 138 | Qt4 version of the library is built even if Qt5 is present.</para>
|
---|
[9e04432] | 139 | -->
|
---|
[0d7900a] | 140 | <para><option>-DWITH_DOC=OFF</option>: This option is set to avoid building
|
---|
[2ca2359a] | 141 | the API documentation. Omit it if you have <application>doxygen</application>
|
---|
[9ca304a] | 142 | installed and want the documentation.</para>
|
---|
[47969a6] | 143 |
|
---|
| 144 | </sect2>
|
---|
[2ca2359a] | 145 |
|
---|
[47969a6] | 146 | <sect2 role="content">
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
| 149 | <segmentedlist>
|
---|
[2ca2359a] | 150 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 151 | <segtitle>Installed Library</segtitle>
|
---|
| 152 | <segtitle>Installed Directory</segtitle>
|
---|
[47969a6] | 153 |
|
---|
| 154 | <seglistitem>
|
---|
| 155 | <seg>None</seg>
|
---|
[9e04432] | 156 | <seg>libdbusmenu-qt5.so</seg>
|
---|
| 157 | <seg>/usr/lib/cmake/dbusmenu-qt5 and
|
---|
[f175d6f6] | 158 | /usr/include/dbusmenu-qt5</seg>
|
---|
[47969a6] | 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 | <!--
|
---|
| 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="a-automoc4">
|
---|
| 168 | <term><command>automoc4</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>is a testing utility for libdbusmenu-qt-generated build trees.</para>
|
---|
| 171 | <indexterm zone="a-automoc4 automoc4">
|
---|
| 172 | <primary sortas="b-automoc4">automoc4</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | </variablelist>
|
---|
| 178 | -->
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | </sect1>
|
---|