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://anduin.linuxfromscratch.org/sources/other/libdbusmenu-qt-&libdbusmenu-qt-version;.tar.xz">
|
---|
8 | <!ENTITY libdbusmenu-qt-download-ftp " ">
|
---|
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">
|
---|
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 | &lfs77_checked; &gcc5_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 | (<ulink url="http://qjson.sourceforge.net/">QJson</ulink> 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>The qt5 version of this package does not have a working test suite.
|
---|
123 | </para>
|
---|
124 |
|
---|
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>
|
---|
130 |
|
---|
131 | <sect2 role="commands">
|
---|
132 | <title>Command Explanations</title>
|
---|
133 |
|
---|
134 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
---|
135 | build without debugging symbols and apply a higher level of compiler
|
---|
136 | optimizations.</para>
|
---|
137 |
|
---|
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 |
|
---|
141 | <para><option>-DWITH_DOC=OFF</option>: This option is set to avoid building
|
---|
142 | the API documentation. Omit it if you have <application>doxygen</application>
|
---|
143 | installed and want the documentation.</para>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="content">
|
---|
148 | <title>Contents</title>
|
---|
149 |
|
---|
150 | <segmentedlist>
|
---|
151 | <segtitle>Installed Programs</segtitle>
|
---|
152 | <segtitle>Installed Library</segtitle>
|
---|
153 | <segtitle>Installed Directory</segtitle>
|
---|
154 |
|
---|
155 | <seglistitem>
|
---|
156 | <seg>None</seg>
|
---|
157 | <seg>libdbusmenu-qt.so and libdbusmenu-qt5.so</seg>
|
---|
158 | <seg>/usr/include/dbusmenu-qt and
|
---|
159 | /usr/include/dbusmenu-qt5</seg>
|
---|
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>
|
---|