Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 01:19:53 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547493 - in head/x11: . xob xob/files
Message-ID:  <202009040119.0841Jr2R061870@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Sep  4 01:19:53 2020
New Revision: 547493
URL: https://svnweb.freebsd.org/changeset/ports/547493

Log:
  x11/xob: create port
  
  Lightweight configurable overlay (volume/backlight/ progress/anything) bar for
  the X Window System (and Wayland compositors with XWayland).
  
  Each time a new value is read on the standard input, it is displayed as a
  tv-like bar over other windows. It then vanishes after a configurable amount
  of time. A value followed by a bang '!' is displayed using an alternate color
  to account for special states (e.g. muted audio). There is also support for
  overflows (when the value exceeds the maximum).
  
  WWW: https://github.com/florentc/xob
  
  PR:		248231
  Submitted by:	Lewis Cook <vulcan@wired.sh>

Added:
  head/x11/xob/
  head/x11/xob/Makefile   (contents, props changed)
  head/x11/xob/distinfo   (contents, props changed)
  head/x11/xob/files/
  head/x11/xob/files/patch-Makefile   (contents, props changed)
  head/x11/xob/pkg-descr   (contents, props changed)
Modified:
  head/x11/Makefile   (contents, props changed)

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Fri Sep  4 00:58:39 2020	(r547492)
+++ head/x11/Makefile	Fri Sep  4 01:19:53 2020	(r547493)
@@ -463,6 +463,7 @@
     SUBDIR += xmsg
     SUBDIR += xmx
     SUBDIR += xnee
+    SUBDIR += xob
     SUBDIR += xorg
     SUBDIR += xorg-apps
     SUBDIR += xorg-cf-files

Added: head/x11/xob/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xob/Makefile	Fri Sep  4 01:19:53 2020	(r547493)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	xob
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2
+CATEGORIES=	x11
+
+MAINTAINER=	vulcan@wired.sh
+COMMENT=	Lightweight overlay volume (or anything) bar for the X Window System
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libconfig.so:devel/libconfig
+
+USES=		compiler:c11 gmake pkgconfig xorg
+USE_GITHUB=	yes
+GH_ACCOUNT=	florentc
+USE_XORG=	x11
+
+PORTDOCS=	CHANGELOG.md CONTRIBUTING.md README.md
+
+OPTIONS_DEFINE=	DOCS
+
+PLIST_FILES=	${ETCDIR}/styles.cfg \
+		bin/xob \
+		share/man/man1/xob.1.gz
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/x11/xob/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xob/distinfo	Fri Sep  4 01:19:53 2020	(r547493)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595542913
+SHA256 (florentc-xob-v0.2_GH0.tar.gz) = 06fb0d9a081546b6b9d1785f6d6fa36f905516eec5df3a567b5d22bd1f8df33a
+SIZE (florentc-xob-v0.2_GH0.tar.gz) = 510814

Added: head/x11/xob/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xob/files/patch-Makefile	Fri Sep  4 01:19:53 2020	(r547493)
@@ -0,0 +1,21 @@
+--- Makefile.orig	2020-07-23 22:56:39 UTC
++++ Makefile
+@@ -27,12 +27,12 @@ $(PROGRAM): $(OBJECTS)
+ 	$(CC) $(CFLAGS) -DSYSCONFDIR='"$(sysconfdir)"' -c -o $@ $<
+ 
+ install: $(PROGRAM) $(MANPAGE) $(SYSCONF)
+-	mkdir --parents "$(DESTDIR)$(bindir)"
+-	$(INSTALL_PROGRAM) "$(PROGRAM)" -t "$(DESTDIR)$(bindir)"
+-	mkdir --parents "$(DESTDIR)$(man1dir)"
+-	$(INSTALL_DATA) "$(MANPAGE)" -t "$(DESTDIR)$(man1dir)"
+-	mkdir --parents "$(DESTDIR)$(sysconfdir)/$(PROGRAM)"
+-	$(INSTALL_DATA) "$(SYSCONF)" -t "$(DESTDIR)$(sysconfdir)/$(PROGRAM)"
++	mkdir -p "$(DESTDIR)$(bindir)"
++	$(BSD_INSTALL_PROGRAM) "$(PROGRAM)" "$(DESTDIR)$(bindir)"
++	mkdir -p "$(DESTDIR)$(man1dir)"
++	$(BSD_INSTALL_DATA) "$(MANPAGE)" "$(DESTDIR)$(man1dir)"
++	mkdir -p "$(DESTDIR)$(sysconfdir)/$(PROGRAM)"
++	$(BSD_INSTALL_DATA) "$(SYSCONF)" "$(DESTDIR)$(sysconfdir)/$(PROGRAM)"
+ 
+ uninstall:
+ 	rm -f "$(DESTDIR)$(bindir)/$(PROGRAM)"

Added: head/x11/xob/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xob/pkg-descr	Fri Sep  4 01:19:53 2020	(r547493)
@@ -0,0 +1,10 @@
+Lightweight configurable overlay (volume/backlight/ progress/anything) bar for
+the X Window System (and Wayland compositors with XWayland).
+
+Each time a new value is read on the standard input, it is displayed as a
+tv-like bar over other windows. It then vanishes after a configurable amount
+of time. A value followed by a bang '!' is displayed using an alternate color
+to account for special states (e.g. muted audio). There is also support for
+overflows (when the value exceeds the maximum).
+
+WWW: https://github.com/florentc/xob



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