41 comments on “Global menu le nouveau mac menu

  1. Hey, thanks for the macmenu tip from the other day. :)

    Just have two questions..does this new global menu include the application title in the menubar? (ie Epiphany bolded before File Edit..etc) Is the bleeding edge version of global menu one without underlines in the menubar?

    Thanks again.

  2. you’re welcome :)
    Yes, the new global menu have an option to show the application name in bold.
    No, the underlines requires another patch to gtk. I used it before, so I maybe include it in this guide soon.

  3. It is very nice!
    A few points. Most of them is just potential change of the project, but might need to guide to change too. I always believe the further potential changes one knows the stabler code one can write.

    1.
    In the latest svn (7xx+), source code of gtk-aqd patch is installed when you do a make install. they are located at:
    /usr/share/doc/gnome-globalmenu/gtk+-aqd

    you might want to update the page when new debs for 7xx+ is built.
    2.
    I tend to change the debian’s package naming to make it more resonable and solve package version problem, when I get a chance to talk to fengshenx.
    3
    I’ll suggest you use a link to the project download page to list every packages has ubuntu in the keyword, so that If a new package is realeased you don’t need to update the page.
    4
    For rpm build, the .spec file(similiar to debian control files) is provided in the svn(for gtk-aqd). I am looking forward to merge the debian control files for gtk-aqd to svn, too). This might also leader to a future change in the wiki.

  4. Thanks for your works and comments rainwoodman :)

    About the 2nd point : debian and ubuntu have a strict package naming policy, I’m not sure that changing the name is a good idea.
    I think we just have to inscrease the release number (the number after the ubuntu word in the package name) to have something like :
    libgtk2.0-0_2.12.0-1ubuntu3.1adq_i386.deb

    3rd point : good idea.

    4rth point : I’m not sure to understand. If you meant a debian control file to build gtk with the gtk-adq patch, I don’t think it is neccessary since debian/ubuntu source packages come with all the needed debian files to build them, only need to add the patch and upgrade the changelog file.
    I you meant a debian control file to built the libgnomenu and the server (applet), that could be a great idea.

    On the way, I think libgnomenu and the applet should be built as separate packages.

    Cheers and keep up the good work :)

  5. For point 4:
    Yes, if you don’t think editing the control files every time for everybody is boring.

    For point 2:
    First of all, because this is a patched GTK, it is different from ordinary GTK. It is not only a different release or different build. Using the same name will tend to introduce confusion.

    There are the essential lines in the .spec file for building RPMs.

    Name: gtk2-aqd
    Version: {svn_version}.{base_version}
    Release: 1%{?dist}
    Provides: gtk2 = {base_version}-{release}
    Obsoletes: gtk2 < = {base_version}-{release}

    The final package name is similiar to gtk2-aqd-0.4.svn657.2.12.5-1.fc8.
    As you can see, both the GTK version, the aqd patch version is there. And the package name is gtk2-aqd.
    There are three pros and no cons:
    0 when installing gtk-aqd, gtk with a less version is automatically removed.
    1 when GTK update is released, gtk-aqd won’t be automatically replaced.
    2 when new gtk-aqd arrives, one can use rpm -U to upgrade it. The dependency problem is automatically handled.

    I also don’t see any confiction with a strict package naming rule. If the naming rule is strict, and we are making a package that is different from gtk, why don’t we pickup a new name?

    I think in debian there is one or two keywords that has the same meaning of RPM’s Provides and Obstacles.

  6. Actually, as I use the deb-src package as source to build gtk, all control files are ready, I only need to copy the patch in the right debian/patch directory and edeit the series file to add the patch to it and edit the changelog to increase the release name (where I append adq also).
    That is easier for me.
    Though, if someone (fengshenx for ex) waant to build the debs from scratch and latest gtk source, why not if all official debian patches used on ubuntu/debian are added and all packages built (even these that aren’t installed by default, this to avoid conflicts). Then we may make for a repository on http://ppa.launchpad.net.

  7. Is anyone trying to make this work for amd64 boxes, I would really like to use ‘Global Menu’. If I could I would help you out but coding is beyond my knowledge :( .

  8. rainwoodman (the main dev of globalmenu project) also want this to work on 64bits boxes. I think he is close to manage this.
    If you want to help you can try to compile the latest revisions, and give some precise feedback in the ubuntuforums thread or on globalmenu site.

  9. I got this to compile on 64 bit by temporarily moving all ”.a” files out of the lib directory… I’m not a linux C guru or anything but apparently ”.a” files are not usable in amd64 architecture, even though the linker tries ”.a” files before ”.la”, ”.so”, etc.

    But even with everything compiled and installed, the menus don’t show up in the applet, and when I add the GTK_MODULES environment variable, some of my panel applets (like the main menu, volume control, and window switcher) don’t show up at all!

  10. Hi!
    I have encountered some problems while following the steps described in this guide. I am using Debian testing and compiling from source.

    The first problem is that checkinstall doesn’t seem to work. It complains about some “libgnomenu.a” file not existing and aborts operation. So, I had to install with “make install”.

    Then I load the globalmenu applet and it loads correctly. The only problem is that when I start a GTK application I get the following message:

    Gtk-Message: Failed to load module “libgnomenu”: (null)

    The application starts but its menu shows up in the window and not in the globalmenu applet as it is supposed.

  11. same problem as ernest

    i tried install in the new Ubuntu 8.04 and when i run checkinstall he complains about libgnomenu.a and don’t work

    some suggestion?

    thank you

  12. @ernest: Sorry for the late answer. Make install didn’t install all files you should have missed the messages that told you to recompile without maintainer-mode.

    here’s the solution (for tiagozc also) :
    Restart the applet install at configure step and append the parameter—disable-maintainer-mode to the configure commande so it will look like this :
    ./configure—prefix=/usr—enable-tracing=no—enable-xfce-plugin=no—disable-maintainer-mode

    Then, do all steps after and it should work.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: