1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 menu-cache-download-http "&sourceforge-dl;/lxde/menu-cache-&menu-cache-version;.tar.xz">
|
---|
8 | <!ENTITY menu-cache-download-ftp " ">
|
---|
9 | <!ENTITY menu-cache-md5sum "99999a0bca48b980105208760c8fd893">
|
---|
10 | <!ENTITY menu-cache-size "260 KB">
|
---|
11 | <!ENTITY menu-cache-buildsize "3.7 MB">
|
---|
12 | <!ENTITY menu-cache-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="menu-cache" xreflabel="menu-cache-&menu-cache-version;">
|
---|
16 | <?dbhtml filename="menu-cache.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>menu-cache-&menu-cache-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="menu-cache">
|
---|
22 | <primary sortas="a-menu-cache">menu-cache</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Menu Cache</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>Menu Cache</application> package contains a
|
---|
30 | library for creating and utilizing caches to speed up the
|
---|
31 | manipulation for freedesktop.org defined application menus.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&menu-cache-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&menu-cache-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &menu-cache-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &menu-cache-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &menu-cache-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &menu-cache-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
71 | <itemizedlist spacing="compact">
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Required patch:
|
---|
75 | <ulink url="&patch-root;/menu-cache-&menu-cache-version;-consolidated_fixes-1.patch"/>
|
---|
76 | </para>
|
---|
77 | </listitem>
|
---|
78 | </itemizedlist>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect3">Menu Cache Dependencies</bridgehead>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
83 | <para role="required">
|
---|
84 | <xref linkend="libfm-extra"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="gtk-doc"/> and
|
---|
90 | <xref linkend="xdg-utils"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of Menu Cache</title>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | First fix a memory leak and <quote>multiple definitions</quote>
|
---|
100 | issues:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen><userinput>patch -Np1 -i ../menu-cache-&menu-cache-version;-consolidated_fixes-1.patch</userinput></screen>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | Install <application>Menu Cache</application> by running the following
|
---|
107 | commands:
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <screen><userinput>./configure --prefix=/usr \
|
---|
111 | --disable-static &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | This package does not come with a test suite.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="commands">
|
---|
127 | <title>Command Explanations</title>
|
---|
128 |
|
---|
129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
130 | href="../../xincludes/static-libraries.xml"/>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | <option>--enable-gtk-doc</option>: Use this option if
|
---|
134 | <application>GTK-Doc</application> is installed and you wish to build and
|
---|
135 | install the API documentation.
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="content">
|
---|
141 | <title>Contents</title>
|
---|
142 |
|
---|
143 | <segmentedlist>
|
---|
144 | <segtitle>Installed Programs</segtitle>
|
---|
145 | <segtitle>Installed Library</segtitle>
|
---|
146 | <segtitle>Installed Directories</segtitle>
|
---|
147 |
|
---|
148 | <seglistitem>
|
---|
149 | <seg>
|
---|
150 | None
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | libmenu-cache.so
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | /usr/{include,libexec,share/gtk-doc/html}/menu-cache
|
---|
157 | </seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="libmenu-cache">
|
---|
167 | <term><filename class="libraryfile">libmenu-cache.so</filename></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | contains the <application>menu-cache</application> API functions
|
---|
171 | </para>
|
---|
172 | <indexterm zone="menu-cache libmenu-cache">
|
---|
173 | <primary sortas="c-libmenu-cache">libmenu-cache.so</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | </variablelist>
|
---|
179 |
|
---|
180 | </sect2>
|
---|
181 |
|
---|
182 | </sect1>
|
---|