From nobody Mon Jul 03 04:16:44 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QvXgK27N9z4lYKl; Mon, 3 Jul 2023 04:16:45 +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 4QvXgK1G98z47rD; Mon, 3 Jul 2023 04:16:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688357805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fqt/+sCAZJk8JXaAmNaIRbLnMrzaocMskfyZ/qg8ZB0=; b=iE72SyOP/Ul2IDnJeaADP0XJ3I9Lb+efkW5dQDocEB9uWxVkqUpS3CXtRVmOH7pPO59xpo LRAGlojxWmkJ+kM985LtD36Dy+/q/4tmFnDcW3Wz6VRfAkrIDDOiiuae6wOQJVtgJKgaTR /xcb47TUmDbWXC5PHvvmFk0ytrvnQIFKJqIostfRxvLDmfJ5zqv4STdN+8PXu707upoF2u fs28cgK3DBnHZm4NlpmDRljyz72UAhOLD8Ip1UZVlEYZiw34IbCKo2Xh45q54bohXZRlSN nHwlURyUrK1gZ47Eujz+OejbpJs1nCJlWXEEPymKiC8Jc91ivYGRmdipclbR0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688357805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fqt/+sCAZJk8JXaAmNaIRbLnMrzaocMskfyZ/qg8ZB0=; b=uE4EbjxrPb7PLBPcYM4T6cj6zMxULpHYoAtyUkbDnst5UBD966FdOcVYgN5ih+vBeVvtf8 eUuzDKoA3fPvzoTNkRbEmNLYbqgHMqjxxce6WturOcIoC6TzrQTh8tnz298qKL4pB8jmOb uoA+tWO4/jertsrpfpsP0zvwQuLCz7d3hJ7uCOTRfcjgwe6Evl1nrMwcx8Ivbdv9XdmkTP hMHljLGhjHH5RgRoPgZ4aTqkqYoGcK6HnEE3yECx91eT/fgPnvACyRxN9R8uTyBk17fbBt U5smBWHwUvBKgYbdvha00Jjwgsq9yvajQSDNc5H4cv07vayWFzC/XX8jTbOfWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688357805; a=rsa-sha256; cv=none; b=SvfWxTWjBiOmnBWw8GtgbfyiMpSEHM5jUn7+rZ5Wu+DxygE78ocefb8Bv5G9xe7yFfsaiR cLMacLJ3WK4+aKkz/4BdnelafI6NGuF/+80Fxd8BEnO8c/atyaPxli2tAoblf7Z0w0EHZM +aI6l1GtYbksw6SOrMeCtnvx4kz/mV0s/VdmEbPILIGW6irQphxsaq4LPIoUKWlDQDRSQ5 FcAWpW+S7pMkSETpTQFFmelkyWp9fA+h2kTmKpFTDfyCd2QQAyHMDLrfkT89hDRYKtVC6m 4APz4GzjDBzsdbx67njoNmWFCbjPjuGaWUT9bESXCOT4vrpBm3SulvYIuBZTxw== 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 4QvXgJ72GlzbVg; Mon, 3 Jul 2023 04:16:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3634GiOk027643; Mon, 3 Jul 2023 04:16:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3634Giko027642; Mon, 3 Jul 2023 04:16:44 GMT (envelope-from git) Date: Mon, 3 Jul 2023 04:16:44 GMT Message-Id: <202307030416.3634Giko027642@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: d89b1ba88cb3 - main - x11/nwg-dock-hyprland: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org 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: d89b1ba88cb389e0d3849fc993b4778e4977a68d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=d89b1ba88cb389e0d3849fc993b4778e4977a68d commit d89b1ba88cb389e0d3849fc993b4778e4977a68d Author: Jan Beich AuthorDate: 2023-07-02 13:26:00 +0000 Commit: Jan Beich CommitDate: 2023-07-03 04:15:07 +0000 x11/nwg-dock-hyprland: add new port Configurable (with command line arguments and css) dock, written in Go, aimed exclusively at the Hyprland Wayland compositor. It features pinned buttons, client buttons and the launcher button. By default the launcher starts nwg-drawer. https://github.com/nwg-piotr/nwg-dock-hyprland --- x11/Makefile | 1 + x11/nwg-dock-hyprland/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++ x11/nwg-dock-hyprland/distinfo | 23 +++++++++++++++++++++ x11/nwg-dock-hyprland/pkg-descr | 4 ++++ 4 files changed, 73 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 829859dce8ad..87c365cd62f1 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -272,6 +272,7 @@ SUBDIR += nvidia-xconfig SUBDIR += nwg-bar SUBDIR += nwg-dock + SUBDIR += nwg-dock-hyprland SUBDIR += nwg-drawer SUBDIR += nwg-launchers SUBDIR += nwg-look diff --git a/x11/nwg-dock-hyprland/Makefile b/x11/nwg-dock-hyprland/Makefile new file mode 100644 index 000000000000..89f1847e9452 --- /dev/null +++ b/x11/nwg-dock-hyprland/Makefile @@ -0,0 +1,45 @@ +PORTNAME= nwg-dock-hyprland +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.3 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= GTK3-based dock for Hyprland +WWW= https://github.com/nwg-piotr/nwg-dock-hyprland + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell + +USES= gnome go:modules pkgconfig +USE_GITHUB= yes +USE_GNOME= cairo gdkpixbuf2 gtk30 +GH_ACCOUNT= nwg-piotr +GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ + dlasky:gotk3-layershell:1f6674a3f872:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ + golang:sync:56d357773e84:golang_sync/vendor/golang.org/x/sync \ + golang:sys:c0bba94af5f8:golang_sys/vendor/golang.org/x/sys \ + gotk3:gotk3:v0.6.1:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ + joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ + joshuarubin:lifecycle:v1.0.0:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ + sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ + uber-go:atomic:v1.3.2:uber_go_atomic/vendor/go.uber.org/atomic \ + uber-go:multierr:v1.1.0:uber_go_multierr/vendor/go.uber.org/multierr +CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 +PLIST_FILES= bin/${PORTNAME} +PORTDATA= images *.css + +post-patch: +# Respect PREFIX for *.desktop + @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ + ${WRKSRC}/tools.go + +post-install: +# Based on install from WRKSRC/Makefile + @${CP} -p ${WRKSRC}/config/*.css ${WRKSRC} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ + ${STAGEDIR}${DATADIR}) + +.include diff --git a/x11/nwg-dock-hyprland/distinfo b/x11/nwg-dock-hyprland/distinfo new file mode 100644 index 000000000000..3946b10bca36 --- /dev/null +++ b/x11/nwg-dock-hyprland/distinfo @@ -0,0 +1,23 @@ +TIMESTAMP = 1688304360 +SHA256 (nwg-piotr-nwg-dock-hyprland-v0.1.3_GH0.tar.gz) = 9c6b7dc02d5de7576fc75bd359a879c4816319d54b6e422a195e8ad33fb5b6fb +SIZE (nwg-piotr-nwg-dock-hyprland-v0.1.3_GH0.tar.gz) = 20877 +SHA256 (allan-simon-go-singleinstance-d0997106ab37_GH0.tar.gz) = f8cee874873fe9fc1a81e8a7ca83df85c57aa86279c09cb8cba10d5feb7ed295 +SIZE (allan-simon-go-singleinstance-d0997106ab37_GH0.tar.gz) = 2819 +SHA256 (dlasky-gotk3-layershell-1f6674a3f872_GH0.tar.gz) = dbd56b8bd4905791142df35d18af9d200035441a454cdb398ff8b654fb8f8e2d +SIZE (dlasky-gotk3-layershell-1f6674a3f872_GH0.tar.gz) = 2373140 +SHA256 (golang-sync-56d357773e84_GH0.tar.gz) = b30ecf4394f01a492423b41e3815d84711c29d679ee4dd5118fc2c9bcf433b3f +SIZE (golang-sync-56d357773e84_GH0.tar.gz) = 16832 +SHA256 (golang-sys-c0bba94af5f8_GH0.tar.gz) = 948e3a5eb69c316307892d81d7c7c63a481e8909a28b886901c0f7caf02e6a30 +SIZE (golang-sys-c0bba94af5f8_GH0.tar.gz) = 1337164 +SHA256 (gotk3-gotk3-v0.6.1_GH0.tar.gz) = 971ff1d2d184413113d1cbf68f9127bce06362e2e352d8ade79b1817d2024aa5 +SIZE (gotk3-gotk3-v0.6.1_GH0.tar.gz) = 272727 +SHA256 (joshuarubin-go-sway-v1.2.0_GH0.tar.gz) = 3bd95f49be110b40bc005f3db157c0a8e6ccedb4e0ed48e810368f23030a1833 +SIZE (joshuarubin-go-sway-v1.2.0_GH0.tar.gz) = 12933 +SHA256 (joshuarubin-lifecycle-v1.0.0_GH0.tar.gz) = 01ae9623078c568cefbda7c2dd973024382cdbf598f5efa4ac5578bb4bd0dff7 +SIZE (joshuarubin-lifecycle-v1.0.0_GH0.tar.gz) = 7265 +SHA256 (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 12446ed9eb96573c2aae4df2db81900a65bfd21d2ce92efde7201614e42134f7 +SIZE (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 49098 +SHA256 (uber-go-atomic-v1.3.2_GH0.tar.gz) = ee2ec763758d8ab2095ee927086a1ed057212fa27660614448d4bbcbdc4ffe61 +SIZE (uber-go-atomic-v1.3.2_GH0.tar.gz) = 8047 +SHA256 (uber-go-multierr-v1.1.0_GH0.tar.gz) = 45405583513302d57d4715fada5ef8c8dbd9c9992956f2d0faa8758d9d885851 +SIZE (uber-go-multierr-v1.1.0_GH0.tar.gz) = 9234 diff --git a/x11/nwg-dock-hyprland/pkg-descr b/x11/nwg-dock-hyprland/pkg-descr new file mode 100644 index 000000000000..698a45e04857 --- /dev/null +++ b/x11/nwg-dock-hyprland/pkg-descr @@ -0,0 +1,4 @@ +Configurable (with command line arguments and css) dock, written in +Go, aimed exclusively at the Hyprland Wayland compositor. It features +pinned buttons, client buttons and the launcher button. By default the +launcher starts nwg-drawer.