From owner-dev-commits-ports-all@freebsd.org Mon Apr 19 14:30:18 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E1CB5F3A49; Mon, 19 Apr 2021 14:30:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FP8Np1Ldpz4T7R; Mon, 19 Apr 2021 14:30:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 16C6F20BCC; Mon, 19 Apr 2021 14:30:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13JEUIBv017847; Mon, 19 Apr 2021 14:30:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13JEUIja017837; Mon, 19 Apr 2021 14:30:18 GMT (envelope-from git) Date: Mon, 19 Apr 2021 14:30:18 GMT Message-Id: <202104191430.13JEUIja017837@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 1b6314a7773b - main - sysutils/herbe: Add a new port: Daemon-less notifications without D-Bus MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1b6314a7773b47e18f5da903035bca74a235f35c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 14:30:18 -0000 The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b6314a7773b47e18f5da903035bca74a235f35c commit 1b6314a7773b47e18f5da903035bca74a235f35c Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-04-19 14:28:34 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-04-19 14:29:56 +0000 sysutils/herbe: Add a new port: Daemon-less notifications without D-Bus --- sysutils/Makefile | 1 + sysutils/herbe/Makefile | 37 +++++++++++++++++++++++++++++++++++++ sysutils/herbe/distinfo | 3 +++ sysutils/herbe/pkg-descr | 13 +++++++++++++ 4 files changed, 54 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 76e17bb02227..9f75ea793ef3 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -481,6 +481,7 @@ SUBDIR += heirloom SUBDIR += helm SUBDIR += helmfile + SUBDIR += herbe SUBDIR += hexpeek SUBDIR += hextools SUBDIR += hexyl diff --git a/sysutils/herbe/Makefile b/sysutils/herbe/Makefile new file mode 100644 index 000000000000..23c453de7bb3 --- /dev/null +++ b/sysutils/herbe/Makefile @@ -0,0 +1,37 @@ +PORTNAME= herbe +DISTVERSION= 1.0.0 +CATEGORIES= sysutils + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Daemon-less notifications without D-Bus + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/freetype2/ft2build.h:print/freetype2 + +USES= localbase xorg + +USE_GITHUB= yes +GH_ACCOUNT= dudik + +USE_XORG= x11 xft + +MAKE_ARGS= CFLAGS="${CFLAGS} ${LIBS}" + +CFLAGS+= -I${LOCALBASE}/include/freetype2 +LIBS+= -lX11 -lXft + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include diff --git a/sysutils/herbe/distinfo b/sysutils/herbe/distinfo new file mode 100644 index 000000000000..0fad29d892f8 --- /dev/null +++ b/sysutils/herbe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618841765 +SHA256 (dudik-herbe-1.0.0_GH0.tar.gz) = 78e454159050c86e030fb5a6cf997ac914345210cdf5a4ca4d7600c5296b7f76 +SIZE (dudik-herbe-1.0.0_GH0.tar.gz) = 4974 diff --git a/sysutils/herbe/pkg-descr b/sysutils/herbe/pkg-descr new file mode 100644 index 000000000000..21f938597282 --- /dev/null +++ b/sysutils/herbe/pkg-descr @@ -0,0 +1,13 @@ +herbe provides daemon-less notifications without D-Bus. It's meant to be +minimal and lightweight. + +Some of its features are: + +- Under 200 lines of code +- Doesn't run in the background, just displays the notification and exits +- No external dependencies except Xlib and Xft +- Configurable through config.h or Xresources +- Actions support +- Extensible through patches + +WWW: https://github.com/dudik/herbe