Package Details: vala-panel-appmenu-xfce 24.05-3

Git Clone URL: https://aur.archlinux.org/vala-panel-appmenu.git (read-only, click to copy)
Package Base: vala-panel-appmenu
Description: Global Menu plugin for xfce4-panel
Upstream URL: https://gitlab.com/vala-panel-project/vala-panel-appmenu
Licenses: LGPL-3.0-or-later
Conflicts: appmenu-glib-translator-git, vala-panel-appmenu-budgie-git, vala-panel-appmenu-common-git, vala-panel-appmenu-jayatana-git, vala-panel-appmenu-locale-git, vala-panel-appmenu-mate-git, vala-panel-appmenu-registrar-git, vala-panel-appmenu-valapanel-git, vala-panel-appmenu-xfce-git, vala-panel-git
Submitter: hayao
Maintainer: xiota
Last Packager: xiota
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-16 13:36 (UTC)
Last Updated: 2024-05-27 08:10 (UTC)

Pinned Comments

xiota commented on 2024-06-24 20:46 (UTC) (edited on 2024-06-24 20:57 (UTC) by xiota)

Uninstall method shouldn't matter. I would use command-line:sudo pacman -Runc [packages]

Then to install the packages after building: sudo pacman -U [files]

This package makes the stable packages, no suffix. The -git packages are incompatible. If you want to switch to the -git packages, uninstall all related packages. Then build and install in this order:

  • appmenu-glib-translator-git
  • vala-panel-git
  • vala-panel-appmenu-xfce-git (this is pkgbase, even if you want mate version)

I'm not sure about updates. If AUR helpers are confused:

  • Uninstall related packages: vala-panel, appmenu-glib-translator, vala-panel-appmenu-*
  • Rebuild and install vala-panel. Unlike -git, translator package is not needed.
  • Rebuild vala-panel-appmenu (previous instructions)

xiota commented on 2024-06-23 08:50 (UTC) (edited on 2024-06-24 20:59 (UTC) by xiota)

There are different types of depends. If an AUR helper cannot distinguish (1) and (3), it may refuse to build this package.

  1. Runtime-only depends
  2. Make depends
  3. Depends that are needed for both runtime and make

To build this package:

  • Uninstall appmenu-glib-translator and all vala-panel-appmenu-* packages.
  • Keep vala-panel installed if it is up to date. Otherwise, rebuild and update it.
  • Then build this package without AUR helper:
git clone https://aur.archlinux.org/vala-panel-appmenu.git
cd vala-panel-appmenu
makepkg -sr

Latest Comments

1 2 3 4 Next › Last »

xiota commented on 2024-06-24 20:46 (UTC) (edited on 2024-06-24 20:57 (UTC) by xiota)

Uninstall method shouldn't matter. I would use command-line:sudo pacman -Runc [packages]

Then to install the packages after building: sudo pacman -U [files]

This package makes the stable packages, no suffix. The -git packages are incompatible. If you want to switch to the -git packages, uninstall all related packages. Then build and install in this order:

  • appmenu-glib-translator-git
  • vala-panel-git
  • vala-panel-appmenu-xfce-git (this is pkgbase, even if you want mate version)

I'm not sure about updates. If AUR helpers are confused:

  • Uninstall related packages: vala-panel, appmenu-glib-translator, vala-panel-appmenu-*
  • Rebuild and install vala-panel. Unlike -git, translator package is not needed.
  • Rebuild vala-panel-appmenu (previous instructions)

aL3x_Ge commented on 2024-06-24 13:35 (UTC)

@xiota That managed to sort that out. Thank you.

Bit of a first time learning curve for me, trying to sort out the relationships of everything.

makepkg -i was needed to finish it all off, it might be worth adding.

For the benefit of others too, for the deletion, I wasn't sure whether that should be at the raw terminal or whether I could do this via the standard desktop GUI.

I went with the latter as I could paste the commands to a terminal emulator and figured that if 'vala-panel' wasn't removed that the desktop wouldn't fall over. That worked fine for me ...

