From nobody Mon Jul 07 11:26:48 2025 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 4bbMQK0fcBz61V4P; Mon, 07 Jul 2025 11:26:49 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbMQJ65mbz3Dgf; Mon, 07 Jul 2025 11:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751887608; 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=mmiSi7jE1vKXj8/iezyzoRpV3ydvamPLuRArKSIfgCg=; b=NwN2KpAjK7Wee6/RA3XPeFMvEDqszsxiqBb5lxW/ZxFzRoUDHDFV0xksuO615HbK80YY67 mc15/y9/jEFzcwS/73Q3DKfyuj+nqr+CGIr7v+AmO+mH9XOplYDfFdnhE0ggbOO5gW/PRv /jKo7owYDC3l0pROxXdVks9183gRch8UMxOkqllx37vyDsmC+lOJhJzJxHhozd/tk3FtjB 53Jhzfk/S+6r9OPE/LnD6zwemBasXOk1fO7nYyyiLOYLsQS7l6AghEsSHUu9xZ01XC8XqM td/2E9ECKKGAqZv0+kcWDBle7ea5wRspvs+ckN/vdFNjB+ZLMo+5HQ/e8uY2oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751887608; 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=mmiSi7jE1vKXj8/iezyzoRpV3ydvamPLuRArKSIfgCg=; b=BcK3vXjIKIxTztUsFCyibYItg/7GncWCZYsos/kpzgkUGvVknJkJgVLB5l9KqeK2PPaYIS NyF01WFCIF7CaEBHaAhB5KIMBckkGBrw40AN+ktZHG09Q1SG9FWMqB6CXu6MZwzhR6xQEm lymsPgKfVjAymbcI0hqDaS95rq8qD1U4kYVqm0sO3zTaGP7sxF2uefwtnEHD0dJOLYKHz8 7o7lhfoqe35ym6lYLhI17bwHg1KA9a7NE/+m6JXYdjj1UhgehfA8fzKnmSjwVoph0OOTzC NG49y8ywX233sUzcHunYyQzeX/Cnq6gB/wkmqBkxL9mwm/TVDr0oNfBrq4t6pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751887608; a=rsa-sha256; cv=none; b=b96rZang+HByrwLQBHFvma/87xZtC+cbtW9oQ+/GY2BPUGeZEDKknrEtJWbuJ0OMqGCGjG MkLDT8Z3AYrfkmJXoV5qR/A4wkwyeU0Zo3xjGj0T24tKKMLHEzoJl26yz1r+7dcLLykybw kG3V1/buUFFh68DVE20c7dfHp1cpVfI6YpVkLw/Y7cKf4Etx+rVqWgfNGUX4ujbs6jFngG bPNlD2ZbbN/IUGQWCneSQE8esPE19zao2YxnKUTMtxzj/wRNDpIHCR4hUotAXmgcIBcqmY 8nScSAwWrwNrS4KxsKeA7mw2jzM+6iTavWMGveWi+M787MOZ12LmBYGmCvu0dA== 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 4bbMQJ5RK5zpvV; Mon, 07 Jul 2025 11:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 567BQmvx003024; Mon, 7 Jul 2025 11:26:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 567BQm8f003021; Mon, 7 Jul 2025 11:26:48 GMT (envelope-from git) Date: Mon, 7 Jul 2025 11:26:48 GMT Message-Id: <202507071126.567BQm8f003021@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 73163cdf6990 - main - devel/glib20: Prepare for the native inotify impl 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73163cdf699018a099bdd1607e301bf65b514eb5 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=73163cdf699018a099bdd1607e301bf65b514eb5 commit 73163cdf699018a099bdd1607e301bf65b514eb5 Author: Gleb Popov AuthorDate: 2025-06-07 10:40:30 +0000 Commit: Gleb Popov CommitDate: 2025-07-07 11:26:36 +0000 devel/glib20: Prepare for the native inotify impl Differential Revision: https://reviews.freebsd.org/D50736 --- devel/glib20/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index bb111a27fbab..400741e226c2 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -1,6 +1,6 @@ PORTNAME= glib DISTVERSION= 2.84.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME @@ -39,7 +39,6 @@ USE_PERL5= build TRIGGERS= gio-modules glib-schemas MESON_ARGS= -Db_lundef=false \ -Ddefault_library=both \ - -Dfile_monitor_backend='libinotify-kqueue' \ -Dinstalled_tests=false \ -Dlibelf=disabled \ -Dlibmount=disabled \ @@ -85,6 +84,12 @@ BINARY_ALIAS+= g-ir-scanner=${LOCALBASE}/gobject-introspection-bootstrap/bin/g-i MESON_ARGS+= -Dintrospection=enabled .endif +.if exists(/usr/include/sys/inotify.h) +MESON_ARGS+= -Dfile_monitor_backend='inotify' +.else +MESON_ARGS+= -Dfile_monitor_backend='libinotify-kqueue' +.endif + .if ${FLAVOR:U} == default post-extract: ${CP} -r ${LOCALBASE}/gobject-introspection-bootstrap/libdata/pkgconfig ${PKGCONFIG_LINKDIR}