source: gnome/core/gnome-menus.xml@ 4a96d460

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 4a96d460 was 4a96d460, checked in by Randy McMurchy <randy@…>, 13 years ago

Added installing the environment variable PYTHONPATH to the GNOME Pre-Installation tasks, also changed hardcoded Python version instances to use an existing entity

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

  • Property mode set to 100644
File size: 7.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 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 "5ca9935f50c939881689c48f59348426">
10 <!ENTITY gnome-menus-size "453 KB">
11 <!ENTITY gnome-menus-buildsize "8 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 &lfs65_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="python"/></para>
70
71 <para condition="html" role="usernotes">User Notes:
72 <ulink url="&blfs-wiki;/gnome-menus"/></para>
73
74 </sect2>
75
76 <sect2 role="installation">
77 <title>Installation of gnome-menus</title>
78
79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
80 href="../../xincludes/without-gnome.xml"/>
81
82 <para>Install <application>gnome-menus</application> by running the
83 following commands:</para>
84
85<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
86 --sysconfdir=&gnome-etc-dir; &amp;&amp;
87make</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 </sect2>
107
108 <sect2 role="configuration">
109 <title>Configuring gnome-menus</title>
110
111 <sect3>
112 <title>Configuration Information</title>
113
114 <sect4>
115 <title>XDG_CONFIG_DIRS Variable</title>
116
117 <para>So that <application>GNOME</application> can find the desktop
118 configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
119 environment variable in the individual user's profiles, or in the system
120 profile (use this option if you will be running
121 <application>GDM</application>) as shown below (you may add additional
122 directories, separated with colons, if desired):</para>
123
124<screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg" \
125&gt; /etc/profile.d/gnome.sh</userinput></screen>
126
127 </sect4>
128
129 <sect4>
130 <title>XDG_DATA_DIRS Variable</title>
131
132 <para>So that <application>GNOME</application> can find the data
133 to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
134 environment variable in the individual user's profiles, or in the system
135 profile as shown below (you may add additional directories, separated
136 with colons, if desired):</para>
137
138<screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
139/usr/share:/usr/local/share" &gt;&gt; /etc/profile.d/gnome.sh</userinput></screen>
140
141 </sect4>
142
143 <sect4>
144 <title>PYTHONPATH Variable</title>
145
146 <para>If your <application>GNOME</application> installation prefix is
147 anything other than <filename class='directory'>/usr</filename> and you
148 have <application>Python</application> installed, you need to update the
149 <envar>PYTHONPATH</envar> environment variable so that the
150 <filename>gmenu</filename> module can be located by
151 <application>Python</application>. Set the variable in the system
152 profile, or in individual user's profiles as shown below:</para>
153
154<screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$(pkg-config \
155--variable=prefix ORBit-2.0)/lib/python&python-majorver;/site-packages/GMenuSimpleEditor" \
156&gt;&gt; /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 lib/python&python-majorver;/site-packages/GMenuSimpleEditor,
178 share/{desktop-directories,gnome-menus/{examples,ui}}}</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>
Note: See TracBrowser for help on using the repository browser.