Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 14:58:37 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7bc32204d7fa - main - x11/gromit-mpx: unbreak with gtk3/X11=off
Message-ID:  <202306031458.353Ewbib005468@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7bc32204d7fa0e175e0993b94cba678c96784360

commit 7bc32204d7fa0e175e0993b94cba678c96784360
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-03 14:22:44 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-03 14:56:36 +0000

    x11/gromit-mpx: unbreak with gtk3/X11=off
---
 x11/gromit-mpx/Makefile | 13 +++++++++++--
 x11/gromit-mpx/distinfo |  4 ++++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/x11/gromit-mpx/Makefile b/x11/gromit-mpx/Makefile
index d7b706493cfc..925440527d3b 100644
--- a/x11/gromit-mpx/Makefile
+++ b/x11/gromit-mpx/Makefile
@@ -3,6 +3,10 @@ DISTVERSION=	1.4.3
 PORTREVISION=	1
 CATEGORIES=	x11 wayland
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	698a43a8dcd7.patch:-p1 # https://github.com/bk138/gromit-mpx/pull/177
+PATCHFILES+=	7cd913191b48.patch:-p1 # https://github.com/bk138/gromit-mpx/pull/177
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Desktop annotation tool, multi-pointer port of Gromit
 WWW=		https://github.com/bk138/gromit-mpx
@@ -12,14 +16,19 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libappindicator3.so:devel/libappindicator
 
-USES=		cmake gnome pkgconfig xorg
+USES=		cmake gnome pkgconfig
 USE_CSTD=	gnu99
 USE_GITHUB=	yes
 USE_GNOME=	cairo gdkpixbuf2 gtk30
-USE_XORG=	x11 xi
 GH_ACCOUNT=	bk138
 LDFLAGS+=	-Wl,--as-needed # atk, dbusmenu, pango
 
+OPTIONS_DEFINE=	X11
+OPTIONS_DEFAULT=X11
+
+X11_USES=	xorg
+X11_USE=	XORG=x11 xi
+
 post-patch:
 # Let @sample handle default files under etc/
 	@${REINPLACE_CMD} -e '/data.*cfg/s/)/ RENAME ${PORTNAME}.cfg.sample)/' \
diff --git a/x11/gromit-mpx/distinfo b/x11/gromit-mpx/distinfo
index 9260264e1a65..1c530714dae4 100644
--- a/x11/gromit-mpx/distinfo
+++ b/x11/gromit-mpx/distinfo
@@ -1,3 +1,7 @@
 TIMESTAMP = 1664109823
 SHA256 (bk138-gromit-mpx-1.4.3_GH0.tar.gz) = 01c3e37ea0977a507349df34c474bdc939a57287aa41ce96d9eeb4d21279c6a4
 SIZE (bk138-gromit-mpx-1.4.3_GH0.tar.gz) = 1861824
+SHA256 (698a43a8dcd7.patch) = ad3943e4b288939b8e1637f60c2325a89b0fe8acb3e378ac6c61fdf42ec51be5
+SIZE (698a43a8dcd7.patch) = 7528
+SHA256 (7cd913191b48.patch) = f5f9911f59201d3fcc1aff40e1e802ebd824c2b5328597c71a5c9de70f66c6d4
+SIZE (7cd913191b48.patch) = 922



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