You are not logged in.

#1 2009-06-10 15:47:18

Redrazor39
Member
Registered: 2008-12-23
Posts: 108

Will mac menubar work with Xfce4 panel in Openbox?

I see all these references to making the mac menubar work with Xfce4 and its panel, but I'm using Openbox. Will I still be able to have a global menubar if I install Xfce4 panel, or does the mac menubar plugin depend on other parts of Xfce4? I have already found a compatible gtk theme, I just need to know if this  will work in openbox.

Last edited by Redrazor39 (2009-06-10 15:52:01)

Offline

#2 2009-06-10 18:13:56

Redrazor39
Member
Registered: 2008-12-23
Posts: 108

Re: Will mac menubar work with Xfce4 panel in Openbox?

I've been having some troubles installing it from the AUR or from the guy's repo, but I don't know if that's happening because it flat out won't work or because of something else.

Offline

#3 2009-06-10 18:39:39

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Will mac menubar work with Xfce4 panel in Openbox?

you really should post errors you get, we are not able to see your screen ;-)

Offline

#4 2009-06-11 16:56:08

Redrazor39
Member
Registered: 2008-12-23
Posts: 108

Re: Will mac menubar work with Xfce4 panel in Openbox?

Ok so I tried to install xfce4-macmenu-plugin from the aur:

yaourt -S xfce4-macmenu-plugin

but I get this error, and I have no idea what it means. Help!?

patching file macmenu-applet.c
patching file xfce4-macmenu-plugin.desktop
macmenu-applet.c: In function 'macmenu_load_from_rc':
macmenu-applet.c:378: error: 'XfceRc' undeclared (first use in this function)
macmenu-applet.c:378: error: (Each undeclared identifier is reported only once
macmenu-applet.c:378: error: for each function it appears in.)
macmenu-applet.c:378: error: 'rc' undeclared (first use in this function)
macmenu-applet.c:378: warning: implicit declaration of function 'xfce_rc_simple_open'
macmenu-applet.c:382: warning: implicit declaration of function 'xfce_rc_read_bool_entry'
macmenu-applet.c:384: warning: implicit declaration of function 'xfce_rc_close'
macmenu-applet.c: In function 'macmenu_write_rc':
macmenu-applet.c:392: error: 'XfceRc' undeclared (first use in this function)
macmenu-applet.c:392: error: 'rc' undeclared (first use in this function)
macmenu-applet.c:396: warning: implicit declaration of function 'xfce_rc_write_bool_entry'
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build xfce4-macmenu-plugin package.

Offline

#5 2009-06-11 17:18:36

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: Will mac menubar work with Xfce4 panel in Openbox?

probably the patch is not up to date and thus breaks compilation. have a look at the PKGBUILD and try to take the patch out. maybe it's either not needed anymore or superseded by some changes or another patch.

cheers Barde

Offline

#6 2009-06-11 17:28:20

Redrazor39
Member
Registered: 2008-12-23
Posts: 108

Re: Will mac menubar work with Xfce4 panel in Openbox?

Well, I tried deleting the lines that say "patch" in them, but other than that I'm not really sure what to look for. Here's the PKGBUILD:

# Maintainer: AqD <aquila.deus@gmail.com>
# Contributor: lh <jarryson@gmail.com>
pkgname=xfce4-macmenu-plugin
pkgver=1.0.15
pkgrel=1
pkgdesc="Mac-style menubar plugin for xfce panel (4.4+)"
arch=(i686 x86_64)
url="http://aquila.deus.googlepages.com/"
depends=('xfce4-panel>=4.3.99.2' 'libwnck>=2.16.1')
makedepends=(pkgconfig)
options=(!LIBTOOL)
license=(LGPL)
source=(macmenu-applet.c \
        macmenu-tslist.h \
        macmenu-applet.patch \
        xfce-plugin-desktop.patch \
        $pkgname.desktop)
md5sums=('f3c02035222ffaf9cd8ba89b51b578f4' \
         '442128110d99a35da54df6fd58b8c405' \
         '9916f7d29fa0e1409afeca66bf4fe945' \
         '6a2d90e1227445a24facab58f449c6f9' \
         'ce456ab558dd1940b83a13c6067f6bc6')


