source: kde/libdbusmenuqt.xml@ 523c6e9

10.0 10.1 11.0 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus nosym perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 523c6e9 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 6 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16645 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
Line 
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 "&sources-anduin-http;/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 &lfs78_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 &amp;&amp;
88cd build &amp;&amp;
89
90cmake -DCMAKE_INSTALL_PREFIX=/usr \
91 -DCMAKE_BUILD_TYPE=Release \
92 -DUSE_QT4=TRUE \
93 -DWITH_DOC=OFF \
94 -Wno-dev .. &amp;&amp;
95make</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 &amp;&amp;
114cd build &amp;&amp;
115
116cmake -DCMAKE_INSTALL_PREFIX=/usr \
117 -DCMAKE_BUILD_TYPE=Release \
118 -DWITH_DOC=OFF \
119 -Wno-dev .. &amp;&amp;
120make</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>
Note: See TracBrowser for help on using the repository browser.