[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 |
|
---|
[e9039e4] | 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">
|
---|
[65ed5cb] | 9 | <!ENTITY gnome-menus-md5sum "e2b97b01b33b9744baf26982a8ad588a">
|
---|
| 10 | <!ENTITY gnome-menus-size "437 KB">
|
---|
| 11 | <!ENTITY gnome-menus-buildsize "8 MB">
|
---|
[e8c3fffb] | 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 |
|
---|
| 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 |
|
---|
[0c4e116] | 62 | <bridgehead renderas="sect3">gnome-menus Dependencies</bridgehead>
|
---|
[991819f4] | 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b22e19bf] | 65 | <para role="required"><xref linkend="glib2"/> and
|
---|
[e9039e4] | 66 | <xref linkend="perl-xml-parser"/></para>
|
---|
[0c4e116] | 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a6bee1f] | 69 | <para role="optional"><xref linkend="python"/>,
|
---|
| 70 | <xref linkend="gamin"/>, and
|
---|
| 71 | <xref linkend="intltool"/></para>
|
---|
[991819f4] | 72 |
|
---|
[0a7c3921] | 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/gnome-menus"/></para>
|
---|
| 75 |
|
---|
[991819f4] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
[0c4e116] | 79 | <title>Installation of gnome-menus</title>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 82 | href="../../xincludes/without-gnome.xml"/>
|
---|
[991819f4] | 83 |
|
---|
| 84 | <para>Install <application>gnome-menus</application> by running the
|
---|
| 85 | following commands:</para>
|
---|
| 86 |
|
---|
[a6bee1f] | 87 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
[65ed5cb] | 88 | --sysconfdir=&gnome-etc-dir; \
|
---|
| 89 | --enable-inotify &&
|
---|
[991819f4] | 90 | make</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 |
|
---|
[551b9389] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="commands">
|
---|
| 101 | <title>Command Explanations</title>
|
---|
| 102 |
|
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 104 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 105 |
|
---|
| 106 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 107 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
[0c4e116] | 108 |
|
---|
[65ed5cb] | 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 |
|
---|
[991819f4] | 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="configuration">
|
---|
[0c4e116] | 117 | <title>Configuring gnome-menus</title>
|
---|
[991819f4] | 118 |
|
---|
| 119 | <sect3>
|
---|
| 120 | <title>Configuration Information</title>
|
---|
| 121 |
|
---|
[551b9389] | 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 system profile, or in individual user's
|
---|
| 128 | profiles as shown below (you may add additional directories, separated
|
---|
| 129 | with colons, if desired):</para>
|
---|
[991819f4] | 130 |
|
---|
[99c190b] | 131 | <screen><literal>export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg:/etc/xdg</literal></screen>
|
---|
| 132 |
|
---|
| 133 | </sect4>
|
---|
| 134 |
|
---|
| 135 | <sect4>
|
---|
| 136 | <title>XDG_DATA_DIRS Variable</title>
|
---|
| 137 |
|
---|
| 138 | <para>So that <application>GNOME</application> can find the data
|
---|
| 139 | to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
|
---|
| 140 | environment variable in the system profile, or in individual user's
|
---|
| 141 | profiles as shown below (you may add additional directories, separated
|
---|
| 142 | with colons, if desired):</para>
|
---|
| 143 |
|
---|
| 144 | <screen><literal>export XDG_DATA_DIRS=$GNOME_PREFIX/share:/usr/share</literal></screen>
|
---|
[991819f4] | 145 |
|
---|
[551b9389] | 146 | </sect4>
|
---|
| 147 |
|
---|
| 148 | <sect4>
|
---|
| 149 | <title>PYTHONPATH Variable</title>
|
---|
| 150 |
|
---|
| 151 | <para>If your GNOME-2 installation prefix is anything other than
|
---|
| 152 | <filename class='directory'>/usr</filename> and you have
|
---|
| 153 | <application>Python</application> installed, you need to update the
|
---|
| 154 | <envar>PYTHONPATH</envar> environment variable so that the
|
---|
| 155 | <filename>gmenu</filename> module can be located by
|
---|
| 156 | <application>Python</application>. Set the variable in the system
|
---|
| 157 | profile, or in individual user's profiles as shown below:</para>
|
---|
| 158 |
|
---|
| 159 | <screen><literal>export PYTHONPATH=$PYTHONPATH:$(pkg-config --variable=prefix \
|
---|
[f67f5387] | 160 | ORBit-2.0)/lib/python&python-libdir;/site-packages:$(pkg-config \
|
---|
[551b9389] | 161 | --variable=prefix \
|
---|
[f67f5387] | 162 | ORBit-2.0)/lib/python&python-libdir;/site-packages/GMenuSimpleEditor</literal></screen>
|
---|
[551b9389] | 163 |
|
---|
| 164 | </sect4>
|
---|
| 165 |
|
---|
[991819f4] | 166 | </sect3>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="content">
|
---|
| 171 | <title>Contents</title>
|
---|
| 172 |
|
---|
| 173 | <segmentedlist>
|
---|
[551b9389] | 174 | <segtitle>Installed Programs</segtitle>
|
---|
[991819f4] | 175 | <segtitle>Installed Library</segtitle>
|
---|
| 176 | <segtitle>Installed Directories</segtitle>
|
---|
| 177 |
|
---|
| 178 | <seglistitem>
|
---|
[a6bee1f] | 179 | <seg>gmenu-simple-editor and gnome-menu-spec-test</seg>
|
---|
[0a7c3921] | 180 | <seg>libgnome-menu.{so,a}</seg>
|
---|
[e62f701] | 181 | <seg>&gnome-etc-dir;/xdg and the following subdirectories of
|
---|
[551b9389] | 182 | <envar>$GNOME_PREFIX</envar>/:
|
---|
[e62f701] | 183 | include/gnome-menus,
|
---|
[f67f5387] | 184 | lib/python&python-libdir;/site-packages/GMenuSimpleEditor,
|
---|
[0a7c3921] | 185 | share/{desktop-directories, gnome-menus}</seg>
|
---|
[991819f4] | 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | <variablelist>
|
---|
| 190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 191 | <?dbfo list-presentation="list"?>
|
---|
| 192 | <?dbhtml list-presentation="table"?>
|
---|
| 193 |
|
---|
[a6bee1f] | 194 | <varlistentry id="gmenu-simple-editor">
|
---|
| 195 | <term><command>gmenu-simple-editor</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>is a simple front-end script to the
|
---|
| 198 | <application>Python</application> Gmenu Simple Editor module</para>
|
---|
| 199 | <indexterm zone="gnome-menus gmenu-simple-editor">
|
---|
| 200 | <primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
[991819f4] | 205 | <varlistentry id="gnome-menu-spec-test">
|
---|
| 206 | <term><command>gnome-menu-spec-test</command></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>is used to test GNOME's implementation of
|
---|
| 209 | the Desktop Menu Specification.</para>
|
---|
| 210 | <indexterm zone="gnome-menus gnome-menu-spec-test">
|
---|
| 211 | <primary sortas="b-gnome-menu-spec-test">gnome-menu-spec-test</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="libgnome-menu">
|
---|
[0a7c3921] | 217 | <term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
|
---|
[991819f4] | 218 | <listitem>
|
---|
| 219 | <para>contains functions required to support GNOME's implementation
|
---|
| 220 | of the Desktop Menu Specification.</para>
|
---|
| 221 | <indexterm zone="gnome-menus libgnome-menu">
|
---|
[0a7c3921] | 222 | <primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
|
---|
[991819f4] | 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 |
|
---|
| 227 | </variablelist>
|
---|
| 228 |
|
---|
| 229 | </sect2>
|
---|
[b3c19135] | 230 |
|
---|
| 231 | </sect1>
|
---|