diff --git a/x11/snixembed/Makefile b/x11/snixembed/Makefile new file mode 100644 index 00000000000..726cc8726a8 --- /dev/null +++ b/x11/snixembed/Makefile @@ -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 + +# 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 diff --git a/x11/snixembed/distinfo b/x11/snixembed/distinfo new file mode 100644 index 00000000000..66ee08b6106 --- /dev/null +++ b/x11/snixembed/distinfo @@ -0,0 +1,2 @@ +SHA256 (steef-snixembed-0.3.3.tar.gz) = Lhi4UsrKCBuSv1gNhDn2606FvCjO5d8JMoMGSZQMUb0= +SIZE (steef-snixembed-0.3.3.tar.gz) = 9491 diff --git a/x11/snixembed/patches/patch-makefile b/x11/snixembed/patches/patch-makefile new file mode 100644 index 00000000000..d87cd353a03 --- /dev/null +++ b/x11/snixembed/patches/patch-makefile @@ -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 diff --git a/x11/snixembed/pkg/DESCR b/x11/snixembed/pkg/DESCR new file mode 100644 index 00000000000..dd3b639fb2f --- /dev/null +++ b/x11/snixembed/pkg/DESCR @@ -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.) diff --git a/x11/snixembed/pkg/PLIST b/x11/snixembed/pkg/PLIST new file mode 100644 index 00000000000..33c2ba3653c --- /dev/null +++ b/x11/snixembed/pkg/PLIST @@ -0,0 +1,3 @@ +@bin bin/snixembed +@man man/man1/snixembed.1 +share/doc/pkg-readmes/${PKGSTEM} diff --git a/x11/snixembed/pkg/README b/x11/snixembed/pkg/README new file mode 100644 index 00000000000..981816a7091 --- /dev/null +++ b/x11/snixembed/pkg/README @@ -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