2005-05-11 04:40:20 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2006-02-03 14:07:48 +08:00
|
|
|
<!ENTITY gnome-menus-download-http "&gnome-download-http;/gnome-menus/&gnome-version;/gnome-menus-&gnome-menus-version;.tar.bz2">
|
|
|
|
<!ENTITY gnome-menus-download-ftp "&gnome-download-ftp;/gnome-menus/&gnome-version;/gnome-menus-&gnome-menus-version;.tar.bz2">
|
2006-06-21 09:46:25 +08:00
|
|
|
<!ENTITY gnome-menus-md5sum "7aa0c08fc8b9caabb4be46e1cfb595fc">
|
|
|
|
<!ENTITY gnome-menus-size "408 KB">
|
|
|
|
<!ENTITY gnome-menus-buildsize "7.4 MB">
|
2005-10-11 02:05:12 +08:00
|
|
|
<!ENTITY gnome-menus-time "0.1 SBU">
|
2005-05-11 04:40:20 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gnome-menus" xreflabel="gnome-menus-&gnome-menus-version;">
|
2005-05-15 18:16:52 +08:00
|
|
|
<?dbhtml filename="gnome-menus.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2005-10-11 02:05:12 +08:00
|
|
|
<title>gnome-menus-&gnome-menus-version;</title>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
|
|
|
<indexterm zone="gnome-menus">
|
|
|
|
<primary sortas="a-Gnome-menus">Gnome-menus</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2005-10-11 02:05:12 +08:00
|
|
|
<title>Introduction to gnome-menus</title>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
|
|
|
<para>The <application>gnome-menus</application> package contains an
|
|
|
|
implementation of the draft <quote>Desktop Menu Specification</quote>
|
|
|
|
from freedesktop.org (<ulink
|
|
|
|
url="http://www.freedesktop.org/Standards/menu-spec"/>). Also contained
|
|
|
|
are the <application>GNOME</application> menu layout configuration files,
|
|
|
|
<filename>.directory</filename> files and a menu related utility
|
|
|
|
program.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&gnome-menus-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&gnome-menus-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &gnome-menus-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &gnome-menus-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &gnome-menus-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &gnome-menus-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-10-11 02:05:12 +08:00
|
|
|
<bridgehead renderas="sect3">gnome-menus Dependencies</bridgehead>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2005-12-06 18:43:06 +08:00
|
|
|
<para role="required"><xref linkend="glib2"/> and
|
2006-02-03 14:07:48 +08:00
|
|
|
<xref linkend="perl-xml-parser"/></para>
|
2005-10-11 02:05:12 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2006-06-21 09:46:25 +08:00
|
|
|
<para role="optional"><xref linkend="python"/>,
|
|
|
|
<xref linkend="gamin"/>, and
|
|
|
|
<xref linkend="intltool"/></para>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
2006-04-11 02:36:24 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gnome-menus"/></para>
|
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2005-10-11 02:05:12 +08:00
|
|
|
<title>Installation of gnome-menus</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
|
|
href="../without-gnome.xml"/>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
|
|
|
<para>Install <application>gnome-menus</application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
2006-06-21 09:46:25 +08:00
|
|
|
<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
2006-02-07 03:05:31 +08:00
|
|
|
--sysconfdir=&gnome-etc-dir; &&
|
2005-05-15 18:16:52 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2006-06-26 03:48:15 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
|
|
href="../gnome-prefix.xml"/>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
|
|
href="../gnome-sysconfdir.xml"/>
|
2005-10-11 02:05:12 +08:00
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
2005-10-11 02:05:12 +08:00
|
|
|
<title>Configuring gnome-menus</title>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
2006-06-26 03:48:15 +08:00
|
|
|
<sect4>
|
|
|
|
<title>XDG_CONFIG_DIRS Variable</title>
|
|
|
|
|
|
|
|
<para>So that <application>GNOME</application> can find the desktop
|
|
|
|
configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
|
|
|
|
environment variable in the system profile, or in individual user's
|
|
|
|
profiles as shown below (you may add additional directories, separated
|
|
|
|
with colons, if desired):</para>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
2006-02-03 14:07:48 +08:00
|
|
|
<screen><literal>export XDG_CONFIG_DIRS=/usr/share:&gnome-etc-dir;/xdg</literal></screen>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
2006-06-26 03:48:15 +08:00
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>PYTHONPATH Variable</title>
|
|
|
|
|
|
|
|
<para>If your GNOME-2 installation prefix is anything other than
|
|
|
|
<filename class='directory'>/usr</filename> and you have
|
|
|
|
<application>Python</application> installed, you need to update the
|
|
|
|
<envar>PYTHONPATH</envar> environment variable so that the
|
|
|
|
<filename>gmenu</filename> module can be located by
|
|
|
|
<application>Python</application>. Set the variable in the system
|
|
|
|
profile, or in individual user's profiles as shown below:</para>
|
|
|
|
|
|
|
|
<screen><literal>export PYTHONPATH=$PYTHONPATH:$(pkg-config --variable=prefix \
|
|
|
|
ORBit-2.0)/lib/python2.4/site-packages:$(pkg-config \
|
|
|
|
--variable=prefix \
|
|
|
|
ORBit-2.0)/lib/python2.4/site-packages/GMenuSimpleEditor</literal></screen>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2006-06-26 03:48:15 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2005-05-15 18:16:52 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2006-06-21 09:46:25 +08:00
|
|
|
<seg>gmenu-simple-editor and gnome-menu-spec-test</seg>
|
2006-04-11 02:36:24 +08:00
|
|
|
<seg>libgnome-menu.{so,a}</seg>
|
2006-02-07 03:05:31 +08:00
|
|
|
<seg>&gnome-etc-dir;/xdg and the following subdirectories of
|
2006-06-26 03:48:15 +08:00
|
|
|
<envar>$GNOME_PREFIX</envar>/:
|
2006-02-07 03:05:31 +08:00
|
|
|
include/gnome-menus,
|
|
|
|
lib/python2.4/site-packages/GMenuSimpleEditor,
|
2006-04-11 02:36:24 +08:00
|
|
|
share/{desktop-directories, gnome-menus}</seg>
|
2005-05-15 18:16:52 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2006-06-21 09:46:25 +08:00
|
|
|
<varlistentry id="gmenu-simple-editor">
|
|
|
|
<term><command>gmenu-simple-editor</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a simple front-end script to the
|
|
|
|
<application>Python</application> Gmenu Simple Editor module</para>
|
|
|
|
<indexterm zone="gnome-menus gmenu-simple-editor">
|
|
|
|
<primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
<varlistentry id="gnome-menu-spec-test">
|
|
|
|
<term><command>gnome-menu-spec-test</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to test GNOME's implementation of
|
|
|
|
the Desktop Menu Specification.</para>
|
|
|
|
<indexterm zone="gnome-menus gnome-menu-spec-test">
|
|
|
|
<primary sortas="b-gnome-menu-spec-test">gnome-menu-spec-test</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libgnome-menu">
|
2006-04-11 02:36:24 +08:00
|
|
|
<term><filename class='libraryfile'>libgnome-menu.{so,a}</filename></term>
|
2005-05-15 18:16:52 +08:00
|
|
|
<listitem>
|
|
|
|
<para>contains functions required to support GNOME's implementation
|
|
|
|
of the Desktop Menu Specification.</para>
|
|
|
|
<indexterm zone="gnome-menus libgnome-menu">
|
2006-04-11 02:36:24 +08:00
|
|
|
<primary sortas="c-libgnome-menu">libgnome-menu.{so,a}</primary>
|
2005-05-15 18:16:52 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2005-05-11 04:40:20 +08:00
|
|
|
|
|
|
|
</sect1>
|