git: 847633f06835 - 2023Q3 - devel/glib20: unbreak session bus autolaunch after fcf0cc114ab8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Aug 2023 18:57:24 UTC
The branch 2023Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=847633f068353a26e9332edd227ef9662083f39c commit 847633f068353a26e9332edd227ef9662083f39c Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-08-19 18:06:38 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-08-19 18:57:08 +0000 devel/glib20: unbreak session bus autolaunch after fcf0cc114ab8 $ pkg install gtk4 $ service dbus onestart $ cat /var/lib/dbus/machine-id 123456789012345678901234567890123 $ unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR $ gtk4-demo (gtk4-demo:1234): Gtk-WARNING **: Unable to acquire session bus: 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 Reported by: vermaden (cherry picked from commit fd15885866ece4ce1be256d777688473bdd31ea3) --- devel/glib20/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 9a8063ea7471..92dbe3ce56a5 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -1,5 +1,6 @@ PORTNAME= glib DISTVERSION= 2.76.4 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME @@ -29,6 +30,7 @@ MESON_ARGS= -Db_lundef=false \ -Ddefault_library=both \ -Dinstalled_tests=false \ -Dlibmount=disabled \ + -Dlocalstatedir=/var \ -Druntime_dir=/var/run \ -Dselinux=disabled \ -Dxattr=false