[b3c19135] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 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">
|
---|
[a6bee1f] | 9 | <!ENTITY gnome-menus-md5sum "7aa0c08fc8b9caabb4be46e1cfb595fc">
|
---|
| 10 | <!ENTITY gnome-menus-size "408 KB">
|
---|
| 11 | <!ENTITY gnome-menus-buildsize "7.4 MB">
|
---|
[0c4e116] | 12 | <!ENTITY gnome-menus-time "0.1 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) \
|
---|
[e62f701] | 88 | --sysconfdir=&gnome-etc-dir; &&
|
---|
[991819f4] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>This package does not come with a test suite.</para>
|
---|
| 92 |
|
---|
| 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 94 |
|
---|
| 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 96 |
|
---|
[551b9389] | 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
| 102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 103 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 104 |
|
---|
| 105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 106 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
[0c4e116] | 107 |
|
---|
[991819f4] | 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="configuration">
|
---|
[0c4e116] | 111 | <title>Configuring gnome-menus</title>
|
---|
[991819f4] | 112 |
|
---|
| 113 | <sect3>
|
---|
| 114 | <title>Configuration Information</title>
|
---|
| 115 |
|
---|
[551b9389] | 116 | <sect4>
|
---|
| 117 | <title>XDG_CONFIG_DIRS Variable</title>
|
---|
| 118 |
|
---|
| 119 | <para>So that <application>GNOME</application> can find the desktop
|
---|
| 120 | configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
|
---|
| 121 | environment variable in the system profile, or in individual user's
|
---|
| 122 | profiles as shown below (you may add additional directories, separated
|
---|
| 123 | with colons, if desired):</para>
|
---|
[991819f4] | 124 |
|
---|
[e9039e4] | 125 | <screen><literal>export XDG_CONFIG_DIRS=/usr/share:&gnome-etc-dir;/xdg</literal></screen>
|
---|
[991819f4] | 126 |
|
---|
[551b9389] | 127 | </sect4>
|
---|
| 128 |
|
---|
| 129 | <sect4>
|
---|
| 130 | <title>PYTHONPATH Variable</title>
|
---|
| 131 |
|
---|
| 132 | <para>If your GNOME-2 installation prefix is anything other than
|
---|
| 133 | <filename class='directory'>/usr</filename> and you have
|
---|
| 134 | <application>Python</application> installed, you need to update the
|
---|
| 135 | <envar>PYTHONPATH</envar> environment variable so that the
|
---|
| 136 | <filename>gmenu</filename> module can be located by
|
---|
| 137 | <application>Python</application>. Set the variable in the system
|
---|
| 138 | profile, or in individual user's profiles as shown below:</para>
|
---|
| 139 |
|
---|
| 140 | <screen><literal>export PYTHONPATH=$PYTHONPATH:$(pkg-config --variable=prefix \
|
---|
| 141 | ORBit-2.0)/lib/python2.4/site-packages:$(pkg-config \
|
---|
| 142 | --variable=prefix \
|
---|
| 143 | ORBit-2.0)/lib/python2.4/site-packages/GMenuSimpleEditor</literal></screen>
|
---|
| 144 |
|
---|
| 145 | </sect4>
|
---|
| 146 |
|
---|
[991819f4] | 147 | </sect3>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
[551b9389] | 155 | <segtitle>Installed Programs</segtitle>
|
---|
[991819f4] | 156 | <segtitle>Installed Library</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
[a6bee1f] | 160 | <seg>gmenu-simple-editor and gnome-menu-spec-test</seg>
|
---|
[0a7c3921] | 161 | <seg>libgnome-menu.{so,a}</seg>
|
---|
[e62f701] | 162 | <seg>&gnome-etc-dir;/xdg and the following subdirectories of
|
---|
[551b9389] | 163 | <envar>$GNOME_PREFIX</envar>/:
|
---|
[e62f701] | 164 | include/gnome-menus,
|
---|
| 165 | lib/python2.4/site-packages/GMenuSimpleEditor,
|
---|
[0a7c3921] | 166 | share/{desktop-directories, gnome-menus}</seg>
|
---|
[991819f4] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
[a6bee1f] | 175 | <varlistentry id="gmenu-simple-editor">
|
---|
| 176 | <term><command>gmenu-simple-editor</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>is a simple front-end script to the
|
---|
| 179 | <application>Python</application> Gmenu Simple Editor module</para>
|
---|
| 180 | <indexterm zone="gnome-menus gmenu-simple-editor">
|
---|
| 181 | <primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
[991819f4] | 186 | <varlistentry id="gnome-menu-spec-test">
|
---|
| 187 | <term><command>gnome-menu-spec-test</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>is used to test GNOME's implementation of
|
---|
| 190 | the Desktop Menu Specification.</para>
|
---|
| 191 | <indexterm zone="gnome-menus gnome-menu-spec-test">
|
---|
| 192 | <primary sortas="b-gnome-menu-spec-test">gnome-menu-spec-test</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="libgnome-menu">
|
---|
[0a7c3921] | 198 | <term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
|
---|
[991819f4] | 199 | <listitem>
|
---|
| 200 | <para>contains functions required to support GNOME's implementation
|
---|
| 201 | of the Desktop Menu Specification.</para>
|
---|
| 202 | <indexterm zone="gnome-menus libgnome-menu">
|
---|
[0a7c3921] | 203 | <primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
|
---|
[991819f4] | 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | </variablelist>
|
---|
| 209 |
|
---|
| 210 | </sect2>
|
---|
[b3c19135] | 211 |
|
---|
| 212 | </sect1>
|
---|