glfs/gnome/core/gnome-menus.xml

226 lines
7.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gnome-menus-download-http
"&gnome-download-http;/gnome-menus/3.4/gnome-menus-&gnome-menus-version;.tar.xz">
<!ENTITY gnome-menus-download-ftp
"&gnome-download-ftp;/gnome-menus/3.4/gnome-menus-&gnome-menus-version;.tar.xz">
<!ENTITY gnome-menus-md5sum "fad2a6b9d0dd67f85520161552b51825">
<!ENTITY gnome-menus-size "400 KB">
<!ENTITY gnome-menus-buildsize "8.2 MB">
<!ENTITY gnome-menus-time "0.1 SBU">
]>
<sect1 id="gnome-menus" xreflabel="gnome-menus-&gnome-menus-version;">
<?dbhtml filename="gnome-menus.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>gnome-menus-&gnome-menus-version;</title>
<indexterm zone="gnome-menus">
<primary sortas="a-Gnome-menus">Gnome-menus</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to gnome-menus</title>
<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>
&lfs70_checked;
<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>
<bridgehead renderas="sect3">gnome-menus Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="intltool"/> and
<xref linkend="pkgconfig"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gobject-introspection"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gnome-menus"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of gnome-menus</title>
<para>Install <application>gnome-menus</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static &amp;&amp;
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>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gnome-prefix.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gnome-sysconfdir.xml"/> -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<!-- <sect2 role="configuration">
<title>Configuring gnome-menus</title>
<sect3>
<title>Configuration Information</title>
<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 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>
<screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg" \
&gt; /etc/profile.d/gnome.sh</userinput></screen>
</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>
environment variable in the individual user's profiles, or in the system
profile as shown below (you may add additional directories, separated
with colons, if desired):</para>
<screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
/usr/share:/usr/local/share" &gt;&gt; /etc/profile.d/gnome.sh</userinput></screen>
</sect4>
<sect4>
<title>PYTHONPATH Variable</title>
<para>If your <application>GNOME</application> installation prefix is
anything other than <filename class='directory'>/usr</filename>
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 role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$GNOME_PREFIX/lib/python&python2-majorver;/site-packages/GMenuSimpleEditor" \
&gt;&gt; /etc/profile.d/gnome.sh</userinput></screen>
</sect4>
</sect3>
</sect2> -->
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
gmenu-simple-editor
</seg>
<seg>
libgnome-menu.so
</seg>
<seg>
/etc/xdg/menus, /usr/include/gnome-menus-3.0,
/usr/lib/python2.7/site-packages/GMenuSimpleEditor and
/usr/share/gnome-menus
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gmenu-simple-editor">
<term><command>gmenu-simple-editor</command></term>
<listitem>
<para>is used to modify GNOME Menu layout.</para>
<indexterm zone="gnome-menus gmenu-simple-editor">
<primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgnome-menu">
<term><filename class='libraryfile'>libgnome-menu.so</filename></term>
<listitem>
<para>contains functions required to support GNOME's implementation
of the Desktop Menu Specification.</para>
<indexterm zone="gnome-menus libgnome-menu">
<primary sortas="c-libgnome-menu">libgnome-menu.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>