source: gnome/core/gnome-menus.xml@ 9fd3676e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9fd3676e was 88d63be, checked in by Wayne Blaszczyk <wblaszcz@…>, 15 years ago

Updated to gnome-menus-2.28.0.1

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

  • Property mode set to 100644
File size: 8.4 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 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"/> and
66 <xref linkend="perl-xml-parser"/></para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional"><xref linkend="python"/>,
70 <xref linkend="gamin"/>, and
71 <xref linkend="intltool"/></para>
72
73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/gnome-menus"/></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of gnome-menus</title>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../../xincludes/without-gnome.xml"/>
83
84 <para>Install <application>gnome-menus</application> by running the
85 following commands:</para>
86
87<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
88 --sysconfdir=&gnome-etc-dir; \
89 --enable-inotify &amp;&amp;
90make</userinput></screen>
91
92 <para>This package does not come with a test suite.</para>
93
94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
95
96<screen role="root"><userinput>make install</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../../xincludes/gnome-prefix.xml"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../../xincludes/gnome-sysconfdir.xml"/>
108
109 <para><parameter>--enable-inotify</parameter>: This parameter is used so
110 that file polling is accomplished using the kernel inotify calls, instead
111 of using other polling methods. Remove this parameter if you wish to fall
112 back to <application>Gamin</application> as the file polling method.</para>
113
114 </sect2>
115
116 <sect2 role="configuration">
117 <title>Configuring gnome-menus</title>
118
119 <sect3>
120 <title>Configuration Information</title>
121
122 <sect4>
123 <title>XDG_CONFIG_DIRS Variable</title>
124
125 <para>So that <application>GNOME</application> can find the desktop
126 configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
127 environment variable in the individual user's profiles, or in the system
128 profile (use this option if you will be running
129 <application>GDM</application>) as shown below (you may add additional
130 directories, separated with colons, if desired):</para>
131
132<screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg" \
133&gt; /etc/profile.d/gnome.sh</userinput></screen>
134
135 </sect4>
136
137 <sect4>
138 <title>XDG_DATA_DIRS Variable</title>
139
140 <para>So that <application>GNOME</application> can find the data
141 to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
142 environment variable in the individual user's profiles, or in the system
143 profile as shown below (you may add additional directories, separated
144 with colons, if desired):</para>
145
146<screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
147/usr/share:/usr/local/share" &gt;&gt; /etc/profile.d/gnome.sh</userinput></screen>
148
149 </sect4>
150
151 <sect4>
152 <title>PYTHONPATH Variable</title>
153
154 <para>If your <application>GNOME</application> installation prefix is
155 anything other than <filename class='directory'>/usr</filename> and you
156 have <application>Python</application> installed, you need to update the
157 <envar>PYTHONPATH</envar> environment variable so that the
158 <filename>gmenu</filename> module can be located by
159 <application>Python</application>. Set the variable in the system
160 profile, or in individual user's profiles as shown below:</para>
161
162<screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$(pkg-config \
163--variable=prefix ORBit-2.0)/lib/python2.6/site-packages:$(pkg-config \
164--variable=prefix ORBit-2.0)/lib/python2.6/site-packages/GMenuSimpleEditor" \
165&gt;&gt; /etc/profile.d/gnome.sh</userinput></screen>
166
167 </sect4>
168
169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Program</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>gmenu-simple-editor</seg>
183 <seg>libgnome-menu.{so,a} and gmenu.{so,a}</seg>
184 <seg>&gnome-etc-dir;/xdg/menus,
185 <envar>$GNOME_PREFIX</envar>/{include/gnome-menus,
186 share/{desktop-directories,gnome-menus/{examples,glade}},
187 lib/python&python-majorver;/site-packages/GMenuSimpleEditor}</seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="gmenu-simple-editor">
197 <term><command>gmenu-simple-editor</command></term>
198 <listitem>
199 <para>is a simple front-end script to the
200 <application>Python</application> Gmenu Simple Editor module</para>
201 <indexterm zone="gnome-menus gmenu-simple-editor">
202 <primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="libgnome-menu">
208 <term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
209 <listitem>
210 <para>contains functions required to support GNOME's implementation
211 of the Desktop Menu Specification.</para>
212 <indexterm zone="gnome-menus libgnome-menu">
213 <primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="gmenu">
219 <term><filename class='libraryfile'>gmenu.{so,a}</filename></term>
220 <listitem>
221 <para>is a <application>Python</application> library.</para>
222 <indexterm zone="gnome-menus gmenu">
223 <primary sortas="c-gmenu">gmenu.{so,a}</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 </variablelist>
229
230 </sect2>
231
232</sect1>
Note: See TracBrowser for help on using the repository browser.