FreeBSD Bugzilla – Attachment 227025 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]
Port Patchfile
xfce-docklike-plugin.diff (text/plain), 3.96 KB, created by
Quentin Baker
on 2021-08-08 21:49:44 UTC
(
hide
)
Description:
Port Patchfile
Filename:
MIME Type:
Creator:
Quentin Baker
Created:
2021-08-08 21:49:44 UTC
Size:
3.96 KB
patch
obsolete
>diff --git a/x11/xfce4-docklike-plugin/Makefile b/x11/xfce4-docklike-plugin/Makefile >new file mode 100644 >index 000000000000..91da3db62e74 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/Makefile >@@ -0,0 +1,33 @@ >+PORTNAME= xfce4-docklike-plugin >+DISTVERSION= v0.3.0 >+CATEGORIES= x11 xfce >+ >+MAINTAINER= quentinrbaker@gmail.com >+COMMENT= Modern, minimalist taskbar for Xfce >+ >+LICENSE= GPLv3 >+ >+LIB_DEPENDS= libinotify.so:devel/libinotify libharfbuzz.so:print/harfbuzz >+ >+USES= gmake gnome gettext-tools xfce xorg libtool >+ >+USE_GITHUB= yes >+GH_ACCOUNT= davekeogh >+GH_PROJECT= xfce4-docklike-plugin >+ >+GNU_CONFIGURE= yes >+CONFIGURE_SCRIPT= autogen.sh >+ >+USE_GNOME= cairo libwnck3 gtk30 gdkpixbuf2 >+USE_XFCE= panel >+USE_XORG= x11 >+ >+OPTIONS_DEFINE= NLS >+OPTIONS_SUB= yes >+NLS_USES= gettext-runtime >+NLS_CONFIGURE_ENABLE= nls >+ >+LDFLAGS+= -L${LOCALBASE}/lib -linotify >+ >+INSTALL_TARGET= install-strip >+.include <bsd.port.mk> >diff --git a/x11/xfce4-docklike-plugin/distinfo b/x11/xfce4-docklike-plugin/distinfo >new file mode 100644 >index 000000000000..17abb9f95121 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1628336255 >+SHA256 (davekeogh-xfce4-docklike-plugin-v0.3.0_GH0.tar.gz) = 350253fdc948497977b52084463020e52df748ca437833bbb7b2aea62eba68a5 >+SIZE (davekeogh-xfce4-docklike-plugin-v0.3.0_GH0.tar.gz) = 41285 >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..a25c4d3ebf46 >--- /dev/null >+++ b/x11/xfce4-docklike-plugin/pkg-descr >@@ -0,0 +1,3 @@ >+A modern, minimalist taskbar for Xfce. >+ >+WWW: https://github.com/davekeogh/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