global_menu

Differences between revisions 12 and 13
Revision 12 as of 2007-11-04 06:06:04
Size: 5839
Editor: 12-202-55-143
Comment:
Revision 13 as of 2007-11-16 14:41:41
Size: 6527
Editor: ayozone
Comment: added 098_no_label_underline.patch, and modified 2nd method to use that patch
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Installation instructions (this page offers two different ways to install this): Installation instructions (this page offers two different methods to install this):
Line 11: Line 11:
'''''First way :''''' '''''First method :'''''
Line 39: Line 39:
autotools-dev
comerr-dev
dpkg-dev
libart-2.0-dev
libatk1.0-dev
libaudiofile-dev
libavahi-client-dev
libavahi-common-dev
libavahi-glib-dev
libbonobo2-dev
libbonoboui2-dev
libc6-dev
libcairo-directfb2-dev
libcairo2-dev
libcupsys2-dev
libdbus-1-dev
libdirectfb-dev
libesd0-dev
libexpat1-dev
libfontconfig1-dev
libfreetype6-dev
libgail-dev
libgconf2-dev
libgcrypt11-dev
libgdk-pixbuf-dev
libglade2-dev
libglib1.2-dev
libglib2.0-dev
libgnome-keyring-dev
libgnome2-dev
libgnomecanvas2-dev
libgnomeui-dev
libgnomevfs2-dev
libgnutls-dev
libgpg-error-dev
libgtk1.2-dev
libgtk2.0-dev
libhal-dev
libhal-storage-dev
libice-dev
libidl-dev
libjpeg62-dev
libkrb5-dev
liblzo2-dev
libopencdk8-dev
liborbit2-dev
libpanel-applet2-dev
libpango1.0-dev
libpng12-dev
libpopt-dev
libselinux1-dev
libsepol1-dev
libsm-dev
libstartup-notification0-dev
libstdc++6-4.1-dev
libsysfs-dev
libtasn1-3-dev
libtiff4-dev
libusplash-dev
libwnck-dev
libx11-dev
libxau-dev
libxcomposite-dev
libxcursor-dev
libxdamage-dev
libxdmcp-dev
libxext-dev
libxfixes-dev
libxft-dev
libxi-dev
libxinerama-dev
libxkbfile-dev
libxml2-dev
libxrandr-dev
libxrender-dev
libxres-dev
libxt-dev
linux-libc-dev
x11proto-composite-dev
x11proto-core-dev
x11proto-damage-dev
x11proto-fixes-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-randr-dev
x11proto-render-dev
x11proto-resource-dev
x11proto-xext-dev
x11proto-xinerama-dev
xtrans-dev
xutils-dev
zlib1g-dev
autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev
Line 137: Line 46:
'''''Second way :''''' '''''Second method :'''''
Line 151: Line 60:
Next step was to copy the dowloaded patch [#two 2] from where is was (on the desktop in _this_ case, replace "~/Destop/" with the path where you downloaded the gzipped patch) to the libgtk2.0-0 source package directory Next step was to copy the dowloaded patch [#two 2] from where is was (on the desktop in _this_ case, replace "~/Desktop/" with the path where you downloaded the gzipped patch) to the libgtk2.0-0 source package directory
If you also want to remove the underlines use the patch 098_no_label_underline.patch [#three 3]

First, uncompress 099_mac_menubar.patch.gz :
Line 154: Line 66:
}}}
then copy the patches to the patches directory (assuming they are on your Desktop, if it's not the case replace ~/Desktop/ with the path were the patches are located)
Code: {{{
Line 155: Line 70:
sudo cp ~/Desktop/098_no_label_underline.patch /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/
Line 156: Line 72:
And, add its name (i.e."099_mac_menubar.patch")to the debian/patches/series list And, add the name of the patches you have added (i.e."099_mac_menubar.patch", "098_no_label_underline.patch")to the debian/patches/series list
Line 168: Line 84:
After that you'll have an update for libgtk in your update manager, let update manager install them and finally,add the applet to the top panel. After that you'll have an update for libgtk in your update manager (it won't install automatically because local apt-build repository isn't signed), let update manager install them and finally,add the applet to the top panel.
Line 190: Line 106:
Line 193: Line 110:
[[Anchor(one)]] __1__ Mac menu applet deb package (gusty gibbon 32bits):
http://ubuntuforums.org/attachment.php?attachmentid=47899&d=1193414016
Line 198: Line 112:

[[Anchor(two)]] __2__ or 099_mac_menubar.patch.gz:
http://ubuntuforums.org/attachment.php?attachmentid=48015&d=1193500579
Line 210: Line 121:
Links related to the second method:

[[Anchor(one)]] __1__ Mac menu applet deb package (gusty gibbon 32bits):
http://ubuntuforums.org/attachment.php?attachmentid=47899&d=1193414016

[[Anchor(two)]] __2__ 099_mac_menubar.patch.gz:
http://ubuntuforums.org/attachment.php?attachmentid=48015&d=1193500579

[[Anchor(three)]] __3__ 098_no_label_underline.patch:
http://ayozone.org/wp-content/uploads/2007/11/098_no_label_underline.patch
Other ressources :

Aggregation of the Gnome Global Menu Patch data, Originally By AqD

Screenshot: [img]http://ubuntuforums.org/attachment.php?attachmentid=48556&d=1193802353[/img]

http://ubuntuforums.org/showthread.php?t=241868

Installation instructions (this page offers two different methods to install this):

First method :

mac menu applet:

Code:

tar jxvf gnome-macmenu-applet-1.0.11.tar.bz2
cd gnome-macmenu-applet-1.0.11
sudo cp gnome-macmenu-applet /usr/lib/gnome-applets/
sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/

gtk+ patch:

Code:

gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install

NOTE Be Patient, this compiles from source, which will take considerably longer than installing from the Binary Package (Binary ~1 Minute | Source ~30 Minutes)BRBR As for dependencies, i don't know what is needed exactly, here is the list of dev packages i have:

Code:

autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev

you can do before patching gtk+ Code:

sudo apt-get install ...packages from the list above...


Second method :

Install the mac menu applet deb package (link at the bottom of the page) [#one 1], then in a terminal, type in this to install apt-build

Code:

sudo apt-get install apt-build

Choose to add apt-build repository to your sources.list when asked.

After, I told apt-build to get libgtk2.0-0 source package (apt-build takes care of the build deps for you, ie: -dev packages) You need to have the ubuntu sources repositories enabled (menu System > Administration > Software sources, then pick Ubuntu software tab and check Source Code box). Code:

sudo apt-build source libgtk2.0-0

Next step was to copy the dowloaded patch [#two 2] from where is was (on the desktop in _this_ case, replace "~/Desktop/" with the path where you downloaded the gzipped patch) to the libgtk2.0-0 source package directory If you also want to remove the underlines use the patch 098_no_label_underline.patch [#three 3]

First, uncompress 099_mac_menubar.patch.gz : Code:

gzip -d ~/Destop/099_mac_menubar.patch.gz

then copy the patches to the patches directory (assuming they are on your Desktop, if it's not the case replace ~/Desktop/ with the path were the patches are located) Code:

sudo cp ~/Desktop/099_mac_menubar.patch /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/
sudo cp ~/Desktop/098_no_label_underline.patch /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/

And, add the name of the patches you have added (i.e."099_mac_menubar.patch", "098_no_label_underline.patch")to the debian/patches/series list

Code:

sudo gedit /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/series

Now we use use apt-build to build the packages Code:

sudo apt-build install libgtk2.0-0

NOTE Be Patient, this compiles from source, which will take considerably longer than installing from the Binary Package (Binary ~1 Minute | Source ~30 Minutes)BRBR After that you'll have an update for libgtk in your update manager (it won't install automatically because local apt-build repository isn't signed), let update manager install them and finally,add the applet to the top panel. Now you need to log out/in gnome to see the changes.


For those who want/need to compile themselves the mac menu applet (ie: 64bits)

Intall this before Code:

sudo apt-get install build-essential libwnck-dev libpanelappletmm-2.6-dev

Then unpack the applet source and go in its folder Code:

tar -xvzf macmenu-applet-0.1.tar.gz
cd macmenu-applet-0.1/

Then compile and install Code:

make
sudo make install

NOTE Be Patient, this compiles from source, which will take considerably longer than installing from the Binary Package (Binary ~1 Minute | Source ~30 Minutes)BR


latests patches/sources/packages (needs urgent attention):

Mac menu applet: http://ubuntuforums.org/attachment.php?attachmentid=47781&d=1193338299

gtkMenuBar Patch: http://ubuntuforums.org/attachment.php?attachmentid=47782&d=1193338357

gtk2MenuPatch:

http://ubuntuforums.org/attachment.php?attachmentid=48733&d=1193950276

Patch against 2.12.1 (removing annoying underlines):

http://ubuntuforums.org/attachment.php?attachmentid=48738&d=1193954936

Links related to the second method:

Anchor(one) 1 Mac menu applet deb package (gusty gibbon 32bits): http://ubuntuforums.org/attachment.php?attachmentid=47899&d=1193414016

Anchor(two) 2 099_mac_menubar.patch.gz: http://ubuntuforums.org/attachment.php?attachmentid=48015&d=1193500579

Anchor(three) 3 098_no_label_underline.patch: http://ayozone.org/wp-content/uploads/2007/11/098_no_label_underline.patch Other ressources :

.conkyrc:

http://ubuntuforums.org/attachment.php?attachmentid=48019&d=1193501364

global_menu (last edited 2009-01-13 17:27:53 by 137)