Tutorial: Install Gnome2 GlobalMenu applet (from source)

This post is written by a not-so-experienced-in-compiling-from-source user for others in the same situation. The goal is to install the gnome2-globalmenu applet.
I've had some adventure trying to compile the gnome2-globalmenu applet from source, so I thought I'd share the steps that lead me to the results here, so you would skip over the dependency-hunt.
Pre-requisits on default mageia-1 installation
Before considering compiling (installing) the applet, you have to install the following requirements. You could do this in various ways:
1. Open a terminal (from the menu Applications -> Tools -> Terminal) and type (or select it, copy it (CTRL+C) and paste it in the terminal with CTRL+INS) the following commands to install everything that the applet needs:
2. Use the graphical interface tool (from the menu Applications -> Install & Remove Software) to install these packages:
The actual applet installation
* Download the source code from http://code.google.com/p/gnome2-globalm ... loads/list
* Extract the files from the archive (right-click on it and choose Extract here)
* Open the terminal and go to the location where you extracted directory
* Type the following commands (in order, wait for each to finish before running the next one):
Run this command in the terminal:
* From the list, select the Global Menu Panel Applet
* For the global-menu to take effect, you'll need to close all your open applications and re-open them, but I strongly recommend you log-out and log-in again for a proper loading of the applet.
I've got a glitch for the first time I right-clicked on the applet for the preferences, it only showed the option tabs (with no options at all), but i noticed that closing the preferences panel, log-out and log-in again (considering you didn't do this after the installation completed) solves it.
I've attached a screenshot of my achievement
Many thanks go to the mageia community who opened my eyes and presented the urpmf and urpmq tools, they're indeed your friends
I've had some adventure trying to compile the gnome2-globalmenu applet from source, so I thought I'd share the steps that lead me to the results here, so you would skip over the dependency-hunt.
Pre-requisits on default mageia-1 installation
Before considering compiling (installing) the applet, you have to install the following requirements. You could do this in various ways:
1. Open a terminal (from the menu Applications -> Tools -> Terminal) and type (or select it, copy it (CTRL+C) and paste it in the terminal with CTRL+INS) the following commands to install everything that the applet needs:
- Code: Select all
urpmi make gcc intltool libgtk+2.0-devel libwnck-devel libgnome-menu-devel libpanelappletmm-devel libnotify libnotify-devel libxfce4panel-devel
2. Use the graphical interface tool (from the menu Applications -> Install & Remove Software) to install these packages:
- * make
* gcc
* intltool
* libgtk+2.0-devel
* libwnck-devel
* libgnome-menu-devel
* libpanelappletmm-devel
* libnotify
* libnotify-devel
* libxfce4panel-devel
The actual applet installation
* Download the source code from http://code.google.com/p/gnome2-globalm ... loads/list
* Extract the files from the archive (right-click on it and choose Extract here)
* Open the terminal and go to the location where you extracted directory
- Code: Select all
cd /path/to/where/you/extracted/the/source
* Type the following commands (in order, wait for each to finish before running the next one):
- Code: Select all
./configure
- Code: Select all
make
- Code: Select all
su -
- Code: Select all
make install
The next command will need to be run with greater priviledges than your normal user, so type

- Code: Select all
pkill gnome-panel
* From the list, select the Global Menu Panel Applet
* For the global-menu to take effect, you'll need to close all your open applications and re-open them, but I strongly recommend you log-out and log-in again for a proper loading of the applet.
I've got a glitch for the first time I right-clicked on the applet for the preferences, it only showed the option tabs (with no options at all), but i noticed that closing the preferences panel, log-out and log-in again (considering you didn't do this after the installation completed) solves it.
I've attached a screenshot of my achievement

Many thanks go to the mageia community who opened my eyes and presented the urpmf and urpmq tools, they're indeed your friends
