From nobody Wed Apr 12 00:22:56 2023 X-Original-To: dev-commits-ports-main@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 4Px3MP1JzVz44sLh; Wed, 12 Apr 2023 00:22:57 +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 4Px3MP0D8Nz40CN; Wed, 12 Apr 2023 00:22:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681258977; 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=4f2yC+orrrpbEhZpRatTuW6e15yEqfp32Jc24orGHhI=; b=laExc8ZOeTBPTZpmZdXTPggt5eNBWcFLP5L7cBsr0kNwr9Z8/3Q56UQfmmAdwm+1qTBZFX KzHNRf7ZKMzMIOXHoPoxJgLwiRCF2HfAST4GLmw+JucZzPhrz/ms80C0D5liSXvalxw3ut uwf1fYOFzaw+a5HSsXSJbvGuV/qfbcMcBWt/rxcQOMmXkWIV7En7jYCWPxJgKR9Gcs0ZpY BiRISPzV5gyezwTOKp3RF66Q61lpCGL1VQ9SvdTva2T1R/XZ0nYlPSfcBPKHhxRQIEI/o9 PhRwjfUp1pjfZ9lZCCgKODpjxus+DJ4nUDRO30fnSi3RSPqB+0hkJ9WdhP6sJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681258977; 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=4f2yC+orrrpbEhZpRatTuW6e15yEqfp32Jc24orGHhI=; b=bIi+gn0qOrsRL+gP9eavTd/0fCYJwQLBE2vvNzGSTJdA/VK8tUNmEoF/RL53IOLyqNR5Hj SRwxW6YP5cCu4//sXvFFD8JwlC2LaWTS9Rmgb9ofQWv/t1sT/x4YmvSZTjcdlsxjbisPQL EN+gNHNqWpPZ0dvPlVUWRsD4NStF3hhcx7YQ0AjN3BokGwDeufoG5F1fzjEbsi2Zjt2zkw u2OtxrzGvnT2m15va0kCis/ZsrAQzj0s83A4XrpZSNc3SDnSbylq9QwUx3vC2zWvds9c75 hIYUaTkjIYDSEboJRFXYV4kJVbUzIxwFM+XmnoDeRHDI5iDV6iHmN5NTWTPPxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681258977; a=rsa-sha256; cv=none; b=c0xWPMlCSpAQpqNvyLiVdDOw+ikyURBwSaF30VH+X9nMwzz6tiIxi53XkJFjav82ARCzBB LwCOKSDSvBpqxP9CzcKBWbmCFFDHQTquLSJLBEFhOKDPbB15j2Y31UeyErSdXVqn6bLWNj bVvgCVh2yX1rh+pOfxG1aahCqKqRORjyZMIwQi+q2vsWb/UmTt0kiSb3LgYM0pVBjbqegd bgpZNhErIDsHfq1QKvYmCPtM86mH5FdlnT7i/s5Uu/YGic8W6puFSDNqclywgiC/B+XSZS Ng53cjnOLRy5imlZaza5YBPWCgE6ctiqAvgYkJx2iMMQ/F3uvf0NQumyttCzZA== 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 4Px3MN6M3HzdsJ; Wed, 12 Apr 2023 00:22:56 +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 33C0MuxD003223; Wed, 12 Apr 2023 00:22:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33C0MuKJ003222; Wed, 12 Apr 2023 00:22:56 GMT (envelope-from git) Date: Wed, 12 Apr 2023 00:22:56 GMT Message-Id: <202304120022.33C0MuKJ003222@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: 44e66f4a5cc9 - main - x11-toolkits/gtk4-layer-shell: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 44e66f4a5cc92f354ead52a5a80ff2b5cf88b937 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=44e66f4a5cc92f354ead52a5a80ff2b5cf88b937 commit 44e66f4a5cc92f354ead52a5a80ff2b5cf88b937 Author: Jan Beich AuthorDate: 2023-04-12 00:16:40 +0000 Commit: Jan Beich CommitDate: 2023-04-12 00:22:01 +0000 x11-toolkits/gtk4-layer-shell: add new port A library for using the Layer Shell Wayland protocol with GTK4. With this library you can build desktop shell components such as panels, notifications and wallpapers. You can use it to anchor your windows to a corner or edge of the output, or stretch them across the entire output. This Library is compatible with C, C++ and any language that supports GObject introspection files (Python, Vala, etc). https://github.com/wmww/gtk4-layer-shell --- x11-toolkits/Makefile | 1 + x11-toolkits/gtk4-layer-shell/Makefile | 37 +++++++++++++++++++++++++++++++++ x11-toolkits/gtk4-layer-shell/distinfo | 3 +++ x11-toolkits/gtk4-layer-shell/pkg-descr | 6 ++++++ x11-toolkits/gtk4-layer-shell/pkg-plist | 24 +++++++++++++++++++++ 5 files changed, 71 insertions(+) diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 2f5a7bdf373a..96d10e6f4eb4 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -31,6 +31,7 @@ SUBDIR += gtk-sharp30 SUBDIR += gtk20 SUBDIR += gtk30 + SUBDIR += gtk4-layer-shell SUBDIR += gtk40 SUBDIR += gtkd SUBDIR += gtkdatabox diff --git a/x11-toolkits/gtk4-layer-shell/Makefile b/x11-toolkits/gtk4-layer-shell/Makefile new file mode 100644 index 000000000000..e1763c28c98f --- /dev/null +++ b/x11-toolkits/gtk4-layer-shell/Makefile @@ -0,0 +1,37 @@ +PORTNAME= gtk4-layer-shell +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0 +CATEGORIES= x11-toolkits + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= GTK4 library for the Wayland layer-shell protocol +WWW= https://github.com/wmww/gtk-layer-shell + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-protocols>=1.16:graphics/wayland-protocols +LIB_DEPENDS= libwayland-client.so:graphics/wayland +TEST_DEPENDS= evdev-proto>0:devel/evdev-proto + +USES= compiler:c11 gnome meson pkgconfig vala:build +USE_GNOME= gtk40 introspection:build +USE_GITHUB= yes +USE_LDCONFIG= yes +GH_ACCOUNT= wmww + +OPTIONS_DEFINE= DOCS EXAMPLES + +DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc +DOCS_MESON_TRUE= docs + +EXAMPLES_MESON_TRUE= examples + +pre-test: + @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ + ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ + ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=true"; \ + ${TOUCH} ${WRKDIR}/.meson_build_tests; \ + fi + +.include diff --git a/x11-toolkits/gtk4-layer-shell/distinfo b/x11-toolkits/gtk4-layer-shell/distinfo new file mode 100644 index 000000000000..e926c3e26f68 --- /dev/null +++ b/x11-toolkits/gtk4-layer-shell/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666530455 +SHA256 (wmww-gtk4-layer-shell-v1.0.0_GH0.tar.gz) = 89d25ca0a7c2db7795c6bfb46e7d504ee71f005b3ea8580c8e9e35b57027be92 +SIZE (wmww-gtk4-layer-shell-v1.0.0_GH0.tar.gz) = 61143 diff --git a/x11-toolkits/gtk4-layer-shell/pkg-descr b/x11-toolkits/gtk4-layer-shell/pkg-descr new file mode 100644 index 000000000000..cbca3b44798a --- /dev/null +++ b/x11-toolkits/gtk4-layer-shell/pkg-descr @@ -0,0 +1,6 @@ +A library for using the Layer Shell Wayland protocol with GTK4. With +this library you can build desktop shell components such as panels, +notifications and wallpapers. You can use it to anchor your windows to +a corner or edge of the output, or stretch them across the entire +output. This Library is compatible with C, C++ and any language that +supports GObject introspection files (Python, Vala, etc). diff --git a/x11-toolkits/gtk4-layer-shell/pkg-plist b/x11-toolkits/gtk4-layer-shell/pkg-plist new file mode 100644 index 000000000000..f6c2af90a821 --- /dev/null +++ b/x11-toolkits/gtk4-layer-shell/pkg-plist @@ -0,0 +1,24 @@ +%%PORTEXAMPLES%%bin/gtk4-layer-demo +include/gtk4-layer-shell/gtk4-layer-shell.h +lib/girepository-1.0/Gtk4LayerShell-1.0.typelib +lib/libgtk4-layer-shell.so +lib/libgtk4-layer-shell.so.0 +lib/libgtk4-layer-shell.so.1.0.0 +libdata/pkgconfig/gtk4-layer-shell-0.pc +share/gir-1.0/Gtk4LayerShell-1.0.gir +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/api-index-full.html +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/deprecated-api-index.html +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/gtk-layer-shell-GTK4-Layer-Shell.html +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/gtk-layer-shell.devhelp2 +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/gtk4-layer-shell.html +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/home.png +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/index.html +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/left-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/left.png +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/right-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/right.png +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/style.css +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/up-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/gtk-layer-shell/up.png +share/vala/vapi/gtk4-layer-shell-0.deps +share/vala/vapi/gtk4-layer-shell-0.vapi