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 gnome-menus-download-http "&gnome-download-http;/gnome-menus/&gnome-version;/gnome-menus-&gnome-menus-version;.tar.xz">
|
---|
8 | <!ENTITY gnome-menus-download-ftp "&gnome-download-ftp;/gnome-menus/&gnome-version;/gnome-menus-&gnome-menus-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-menus-md5sum "74ce29e3b30584498cc29287ae049068">
|
---|
10 | <!ENTITY gnome-menus-size "393 KB">
|
---|
11 | <!ENTITY gnome-menus-buildsize "9.9 MB">
|
---|
12 | <!ENTITY gnome-menus-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gnome-menus" xreflabel="gnome-menus-&gnome-menus-version;">
|
---|
16 | <?dbhtml filename="gnome-menus.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>gnome-menus-&gnome-menus-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="gnome-menus">
|
---|
26 | <primary sortas="a-Gnome-menus">Gnome-menus</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to gnome-menus</title>
|
---|
31 |
|
---|
32 | <para>The <application>gnome-menus</application> package contains an
|
---|
33 | implementation of the draft <quote>Desktop Menu Specification</quote>
|
---|
34 | from freedesktop.org (<ulink
|
---|
35 | url="http://www.freedesktop.org/Standards/menu-spec"/>). Also contained
|
---|
36 | are the <application>GNOME</application> menu layout configuration files,
|
---|
37 | <filename>.directory</filename> files and a menu related utility
|
---|
38 | program.</para>
|
---|
39 |
|
---|
40 | &lfs70_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>Download (HTTP): <ulink url="&gnome-menus-download-http;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download (FTP): <ulink url="&gnome-menus-download-ftp;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download MD5 sum: &gnome-menus-md5sum;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download size: &gnome-menus-size;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated disk space required: &gnome-menus-buildsize;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Estimated build time: &gnome-menus-time;</para>
|
---|
61 | </listitem>
|
---|
62 | </itemizedlist>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect3">gnome-menus Dependencies</bridgehead>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
67 | <para role="required"><xref linkend="glib2"/>,
|
---|
68 | <xref linkend="intltool"/>, and
|
---|
69 | <xref linkend="python2"/></para>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
72 | <para role="optional"><xref linkend="gobject-introspection"/></para>
|
---|
73 |
|
---|
74 | <para condition="html" role="usernotes">User Notes:
|
---|
75 | <ulink url="&blfs-wiki;/gnome-menus"/></para>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of gnome-menus</title>
|
---|
81 |
|
---|
82 | <para>Install <application>gnome-menus</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>./configure --prefix=$GNOME_PREFIX \
|
---|
86 | --sysconfdir=$GNOME_SYSCONFDIR &&
|
---|
87 | make</userinput></screen>
|
---|
88 |
|
---|
89 | <para>This package does not come with a test suite.</para>
|
---|
90 |
|
---|
91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
92 |
|
---|
93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="commands">
|
---|
98 | <title>Command Explanations</title>
|
---|
99 |
|
---|
100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
101 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
102 |
|
---|
103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
104 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
105 |
|
---|
106 | <para><option>--enable-static=no</option>: This switch prevents the static
|
---|
107 | libraries being installed.</para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="configuration">
|
---|
112 | <title>Configuring gnome-menus</title>
|
---|
113 |
|
---|
114 | <sect3>
|
---|
115 | <title>Configuration Information</title>
|
---|
116 |
|
---|
117 | <sect4>
|
---|
118 | <title>XDG_CONFIG_DIRS Variable</title>
|
---|
119 |
|
---|
120 | <para>So that <application>GNOME</application> can find the desktop
|
---|
121 | configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
|
---|
122 | environment variable in the individual user's profiles, or in the system
|
---|
123 | profile (use this option if you will be running
|
---|
124 | <application>GDM</application>) as shown below (you may add additional
|
---|
125 | directories, separated with colons, if desired):</para>
|
---|
126 |
|
---|
127 | <screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg" \
|
---|
128 | > /etc/profile.d/gnome.sh</userinput></screen>
|
---|
129 |
|
---|
130 | </sect4>
|
---|
131 |
|
---|
132 | <sect4>
|
---|
133 | <title>XDG_DATA_DIRS Variable</title>
|
---|
134 |
|
---|
135 | <para>So that <application>GNOME</application> can find the data
|
---|
136 | to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
|
---|
137 | environment variable in the individual user's profiles, or in the system
|
---|
138 | profile as shown below (you may add additional directories, separated
|
---|
139 | with colons, if desired):</para>
|
---|
140 |
|
---|
141 | <screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
|
---|
142 | /usr/share:/usr/local/share" >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
143 |
|
---|
144 | </sect4>
|
---|
145 |
|
---|
146 | <sect4>
|
---|
147 | <title>PYTHONPATH Variable</title>
|
---|
148 |
|
---|
149 | <para>If your <application>GNOME</application> installation prefix is
|
---|
150 | anything other than <filename class='directory'>/usr</filename>
|
---|
151 | you need to update the
|
---|
152 | <envar>PYTHONPATH</envar> environment variable so that the
|
---|
153 | <filename>gmenu</filename> module can be located by
|
---|
154 | <application>Python</application>. Set the variable in the system
|
---|
155 | profile, or in individual user's profiles as shown below:</para>
|
---|
156 |
|
---|
157 | <screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$GNOME_PREFIX/lib/python&python2-majorver;/site-packages/GMenuSimpleEditor" \
|
---|
158 | >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
159 |
|
---|
160 | </sect4>
|
---|
161 |
|
---|
162 | </sect3>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | <sect2 role="content">
|
---|
167 | <title>Contents</title>
|
---|
168 |
|
---|
169 | <segmentedlist>
|
---|
170 | <segtitle>Installed Program</segtitle>
|
---|
171 | <segtitle>Installed Libraries</segtitle>
|
---|
172 | <segtitle>Installed Directories</segtitle>
|
---|
173 |
|
---|
174 | <seglistitem>
|
---|
175 | <seg>gmenu-simple-editor</seg>
|
---|
176 | <seg>gmenu.{so,a} and libgnome-menu.{so,a}</seg>
|
---|
177 | <seg><envar>$GNOME_SYSCONFDIR</envar>/xdg/menus,
|
---|
178 | <envar>$GNOME_PREFIX</envar>/{include/gnome-menus,
|
---|
179 | lib/python&python2-majorver;/site-packages/GMenuSimpleEditor,
|
---|
180 | share/{desktop-directories,gnome-menus/{examples,ui},
|
---|
181 | locale/{dv/LC_MESSAGES,gn/LC_MESSAGES,gv/LC_MESSAGES,
|
---|
182 | ha/LC_MESSAGES}}}</seg>
|
---|
183 | </seglistitem>
|
---|
184 | </segmentedlist>
|
---|
185 |
|
---|
186 | <variablelist>
|
---|
187 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
188 | <?dbfo list-presentation="list"?>
|
---|
189 | <?dbhtml list-presentation="table"?>
|
---|
190 |
|
---|
191 | <varlistentry id="gmenu-simple-editor">
|
---|
192 | <term><command>gmenu-simple-editor</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>is a simple front-end script to the
|
---|
195 | <application>Python</application> Gmenu Simple Editor module</para>
|
---|
196 | <indexterm zone="gnome-menus gmenu-simple-editor">
|
---|
197 | <primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
|
---|
198 | </indexterm>
|
---|
199 | </listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | <varlistentry id="gmenu">
|
---|
203 | <term><filename class='libraryfile'>gmenu.{so,a}</filename></term>
|
---|
204 | <listitem>
|
---|
205 | <para>is a <application>Python</application> library.</para>
|
---|
206 | <indexterm zone="gnome-menus gmenu">
|
---|
207 | <primary sortas="c-gmenu">gmenu.{so,a}</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="libgnome-menu">
|
---|
213 | <term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
|
---|
214 | <listitem>
|
---|
215 | <para>contains functions required to support GNOME's implementation
|
---|
216 | of the Desktop Menu Specification.</para>
|
---|
217 | <indexterm zone="gnome-menus libgnome-menu">
|
---|
218 | <primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | </variablelist>
|
---|
224 |
|
---|
225 | </sect2>
|
---|
226 |
|
---|
227 | </sect1>
|
---|