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