Page 97 of 299 FirstFirst ... 47879596979899107147197 ... LastLast
Results 961 to 970 of 2990

Thread: Mac-style Menu Bar for GTK and Java/Swing applications!

  1. #961
    Join Date
    Mar 2007
    Location
    Ivano-Frankivsk, Ukraine
    Beans
    8
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: [SOLVED] Gutsy mac menu :)

    Quote Originally Posted by BoardDWorld View Post
    It seems that we have the means to patch everything correctly now. Could some please post a step by step How-To on completing the entire task. This includes any dependencies that are required. I don't personally want debs as I won't learn anything this way.


    Thanks in advance.
    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
    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+

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

  2. #962
    Join Date
    Jul 2007
    Beans
    171
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Awesome, I'll have a go at it now... thanks for your time!
    OS: All Hardy!
    System: HP DV9224TX Laptop
    CPU: Core2Duo T5600 1.82GHz / RAM: 2048MB DDR2 667MHz
    HD: 240GB SATA (2x 120GB) / VGA: nVidia Gforce 7600 1024MB (512 Dedicated/512 Shared)

  3. #963
    Join Date
    Sep 2005
    Beans
    85

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Any debs would also be highly appreciated ...

  4. #964
    Join Date
    Jul 2007
    Beans
    171
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Well it's all working thank you!

    Just one small problem to fix and that's the applets graphic, as seen in the attached image it doesn't match the rest of the task bar. Any ideas from anyone would be appreciated. I'm positive it has been mentioned in the past already so I should have it fixed soon.

    Also for anyone who's going to install all the mentioned dev's use this command:
    Code:
    sudo apt-get install 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
    Attached Images Attached Images
    Last edited by BoardDWorld; October 26th, 2007 at 01:17 PM.
    OS: All Hardy!
    System: HP DV9224TX Laptop
    CPU: Core2Duo T5600 1.82GHz / RAM: 2048MB DDR2 667MHz
    HD: 240GB SATA (2x 120GB) / VGA: nVidia Gforce 7600 1024MB (512 Dedicated/512 Shared)

  5. #965
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [SOLVED] Gutsy mac menu :)

    Quote Originally Posted by AcidumIrae View Post
    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
    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+

    sudo apt-get install ...packages from the list above...
    Thanks, this one looks very interesting , I give a try and then a feedback

  6. #966
    Join Date
    Aug 2005
    Beans
    64

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Hello,

    I made a package of applet and patched gtk for gutsy. Works for me.

    HOWTO INSTALL:

    1. Install macmenu-applet_0.1-2_i386.deb
    2. Download libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2 and install.sh
    3. Go to this directory in terminal
    4. Run sudo sh install.sh
    5. Add macmenu applet to a gnome-panel
    6. Log off/Log on

    HOWTO UNINSTALL:

    1. run 'sudo apt-get install --reinstall libgtk2.0-0'
    Attached Files Attached Files
    Last edited by avb; October 26th, 2007 at 04:53 PM.

  7. #967
    Join Date
    Sep 2005
    Beans
    85

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by avb View Post
    1. Install macmenu-applet_0.1-1_i386.deb
    Thanks, but where to find this one?

    EDIT: Never mind found it!

  8. #968
    Join Date
    Jul 2005
    Location
    London,England
    Beans
    1,022
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    thanks for the debs avb!, i dont know whether its a problem with the debs or whether its meant to be like that, but the menubar only works for nautilus, everything else (gimp,thunar,inkscape,gedit) all have their menubars in the normal place.
    Jeremy Clarkson - "A Dazzling Hero of Political Incorrectness"
    My LastFM profile
    want to Give each GTK program its own theme? well look Here

  9. #969
    Join Date
    Aug 2005
    Beans
    64

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by Hairy_Palms View Post
    thanks for the debs avb!, i dont know whether its a problem with the debs or whether its meant to be like that, but the menubar only works for nautilus, everything else (gimp,thunar,inkscape,gedit) all have their menubars in the normal place.
    try to log off and log on. I had the same problem before i reload session. Now i dont have only a menu of firefox

  10. #970
    Join Date
    Sep 2005
    Beans
    85

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    When I try to install the deb I get an error:

    "Error: Dependency is not satisfiable: libpango1.0-0"

    I checked and libpango1.0-0 is installed. Do I need to install dev packages?

Page 97 of 299 FirstFirst ... 47879596979899107147197 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •