Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2020 23:31:43 +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: r542393 - in head/x11: . nwg-launchers nwg-launchers/files
Message-ID:  <202007162331.06GNVhw6093017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Jul 16 23:31:42 2020
New Revision: 542393
URL: https://svnweb.freebsd.org/changeset/ports/542393

Log:
  x11/nwg-launchers: add new port
  
  nwg-launchers is C++ rewrite of sgtk-menu, an application launcher
  primarily developed for Sway but also works on other window managers.
  
  https://github.com/nwg-piotr/nwg-launchers

Added:
  head/x11/nwg-launchers/
  head/x11/nwg-launchers/Makefile   (contents, props changed)
  head/x11/nwg-launchers/distinfo   (contents, props changed)
  head/x11/nwg-launchers/files/
  head/x11/nwg-launchers/files/patch-bar_bar.json   (contents, props changed)
  head/x11/nwg-launchers/pkg-descr   (contents, props changed)
  head/x11/nwg-launchers/pkg-plist   (contents, props changed)
Modified:
  head/x11/Makefile   (contents, props changed)

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Thu Jul 16 23:25:57 2020	(r542392)
+++ head/x11/Makefile	Thu Jul 16 23:31:42 2020	(r542393)
@@ -234,6 +234,7 @@
     SUBDIR += nvidia-driver-390
     SUBDIR += nvidia-settings
     SUBDIR += nvidia-xconfig
+    SUBDIR += nwg-launchers
     SUBDIR += nxcomp
     SUBDIR += p5-Clipboard
     SUBDIR += p5-X11-GUITest

Added: head/x11/nwg-launchers/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/nwg-launchers/Makefile	Thu Jul 16 23:31:42 2020	(r542393)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	nwg-launchers
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.0
+CATEGORIES=	x11
+
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	5375b8196bfc.patch:-p1 # https://github.com/nwg-piotr/nwg-launchers/pull/69
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+# XXX Remove cmake dependency after nlohmann-json adds pkg-config support
+BUILD_DEPENDS=	cmake:devel/cmake \
+		nlohmann-json>0:devel/nlohmann-json
+
+USES=		compiler:c++17-lang gnome meson pkgconfig
+USE_GITHUB=	yes
+USE_GNOME=	gtkmm30
+GH_ACCOUNT=	nwg-piotr
+
+.include <bsd.port.mk>

Added: head/x11/nwg-launchers/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/nwg-launchers/distinfo	Thu Jul 16 23:31:42 2020	(r542393)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1594772701
+SHA256 (nwg-piotr-nwg-launchers-v0.2.0_GH0.tar.gz) = e5dd81d812646b1bf000bee4d491e1011f3d3e10ba824779f79e70d6ff5503d8
+SIZE (nwg-piotr-nwg-launchers-v0.2.0_GH0.tar.gz) = 43240
+SHA256 (5375b8196bfc.patch) = d262ad2e76626ff41585d25a927fbb19c3da353594b718a572595006e1455604
+SIZE (5375b8196bfc.patch) = 2289

Added: head/x11/nwg-launchers/files/patch-bar_bar.json
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/nwg-launchers/files/patch-bar_bar.json	Thu Jul 16 23:31:42 2020	(r542393)
@@ -0,0 +1,17 @@
+--- bar/bar.json.orig	2020-07-15 00:25:01 UTC
++++ bar/bar.json
+@@ -11,12 +11,12 @@
+   },
+   {
+     "name": "Reboot",
+-    "exec": "systemctl reboot",
++    "exec": "shutdown -r now",
+     "icon": "system-reboot"
+   },
+   {
+     "name": "Shutdown",
+-    "exec": "systemctl -i poweroff",
++    "exec": "shutdown -p now",
+     "icon": "system-shutdown"
+   }
+ ]

Added: head/x11/nwg-launchers/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/nwg-launchers/pkg-descr	Thu Jul 16 23:31:42 2020	(r542393)
@@ -0,0 +1,4 @@
+nwg-launchers is C++ rewrite of sgtk-menu, an application launcher
+primarily developed for Sway but also works on other window managers.
+
+WWW: https://github.com/nwg-piotr/nwg-launchers

Added: head/x11/nwg-launchers/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/nwg-launchers/pkg-plist	Thu Jul 16 23:31:42 2020	(r542393)
@@ -0,0 +1,9 @@
+bin/nwgbar
+bin/nwgdmenu
+bin/nwggrid
+%%DATADIR%%/nwgbar/bar.json
+%%DATADIR%%/nwgbar/icon-missing.svg
+%%DATADIR%%/nwgbar/style.css
+%%DATADIR%%/nwgdmenu/style.css
+%%DATADIR%%/nwggrid/icon-missing.svg
+%%DATADIR%%/nwggrid/style.css



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