[b3c19135] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b3c19135] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[be8f859] | 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">
|
---|
[b3c19135] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gnome-menus" xreflabel="gnome-menus-&gnome-menus-version;">
|
---|
[991819f4] | 16 | <?dbhtml filename="gnome-menus.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[0c4e116] | 23 | <title>gnome-menus-&gnome-menus-version;</title>
|
---|
[991819f4] | 24 |
|
---|
| 25 | <indexterm zone="gnome-menus">
|
---|
| 26 | <primary sortas="a-Gnome-menus">Gnome-menus</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[0c4e116] | 30 | <title>Introduction to gnome-menus</title>
|
---|
[991819f4] | 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 |
|
---|
[be8f859] | 40 | &lfs65_checked;
|
---|
| 41 |
|
---|
[991819f4] | 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 |
|
---|
[0c4e116] | 64 | <bridgehead renderas="sect3">gnome-menus Dependencies</bridgehead>
|
---|
[991819f4] | 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[99cb2b3] | 67 | <para role="required"><xref linkend="glib2"/>,
|
---|
[be8f859] | 68 | <xref linkend="intltool"/>, and
|
---|
[99cb2b3] | 69 | <xref linkend="python"/></para>
|
---|
[991819f4] | 70 |
|
---|
[0a7c3921] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/gnome-menus"/></para>
|
---|
| 73 |
|
---|
[991819f4] | 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
[0c4e116] | 77 | <title>Installation of gnome-menus</title>
|
---|
| 78 |
|
---|
[e05cd03f] | 79 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 80 | href="../../xincludes/without-gnome.xml"/>
|
---|
[991819f4] | 81 |
|
---|
| 82 | <para>Install <application>gnome-menus</application> by running the
|
---|
| 83 | following commands:</para>
|
---|
| 84 |
|
---|
[a6bee1f] | 85 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
[f9a051f9] | 86 | --sysconfdir=&gnome-etc-dir; &&
|
---|
[991819f4] | 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 |
|
---|
[551b9389] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="commands">
|
---|
| 98 | <title>Command Explanations</title>
|
---|
| 99 |
|
---|
[e05cd03f] | 100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 101 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 102 |
|
---|
[e05cd03f] | 103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 104 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
[0c4e116] | 105 |
|
---|
[991819f4] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="configuration">
|
---|
[0c4e116] | 109 | <title>Configuring gnome-menus</title>
|
---|
[991819f4] | 110 |
|
---|
| 111 | <sect3>
|
---|
| 112 | <title>Configuration Information</title>
|
---|
| 113 |
|
---|
[551b9389] | 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>
|
---|
[2b60acc] | 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>
|
---|
[991819f4] | 123 |
|
---|
[2b60acc] | 124 | <screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg" \
|
---|
| 125 | > /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[99c190b] | 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>
|
---|
[2b60acc] | 134 | environment variable in the individual user's profiles, or in the system
|
---|
| 135 | profile as shown below (you may add additional directories, separated
|
---|
[99c190b] | 136 | with colons, if desired):</para>
|
---|
| 137 |
|
---|
[2b60acc] | 138 | <screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
|
---|
| 139 | /usr/share:/usr/local/share" >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[991819f4] | 140 |
|
---|
[551b9389] | 141 | </sect4>
|
---|
| 142 |
|
---|
| 143 | <sect4>
|
---|
| 144 | <title>PYTHONPATH Variable</title>
|
---|
| 145 |
|
---|
[2b60acc] | 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
|
---|
[551b9389] | 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 |
|
---|
[2b60acc] | 154 | <screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$(pkg-config \
|
---|
[b88be39] | 155 | --variable=prefix ORBit-2.0)/lib/python&python2-majorver;/site-packages/GMenuSimpleEditor" \
|
---|
[2b60acc] | 156 | >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[551b9389] | 157 |
|
---|
| 158 | </sect4>
|
---|
| 159 |
|
---|
[991819f4] | 160 | </sect3>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="content">
|
---|
| 165 | <title>Contents</title>
|
---|
| 166 |
|
---|
| 167 | <segmentedlist>
|
---|
[0e285e4] | 168 | <segtitle>Installed Program</segtitle>
|
---|
| 169 | <segtitle>Installed Libraries</segtitle>
|
---|
[991819f4] | 170 | <segtitle>Installed Directories</segtitle>
|
---|
| 171 |
|
---|
| 172 | <seglistitem>
|
---|
[0e285e4] | 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,
|
---|
[b88be39] | 177 | lib/python&python2-majorver;/site-packages/GMenuSimpleEditor,
|
---|
[be8f859] | 178 | share/{desktop-directories,gnome-menus/{examples,ui}}}</seg>
|
---|
[991819f4] | 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 |
|
---|
[a6bee1f] | 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 |
|
---|
[991819f4] | 198 | <varlistentry id="libgnome-menu">
|
---|
[0a7c3921] | 199 | <term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
|
---|
[991819f4] | 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">
|
---|
[0a7c3921] | 204 | <primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
|
---|
[991819f4] | 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
[0e285e4] | 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 |
|
---|
[991819f4] | 219 | </variablelist>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
[b3c19135] | 222 |
|
---|
| 223 | </sect1>
|
---|