From owner-dev-commits-ports-all@freebsd.org Tue Aug 10 08:18:31 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 4AE026645A7; Tue, 10 Aug 2021 08:18:31 +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 4GkQng1PJ9z3hh5; Tue, 10 Aug 2021 08:18:31 +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 13C4217CF1; Tue, 10 Aug 2021 08:18:31 +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 17A8IUmm063989; Tue, 10 Aug 2021 08:18:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17A8IUCc063988; Tue, 10 Aug 2021 08:18:30 GMT (envelope-from git) Date: Tue, 10 Aug 2021 08:18:30 GMT Message-Id: <202108100818.17A8IUCc063988@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 87d2395554de - main - x11/wapanel: add new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87d2395554dec5d4f8422971a444bc8118ccdb87 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: Tue, 10 Aug 2021 08:18:31 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=87d2395554dec5d4f8422971a444bc8118ccdb87 commit 87d2395554dec5d4f8422971a444bc8118ccdb87 Author: Jan Beich AuthorDate: 2021-04-23 06:00:30 +0000 Commit: Jan Beich CommitDate: 2021-08-10 08:18:13 +0000 x11/wapanel: add new port Simple panel/status bar/task bar for your custom stacking Wayland-based desktop. Features: - Good configurability - Config hot reload - Exposed API for writing custom applets - Custom themes with CSS https://firstbober.github.io/wapanel/ --- x11/Makefile | 1 + x11/wapanel/Makefile | 35 +++++++++++++++++++++++++++++++++++ x11/wapanel/distinfo | 3 +++ x11/wapanel/pkg-descr | 10 ++++++++++ x11/wapanel/pkg-plist | 17 +++++++++++++++++ 5 files changed, 66 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index fbcdd04cfb00..a225318786a3 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -369,6 +369,7 @@ SUBDIR += virtboard SUBDIR += virtualgl SUBDIR += wallutils + SUBDIR += wapanel SUBDIR += waybar SUBDIR += wayland-logout SUBDIR += wbar diff --git a/x11/wapanel/Makefile b/x11/wapanel/Makefile new file mode 100644 index 000000000000..1882b4052705 --- /dev/null +++ b/x11/wapanel/Makefile @@ -0,0 +1,35 @@ +PORTNAME= wapanel +DISTVERSION= 1.0.2 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Desktop bar for Wayfire and other wlroots compositors + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= toml11>0:devel/toml11 \ + wayland-protocols>0:graphics/wayland-protocols +LIB_DEPENDS= libwayland-client.so:graphics/wayland \ + libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell + +USES= compiler:c++17-lang gnome meson pkgconfig +USE_GITHUB= yes +USE_GNOME= gdkpixbuf2 gtk30 +GH_ACCOUNT= Firstbober +MESON_ARGS= -Dsystem_toml11=true + +OPTIONS_DEFINE= PULSEAUDIO +OPTIONS_DEFAULT=PULSEAUDIO +OPTIONS_SUB= yes + +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_MESON_TRUE= volume-control + +post-patch: +# Respect PREFIX for *.desktop + @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ + ${WRKSRC}/src/applets/task-switcher/task_switcher.cc \ + ${WRKSRC}/thirdparty/xdgpp/xdg.hpp + +.include diff --git a/x11/wapanel/distinfo b/x11/wapanel/distinfo new file mode 100644 index 000000000000..88609b56062f --- /dev/null +++ b/x11/wapanel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619157630 +SHA256 (Firstbober-wapanel-1.0.2_GH0.tar.gz) = ef6844a3a437a86e8dada9ba561b96475211cd662438467df92a194696fb1b16 +SIZE (Firstbober-wapanel-1.0.2_GH0.tar.gz) = 905639 diff --git a/x11/wapanel/pkg-descr b/x11/wapanel/pkg-descr new file mode 100644 index 000000000000..6a5879f9e0b9 --- /dev/null +++ b/x11/wapanel/pkg-descr @@ -0,0 +1,10 @@ +Simple panel/status bar/task bar for your custom stacking +Wayland-based desktop. + +Features: +- Good configurability +- Config hot reload +- Exposed API for writing custom applets +- Custom themes with CSS + +WWW: https://firstbober.github.io/wapanel/ diff --git a/x11/wapanel/pkg-plist b/x11/wapanel/pkg-plist new file mode 100644 index 000000000000..e3057e9ef4da --- /dev/null +++ b/x11/wapanel/pkg-plist @@ -0,0 +1,17 @@ +bin/wapanel +include/wapanel-appletapi/appletapi.h +lib/libwapanel-appletapi.a +lib/wapanel/applets/libwapanel-applet-activator.so +lib/wapanel/applets/libwapanel-applet-app-finder.so +lib/wapanel/applets/libwapanel-applet-clock.so +lib/wapanel/applets/libwapanel-applet-separator.so +lib/wapanel/applets/libwapanel-applet-task-switcher.so +%%PULSEAUDIO%%lib/wapanel/applets/libwapanel-applet-volume-control.so +libdata/pkgconfig/wapanel-appletapi.pc +%%DATADIR%%/3RD_PARTY_LICENSES +%%DATADIR%%/icons/hicolor/scalable/actions/wapa-account.svg +%%DATADIR%%/icons/hicolor/scalable/actions/wapa-cog.svg +%%DATADIR%%/icons/hicolor/scalable/actions/wapa-folder.svg +%%DATADIR%%/icons/hicolor/scalable/apps/wapa-logo-nocolor-dark.svg +%%DATADIR%%/wapanel.css +%%DATADIR%%/wapanel.toml