diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-08-21 03:03:06 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-08-28 06:04:08 +0000 |
commit | 769efa05cf4c27f16b30286b258b8f0738acc345 (patch) | |
tree | a3076d29b4560d6b7883acac7c5d87742801e54a | |
parent | 9f9deb9a52fae2abdf914279569d52002d248abc (diff) | |
download | ports-769efa05cf4c27f16b30286b258b8f0738acc345.tar.gz ports-769efa05cf4c27f16b30286b258b8f0738acc345.zip |
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
-rw-r--r-- | devel/glib20/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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} |