The other thing to add is that all packages showed up as normal. I was expecting that they would all end up being listed as with a '-git' suffix and I would be stuck with some weird update procedure to have to follow for ever more:

pacman -Qi | grep vala | grep Name
Name            : vala
Name            : vala-panel
Name            : vala-panel-appmenu
Name            : vala-panel-appmenu-locale
Name            : vala-panel-appmenu-mate
Name            : vala-panel-appmenu-registrar
Name            : vala-panel-appmenu-valapanel

pamac list -m | grep vala
vala-panel                    24.05-3               AUR  2.9 MB
vala-panel-appmenu            24.05-3               AUR  
vala-panel-appmenu-locale     24.05-3               AUR  49.6 kB
vala-panel-appmenu-mate       24.05-3               AUR  118.5 kB
vala-panel-appmenu-registrar  24.05-3               AUR  26.9 kB
vala-panel-appmenu-valapanel  24.05-3               AUR  114.0 kB

But it all looks just like it should. Amazing!

xiota commented on 2024-06-23 08:50 (UTC) (edited on 2024-06-24 20:59 (UTC) by xiota)

There are different types of depends. If an AUR helper cannot distinguish (1) and (3), it may refuse to build this package.

  1. Runtime-only depends
  2. Make depends
  3. Depends that are needed for both runtime and make

To build this package:

  • Uninstall appmenu-glib-translator and all vala-panel-appmenu-* packages.
  • Keep vala-panel installed if it is up to date. Otherwise, rebuild and update it.
  • Then build this package without AUR helper:
git clone https://aur.archlinux.org/vala-panel-appmenu.git
cd vala-panel-appmenu
makepkg -sr

aL3x_Ge commented on 2024-06-23 07:31 (UTC) (edited on 2024-06-23 07:51 (UTC) by aL3x_Ge)

@xiota thanks for getting back

There are no git versions installed of anything. Only Git itself.

I am seeing Pamac inconsistency however. This may be me or it may be legend. I have been a long time Debian user but thought I would dip my toes in the rolling release Arch waters and installed Manjaro on one of my machines a couple of years ago. :rofl:

Pamac shows me the dependency list. I click on one of them. I then click on the 'back' icon and it shows me something different.

I can't build because I need appmenu-glib-translator but this package says it needs vala-panel-appmenu-common

I am now seeing 'conflicts' not 'depends' ...

Turning to Pacman at the CLI, I am getting a different story:

pacman -Syu says there is "nothing to do". I presume AUR make files are not included ??

$ pacman -Qi | grep appmenu | grep Name
Name            : vala-panel-appmenu-common
Name            : vala-panel-appmenu-mate

$ pacman -Qi | grep vala | grep Name
Name            : vala
Name            : vala-panel
Name            : vala-panel-appmenu-common
Name            : vala-panel-appmenu-mate

pacman -Qi vala-panel-appmenu-mate
Name            : vala-panel-appmenu-mate
Version         : 0.7.6-3
Description     : AppMenu (Global Menu) plugin for mate-panel
Architecture    : x86_64
URL             : https://gitlab.com/vala-panel-project/vala-panel-appmenu
Licenses        : LGPL3
Groups          : None
Provides        : None
Depends On      : gtk3  bamf>=0.5.0  mate-panel  libwnck3  vala-panel-appmenu-common
Optional Deps   : gtk2-ubuntu: for hiding gtk2 menus
                  unity-gtk-module: for gtk2/gtk3 menus
                  vala-panel-appmenu-registrar: for DBusMenu registrar
                  jayatana: for Java applications support
                  appmenu-qt4: for qt4 menus
                  appmenu-qt5: for qt5 menus
Required By     : None
Optional For    : vala-panel-appmenu-common
Conflicts With  : vala-panel-appmenu-mate-git
Replaces        : None
Installed Size  : 191.33 KiB
Packager        : Unknown Packager
Build Date      : Sat 17 Sep 2022 12:36:38
Install Date    : Sat 17 Sep 2022 12:38:13
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

