Contents
$GNOME_PREFIX/{include/gnome-menus,
share/{desktop-directories,gnome-menus/{examples,glade}},
lib/python2.6/site-packages/GMenuSimpleEditor}
The gnome-menus package contains
an implementation of the draft “Desktop
Menu Specification” from freedesktop.org (http://www.freedesktop.org/Standards/menu-spec).
Also contained are the GNOME menu
layout configuration files, .directory files and a menu related utility
program.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gnome-menus/2.28/gnome-menus-2.28.0.1.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gnome-menus/2.28/gnome-menus-2.28.0.1.tar.bz2
Download MD5 sum: 279316228fd84917acb9405476f74b53
Download size: 451 KB
Estimated disk space required: 9 MB
Estimated build time: 0.1 SBU
GLib-2.22.0 and XML::Parser-2.34
Python-2.6.2, Gamin-0.1.10, and intltool-0.40.6
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnome-menus
The instructions below are based on installing the package into a
GNOME-2 environment. If, for whatever reason, you're installing
this package without having ORBit2 and the core GNOME-2 libraries
installed, you'll need to modify the --prefix= parameter on the configure script to point to
your desired installation path (e.g., --prefix=/usr).
Install gnome-menus by running the following commands:
./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
--sysconfdir=/etc/gnome/2.28.1 \
--enable-inotify &&
make
This package does not come with a test suite.
Now, as the root user:
make install
--prefix=$(pkg-config --variable=prefix
ORBit-2.0): Setting the prefix using this parameter
instead of with $GNOME_PREFIX will
ensure that the prefix is consistent with the installation
environment and the package will be installed in the correct
location.
--sysconfdir=/etc/gnome/2.28.1: This
parameter causes the configuration files to be installed in
/etc/gnome/2.28.1 instead of
$GNOME_PREFIX/etc. Additionally (if
applicable), the parameter ensures that the GConf-2 database is correctly updated.
--enable-inotify: This
parameter is used so that file polling is accomplished using the
kernel inotify calls, instead of using other polling methods.
Remove this parameter if you wish to fall back to Gamin as the file polling method.
So that GNOME can find the
desktop configuration files, ensure you set the XDG_CONFIG_DIRS environment variable in the
individual user's profiles, or in the system profile (use this
option if you will be running GDM) as shown below (you may add
additional directories, separated with colons, if desired):
echo "export XDG_CONFIG_DIRS=/etc/gnome/2.28.1/xdg" \ > /etc/profile.d/gnome.sh
So that GNOME can find the
data to populate the menus, ensure you set the XDG_DATA_DIRS 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):
echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\ /usr/share:/usr/local/share" >> /etc/profile.d/gnome.sh
If your GNOME installation
prefix is anything other than /usr and you have Python installed, you need to update the
PYTHONPATH environment variable so
that the gmenu module can be
located by Python. Set the
variable in the system profile, or in individual user's
profiles as shown below:
echo "export PYTHONPATH=\$PYTHONPATH:$(pkg-config \ --variable=prefix ORBit-2.0)/lib/python2.6/site-packages:$(pkg-config \ --variable=prefix ORBit-2.0)/lib/python2.6/site-packages/GMenuSimpleEditor" \ >> /etc/profile.d/gnome.sh
$GNOME_PREFIX/{include/gnome-menus,
share/{desktop-directories,gnome-menus/{examples,glade}},
lib/python2.6/site-packages/GMenuSimpleEditor}
Last updated on 2009-10-25 08:29:45 +0000