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