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

Collapse All | Expand All

(-)b/x11/xfce4-docklike-plugin/Makefile (+37 lines)
Added Link Here
1
PORTNAME=		xfce4-docklike-plugin
2
PORTVERSION=		0.3.0
3
DISTVERSIONPREFIX=	v
4
CATEGORIES=		x11 xfce
5
6
MAINTAINER=		bsd@quentb.com
7
COMMENT=		Modern, minimalist taskbar for Xfce
8
9
LICENSE=		GPLv3
10
11
BUILD_DEPENDS=		xdt-csource:devel/xfce4-dev-tools
12
LIB_DEPENDS=		libinotify.so:devel/libinotify \
13
			libharfbuzz.so:print/harfbuzz
14
15
USES=			gettext-tools gmake gnome libtool pkgconfig xfce \
16
			xorg
17
18
USE_GITLAB=		yes
19
GL_SITE=		https://gitlab.xfce.org/
20
GL_ACCOUNT=		panel-plugins
21
GL_COMMIT=		61d043bf4c34b97e68ddeea808a7c1d8d3f63061
22
23
GNU_CONFIGURE=		yes
24
CONFIGURE_SCRIPT=	autogen.sh
25
INSTALL_TARGET=		install-strip
26
LDFLAGS+=		-L${LOCALBASE}/lib -linotify
27
28
USE_GNOME=		cairo gdkpixbuf2 gtk30 intltool libwnck3
29
USE_XFCE=		panel
30
USE_XORG=		x11
31
32
OPTIONS_DEFINE=		NLS
33
OPTIONS_SUB=		yes
34
NLS_USES=		gettext-runtime
35
NLS_CONFIGURE_ENABLE=	nls
36
37
.include <bsd.port.mk>
(-)b/x11/xfce4-docklike-plugin/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1628957552
2
SHA256 (panel-plugins-xfce4-docklike-plugin-61d043bf4c34b97e68ddeea808a7c1d8d3f63061_GL0.tar.gz) = d698c010046909e6346bd1d4b2961a9b110e71410dfca39fe44cae3221e949f1
3
SIZE (panel-plugins-xfce4-docklike-plugin-61d043bf4c34b97e68ddeea808a7c1d8d3f63061_GL0.tar.gz) = 41277
(-)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 (+6 lines)
Added Link Here
1
This is a taskbar panel plugin for xfce4, designed to mimic the look
2
and functionality of docks and application bars used in Windows and
3
MacOS. It includes optional features like window previews and launcher
4
pinning.
5
6
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