Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2020 21:53:39 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558782 - in head/x11: . fnott
Message-ID:  <202012202153.0BKLrdOq068872@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 20 21:53:38 2020
New Revision: 558782
URL: https://svnweb.freebsd.org/changeset/ports/558782

Log:
  x11/fnott: add new port
  
  Fnott is a keyboard driven and lightweight notification daemon for
  wlroots-based Wayland compositors.
  
  Supported features of Desktop Notification Specification:
  - Summary
  - Body
  - Actions (requires a dmenu-like utility to display and let user select action)
  - Urgency
  - Icons (PNG + SVG)
  - Markup
  - Timeout
  
  https://codeberg.org/dnkl/fnott

Added:
  head/x11/fnott/
  head/x11/fnott/Makefile   (contents, props changed)
  head/x11/fnott/distinfo   (contents, props changed)
  head/x11/fnott/pkg-descr   (contents, props changed)
  head/x11/fnott/pkg-plist   (contents, props changed)
Modified:
  head/x11/Makefile   (contents, props changed)

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Sun Dec 20 21:46:18 2020	(r558781)
+++ head/x11/Makefile	Sun Dec 20 21:53:38 2020	(r558782)
@@ -69,6 +69,7 @@
     SUBDIR += fireflies
     SUBDIR += florence
     SUBDIR += flruler
+    SUBDIR += fnott
     SUBDIR += fpc-x11
     SUBDIR += fstobdf
     SUBDIR += fuzzel

Added: head/x11/fnott/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/fnott/Makefile	Sun Dec 20 21:53:38 2020	(r558782)
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME=	fnott
+DISTVERSION=	1.0.0
+CATEGORIES=	x11
+MASTER_SITES=	https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+PATCH_SITES=	https://github.com/jbeich/${PORTNAME}/commit/
+PATCHFILES+=	3b2cc4b817a2.patch:-p1 # i386
+PATCHFILES+=	a9c864a0ae05.patch:-p1 # Clang
+PATCHFILES+=	b2bc271ff5b3.patch:-p1 # CLOCK_BOOTTIME
+PATCHFILES+=	c27c03bb3e70.patch:-p1 # memfd_create
+PATCHFILES+=	062ddc9612b8.patch:-p1 # _POSIX_C_SOURCE
+PATCHFILES+=	a1a06b71a2ee.patch:-p1 # epoll-shim
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Keyboard-driven notification daemon for wlroots-based compositors
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+		tllist>=1.0.1:devel/tllist \
+		wayland-protocols>0:graphics/wayland-protocols \
+		scdoc:textproc/scdoc
+LIB_DEPENDS=	libdbus-1.so:devel/dbus \
+		libepoll-shim.so:devel/libepoll-shim \
+		libpng.so:graphics/png \
+		libwayland-client.so:graphics/wayland \
+		libfcft.so:x11-fonts/fcft
+
+USES=		compiler:c11 meson pkgconfig xorg
+USE_XORG=	pixman
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
+# XXX Drop after FreeBSD 12.1 EOL
+.if exists(/usr/lib/clang/8.0.1)
+# notification.c:545:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
+CFLAGS+=	-Wno-error=missing-braces
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+		${WRKSRC}/xdg.c
+
+.include <bsd.port.mk>

Added: head/x11/fnott/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/fnott/distinfo	Sun Dec 20 21:53:38 2020	(r558782)
@@ -0,0 +1,15 @@
+TIMESTAMP = 1608120163
+SHA256 (fnott-1.0.0.tar.gz) = eae79fe7d8ff980a32dc98bb7884d0a85a7ac7916900d0a194ac3f480d421f24
+SIZE (fnott-1.0.0.tar.gz) = 97790
+SHA256 (3b2cc4b817a2.patch) = 07d982d05f9506d1cfa6cebcfa35b6a2e73f0577e5553efbc9daa0a072023527
+SIZE (3b2cc4b817a2.patch) = 1188
+SHA256 (a9c864a0ae05.patch) = 5bd8478ae533ce9d8e738935416263f0f5f1ebddefd7e5f0bbb5b32cf4420778
+SIZE (a9c864a0ae05.patch) = 1168
+SHA256 (b2bc271ff5b3.patch) = 9d9499a61b8d12ab64702e6acef5a8cfdd397dd0dc8311bb8ef5e4ca28e873b2
+SIZE (b2bc271ff5b3.patch) = 859
+SHA256 (c27c03bb3e70.patch) = 63f833ca4c7e1e1c3d79912a18a04c5980ca44bf60facd6020de1fc09b75254b
+SIZE (c27c03bb3e70.patch) = 2213
+SHA256 (062ddc9612b8.patch) = 94c1f59fccd174b506d60cfec6a0da8b240e81abbbe02378ae7ff97cc2e1b765
+SIZE (062ddc9612b8.patch) = 2713
+SHA256 (a1a06b71a2ee.patch) = 7ef8993a2dc10e71961689d7a35319b24e34e6080b2eb607a2a1b70d10fc8e15
+SIZE (a1a06b71a2ee.patch) = 2739

Added: head/x11/fnott/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/fnott/pkg-descr	Sun Dec 20 21:53:38 2020	(r558782)
@@ -0,0 +1,13 @@
+Fnott is a keyboard driven and lightweight notification daemon for
+wlroots-based Wayland compositors.
+
+Supported features of Desktop Notification Specification:
+- Summary
+- Body
+- Actions (requires a dmenu-like utility to display and let user select action)
+- Urgency
+- Icons (PNG + SVG)
+- Markup
+- Timeout
+
+WWW: https://codeberg.org/dnkl/fnott

Added: head/x11/fnott/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/fnott/pkg-plist	Sun Dec 20 21:53:38 2020	(r558782)
@@ -0,0 +1,9 @@
+bin/fnott
+bin/fnottctl
+man/man1/fnott.1.gz
+man/man1/fnottctl.1.gz
+man/man5/fnott.5.gz
+share/applications/fnott.desktop
+%%DATADIR%%/fnottrc
+share/zsh/site-functions/_fnott
+share/zsh/site-functions/_fnottctl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012202153.0BKLrdOq068872>