FreeBSD Bugzilla – Attachment 227193 Details for
Bug 257692
[NEW PORT] x11/xfce4-docklike-plugin A modern, minimalist taskbar for Xfce
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch
xfce4-docklike-plugin.diff (text/plain), 4.38 KB, created by
Guido Falsi
on 2021-08-14 19:41:24 UTC
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2021-08-14 19:41:24 UTC
Size:
4.38 KB
patch
obsolete
>diff --git a/x11/xfce4-docklike-plugin/Makefile b/x11/xfce4-docklike-plugin/Makefile >new file mode 100644 >index 000000000000..117c2bad6a18 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/Makefile >@@ -0,0 +1,37 @@ >+PORTNAME= xfce4-docklike-plugin >+PORTVERSION= 0.3.0 >+DISTVERSIONPREFIX= v >+CATEGORIES= x11 xfce >+ >+MAINTAINER= bsd@quentb.com >+COMMENT= Modern, minimalist taskbar for Xfce >+ >+LICENSE= GPLv3 >+ >+BUILD_DEPENDS= xdt-csource:devel/xfce4-dev-tools >+LIB_DEPENDS= libinotify.so:devel/libinotify \ >+ libharfbuzz.so:print/harfbuzz >+ >+USES= gettext-tools gmake gnome libtool pkgconfig xfce \ >+ xorg >+ >+USE_GITLAB= yes >+GL_SITE= https://gitlab.xfce.org/ >+GL_ACCOUNT= panel-plugins >+GL_COMMIT= 61d043bf4c34b97e68ddeea808a7c1d8d3f63061 >+ >+GNU_CONFIGURE= yes >+CONFIGURE_SCRIPT= autogen.sh >+INSTALL_TARGET= install-strip >+LDFLAGS+= -L${LOCALBASE}/lib -linotify >+ >+USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libwnck3 >+USE_XFCE= panel >+USE_XORG= x11 >+ >+OPTIONS_DEFINE= NLS >+OPTIONS_SUB= yes >+NLS_USES= gettext-runtime >+NLS_CONFIGURE_ENABLE= nls >+ >+.include <bsd.port.mk> >diff --git a/x11/xfce4-docklike-plugin/distinfo b/x11/xfce4-docklike-plugin/distinfo >new file mode 100644 >index 000000000000..631ec73b6620 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1628957552 >+SHA256 (panel-plugins-xfce4-docklike-plugin-61d043bf4c34b97e68ddeea808a7c1d8d3f63061_GL0.tar.gz) = d698c010046909e6346bd1d4b2961a9b110e71410dfca39fe44cae3221e949f1 >+SIZE (panel-plugins-xfce4-docklike-plugin-61d043bf4c34b97e68ddeea808a7c1d8d3f63061_GL0.tar.gz) = 41277 >diff --git a/x11/xfce4-docklike-plugin/files/patch-src_Helpers.cpp b/x11/xfce4-docklike-plugin/files/patch-src_Helpers.cpp >new file mode 100644 >index 000000000000..738f66863335 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/files/patch-src_Helpers.cpp >@@ -0,0 +1,11 @@ >+--- src/Helpers.cpp.orig 2021-08-07 07:23:04 UTC >++++ src/Helpers.cpp >+@@ -83,7 +83,7 @@ namespace Help >+ { >+ char buffer[1024]; >+ strcpy(buffer, str.c_str()); >+- return basename(buffer); >++ return g_path_get_basename(buffer); >+ } >+ >+ std::string trim(const std::string str) >diff --git a/x11/xfce4-docklike-plugin/files/patch-src_Wnck.cpp b/x11/xfce4-docklike-plugin/files/patch-src_Wnck.cpp >new file mode 100644 >index 000000000000..7a9c64116fd9 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/files/patch-src_Wnck.cpp >@@ -0,0 +1,20 @@ >+--- src/Wnck.cpp.orig 2021-08-07 07:23:13 UTC >++++ src/Wnck.cpp >+@@ -35,7 +35,7 @@ namespace Wnck >+ int nbr = read(fd, buffer, 512); >+ ::close(fd); >+ >+- char* exe = basename(buffer); >++ char* exe = g_path_get_basename(buffer); >+ if (strcmp(exe, "python") != 0) // ADDIT graphical interpreters here >+ return exe; >+ >+@@ -44,7 +44,7 @@ namespace Wnck >+ ; >+ >+ if (it < buffer + nbr) >+- return basename(it); >++ return g_path_get_basename(it); >+ } >+ >+ // fallback : return window's name >diff --git a/x11/xfce4-docklike-plugin/pkg-descr b/x11/xfce4-docklike-plugin/pkg-descr >new file mode 100644 >index 000000000000..c320482bbe04 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/pkg-descr >@@ -0,0 +1,6 @@ >+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. >+ >+WWW: https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin >diff --git a/x11/xfce4-docklike-plugin/pkg-plist b/x11/xfce4-docklike-plugin/pkg-plist >new file mode 100644 >index 000000000000..648631c03f82 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/pkg-plist >@@ -0,0 +1,14 @@ >+lib/xfce4/panel/plugins/libdocklike.so >+%%NLS%%share/locale/de/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/el/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/es/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/it/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-docklike-plugin.mo >+%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-docklike-plugin.mo >+share/xfce4/panel/plugins/docklike.desktop
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257692
:
227025
|
227093
|
227094
| 227193