[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 |
|
---|
[c0b8b2b] | 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">
|
---|
[be8f859] | 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 |
|
---|
[c0b8b2b] | 40 | &lfs70_checked;
|
---|
[be8f859] | 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
|
---|
[4716d52] | 69 | <xref linkend="python2"/></para>
|
---|
[991819f4] | 70 |
|
---|
[c0b8b2b] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="optional"><xref linkend="gobject-introspection"/></para>
|
---|
| 73 |
|
---|
[0a7c3921] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url="&blfs-wiki;/gnome-menus"/></para>
|
---|
| 76 |
|
---|
[991819f4] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
[0c4e116] | 80 | <title>Installation of gnome-menus</title>
|
---|
| 81 |
|
---|
[c0b8b2b] | 82 | <para>Install <application>gnome-menus</application> by running the following
|
---|
| 83 | commands:</para>
|
---|
[991819f4] | 84 |
|
---|
[c0b8b2b] | 85 | <screen><userinput>./configure --prefix=$GNOME_PREFIX \
|
---|
| 86 | --sysconfdir=$GNOME_SYSCONFDIR &&
|
---|
[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 |
|
---|
[c0b8b2b] | 106 | <para><option>--enable-static=no</option>: This switch prevents the static
|
---|
| 107 | libraries being installed.</para>
|
---|
| 108 |
|
---|
[991819f4] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="configuration">
|
---|
[0c4e116] | 112 | <title>Configuring gnome-menus</title>
|
---|
[991819f4] | 113 |
|
---|
| 114 | <sect3>
|
---|
| 115 | <title>Configuration Information</title>
|
---|
| 116 |
|
---|
[551b9389] | 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>
|
---|
[2b60acc] | 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>
|
---|
[991819f4] | 126 |
|
---|
[c0b8b2b] | 127 | <screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg" \
|
---|
[2b60acc] | 128 | > /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[99c190b] | 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>
|
---|
[2b60acc] | 137 | environment variable in the individual user's profiles, or in the system
|
---|
| 138 | profile as shown below (you may add additional directories, separated
|
---|
[99c190b] | 139 | with colons, if desired):</para>
|
---|
| 140 |
|
---|
[2b60acc] | 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>
|
---|
[991819f4] | 143 |
|
---|
[551b9389] | 144 | </sect4>
|
---|
| 145 |
|
---|
| 146 | <sect4>
|
---|
| 147 | <title>PYTHONPATH Variable</title>
|
---|
| 148 |
|
---|
[2b60acc] | 149 | <para>If your <application>GNOME</application> installation prefix is
|
---|
[c0b8b2b] | 150 | anything other than <filename class='directory'>/usr</filename>
|
---|
| 151 | you need to update the
|
---|
[551b9389] | 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 |
|
---|
[c0b8b2b] | 157 | <screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$GNOME_PREFIX/lib/python&python2-majorver;/site-packages/GMenuSimpleEditor" \
|
---|
[2b60acc] | 158 | >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[551b9389] | 159 |
|
---|
| 160 | </sect4>
|
---|
| 161 |
|
---|
[991819f4] | 162 | </sect3>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
[0e285e4] | 170 | <segtitle>Installed Program</segtitle>
|
---|
| 171 | <segtitle>Installed Libraries</segtitle>
|
---|
[991819f4] | 172 | <segtitle>Installed Directories</segtitle>
|
---|
| 173 |
|
---|
| 174 | <seglistitem>
|
---|
[0e285e4] | 175 | <seg>gmenu-simple-editor</seg>
|
---|
[c0b8b2b] | 176 | <seg>gmenu.{so,a} and libgnome-menu.{so,a}</seg>
|
---|
| 177 | <seg><envar>$GNOME_SYSCONFDIR</envar>/xdg/menus,
|
---|
[0e285e4] | 178 | <envar>$GNOME_PREFIX</envar>/{include/gnome-menus,
|
---|
[b88be39] | 179 | lib/python&python2-majorver;/site-packages/GMenuSimpleEditor,
|
---|
[c0b8b2b] | 180 | share/{desktop-directories,gnome-menus/{examples,ui},
|
---|
| 181 | locale/{dv/LC_MESSAGES,gn/LC_MESSAGES,gv/LC_MESSAGES,
|
---|
| 182 | ha/LC_MESSAGES}}}</seg>
|
---|
[991819f4] | 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 |
|
---|
[a6bee1f] | 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 |
|
---|
[c0b8b2b] | 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 |
|
---|
[991819f4] | 212 | <varlistentry id="libgnome-menu">
|
---|
[0a7c3921] | 213 | <term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
|
---|
[991819f4] | 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">
|
---|
[0a7c3921] | 218 | <primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
|
---|
[991819f4] | 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | </variablelist>
|
---|
| 224 |
|
---|
| 225 | </sect2>
|
---|
[b3c19135] | 226 |
|
---|
| 227 | </sect1>
|
---|