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" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libdbusmenu-qt-download-http "http://launchpad.net/ubuntu/+archive/primary/+files/libdbusmenu-qt_&libdbusmenu-qt-version;.orig.tar.gz">
|
---|
8 | <!ENTITY libdbusmenu-qt-download-ftp " ">
|
---|
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">
|
---|
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">
|
---|
26 | <primary sortas="a-libdbusmenu-qt">libdbusmenu-qt</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libdbusmenu-qt</title>
|
---|
31 |
|
---|
32 | <para>This library provides a <application>Qt</application> implementation
|
---|
33 | of the DBusMenu specification that exposes menus via DBus.<!-- Its
|
---|
34 | libraries are used by both KDE4 and KF5, but they must be linked to <xref
|
---|
35 | linkend='qt4'/> and <xref linkend='qt5'/> respectively. The two versions do
|
---|
36 | not conflict with each other.--> </para>
|
---|
37 |
|
---|
38 | &lfs79_checked;&gcc6_checked;
|
---|
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">
|
---|
66 | <!--<xref linkend="qt4"/> or --><xref linkend="qt5"/>
|
---|
67 | </para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
70 | <para role="optional">
|
---|
71 | <xref linkend="qjson"/> (for building the test suite) and
|
---|
72 | <xref linkend="doxygen"/> (for building the API documentation)
|
---|
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 | <!--
|
---|
83 | <para>Install the qt4 based version of
|
---|
84 | <application>libdbusmenu-qt</application> by running the following
|
---|
85 | commands:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>mkdir build &&
|
---|
88 | cd build &&
|
---|
89 |
|
---|
90 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
91 | -DCMAKE_BUILD_TYPE=Release \
|
---|
92 | -DUSE_QT4=TRUE \
|
---|
93 | -DWITH_DOC=OFF \
|
---|
94 | -Wno-dev .. &&
|
---|
95 | make</userinput></screen>
|
---|
96 |
|
---|
97 | <para>To test the results
|
---|
98 | (<xref linkend="qjson"/> must be installed),
|
---|
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>
|
---|
123 | To test the results (<xref linkend="qjson"/> must be installed),
|
---|
124 | issue: <command>make -k check</command>. One test is known to fail.
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
128 |
|
---|
129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="commands">
|
---|
134 | <title>Command Explanations</title>
|
---|
135 |
|
---|
136 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
---|
137 | build without debugging symbols and apply a higher level of compiler
|
---|
138 | optimizations.</para>
|
---|
139 | <!--
|
---|
140 | <para><option>-DUSE_QT4=TRUE</option>: This switch is used to ensure that
|
---|
141 | Qt4 version of the library is built even if Qt5 is present.</para>
|
---|
142 | -->
|
---|
143 | <para><option>-DWITH_DOC=OFF</option>: This option is set to avoid building
|
---|
144 | the API documentation. Omit it if you have <application>doxygen</application>
|
---|
145 | installed and want the documentation.</para>
|
---|
146 |
|
---|
147 | </sect2>
|
---|
148 |
|
---|
149 | <sect2 role="content">
|
---|
150 | <title>Contents</title>
|
---|
151 |
|
---|
152 | <segmentedlist>
|
---|
153 | <segtitle>Installed Programs</segtitle>
|
---|
154 | <segtitle>Installed Library</segtitle>
|
---|
155 | <segtitle>Installed Directory</segtitle>
|
---|
156 |
|
---|
157 | <seglistitem>
|
---|
158 | <seg>None</seg>
|
---|
159 | <seg>libdbusmenu-qt5.so</seg>
|
---|
160 | <seg>/usr/lib/cmake/dbusmenu-qt5 and
|
---|
161 | /usr/include/dbusmenu-qt5</seg>
|
---|
162 | </seglistitem>
|
---|
163 | </segmentedlist>
|
---|
164 | <!--
|
---|
165 | <variablelist>
|
---|
166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
167 | <?dbfo list-presentation="list"?>
|
---|
168 | <?dbhtml list-presentation="table"?>
|
---|
169 |
|
---|
170 | <varlistentry id="a-automoc4">
|
---|
171 | <term><command>automoc4</command></term>
|
---|
172 | <listitem>
|
---|
173 | <para>is a testing utility for libdbusmenu-qt-generated build trees.</para>
|
---|
174 | <indexterm zone="a-automoc4 automoc4">
|
---|
175 | <primary sortas="b-automoc4">automoc4</primary>
|
---|
176 | </indexterm>
|
---|
177 | </listitem>
|
---|
178 | </varlistentry>
|
---|
179 |
|
---|
180 | </variablelist>
|
---|
181 | -->
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | </sect1>
|
---|