Package Details: vala-panel-appmenu-mate-git 24.02.r1.gced6ce3-1

Git Clone URL: https://aur.archlinux.org/vala-panel-appmenu-xfce-git.git (read-only, click to copy)
Package Base: vala-panel-appmenu-xfce-git
Description: AppMenu (Global Menu) plugin for mate-panel
Upstream URL: https://gitlab.com/vala-panel-project/vala-panel-appmenu
Licenses: LGPL3
Conflicts: vala-panel-appmenu-mate
Provides: vala-panel-appmenu-mate
Submitter: rilian
Maintainer: rilian
Last Packager: rilian
Votes: 37
Popularity: 0.44
First Submitted: 2015-04-01 21:00 (UTC)
Last Updated: 2024-05-07 14:12 (UTC)

Required by (5)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 25 Next › Last »

rilian commented on 2024-05-07 14:13 (UTC) (edited on 2024-05-07 14:14 (UTC) by rilian)

@xiota

It has, in separate vala-panel section. Just updated required version to 24.05 just in case if your tools will compile it properly.

Look here in PKGBUILD:

if (("${_disable_vala}" == 0));then
    _opts+=(-Dvalapanel=enabled)
    pkgname+=('vala-panel-appmenu-valapanel-git')
    makedepends+=('vala-panel>=24.05') #I updated version here
#   msg "Vala Panel applet enabled"
fi

xiota commented on 2024-05-06 23:13 (UTC) (edited on 2024-05-08 04:10 (UTC) by xiota)

@rilian Current pkgbuild does not have vala-panel in makedepends. Use strict > if package in extra repo is insufficient. Add same to depends of vala-panel specific package.

Arch has standard clean chroot instructions and scripts. Since the pkgbuild doesn't specify vala-panel is needed during build, it is not installed at all. Maintainers are generally expected to test pkgbuilds in clean chroot to ensure they are correctly specified.

Note: Point still stands. The package was incorrectly specified. Correction was pushed in commit 336d150.

rilian commented on 2024-05-06 10:50 (UTC) (edited on 2024-05-06 10:51 (UTC) by rilian)

@xiota

First issue is fixed by building with a latest vala-panel. But now I have vala-panel>=0.4.50 in makedepends, so, I guess, your clean chroot is chooses non-git vala-panel package, which is now has the bug. AFAIK, bug fixed only in git package.

xiota commented on 2024-05-06 01:51 (UTC) (edited on 2024-05-08 04:11 (UTC) by xiota)

vala-panel or vala-panel-git needs to be added to makedepends. This should resolve the conflicting files and some other issues.

Note: Chaotic AUR builds most packages in clean chroot exactly as they are specified in the PKGBUILD. This package is missing a [has incorrect] makedepends, which appears to be the cause of the problems.

xiota commented on 2024-05-06 00:46 (UTC) (edited on 2024-05-06 01:16 (UTC) by xiota)

After rebuilding vala-panel-git and vala-panel-appmenu-xfce-git in clean chroot...

Packages vala-panel-appmenu-xfce-git, vala-panel-appmenu-mate-git, and vala-panel-appmenu-valapanel-git depend on vala-panel-appmenu-common-git. However, they have conflicting files:

vala-panel-appmenu-common-git usr/share/applets/org.valapanel.appmenu.plugin
vala-panel-appmenu-mate-git usr/share/applets/org.valapanel.appmenu.plugin
vala-panel-appmenu-valapanel-git usr/share/applets/org.valapanel.appmenu.plugin
vala-panel-appmenu-xfce-git usr/share/applets/org.valapanel.appmenu.plugin

Error when trying to install vala-panel-appmenu-xfce-git and vala-panel-appmenu-common-git.

error: failed to commit transaction (conflicting files)
/usr/share/applets/org.valapanel.appmenu.plugin exists in both 'vala-panel-appmenu-common-git' and 'vala-panel-appmenu-xfce-git'

littlehoopoe commented on 2024-05-05 19:49 (UTC)

Thank you all for the help! I've ditched the chaotic aur and reinstalled everything directly from here. Thanks a lot!

Tio commented on 2024-05-05 13:09 (UTC)

Hey so all works now I have informed the chaotic-aur folks too. This is what did it for me:

Build the vala-panel-git package from AUR https://aur.archlinux.org/packages/vala-panel-git

Only after that rebuild the following packages:

appmenu-glib-translator-git
vala-panel-appmenu-xfce-git
vala-panel-appmenu-registrar-git

All works now and thanks a lot for being so helpful!

rilian commented on 2024-05-05 12:32 (UTC)

Tio, just double-check the following to avoid double menus: 1. Is vala-panel-appmenu-registrar latest, up and running? 2. Is your appmenu-gtk-module gsettings allow menus to hide? 3. Is your appmenu-gtk-module works?

What more errors are you have?

Tio commented on 2024-05-05 11:47 (UTC) (edited on 2024-05-05 12:14 (UTC) by Tio)

Posted here so that the chaotic aur devs can rebuild https://github.com/chaotic-aur/packages/issues/1944 - for our TROMjaro distro this too has become a big issue lately and I am trying to find a solution for it. Even when I manage to install from AUR with the latest vala-panel package, I get double menus and more errors.

EDIT: also see this https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/issues/387#note_1892946705

rilian commented on 2024-05-05 10:53 (UTC)

chaotic-aur should rebuild vala-panel-appmenu with latest vala-panel. Or rebuild it yourself. If you build vala-panel-appmenu with outdated vala-panel, and then update, you will still suffer from the bug.