build() {
  cd ${startdir}/src
  patch -NRp0 < ../macmenu-applet.patch
  patch -NRp0 < ../xfce-plugin-desktop.patch
  gcc -std=gnu99 -Wall -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` $CFLAGS $LDFLAGS -o $pkgname macmenu-applet.c || return 1
  mkdir -p ${startdir}/pkg/usr/lib//xfce4/xfce4/panel-plugins
  mkdir -p ${startdir}/pkg/usr/share/xfce4/panel-plugins
  cp -f $pkgname ${startdir}/pkg/usr/lib/xfce4/xfce4/panel-plugins/
  cp -f $pkgname.desktop ${startdir}/pkg/usr/share/xfce4/panel-plugins/
}

Offline

#7 2009-06-11 18:30:56

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: Will mac menubar work with Xfce4 panel in Openbox?

i just got it to build
there you go

i have no use for it '^^

cheerio Barde

Offline

#8 2009-06-11 19:05:20

Redrazor39
Member
Registered: 2008-12-23
Posts: 108

Re: Will mac menubar work with Xfce4 panel in Openbox?

Thanks! But, what do I do with this package? pacman -U (packagename) resulted in:

loading package data...
error: 'xfce4-macmenu-plugin-1.0.1501.src.tar.gz': cannot open package file

Offline

#9 2009-06-11 19:44:39

sliponoga
Member
Registered: 2007-09-14
Posts: 38

Re: Will mac menubar work with Xfce4 panel in Openbox?

Redrazor39 wrote:

Thanks! But, what do I do with this package?

$ tar -zxf xfce4-macmenu-plugin-1.0.15-1.src.tar.gz
$ cd xfce4-macmenu-plugin
$ makepkg

Offline

#10 2009-06-12 06:32:43

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Will mac menubar work with Xfce4 panel in Openbox?

please use gnome-globalmenu-svn instead

Offline

#11 2009-06-12 14:45:37

Redrazor39
Member
Registered: 2008-12-23
Posts: 108

Re: Will mac menubar work with Xfce4 panel in Openbox?

Will that work with the xfce4 panel?

Offline

#12 2009-06-12 16:04:54

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Will mac menubar work with Xfce4 panel in Openbox?

of course. see here:

code.google.com/p/gnome2-globalmenu

Offline

#13 2009-06-12 16:30:41

Allamgir
Member
Registered: 2009-06-11
Posts: 168

Re: Will mac menubar work with Xfce4 panel in Openbox?

Alright, I tried installing gnome-globalmenu-svn and I get these errors:

libgnomenu/application.vala:96.23-96.23: warning: deprecated syntax, use `(owned)` cast
        applications.prepend(#app);
                            ^
libgnomenu/application.vala:123.24-123.24: warning: deprecated syntax, use `(owned)` cast
            applications.prepend(#app);
                                ^
libgnomenu/application.vala:159.26-159.26: warning: deprecated syntax, use `(owned)` cast
                    applications.prepend(#app);
                                        ^
libgnomenu/menuitem.vala:517.43-517.59: error: method `Gnomenu.MenuItem.show_image_notify' is incompatible with signal `GLib.Object.notify', expected `void show_image_notify (GLib.ParamSpec)'
                settings.notify["gtk-menu-images"] += show_image_notify;
                                                      ^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 3 warning(s)
make[2]: *** [gnomenu.vapi] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-agi/aur-gnome-globalmenu-svn/gnome-globalmenu-svn/src/gnome-globalmenu-build/libgnomenu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-agi/aur-gnome-globalmenu-svn/gnome-globalmenu-svn/src/gnome-globalmenu-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build gnome-globalmenu-svn package.

I don't understand. What do I do?


дɭɭɑӎɠїɾ

Offline

#14 2009-06-12 16:40:31

DevoidOfWindows
Member
Registered: 2009-05-24
Posts: 133

Re: Will mac menubar work with Xfce4 panel in Openbox?

You will have to manually downgrade Vala.

Offline

Board footer

Powered by FluxBB