From nobody Wed Feb 21 04:24:11 2024 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 4TfjpM52Ytz5BMpj; Wed, 21 Feb 2024 04:24:11 +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 4TfjpM2pJVz4cPq; Wed, 21 Feb 2024 04:24:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708489451; 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=xOb9gtvT0wiXaztwvMPCQPdihRJTHosD3OUUB9GI9qg=; b=w3d8n2Xk8F3YpA0WzBxi0CU5dk1ASkgTViKzmASbr9xwFEN8OAYUfZDDjO5R2A7d2xVhAw 8Po2CzYitH/t4cYnlfYJ3v64YOnyzApYTUV9QzSy79wUysUJR6ViEjUtMfmlHRKcNGeXAA zic5+QdqDrt5wfXOp062bhuXF+h1zFyXrbFtXR46fKIb4BR01tQ7TPaZYJZ9qZnuvejDah TLOaRKSB1kj1RBMYSE88oCayCIC5REQSsYvrIbs/F4+/4hiis3UG6rN043eMv3OSBCX/ND aM2v80w/3YNfbiSRk+0cMGN7rZ2TUdvciAQRk/Y01YKcTkqGG5fGm8tDS7fbZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708489451; 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=xOb9gtvT0wiXaztwvMPCQPdihRJTHosD3OUUB9GI9qg=; b=KmlkhRC8vd557Ik1hRz1abAtk5esH+KtJDm97DJ3Wao0YzHlKWGjItKQDqg3gXJlnvsU1I iU8Pm6g00Ve/wzD8DeILP5iLAmnwUtT8KNZvZK5zqxxzxq7Ph9k7tAWfMOjfpkvUZD0nz7 ZiW56PRCn+DdpWjD3cthHHsSsrgsWvsPk8OT7czaTeBuQBLHholgzL0BG29LEhZFbqk0J3 FSqRLf7+wQEEPSD/Equ/lYtS/tSySy5cX7f45nme0U28Tk5KOHM5TdYMShnwojmL2VYKY8 Lw79ftrUWUURRWWYXVgXPrRwjFdd77gnbEexcThWaYwpbn1WBjTRVe8TVP8wVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708489451; a=rsa-sha256; cv=none; b=BKBX4/EhHRLrx1A12VUWM3pKtBRvCtJ+ASK8KtQdAdU8EgrppifDoyZhHuF93i8BQSZcJz wZ7/QPTaQmtIsgCnxwchjzI6RDA7JGbu4cOV/UPeJsfz744+b/mSHX5OfylzwtcGjYAq8M FwxlYBLjxP5UBoYxQC4ByWqJFX/HwZ8mfbECIzexG4hqWPUEVcLSESZSqZwTETtG3HvPJY cyCwl7LQ9/V2WfwAWfUMQLLFWdelq5Ylqr6dOzMYZXPs2PbVdRNYadxiUMbjp9JO8dcEEt LbTtl/p2lGo79M44LG6xBnSlGoeG7U8bK9rCyuqkfgkhZzf6lJlk+WoDM0ppxg== 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 4TfjpM1sK5znng; Wed, 21 Feb 2024 04:24:11 +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 41L4OBj8005225; Wed, 21 Feb 2024 04:24:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41L4OB4j005222; Wed, 21 Feb 2024 04:24:11 GMT (envelope-from git) Date: Wed, 21 Feb 2024 04:24:11 GMT Message-Id: <202402210424.41L4OB4j005222@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: 7b0bec15a69a - main - x11/gbsddialog: 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: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7b0bec15a69a325190b01f433cb506f1cb004df2 Auto-Submitted: auto-generated The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b0bec15a69a325190b01f433cb506f1cb004df2 commit 7b0bec15a69a325190b01f433cb506f1cb004df2 Author: Pierre Pronchery AuthorDate: 2024-02-16 18:20:22 +0000 Commit: Joseph Mingrone CommitDate: 2024-02-21 04:22:40 +0000 x11/gbsddialog: add new port gbsddialog is an implementation of bsddialog, a text-based user interface to be used in scripts and tools, such as in the official FreeBSD installer, bsdinstall(8). gbsddialog uses Gtk+ dialogs and widgets instead of console-based equivalents. The objective is to reproduce the same behaviour as the original tool, respecting the exact command-line parameters and output. gbsddialog can then be used as a drop-in replacement to bsddialog, effectively granting the possibility to install and configure FreeBSD entirely in graphical mode. In addition, an implementation of Xdialog is also provided, for use with bsdconfig(8) when invoked in graphical mode with -S or -X. Reviewed by: jrm Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-ports/pull/235 --- x11/Makefile | 1 + x11/gbsddialog/Makefile | 26 ++++++++++++++++++++++++++ x11/gbsddialog/distinfo | 3 +++ x11/gbsddialog/pkg-descr | 14 ++++++++++++++ x11/gbsddialog/pkg-message | 11 +++++++++++ x11/gbsddialog/pkg-plist | 44 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 99 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 2fb860abb569..c347b37c2617 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -86,6 +86,7 @@ SUBDIR += foot SUBDIR += fstobdf SUBDIR += fuzzel + SUBDIR += gbsddialog SUBDIR += gdm SUBDIR += glcapsviewer SUBDIR += gmrun diff --git a/x11/gbsddialog/Makefile b/x11/gbsddialog/Makefile new file mode 100644 index 000000000000..d8ad4e7ba8eb --- /dev/null +++ b/x11/gbsddialog/Makefile @@ -0,0 +1,26 @@ +PORTNAME= gbsddialog +DISTVERSION= 0.8.1 +CATEGORIES= x11 +MASTER_SITES= ${WWW}/releases/download/${PORTNAME}_${DISTVERSION:S/./-/g}/ + +MAINTAINER= khorben@defora.org +COMMENT= Drop in replacement for the "dialog" or "cdialog" programs +WWW= https://github.com/khorben/gbsddialog + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libharfbuzz.so:print/harfbuzz + +USES= desktop-file-utils gettext-runtime gnome pkgconfig +USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango + +CONFLICTS_INSTALL= xdialog-* + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/Xdialog \ + ${STAGEDIR}${PREFIX}/bin/gbsddialog + +.include diff --git a/x11/gbsddialog/distinfo b/x11/gbsddialog/distinfo new file mode 100644 index 000000000000..41dbec3f88bc --- /dev/null +++ b/x11/gbsddialog/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708207721 +SHA256 (gbsddialog-0.8.1.tar.gz) = 2b08ea0dff3f8a5fdf99571a92ae996a5713596769231030093201ed63679de5 +SIZE (gbsddialog-0.8.1.tar.gz) = 76238 diff --git a/x11/gbsddialog/pkg-descr b/x11/gbsddialog/pkg-descr new file mode 100644 index 000000000000..5a08288e8cb6 --- /dev/null +++ b/x11/gbsddialog/pkg-descr @@ -0,0 +1,14 @@ +gbsddialog is an implementation of bsddialog, a text-based user interface to be +used in scripts and tools, such as in the official FreeBSD installer, +bsdinstall(8). + +However, gbsddialog uses Gtk+ dialogs and widgets instead of console-based +equivalents. + +The objective is to reproduce the same behaviour as the original tool, +respecting the exact command-line parameters and output. gbsddialog can then be +used as a drop-in replacement to bsddialog, effectively granting the possibility +to install and configure FreeBSD entirely in graphical mode. + +In addition, an implementation of Xdialog is also provided, for use with +bsdconfig(8) when invoked in graphical mode with -S or -X. diff --git a/x11/gbsddialog/pkg-message b/x11/gbsddialog/pkg-message new file mode 100644 index 000000000000..f764e314e684 --- /dev/null +++ b/x11/gbsddialog/pkg-message @@ -0,0 +1,11 @@ +[ +{ type: install + message: <