diff --git a/x11/plank/Makefile b/x11/plank/Makefile index e15395c3de0e..969addbd50fd 100644 --- a/x11/plank/Makefile +++ b/x11/plank/Makefile @@ -1,40 +1,41 @@ PORTNAME= plank -DISTVERSION= 0.11.149 +DISTVERSION= 0.11.151 CATEGORIES= x11 MAINTAINER= daniel@shafer.cc COMMENT= Elegant, simple, and clean dock WWW= https://github.com/zquestz/plank-reloaded LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libbamf3.so:sysutils/bamf \ libgee-0.8.so:devel/libgee \ libgnome-menu-3.so:x11/gnome-menus RUN_DEPENDS= upower>0:sysutils/upower USES= desktop-file-utils gettext-runtime gettext-tools gnome \ meson pkgconfig vala:build xorg USE_GITHUB= yes GH_ACCOUNT= zquestz GH_PROJECT= plank-reloaded USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 GLIB_SCHEMAS= net.launchpad.plank.gschema.xml USE_XORG= x11 xfixes xi MESON_ARGS= -Dproduction-release=true \ -Denable-apport=false \ -Denable-barriers=yes OPTIONS_DEFINE= DBUSMENU OPTIONS_SUB= yes DBUSMENU_DESC= DBusMenu protocol DBUSMENU_LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu DBUSMENU_MESON_YES= enable-dbusmenu post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/docklets/Separator/SeparatorDockItem.vala \ ${WRKSRC}/lib/Factories/ItemFactory.vala .include diff --git a/x11/plank/distinfo b/x11/plank/distinfo index 0aa2e428ea3a..1c6940476125 100644 --- a/x11/plank/distinfo +++ b/x11/plank/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1757420136 -SHA256 (zquestz-plank-reloaded-0.11.149_GH0.tar.gz) = 0526af75adde1b57fd583dcbc73be507c4f18e30104ca86be1a2d9aec3060e7e -SIZE (zquestz-plank-reloaded-0.11.149_GH0.tar.gz) = 665188 +TIMESTAMP = 1758546125 +SHA256 (zquestz-plank-reloaded-0.11.151_GH0.tar.gz) = 1c7434ada03151f5bda2ceb6f0efc1a74eea03e8f641d4549e680488bd1fc2b5 +SIZE (zquestz-plank-reloaded-0.11.151_GH0.tar.gz) = 671898 diff --git a/x11/plank/files/patch-docklets_Separator_SeparatorDockItem.vala b/x11/plank/files/patch-docklets_Separator_SeparatorDockItem.vala new file mode 100644 index 000000000000..bd347b8c77df --- /dev/null +++ b/x11/plank/files/patch-docklets_Separator_SeparatorDockItem.vala @@ -0,0 +1,13 @@ +--- docklets/Separator/SeparatorDockItem.vala.orig 2025-09-17 00:18:24 UTC ++++ docklets/Separator/SeparatorDockItem.vala +@@ -252,8 +252,8 @@ namespace Docky { + ); + + string[] icon_paths = { +- "/usr/share/icons", +- "/usr/share/pixmaps", ++ "%%LOCALBASE%%/share/icons", ++ "%%LOCALBASE%%/share/pixmaps", + GLib.Environment.get_home_dir () + "/.local/share/icons" + }; + diff --git a/x11/plank/files/patch-lib_Services_Environment.vala b/x11/plank/files/patch-lib_Services_Environment.vala new file mode 100644 index 000000000000..27722a36008f --- /dev/null +++ b/x11/plank/files/patch-lib_Services_Environment.vala @@ -0,0 +1,31 @@ +Add support for x11/budgie and fix x11/gnome-flashback, +x11/gnome-shell-extensions + +--- lib/Services/Environment.vala.orig 2025-09-17 00:18:24 UTC ++++ lib/Services/Environment.vala +@@ -56,6 +56,7 @@ namespace Plank { + PANTHEON = 1 << 11, + DDE = 1 << 12, + ENDLESS = 1 << 13, ++ BUDGIE = 1 << 14, + OLD = 1 << 24, + UBUNTU = 1 << 25; + +@@ -66,7 +67,8 @@ namespace Plank { + case "gnome": result = XdgSessionDesktop.GNOME; break; + case "gnome-xorg": result = XdgSessionDesktop.GNOME; break; + case "gnome-classic": result = XdgSessionDesktop.GNOME; break; +- case "gnome-flashback": result = XdgSessionDesktop.GNOME; break; ++ case "gnome-classic-xorg": result = XdgSessionDesktop.GNOME; break; ++ case "gnome-flashback-metacity": result = XdgSessionDesktop.GNOME; break; + case "ubuntu": result = XdgSessionDesktop.UBUNTU; break; + case "ubuntu-xorg": result = XdgSessionDesktop.UBUNTU; break; + case "kde": result = XdgSessionDesktop.KDE; break; +@@ -83,6 +85,7 @@ namespace Plank { + case "cinnamon": result = XdgSessionDesktop.CINNAMON; break; + case "pantheon": result = XdgSessionDesktop.PANTHEON; break; + case "dde": result = XdgSessionDesktop.DDE; break; ++ case "budgie": result = XdgSessionDesktop.BUDGIE; break; + case "endless": result = XdgSessionDesktop.ENDLESS; break; + case "old": result = XdgSessionDesktop.OLD; break; + default: result = XdgSessionDesktop.UNKNOWN; break;