pacman -Qi vala-panel-appmenu-common
Name            : vala-panel-appmenu-common
Version         : 0.7.6-3
Description     : Translations and common files for Global Menu
Architecture    : any
URL             : https://gitlab.com/vala-panel-project/vala-panel-appmenu
Licenses        : LGPL3
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : vala-panel-appmenu-xfce
                  vala-panel-appmenu-valapanel
                  vala-panel-appmenu-mate [installed]
                  vala-panel-appmenu-budgie
Required By     : vala-panel-appmenu-mate
Optional For    : None
Conflicts With  : vala-panel-appmenu-common-git
Replaces        : vala-panel-appmenu-translations-git
Installed Size  : 56.72 KiB
Packager        : Unknown Packager
Build Date      : Sat 17 Sep 2022 12:36:38
Install Date    : Sat 17 Sep 2022 12:38:13
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

Edit: fwiw

pacman -Qdt | grep vala
vala 0.56.17-1
vala-panel 24.05-3

xiota commented on 2024-06-22 17:42 (UTC) (edited on 2024-06-22 17:43 (UTC) by xiota)

@aL3x_Ge Are you trying to mix -git and stable packages? There is no "vala-panel-appmenu-common" (stable) package. Use all -git or all stable packages. They do not work together.

aL3x_Ge commented on 2024-06-22 12:48 (UTC)

Currently having a circular dependency problem with vala-panel-appmenu-mate 24.05-3 with Manjaro Mate.

I can't build because I need appmenu-glib-translator but this package says it needs vala-panel-appmenu-common

Meanwhile vala-panel-appmenu-mate is attemping to remove vala-panel-appmenu-common and replace it with vala-panel-appmenu-locale

I have edited the build file:

: ${_build_mate:=true}
: ${_build_xfce:=false}
: ${_build_vala:=true}
: ${_build_budgie:=false}

: ${_build_registrar:=true}
: ${_build_translator:=true}

: ${_build_git:=false}

I haven't tried building in a clean chroot. I am sure that this dev routine is easy when you know but it seems a bit excessive.

xiota commented on 2024-05-27 08:20 (UTC) (edited on 2024-05-27 08:26 (UTC) by xiota)

@qark I've made an adjustment that might help (24.05-3). The installed translator lib was preventing it from being rebuilt, causing the file to be absent.

vala-panel-appmenu-common will be replaced with vala-panel-appmenu-locale (optional) and appmenu-glib-translator (required).

vala-panel-appmenu is a metapackage to install all the other packages. You can ignore it if you don't want to do that. It also makes the main aur page easier to find.

Also, in case you don't already know, it's possible to set the variables at the command line (without editing PKGBUILD).

_build_mate=f _build_vala=f _build_budgie=f makepkg

qark commented on 2024-05-27 07:53 (UTC)

Try to build not in clean chroot with vala-panel-appmenu-common or appmenu-glib-translator installed.

Also makepkg builds empty (it has only metadata) vala-panel-appmenu package. What is it for? Do I have to install it?

xiota commented on 2024-05-27 07:38 (UTC) (edited on 2024-05-27 07:42 (UTC) by xiota)

@qark I'm unable to reproduce in clean chroot. I need more info to figure out how that error would occur. If you have any older versions of the packages installed, maybe try uninstalling them before rebuilding.

@bluedevil This is a split package that builds for mate, xfce, valapanel, and budgie by default. There are variables at the beginning of the pkgbuild that can be used to selectively disable the ones you don't want. You can also try building in clean chroot.

bluedevil commented on 2024-05-27 07:18 (UTC)

I am using XFCE. while installing this package I got budgie-desktop not found error, is it normal?

Making package: vala-panel-appmenu 24.05-2 (Mon 27 May 2024 09:15:43 AM CEST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> budgie-desktop
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: vala-panel-appmenu-exit status 8
 -> Failed to install the following packages. Manual intervention is required:
vala-panel-appmenu-registrar - exit status 8