mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
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:
@@ -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>
|
||||
@@ -0,0 +1,2 @@
|
||||
SHA256 (steef-snixembed-0.3.3.tar.gz) = Lhi4UsrKCBuSv1gNhDn2606FvCjO5d8JMoMGSZQMUb0=
|
||||
SIZE (steef-snixembed-0.3.3.tar.gz) = 9491
|
||||
@@ -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
|
||||
@@ -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.)
|
||||
@@ -0,0 +1,3 @@
|
||||
@bin bin/snixembed
|
||||
@man man/man1/snixembed.1
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user