View | Details | Raw Unified | Return to bug 257692 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/xfce4-docklike-plugin/Makefile (+35 lines)
Added Link Here
1
PORTNAME=		xfce4-docklike-plugin
2
PORTVERSION=		0.3.0
3
DISTVERSIONPREFIX=	v
4
CATEGORIES=		x11 xfce
5
6
MAINTAINER=		quentinrbaker@gmail.com
7
COMMENT=		Modern, minimalist taskbar for Xfce
8
9
LICENSE=		GPLv3
10
11
LIB_DEPENDS=		libinotify.so:devel/libinotify \
12
			libharfbuzz.so:print/harfbuzz
13
14
USES=			gettext-tools gmake gnome libtool xfce xorg
15
16
USE_GITHUB=		yes
17
GH_ACCOUNT=		davekeogh
18
GH_PROJECT=		xfce4-docklike-plugin
19
20
GNU_CONFIGURE=		yes
21
CONFIGURE_SCRIPT=	autogen.sh
22
23
USE_GNOME=		cairo gdkpixbuf2 gtk30 libwnck3
24
USE_XFCE=		panel
25
USE_XORG=		x11
26
27
OPTIONS_DEFINE=		NLS
28
OPTIONS_SUB=		yes
29
NLS_USES=		gettext-runtime
30
NLS_CONFIGURE_ENABLE=	nls
31
32
LDFLAGS+=	-L${LOCALBASE}/lib -linotify
33
34
INSTALL_TARGET=	install-strip
35
.include <bsd.port.mk>
(-)b/x11/xfce4-docklike-plugin/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1628336255
2
SHA256 (davekeogh-xfce4-docklike-plugin-v0.3.0_GH0.tar.gz) = 350253fdc948497977b52084463020e52df748ca437833bbb7b2aea62eba68a5
3
SIZE (davekeogh-xfce4-docklike-plugin-v0.3.0_GH0.tar.gz) = 41285
(-)b/x11/xfce4-docklike-plugin/files/patch-src_Helpers.cpp (+11 lines)
Added Link Here
1
--- src/Helpers.cpp.orig	2021-08-07 07:23:04 UTC
2
+++ src/Helpers.cpp
3
@@ -83,7 +83,7 @@ namespace Help
4
 		{
5
 			char buffer[1024];
6
 			strcpy(buffer, str.c_str());
7
-			return basename(buffer);
8
+			return g_path_get_basename(buffer);
9
 		}
10
 
11
 		std::string trim(const std::string str)
(-)b/x11/xfce4-docklike-plugin/files/patch-src_Wnck.cpp (+20 lines)
Added Link Here
1
--- src/Wnck.cpp.orig	2021-08-07 07:23:13 UTC
2
+++ src/Wnck.cpp
3
@@ -35,7 +35,7 @@ namespace Wnck
4
 				int nbr = read(fd, buffer, 512);
5
 				::close(fd);
6
 
7
-				char* exe = basename(buffer);
8
+				char* exe = g_path_get_basename(buffer);
9
 				if (strcmp(exe, "python") != 0) // ADDIT graphical interpreters here
10
 					return exe;
11
 
12
@@ -44,7 +44,7 @@ namespace Wnck
13
 					;
14
 
15
 				if (it < buffer + nbr)
16
-					return basename(it);
17
+					return g_path_get_basename(it);
18
 			}
19
 
20
 			// fallback : return window's name
(-)b/x11/xfce4-docklike-plugin/pkg-descr (+3 lines)
Added Link Here
1
This is a taskbar panel plugin for xfce4, designed to mimic the look and functionality of docks and application bars used in Windows and MacOS. It includes optional features like window previews and launcher pinning.
2
3
WWW: https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin
(-)b/x11/xfce4-docklike-plugin/pkg-plist (+14 lines)
Added Link Here
1
lib/xfce4/panel/plugins/libdocklike.so
2
%%NLS%%share/locale/de/LC_MESSAGES/xfce4-docklike-plugin.mo
3
%%NLS%%share/locale/el/LC_MESSAGES/xfce4-docklike-plugin.mo
4
%%NLS%%share/locale/es/LC_MESSAGES/xfce4-docklike-plugin.mo
5
%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-docklike-plugin.mo
6
%%NLS%%share/locale/it/LC_MESSAGES/xfce4-docklike-plugin.mo
7
%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-docklike-plugin.mo
8
%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-docklike-plugin.mo
9
%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-docklike-plugin.mo
10
%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-docklike-plugin.mo
11
%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-docklike-plugin.mo
12
%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-docklike-plugin.mo
13
%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-docklike-plugin.mo
14
share/xfce4/panel/plugins/docklike.desktop

Return to bug 257692