import snixembed, from izzy Meyer, tweak/ok bentley

Comment:
proxy StatusNotifierItems as XEmbedded systemtray-spec icons

Description:
While many status bars for simple X window managers do not (yet)
support StatusNotifierItem for displaying system tray icons, some
software does not fall back to the widely supported XEmbed-based
tray icon protocol. snixembed acts as a proxy between the new and
old. (It does this by presenting itself as a StatusNotifierHost on
the session bus, and using GTK+3 to maintain corresponding XEmbed
tray icons.)

Maintainer: izzy Meyer <izder456@disroot.org>

WWW: https://git.sr.ht/~steef/snixembed
This commit is contained in:
tb
2026-03-13 16:31:27 +00:00
parent e50787c4e8
commit ffbd89bdbe
6 changed files with 61 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
COMMENT = proxy StatusNotifierItems as XEmbedded systemtray-spec icons
DIST_TUPLE += srht steef snixembed 0.3.3 .
CATEGORIES = x11
MAINTAINER = izzy Meyer <izder456@disroot.org>
# ISC
PERMIT_PACKAGE = Yes
BUILD_DEPENDS = lang/vala
RUN_DEPENDS = x11/dbus x11/gtk+3 devel/glib2
LIB_DEPENDS = x11/libdbusmenu
WANTLIB += X11 atk-1.0 c cairo cairo-gobject dbusmenu-glib dbusmenu-gtk3
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gtk-3 harfbuzz harfbuzz-gobject intl pango-1.0 pangocairo-1.0
WANTLIB += pthread
MAKE_ENV = PREFIX=$(TRUEPREFIX)
FAKE_FLAGS = PREFIX=$(TRUEPREFIX)
MAKE_FLAGS = MANDIR=/man
USE_GMAKE = Yes
MAKE_FILE = makefile
ALL_TARGET = snixembed
INSTALL_TARGET = install
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (steef-snixembed-0.3.3.tar.gz) = Lhi4UsrKCBuSv1gNhDn2606FvCjO5d8JMoMGSZQMUb0=
SIZE (steef-snixembed-0.3.3.tar.gz) = 9491
+9
View File
@@ -0,0 +1,9 @@
Index: makefile
--- makefile.orig
+++ makefile
@@ -32,4 +32,4 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)$(BINDIR)/snixembed \
$(DESTDIR)$(PREFIX)$(MANDIR)/man1/snixembed.1
-.PHONY: clean install uninstall version.vala
+.PHONY: clean install uninstall
+7
View File
@@ -0,0 +1,7 @@
While many status bars for simple X window managers do not (yet)
support StatusNotifierItem for displaying system tray icons, some
software does not fall back to the widely supported XEmbed-based
tray icon protocol. snixembed acts as a proxy between the new and
old. (It does this by presenting itself as a StatusNotifierHost on
the session bus, and using GTK+3 to maintain corresponding XEmbed
tray icons.)
+3
View File
@@ -0,0 +1,3 @@
@bin bin/snixembed
@man man/man1/snixembed.1
share/doc/pkg-readmes/${PKGSTEM}
+8
View File
@@ -0,0 +1,8 @@
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
You MUST have a system-wide D-BUS daemon running BEFORE
starting ${PKGSTEM}, e.g.:
rcctl enable messagebus
rcctl start messagebus