x11/xfce4-whiskermenu-plugin: Update to 2.9.0

- Enable menu option to launch menulibre to configure the menu
- Add MENULIBRE option (on by defualt) to add a runtime dependency
  on menulibre
This commit is contained in:
Guido Falsi 2025-02-01 16:10:16 +01:00
parent 32db6431a4
commit e23ace75b7
3 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= xfce4-whiskermenu-plugin
PORTVERSION= 2.8.4
PORTVERSION= 2.9.0
CATEGORIES= x11 xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@ -16,17 +16,20 @@ USES= cmake compiler:c++14-lang gettext-tools gnome localbase \
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XFCE= garcon libexo panel xfconf
OPTIONS_DEFINE= ACCOUNTS_SERVICE LTO NLS WAYLAND
OPTIONS_DEFAULT= ACCOUNTS_SERVICE LTO WAYLAND
OPTIONS_DEFINE= ACCOUNTS_SERVICE LTO MENULIBRE NLS WAYLAND
OPTIONS_DEFAULT= ACCOUNTS_SERVICE LTO MENULIBRE WAYLAND
OPTIONS_SUB= yes
ACCOUNTS_SERVICE_DESC= Enable AccountsService support
MENULIBRE_DESC= Depend at runtime on x11/menulibre
ACCOUNTS_SERVICE_LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice
ACCOUNTS_SERVICE_CMAKE_BOOL= ENABLE_ACCOUNTS_SERVICE
LTO_CMAKE_BOOL= ENABLE_LINK_TIME_OPTIMIZATION
MENULIBRE_RUN_DEPENDS= menulibre:x11/menulibre
NLS_USES= gettext-runtime
WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1736186403
SHA256 (xfce4/xfce4-whiskermenu-plugin-2.8.4.tar.bz2) = ed918950e01dc97fe831e01c698b44247f1537992999b1262ab61c799272b3b7
SIZE (xfce4/xfce4-whiskermenu-plugin-2.8.4.tar.bz2) = 189895
TIMESTAMP = 1738261172
SHA256 (xfce4/xfce4-whiskermenu-plugin-2.9.0.tar.bz2) = 8892bb9cc6bbaa402288ad7e5ee76a1990cb8476fe35964a41ec8a9794f6f322
SIZE (xfce4/xfce4-whiskermenu-plugin-2.9.0.tar.bz2) = 192835

View file

@ -1,11 +1,10 @@
--- panel-plugin/settings.cpp.orig 2015-03-08 09:15:22 UTC
--- panel-plugin/settings.cpp.orig 2025-01-30 14:00:16 UTC
+++ panel-plugin/settings.cpp
@@ -148,6 +148,8 @@ void Settings::load(char* file)
@@ -188,6 +188,7 @@ void Settings::load(const gchar* file, bool is_default
{
if (!file)
{
+ command[CommandProfile]->set_shown(false);
+ command[CommandMenuEditor]->set_shown(false);
return;
}