[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 |
|
---|
[3adee47] | 7 | <!ENTITY gnome-menus-download-http
|
---|
| 8 | "&gnome-download-http;/gnome-menus/3.4/gnome-menus-&gnome-menus-version;.tar.xz">
|
---|
| 9 | <!ENTITY gnome-menus-download-ftp
|
---|
| 10 | "&gnome-download-ftp;/gnome-menus/3.4/gnome-menus-&gnome-menus-version;.tar.xz">
|
---|
| 11 | <!ENTITY gnome-menus-md5sum "fad2a6b9d0dd67f85520161552b51825">
|
---|
| 12 | <!ENTITY gnome-menus-size "400 KB">
|
---|
| 13 | <!ENTITY gnome-menus-buildsize "8.2 MB">
|
---|
| 14 | <!ENTITY gnome-menus-time "0.1 SBU">
|
---|
[b3c19135] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="gnome-menus" xreflabel="gnome-menus-&gnome-menus-version;">
|
---|
[991819f4] | 18 | <?dbhtml filename="gnome-menus.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[0c4e116] | 25 | <title>gnome-menus-&gnome-menus-version;</title>
|
---|
[991819f4] | 26 |
|
---|
| 27 | <indexterm zone="gnome-menus">
|
---|
| 28 | <primary sortas="a-Gnome-menus">Gnome-menus</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[0c4e116] | 32 | <title>Introduction to gnome-menus</title>
|
---|
[991819f4] | 33 |
|
---|
| 34 | <para>The <application>gnome-menus</application> package contains an
|
---|
| 35 | implementation of the draft <quote>Desktop Menu Specification</quote>
|
---|
| 36 | from freedesktop.org (<ulink
|
---|
| 37 | url="http://www.freedesktop.org/Standards/menu-spec"/>). Also contained
|
---|
| 38 | are the <application>GNOME</application> menu layout configuration files,
|
---|
| 39 | <filename>.directory</filename> files and a menu related utility
|
---|
| 40 | program.</para>
|
---|
| 41 |
|
---|
[c0b8b2b] | 42 | &lfs70_checked;
|
---|
[be8f859] | 43 |
|
---|
[991819f4] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&gnome-menus-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&gnome-menus-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &gnome-menus-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &gnome-menus-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &gnome-menus-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &gnome-menus-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
[0c4e116] | 66 | <bridgehead renderas="sect3">gnome-menus Dependencies</bridgehead>
|
---|
[991819f4] | 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[3adee47] | 69 | <para role="required">
|
---|
| 70 | <xref linkend="intltool"/> and
|
---|
| 71 | <xref linkend="pkgconfig"/>
|
---|
| 72 | </para>
|
---|
[991819f4] | 73 |
|
---|
[3adee47] | 74 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 75 | <para role="recommended">
|
---|
| 76 | <xref linkend="gobject-introspection"/>
|
---|
| 77 | (Required if building GNOME)
|
---|
| 78 | </para>
|
---|
[c0b8b2b] | 79 |
|
---|
[0a7c3921] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/gnome-menus"/></para>
|
---|
| 82 |
|
---|
[991819f4] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
[0c4e116] | 86 | <title>Installation of gnome-menus</title>
|
---|
| 87 |
|
---|
[c0b8b2b] | 88 | <para>Install <application>gnome-menus</application> by running the following
|
---|
| 89 | commands:</para>
|
---|
[991819f4] | 90 |
|
---|
[3adee47] | 91 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 92 | --sysconfdir=/etc \
|
---|
| 93 | --disable-static &&
|
---|
[991819f4] | 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
| 96 | <para>This package does not come with a test suite.</para>
|
---|
| 97 |
|
---|
| 98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 99 |
|
---|
| 100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 101 |
|
---|
[551b9389] | 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
| 106 |
|
---|
[3adee47] | 107 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7cdaed0] | 108 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 109 |
|
---|
[e05cd03f] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3adee47] | 111 | href="../../xincludes/gnome-sysconfdir.xml"/> -->
|
---|
[0c4e116] | 112 |
|
---|
[3adee47] | 113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 114 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c0b8b2b] | 115 |
|
---|
[991819f4] | 116 | </sect2>
|
---|
| 117 |
|
---|
[3adee47] | 118 | <!-- <sect2 role="configuration">
|
---|
[0c4e116] | 119 | <title>Configuring gnome-menus</title>
|
---|
[991819f4] | 120 |
|
---|
| 121 | <sect3>
|
---|
| 122 | <title>Configuration Information</title>
|
---|
| 123 |
|
---|
[551b9389] | 124 | <sect4>
|
---|
| 125 | <title>XDG_CONFIG_DIRS Variable</title>
|
---|
| 126 |
|
---|
| 127 | <para>So that <application>GNOME</application> can find the desktop
|
---|
| 128 | configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
|
---|
[2b60acc] | 129 | environment variable in the individual user's profiles, or in the system
|
---|
| 130 | profile (use this option if you will be running
|
---|
| 131 | <application>GDM</application>) as shown below (you may add additional
|
---|
| 132 | directories, separated with colons, if desired):</para>
|
---|
[991819f4] | 133 |
|
---|
[c0b8b2b] | 134 | <screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg" \
|
---|
[2b60acc] | 135 | > /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[99c190b] | 136 |
|
---|
| 137 | </sect4>
|
---|
| 138 |
|
---|
| 139 | <sect4>
|
---|
| 140 | <title>XDG_DATA_DIRS Variable</title>
|
---|
| 141 |
|
---|
| 142 | <para>So that <application>GNOME</application> can find the data
|
---|
| 143 | to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
|
---|
[2b60acc] | 144 | environment variable in the individual user's profiles, or in the system
|
---|
| 145 | profile as shown below (you may add additional directories, separated
|
---|
[99c190b] | 146 | with colons, if desired):</para>
|
---|
| 147 |
|
---|
[2b60acc] | 148 | <screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
|
---|
| 149 | /usr/share:/usr/local/share" >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[991819f4] | 150 |
|
---|
[551b9389] | 151 | </sect4>
|
---|
| 152 |
|
---|
| 153 | <sect4>
|
---|
| 154 | <title>PYTHONPATH Variable</title>
|
---|
| 155 |
|
---|
[2b60acc] | 156 | <para>If your <application>GNOME</application> installation prefix is
|
---|
[c0b8b2b] | 157 | anything other than <filename class='directory'>/usr</filename>
|
---|
| 158 | you need to update the
|
---|
[551b9389] | 159 | <envar>PYTHONPATH</envar> environment variable so that the
|
---|
| 160 | <filename>gmenu</filename> module can be located by
|
---|
| 161 | <application>Python</application>. Set the variable in the system
|
---|
| 162 | profile, or in individual user's profiles as shown below:</para>
|
---|
| 163 |
|
---|
[c0b8b2b] | 164 | <screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$GNOME_PREFIX/lib/python&python2-majorver;/site-packages/GMenuSimpleEditor" \
|
---|
[2b60acc] | 165 | >> /etc/profile.d/gnome.sh</userinput></screen>
|
---|
[551b9389] | 166 |
|
---|
| 167 | </sect4>
|
---|
| 168 |
|
---|
[991819f4] | 169 | </sect3>
|
---|
| 170 |
|
---|
[3adee47] | 171 | </sect2> -->
|
---|
[991819f4] | 172 |
|
---|
| 173 | <sect2 role="content">
|
---|
| 174 | <title>Contents</title>
|
---|
| 175 |
|
---|
| 176 | <segmentedlist>
|
---|
[0e285e4] | 177 | <segtitle>Installed Program</segtitle>
|
---|
[3adee47] | 178 | <segtitle>Installed Library</segtitle>
|
---|
[991819f4] | 179 | <segtitle>Installed Directories</segtitle>
|
---|
| 180 |
|
---|
| 181 | <seglistitem>
|
---|
[3adee47] | 182 | <seg>
|
---|
| 183 | gmenu-simple-editor
|
---|
| 184 | </seg>
|
---|
| 185 | <seg>
|
---|
| 186 | libgnome-menu.so
|
---|
| 187 | </seg>
|
---|
| 188 | <seg>
|
---|
| 189 | /etc/xdg/menus, /usr/include/gnome-menus-3.0,
|
---|
| 190 | /usr/lib/python2.7/site-packages/GMenuSimpleEditor and
|
---|
| 191 | /usr/share/gnome-menus
|
---|
| 192 | </seg>
|
---|
[991819f4] | 193 | </seglistitem>
|
---|
| 194 | </segmentedlist>
|
---|
| 195 |
|
---|
| 196 | <variablelist>
|
---|
| 197 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 198 | <?dbfo list-presentation="list"?>
|
---|
| 199 | <?dbhtml list-presentation="table"?>
|
---|
| 200 |
|
---|
[a6bee1f] | 201 | <varlistentry id="gmenu-simple-editor">
|
---|
| 202 | <term><command>gmenu-simple-editor</command></term>
|
---|
| 203 | <listitem>
|
---|
[3adee47] | 204 | <para>is used to modify GNOME Menu layout.</para>
|
---|
[a6bee1f] | 205 | <indexterm zone="gnome-menus gmenu-simple-editor">
|
---|
| 206 | <primary sortas="b-gmenu-simple-editor">gmenu-simple-editor</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
[991819f4] | 211 | <varlistentry id="libgnome-menu">
|
---|
[3adee47] | 212 | <term><filename class='libraryfile'>libgnome-menu.so</filename></term>
|
---|
[991819f4] | 213 | <listitem>
|
---|
| 214 | <para>contains functions required to support GNOME's implementation
|
---|
| 215 | of the Desktop Menu Specification.</para>
|
---|
| 216 | <indexterm zone="gnome-menus libgnome-menu">
|
---|
[3adee47] | 217 | <primary sortas="c-libgnome-menu">libgnome-menu.so</primary>
|
---|
[991819f4] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | </variablelist>
|
---|
| 223 |
|
---|
| 224 | </sect2>
|
---|
[b3c19135] | 225 |
|
---|
| 226 | </sect1>
|
---|