From owner-dev-commits-ports-all@freebsd.org Sat Aug 28 06:04:37 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ADBA866E85C; Sat, 28 Aug 2021 06:04:37 +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 4GxQys3MPNz3tFV; Sat, 28 Aug 2021 06:04:37 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 5C38C11DC3; Sat, 28 Aug 2021 06:04:37 +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 17S64bHp050842; Sat, 28 Aug 2021 06:04:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17S64bh5050841; Sat, 28 Aug 2021 06:04:37 GMT (envelope-from git) Date: Sat, 28 Aug 2021 06:04:37 GMT Message-Id: <202108280604.17S64bh5050841@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: 769efa05cf4c - main - devel/glib20: unbreak session bus autolaunch after 94630ac169bc 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: 769efa05cf4c27f16b30286b258b8f0738acc345 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2021 06:04:37 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=769efa05cf4c27f16b30286b258b8f0738acc345 commit 769efa05cf4c27f16b30286b258b8f0738acc345 Author: Jan Beich AuthorDate: 2021-08-21 03:03:06 +0000 Commit: Jan Beich CommitDate: 2021-08-28 06:04:08 +0000 devel/glib20: unbreak session bus autolaunch after 94630ac169bc Regressed by https://gitlab.gnome.org/GNOME/glib/-/commit/05ff2f877ca3 $ pkg install gtk4 $ service dbus onestart $ cat /var/lib/dbus/machine-id 123456789012345678901234567890123 $ unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR $ gtk4-demo Gdk-Message: Failed to get file transfer portal: Cannot spawn a message bus without a machine-id: Unable to load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/local/lib/dbus/machine-id”: No such file or directory ^C $ gdbus call --session --dest=org.freedesktop.DBus --object-path=/ --method=org.freedesktop.DBus.ListNames Error connecting: Cannot spawn a message bus without a machine-id: Unable to load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/local/lib/dbus/machine-id”: No such file or directory PR: 257977 Tested by: Thibault Payet Approved by: tcberner --- devel/glib20/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index ea534cd9cd74..f63d414fb5b3 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -2,7 +2,7 @@ PORTNAME= glib DISTVERSION= 2.68.3 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME @@ -27,6 +27,7 @@ MESON_ARGS= -Db_lundef=false \ -Ddefault_library=both \ -Dinstalled_tests=false \ -Dlibmount=disabled \ + -Dlocalstatedir=/var \ -Dselinux=disabled \ -Dxattr=false BINARY_ALIAS= python3=${PYTHON_CMD}