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.</para>
|
---|
34 |
|
---|
35 | &lfs7a_checked;
|
---|
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">
|
---|
63 | <xref linkend="qt5"/>
|
---|
64 | </para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
67 | <para role="optional">
|
---|
68 | <xref linkend="doxygen"/> (for building the API documentation)
|
---|
69 | </para>
|
---|
70 |
|
---|
71 | <para condition="html" role="usernotes">User Notes:
|
---|
72 | <ulink url="&blfs-wiki;/libdbusmenu-qt"/></para>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2 role="installation">
|
---|
77 | <title>Installation of libdbusmenu-qt</title>
|
---|
78 |
|
---|
79 | <para>Install <application>libdbusmenu-qt</application> by running the
|
---|
80 | following commands:</para>
|
---|
81 |
|
---|
82 | <screen><userinput>mkdir build &&
|
---|
83 | cd build &&
|
---|
84 |
|
---|
85 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
86 | -DCMAKE_BUILD_TYPE=Release \
|
---|
87 | -DWITH_DOC=OFF \
|
---|
88 | -Wno-dev .. &&
|
---|
89 | make</userinput></screen>
|
---|
90 |
|
---|
91 | <!--
|
---|
92 | <para>
|
---|
93 | To test the results (<xref linkend="qjson"/> must be installed),
|
---|
94 | issue: <command>make -k check</command>. One test is known to fail.
|
---|
95 | </para>
|
---|
96 | -->
|
---|
97 |
|
---|
98 | <para>This packages doe not come with a working test suite.</para>
|
---|
99 |
|
---|
100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
101 |
|
---|
102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="commands">
|
---|
107 | <title>Command Explanations</title>
|
---|
108 |
|
---|
109 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
---|
110 | build without debugging symbols and apply a higher level of compiler
|
---|
111 | optimizations.</para>
|
---|
112 | <!--
|
---|
113 | <para><option>-DUSE_QT4=TRUE</option>: This switch is used to ensure that
|
---|
114 | Qt4 version of the library is built even if Qt5 is present.</para>
|
---|
115 | -->
|
---|
116 | <para><option>-DWITH_DOC=OFF</option>: This option is set to avoid building
|
---|
117 | the API documentation. Omit it if you have <application>doxygen</application>
|
---|
118 | installed and want the documentation.</para>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="content">
|
---|
123 | <title>Contents</title>
|
---|
124 |
|
---|
125 | <segmentedlist>
|
---|
126 | <segtitle>Installed Programs</segtitle>
|
---|
127 | <segtitle>Installed Library</segtitle>
|
---|
128 | <segtitle>Installed Directory</segtitle>
|
---|
129 |
|
---|
130 | <seglistitem>
|
---|
131 | <seg>None</seg>
|
---|
132 | <seg>libdbusmenu-qt5.so</seg>
|
---|
133 | <seg>/usr/lib/cmake/dbusmenu-qt5 and
|
---|
134 | /usr/include/dbusmenu-qt5</seg>
|
---|
135 | </seglistitem>
|
---|
136 | </segmentedlist>
|
---|
137 | <!--
|
---|
138 | <variablelist>
|
---|
139 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
140 | <?dbfo list-presentation="list"?>
|
---|
141 | <?dbhtml list-presentation="table"?>
|
---|
142 |
|
---|
143 | <varlistentry id="a-automoc4">
|
---|
144 | <term><command>automoc4</command></term>
|
---|
145 | <listitem>
|
---|
146 | <para>is a testing utility for libdbusmenu-qt-generated build trees.</para>
|
---|
147 | <indexterm zone="a-automoc4 automoc4">
|
---|
148 | <primary sortas="b-automoc4">automoc4</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | </variablelist>
|
---|
154 | -->
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | </sect1>
|
---|