2005-05-11 04:40:20 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2005-05-11 04:40:20 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2010-08-21 13:28:58 +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">
|
|
|
|
<!ENTITY gnome-menus-md5sum "5ca9935f50c939881689c48f59348426">
|
|
|
|
<!ENTITY gnome-menus-size "453 KB">
|
|
|
|
<!ENTITY gnome-menus-buildsize "8 MB">
|
|
|
|
<!ENTITY gnome-menus-time "0.2 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>
|
|
|
|
|
2010-08-21 13:28:58 +08:00
|
|
|
&lfs65_checked;
|
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
<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>
|
2009-12-27 14:33:45 +08:00
|
|
|
<para role="required"><xref linkend="glib2"/>,
|
2010-08-21 13:28:58 +08:00
|
|
|
<xref linkend="intltool"/>, and
|
2009-12-27 14:33:45 +08:00
|
|
|
<xref linkend="python"/></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>
|
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/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) \
|
2010-04-10 18:20:14 +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>
|
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/gnome-prefix.xml"/>
|
2006-06-26 03:48:15 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/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>
|
2009-09-12 09:27:03 +08:00
|
|
|
environment variable in the individual user's profiles, or in the system
|
|
|
|
profile (use this option if you will be running
|
|
|
|
<application>GDM</application>) as shown below (you may add additional
|
|
|
|
directories, separated with colons, if desired):</para>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
2009-09-12 09:27:03 +08:00
|
|
|
<screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg" \
|
|
|
|
> /etc/profile.d/gnome.sh</userinput></screen>
|
2007-01-30 13:53:34 +08:00
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>XDG_DATA_DIRS Variable</title>
|
|
|
|
|
|
|
|
<para>So that <application>GNOME</application> can find the data
|
|
|
|
to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
|
2009-09-12 09:27:03 +08:00
|
|
|
environment variable in the individual user's profiles, or in the system
|
|
|
|
profile as shown below (you may add additional directories, separated
|
2007-01-30 13:53:34 +08:00
|
|
|
with colons, if desired):</para>
|
|
|
|
|
2009-09-12 09:27:03 +08:00
|
|
|
<screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
|
|
|
|
/usr/share:/usr/local/share" >> /etc/profile.d/gnome.sh</userinput></screen>
|
2005-05-15 18:16:52 +08:00
|
|
|
|
2006-06-26 03:48:15 +08:00
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>PYTHONPATH Variable</title>
|
|
|
|
|
2009-09-12 09:27:03 +08:00
|
|
|
<para>If your <application>GNOME</application> installation prefix is
|
|
|
|
anything other than <filename class='directory'>/usr</filename> and you
|
|
|
|
have <application>Python</application> installed, you need to update the
|
2006-06-26 03:48:15 +08:00
|
|
|
<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>
|
|
|
|
|
2009-09-12 09:27:03 +08:00
|
|
|
<screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$(pkg-config \
|
2011-11-01 03:38:44 +08:00
|
|
|
--variable=prefix ORBit-2.0)/lib/python&python2-majorver;/site-packages/GMenuSimpleEditor" \
|
2009-09-12 09:27:03 +08:00
|
|
|
>> /etc/profile.d/gnome.sh</userinput></screen>
|
2006-06-26 03:48:15 +08:00
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2009-08-09 17:40:10 +08:00
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2005-05-15 18:16:52 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2009-08-09 17:40:10 +08:00
|
|
|
<seg>gmenu-simple-editor</seg>
|
|
|
|
<seg>libgnome-menu.{so,a} and gmenu.{so,a}</seg>
|
|
|
|
<seg>&gnome-etc-dir;/xdg/menus,
|
|
|
|
<envar>$GNOME_PREFIX</envar>/{include/gnome-menus,
|
2011-11-01 03:38:44 +08:00
|
|
|
lib/python&python2-majorver;/site-packages/GMenuSimpleEditor,
|
2010-08-21 13:28:58 +08:00
|
|
|
share/{desktop-directories,gnome-menus/{examples,ui}}}</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="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>
|
|
|
|
|
2009-08-09 17:40:10 +08:00
|
|
|
<varlistentry id="gmenu">
|
|
|
|
<term><filename class='libraryfile'>gmenu.{so,a}</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a <application>Python</application> library.</para>
|
|
|
|
<indexterm zone="gnome-menus gmenu">
|
|
|
|
<primary sortas="c-gmenu">gmenu.{so,a}</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-15 18:16:52 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2005-05-11 04:40:20 +08:00
|
|
|
|
|
|
|
</sect1>
|